/* ==========================================
   LANDING PAGE CSS - WHITE COACHBOARD
   Modern, Conversion-Optimized Design
   ========================================== */

/* System Fonts Stack used for GDPR compliance */

/* ==========================================
   CSS VARIABLES (Design Tokens)
   ========================================== */
:root {
    /* Colors - Matching main app */
    --primary: #667eea;
    --secondary: #764ba2;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

    /* Text Colors */
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --text-lighter: #94a3b8;

    /* Surface Colors */
    --surface: #ffffff;
    --surface-variant: #f8fafc;
    --surface-dark: #0f172a;

    /* Borders & Outlines */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;

    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    color: var(--text-medium);
    background-color: var(--surface);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border-light);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    transition: transform var(--transition-fast);
}

.logo a:hover {
    transform: scale(1.05);
}

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

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

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-secondary,
.btn-primary {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

.btn-secondary {
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--primary);
}

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

.btn-primary {
    color: white;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--spacing-2xl);
    padding: var(--spacing-3xl) var(--spacing-md);
    padding-top: calc(var(--spacing-3xl) + 60px);
    /* Account for fixed header */
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    animation: slideUp 0.6s ease 0.2s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    animation: slideUp 0.6s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    animation: slideUp 0.6s ease 0.6s both;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-hero-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.btn-hero-secondary {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-medium);
}

.btn-hero-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    animation: slideUp 0.6s ease 0.8s both;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    animation: slideLeft 0.8s ease 0.4s both;
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dashboard-preview {
    position: relative;
    width: 100%;
    height: 100%;
}

.preview-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-dark);
    transition: transform var(--transition-normal);
}

.preview-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    font-size: 2rem;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation: cardFloat1 4s ease-in-out infinite;
}

.card-2 {
    top: 40%;
    right: 15%;
    animation: cardFloat2 4s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation: cardFloat3 4s ease-in-out infinite 2s;
}

@keyframes cardFloat1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes cardFloat2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes cardFloat3 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

/* ==========================================
   SHARED SECTION STYLES
   ========================================== */
section {
    padding: var(--spacing-3xl) var(--spacing-md);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features {
    background: var(--surface-variant);
}

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

.feature-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.featured-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

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

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ==========================================
   BENEFITS SECTION
   ========================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.benefit-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    animation: bounce 2s ease infinite;
}

.benefit-item:nth-child(1) .benefit-icon {
    animation-delay: 0s;
}

.benefit-item:nth-child(2) .benefit-icon {
    animation-delay: 0.2s;
}

.benefit-item:nth-child(3) .benefit-icon {
    animation-delay: 0.4s;
}

.benefit-item:nth-child(4) .benefit-icon {
    animation-delay: 0.6s;
}

.benefit-item:nth-child(5) .benefit-icon {
    animation-delay: 0.8s;
}

.benefit-item:nth-child(6) .benefit-icon {
    animation-delay: 1s;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */
.how-it-works {
    background: var(--surface-variant);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.step-card {
    flex: 1;
    max-width: 350px;
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 3rem;
    margin: var(--spacing-sm) 0;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.step-description {
    color: var(--text-light);
    line-height: 1.7;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.cta-container {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

.btn-cta {
    display: inline-block;
    padding: 18px 40px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.btn-cta:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.cta-note {
    margin-top: var(--spacing-sm);
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================
   PRICING SECTION
   ========================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    align-items: start;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: var(--spacing-lg);
}

.pricing-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.pricing-description {
    color: var(--text-light);
}

.pricing-price {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-light);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    display: block;
    line-height: 1;
}

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

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

.pricing-features li {
    padding: 10px 0;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-light);
}

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

.btn-pricing {
    display: block;
    width: 100%;
    padding: 14px 28px;
    background: var(--surface-variant);
    color: var(--text-dark);
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-pricing:hover {
    background: var(--border-light);
    transform: translateY(-2px);
}

.btn-pricing.primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-pricing.primary:hover {
    box-shadow: var(--shadow-md);
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials {
    background: var(--surface-variant);
}

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

.testimonial-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--surface-variant);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
}

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

/* ==========================================
   FINAL CTA SECTION
   ========================================== */
.final-cta {
    background: var(--gradient-primary);
    color: white;
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.btn-cta-large {
    padding: 18px 40px;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-large.primary {
    background: white;
    color: var(--primary);
}

.btn-cta-large.primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.btn-cta-large.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-cta-large.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.cta-guarantee {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--surface-dark);
    color: var(--text-lighter);
    padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

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

.footer-description {
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-lighter);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

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

.footer-bottom p {
    margin: 4px 0;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: calc(var(--spacing-2xl) + 60px);
    }

    .hero-content {
        max-width: 100%;
    }

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

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

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

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

    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

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

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    :root {
        --spacing-xl: 32px;
        --spacing-2xl: 48px;
        --spacing-3xl: 64px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: var(--spacing-2xl) var(--spacing-md);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-normal);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 8px 0;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
    }

    .nav-link::after {
        display: none;
    }

    .btn-secondary,
    .btn-primary {
        display: block;
        text-align: center;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .stat-item {
        text-align: center;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .features-grid,
    .benefits-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .btn-cta-large {
        width: 100%;
        justify-content: center;
    }

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

/* Very small mobile (max-width: 374px) */
@media (max-width: 374px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {

    .header,
    .hamburger,
    .footer-social {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .hero,
    section {
        page-break-inside: avoid;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}