/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --error-color: #ef4444;
    --success-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

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

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

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

.cta-link {
    background: var(--gradient-primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

/* Hamburger Menu Toggle */
.nav-menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

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

.nav-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Menu */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    transform: translateY(-100%);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nav-mobile-menu.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-mobile-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.nav-mobile-menu a:last-child {
    border-bottom: none;
}

.nav-mobile-menu a:hover {
    color: var(--text-primary);
}

.nav-mobile-menu .cta-link {
    background: var(--gradient-primary);
    color: white !important;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    text-align: center;
    border: none;
    margin-top: 8px;
}

/* Desktop: Hide mobile menu by default */
@media (min-width: 769px) {
    .nav-mobile-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .nav-mobile-menu.active {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Problem Visual */
.problem-visual {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.problem-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 32px;
    border-left: 4px solid var(--error-color);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.problem-card:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.problem-card h3 {
    color: var(--error-color);
    margin-bottom: 24px;
    font-size: 1.5rem;
    text-align: center;
}

.problem-example {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.problem-example:last-child {
    margin-bottom: 0;
}

.error-text {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--error-color);
    margin-bottom: 8px;
}

.error-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.problem-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: stretch;
}

.problem-example {
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
}

.problem-example .error-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.correct-answer {
    flex: 0 0 auto;
    width: 100px;
    padding: 16px 12px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.correct-text {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--success-color);
    margin-bottom: 0;
}

/* Fraction styling */
.fraction {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    margin: 0 2px;
}

.fraction .numerator {
    display: block;
    font-size: 0.9em;
    line-height: 1.2;
}

.fraction .denominator {
    display: block;
    font-size: 0.9em;
    line-height: 1.2;
    border-top: 1px solid var(--error-color);
    padding-top: 2px;
    margin-top: 2px;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
}

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

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

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s ease-out;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

/* AI Trust Section */
.ai-trust-section {
    margin-bottom: 64px;
}

.ai-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.ai-trust-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: var(--transition);
}

.ai-trust-card.aware {
    border-color: var(--primary-color);
}

.ai-trust-card.unaware {
    border-color: var(--error-color);
}

.ai-trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-align: center;
}

.ai-trust-card h3 {
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
    font-size: 1.5rem;
}

.ai-trust-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.trust-example {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.ai-trust-card.unaware .trust-example {
    border-left-color: var(--error-color);
}

.example-label {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
    font-size: 0.875rem;
}

.example-text {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.875rem;
}

/* Responsive design for AI Trust Section */
@media (max-width: 768px) {
    .ai-trust-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .ai-trust-card {
        padding: 24px;
    }
    
    .trust-icon {
        font-size: 2rem;
    }
}

/* Hidden Costs Section */
.hidden-costs-section {
    margin-bottom: 64px;
}

.costs-header {
    text-align: center;
    margin-bottom: 48px;
}

.costs-header h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.costs-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.costs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.cost-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cost-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.cost-card.time-cost::before {
    background: #f59e0b;
}

.cost-card.money-cost::before {
    background: var(--error-color);
}

.cost-card.stress-cost::before {
    background: #8b5cf6;
}

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

.cost-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.cost-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.cost-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.cost-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.cost-impact {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    text-align: center;
}

.cost-card.time-cost .cost-impact {
    border-left-color: #f59e0b;
}

.cost-card.money-cost .cost-impact {
    border-left-color: var(--error-color);
}

.cost-card.stress-cost .cost-impact {
    border-left-color: #8b5cf6;
}

.impact-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.costs-summary {
    text-align: center;
}

.summary-card {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    border: none;
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.summary-card h4 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
}

.summary-card p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.summary-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

.summary-cta span {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.summary-cta span:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Responsive design for Hidden Costs Section */
@media (max-width: 768px) {
    .costs-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cost-card {
        padding: 24px;
    }
    
    .costs-header h3 {
        font-size: 1.75rem;
    }
    
    .summary-card {
        padding: 24px;
    }
}

/* Problem Section */
.problem-section {
    background: var(--bg-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.problem-item {
    background: white;
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
    border-top: 4px solid var(--error-color);
}

.problem-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.problem-item:nth-child(2) { animation-delay: 0.1s; }
.problem-item:nth-child(3) { animation-delay: 0.2s; }

.problem-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.problem-item:hover .problem-icon-wrapper {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.3) 100%);
}

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

.problem-item h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.problem-item p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Solution Section */
.solution-section {
    background: white;
}

.solution-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.solution-outcome {
    background: var(--bg-secondary);
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.solution-outcome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.solution-outcome:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.solution-outcome:hover::before {
    transform: scaleX(1);
}

.solution-outcome:nth-child(2) { animation-delay: 0.1s; }
.solution-outcome:nth-child(3) { animation-delay: 0.2s; }

.solution-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.solution-outcome h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.solution-outcome p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* How it Works */
.how-it-works {
    background: var(--bg-secondary);
}

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

.step {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

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

.step:nth-child(2) { animation-delay: 0.1s; }
.step:nth-child(3) { animation-delay: 0.2s; }

.step-number {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

/* Examples */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.example-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.example-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.example-card:nth-child(2) { animation-delay: 0.1s; }
.example-card:nth-child(3) { animation-delay: 0.2s; }

.example-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.example-header h3 {
    margin-bottom: 0;
    font-size: 1.125rem;
}

.verification-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.verification-badge.correct {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.verification-badge.incorrect {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.math-expression {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    border-left: 4px solid var(--primary-color);
}

.math-text {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.example-description {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Features */
.features {
    background: var(--bg-secondary);
}

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

.feature {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

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

.feature:nth-child(2) { animation-delay: 0.1s; }
.feature:nth-child(3) { animation-delay: 0.2s; }
.feature:nth-child(4) { animation-delay: 0.3s; }

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.waitlist-form {
    max-width: 500px;
    margin: 0 auto 32px;
}

.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.form-group input {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: white;
    color: var(--text-primary);
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group .cta-button {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    white-space: nowrap;
}

.form-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.social-proof {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 32px;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.proof-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.proof-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.footer-brand .nav-logo {
    color: white;
}

.footer-brand .nav-logo .logo-icon {
    color: white;
}

.footer-brand p {
    color: var(--text-light);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

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

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-mobile-menu {
        display: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    
    .nav-mobile-menu.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .problem-grid,
    .solution-content {
        grid-template-columns: 1fr;
    }
    
    .ai-trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .costs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .waitlist-form {
        flex-direction: column;
        gap: 16px;
    }
    
    .waitlist-form input[type="email"] {
        width: 100%;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .waitlist-form button {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .social-proof {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .problem-card {
        transform: none;
        padding: 24px 20px;
        margin: 0 10px;
        box-shadow: var(--shadow-md);
    }
    
    .problem-card:hover {
        transform: none;
    }
    
    .problem-card h3 {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    
    /* Problem examples mobile optimization */
    .problem-example {
        padding: 16px;
        font-size: 0.875rem;
    }
    
    .problem-example .error-text {
        font-size: 0.8rem;
        line-height: 1.4;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    
    .problem-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .correct-answer {
        padding: 12px;
        font-size: 0.8rem;
        width: 100%;
        flex: none;
    }
    
    /* AI trust cards mobile */
    .ai-trust-card {
        padding: 24px 20px;
    }
    
    .ai-trust-card h3 {
        font-size: 1.25rem;
    }
    
    .ai-trust-card p {
        font-size: 0.95rem;
    }
    
    /* Cost cards mobile */
    .cost-card {
        padding: 24px 20px;
    }
    
    .cost-card h4 {
        font-size: 1.25rem;
    }
    
    .cost-content p {
        font-size: 0.95rem;
    }
    
    /* Summary card mobile */
    .summary-card {
        padding: 32px 24px;
        margin: 0 10px;
    }
    
    .summary-card h4 {
        font-size: 1.5rem;
    }
    
    .summary-card p {
        font-size: 1.125rem;
    }
    
    /* Navigation mobile */
    .nav-logo {
        font-size: 1.5rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .problem-item,
    .solution-outcome {
        padding: 24px 20px;
    }
    
    .problem-card {
        padding: 20px 16px;
        margin: 0 5px;
    }
    
    .problem-card h3 {
        font-size: 1.125rem;
        margin-bottom: 16px;
    }
    
    .problem-example {
        padding: 12px;
        font-size: 0.8rem;
    }
    
    .problem-example .error-text {
        font-size: 0.75rem;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    
    .problem-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .correct-answer {
        padding: 10px;
        font-size: 0.75rem;
        width: 100%;
        flex: none;
    }
    
    .ai-trust-card {
        padding: 20px 16px;
    }
    
    .cost-card {
        padding: 20px 16px;
    }
    
    .summary-card {
        padding: 24px 20px;
    }
    
    .summary-card h4 {
        font-size: 1.25rem;
    }
    
    .summary-card p {
        font-size: 1rem;
    }
    
    .waitlist-form button {
        padding: 14px 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
button:focus,
input:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success/Error States */
.success {
    border-color: var(--success-color) !important;
}

.error {
    border-color: var(--error-color) !important;
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 60px 0;
    }
    
    .section {
        padding: 40px 0;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .waitlist-form button {
        min-height: 44px; /* iOS recommended touch target */
    }
    
    .summary-cta span {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cost-card,
    .ai-trust-card,
    .problem-card {
        cursor: default;
    }
}

/* Prevent horizontal scroll on mobile */
body {
    overflow-x: hidden;
    width: 100%;
}

/* Improve text readability on mobile */
@media (max-width: 768px) {
    body {
        font-size: 16px; /* Base font size for mobile */
    }
    
    /* Ensure proper spacing for touch targets */
    .waitlist-form input,
    .waitlist-form button {
        min-height: 44px;
    }
    
    /* Improve fraction display on mobile */
    .fraction {
        display: inline-block;
        vertical-align: middle;
        text-align: center;
        margin: 0 2px;
    }
    
    .fraction .numerator,
    .fraction .denominator {
        display: block;
        line-height: 1.2;
    }
    
    .fraction .numerator {
        border-bottom: 1px solid currentColor;
        padding-bottom: 1px;
    }
}


