/* ============================================
   FaithKit - Church Management Software
   Modern Design System with Glassmorphism
   ============================================ */

:root {
    /* Color Palette - Church Appropriate */
    --primary: #1e3a5f;        /* Deep Blue */
    --primary-light: #2d5a8c;  /* Lighter Blue */
    --accent: #d4af37;         /* Warm Gold */
    --accent-light: #e5c158;   /* Light Gold */
    --success: #10b981;        /* Green */
    --danger: #ef4444;         /* Red */
    --text-dark: #1f2937;      /* Near Black */
    --text-light: #6b7280;     /* Gray */
    --bg-light: #f9fafb;       /* Off White */
    --border: #e5e7eb;         /* Light Gray */
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.25);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Sizing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-serif: 'Merriweather', serif;
}

/* ============================================
   Global Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-primary-nav {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary) !important;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.3);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--primary);
    border: 2px solid var(--primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: 1.1rem;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.trust-badge {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: var(--spacing-md);
    background: var(--glass-bg);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.card-header {
    padding: var(--spacing-md);
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.card-content {
    padding: var(--spacing-lg);
}

.placeholder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.placeholder {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border-radius: var(--radius-md);
    height: 80px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ============================================
   Features Section
   ============================================ */

.features {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   Why FaithKit Section
   ============================================ */

.why-faithkit {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.why-faithkit .section-header h2,
.why-faithkit .section-header p {
    color: var(--white);
}

.comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.comparison-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    backdrop-filter: blur(10px);
}

.comparison-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
}

.comparison-label {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.comparison-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 12px 40px rgba(30, 58, 95, 0.15);
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--primary);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
}

.pricing-header h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-period {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pricing-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.9;
}

.about-cta {
    margin-top: var(--spacing-lg);
}

.about-visual {
    display: flex;
    justify-content: center;
}

.testimonial {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    backdrop-filter: blur(20px);
    text-align: center;
}

.testimonial p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: normal;
}

/* ============================================
   Signup Section
   ============================================ */

.signup {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.signup-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.signup h2 {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-md);
}

.signup > .container > p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
}

.form-group input {
    flex: 1;
    padding: var(--spacing-md);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.form-note {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: var(--spacing-md);
}

.success-message {
    background: var(--success);
    color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--primary);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    margin-bottom: var(--spacing-md);
    color: var(--accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.footer-section > p {
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero .container,
    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .nav-links {
        gap: var(--spacing-md);
        font-size: 0.9rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .comparison-number {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero {
        padding: var(--spacing-lg) 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-links {
        gap: var(--spacing-sm);
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .comparison {
        grid-template-columns: 1fr 1fr;
    }
}
