/* ===========================
   RESET & BASE STYLES
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

a {
    color: #10B981;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #059669;
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.navbar-brand h1 {
    font-size: 24px;
    font-weight: 700;
    color: #10B981;
    letter-spacing: -0.5px;
}

.navbar-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.navbar-links a {
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
    transition: color 0.3s ease;
}

.navbar-links a:hover {
    color: #10B981;
}

@media (max-width: 768px) {
    .navbar-links {
        gap: 16px;
        font-size: 12px;
    }

    .navbar-brand h1 {
        font-size: 20px;
    }
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    padding: 60px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ===========================
   CTA BUTTON
   =========================== */

.cta-button {
    background-color: #10B981;
    color: #FFFFFF;
    border: none;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #059669;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 20px;
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 14px 40px;
        font-size: 15px;
    }
}

/* ===========================
   FEATURES SECTION
   =========================== */

.features {
    padding: 80px 20px;
    background-color: #FFFFFF;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #1F2937;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: #F9FAFB;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: #10B981;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .features {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .features-grid {
        gap: 24px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

/* ===========================
   HOW IT WORKS SECTION
   =========================== */

.how-it-works {
    padding: 80px 20px;
    background-color: #F9FAFB;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.step {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.step:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #10B981;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #10B981;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
}

.step p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 60px 20px;
    }

    .steps-grid {
        gap: 24px;
    }

    .step {
        padding: 30px 20px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    text-align: center;
}

.cta-text {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.cta-button-secondary {
    background-color: #FFFFFF;
    color: #10B981;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button-secondary:hover:not(:disabled) {
    background-color: #F9FAFB;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 20px;
    }

    .cta-text {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: #1F2937;
    color: #E5E7EB;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #D1D5DB;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #10B981;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #6EE7B7;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #9CA3AF;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-section h4 {
        font-size: 15px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 13px;
    }
}

/* ===========================
   ACCESSIBILITY & UTILITIES
   =========================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus {
    outline: 2px solid #10B981;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .cta-section {
        display: none;
    }
}
