/* Modern Marketing Site Styles - To Another One (TAO) */

/* CSS Variables */
:root {
    --primary: #5046e5;
    --primary-dark: #4338ca;
    --primary-light: #6366f1;
    --secondary: #06b6d4;
    --secondary-dark: #0891b2;
    --secondary-light: #22d3ee;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --max-width: 1200px;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.06);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--gray-800) 100%);
    --gradient-light: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-subtle: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-full: 9999px;
    --transition-fast: 150ms;
    --transition-base: 300ms;
    --transition-slow: 500ms;
}

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

html {
    scroll-behavior: smooth;
}

/* Base */
body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
}

.container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 40px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

/* Consistent Header */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--dark);
}

.brand-logo {
    height: 28px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(80, 70, 229, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    width: 100%;
    margin: auto 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subheadline {
    font-size: 1.375rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
    font-weight: 600;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(80, 70, 229, 0.3);
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(80, 70, 229, 0.4);
    color: white !important;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

.hero-trust {
    margin-top: 1.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

.scroll-text {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    animation: bounce 2s infinite;
}

/* Subtle Background Words */
.background-words {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bg-word {
    position: absolute;
    color: rgba(99, 102, 241, 0.15);
    font-size: 16px;
    font-weight: 500;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    white-space: nowrap;
    transition: all 0.8s ease;
    animation: float 20s infinite ease-in-out;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.bg-word:hover {
    color: rgba(99, 102, 241, 0.25);
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(5px) translateX(-5px);
    }
    75% {
        transform: translateY(-5px) translateX(10px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Problem Section */
.problem-section {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
    z-index: 10;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.03);
}

.section-headline {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.pain-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pain-point {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

.pain-point:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pain-point:hover::before {
    transform: scaleX(1);
}

.pain-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.pain-point h3 {
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.pain-point p {
    color: var(--gray-700);
    line-height: 1.7;
}

.problem-cost {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
}

.problem-cost strong {
    color: var(--danger);
}

/* Solution Section */
.solution-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.solution-intro {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.unique-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature p {
    color: var(--gray-700);
}

.demo-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.demo-header {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.demo-comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.before, .after {
    padding: 1rem;
    border-radius: 0.5rem;
}

.before {
    background: #fee;
    border: 2px solid #fcc;
}

.after {
    background: #efe;
    border: 2px solid #cfc;
}

.before .label, .after .label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.before .label { color: var(--danger); }
.after .label { color: var(--success); }

.demo-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: var(--white);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
    }
    .step-arrow {
        transform: rotate(90deg);
    }
}

.step {
    text-align: center;
    max-width: 250px;
}

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

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--gray-700);
    font-size: 0.875rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--gray-300);
}

.process-cta {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
}

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

.process-time {
    margin-top: 0.75rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Social Proof Section */
.proof-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--warning);
    margin-bottom: 1rem;
}

.testimonial p {
    color: var(--gray-700);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial cite {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-style: normal;
}

/* Metrics Grid (replaces testimonials) */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.metric {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.metric p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* Security Features */
.security-features {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gray-100);
    border-radius: 0.75rem;
}

.security-features h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

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

.security-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.security-item p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Translation Examples */
.translation-examples {
    margin-top: 4rem;
}

.translation-examples h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.example {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary);
}

.example h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.example .problem {
    color: var(--danger);
    font-family: monospace;
    background: #fef2f2;
    padding: 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    text-decoration: line-through;
}

.example .solution {
    color: var(--success);
    font-family: monospace;
    background: #f0fdf4;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
}

/* Objections Section */
.objections-section {
    padding: 5rem 0;
    background: var(--white);
}

.objections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.objection h3 {
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.objection p {
    color: var(--gray-700);
    line-height: 1.7;
}

.guarantee {
    background: var(--success);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.guarantee h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 1rem; /* Space for POPULAR badge */
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    overflow: visible; /* Changed to visible for badge */
}

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

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--gray-200);
}

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

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--white) 0%, rgba(80, 70, 229, 0.02) 100%);
    box-shadow: 0 8px 30px rgba(80, 70, 229, 0.15);
    overflow: visible;
    z-index: 10;
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 45px rgba(80, 70, 229, 0.25);
}

.pricing-card .badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--gray-500);
}

.pricing-card ul {
    list-style: none;
    margin: 2rem 0;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: var(--gray-700);
}

.btn-secondary {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
}

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

/* Final CTA Section */
.final-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.future-vision {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 0 auto 1rem;
}

@media (max-width: 640px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

.btn-cta {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cta:hover {
    background: var(--gray-900);
    transform: translateY(-2px);
    color: white !important;
}

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

/* Consistent Footer */
.site-footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer-brand h4 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-brand p {
    margin-bottom: 0.5rem;
    color: var(--gray-500);
}

.copyright {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-700);
    font-size: 0.875rem;
}

.footer-links h5 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    color: var(--gray-500);
    padding: 0.25rem 0;
    transition: color 0.2s;
}

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

/* Removed duplicate legal styles - styles moved to line 1344 */

/* Auth Pages */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
    padding: 2rem;
}

.auth-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 520px;
    animation: fadeInUp 0.6s ease-out;
}

.auth-card h1 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.auth-subtitle {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.form-checkbox {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 1.125rem;
    height: 1.125rem;
    border: 1.5px solid #d1d5db;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.form-checkbox input[type="checkbox"]:checked {
    background-color: #3182ce;
    border-color: #3182ce;
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

.form-checkbox input[type="checkbox"]:hover {
    border-color: #9ca3af;
}

.form-checkbox input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}

.auth-form {
    margin-bottom: 1rem;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light);
    font-size: 0.875rem;
}

.alert {
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-error {
    background: #fee;
    color: #d00;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #080;
    border: 1px solid #cfc;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-base);
    z-index: 1;
    width: 32px;
    height: 32px;
}

.password-toggle:hover {
    color: var(--primary);
}

.password-toggle-icon {
    width: 20px;
    height: 20px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--gray);
    font-size: 0.875rem;
}

.btn-submit {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.error-message {
    background: #fee;
    color: #c00;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.success-message {
    background: #efe;
    color: #060;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-benefits {
    max-width: 300px;
    text-align: left;
}

.auth-benefits h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--gray);
}

.auth-benefits ul {
    list-style: none;
    padding: 0;
}

.auth-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.auth-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Enhanced Modern Form Styles - auth-container moved to line 1016 */

.auth-logo {
    display: block;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.form-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.875rem;
}

.form-label-link {
    color: var(--primary);
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 400;
}

.form-label-link:hover {
    text-decoration: underline;
}

.benefits-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.benefits-list {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.benefit-item {
    color: var(--gray-700);
    font-size: 0.875rem;
}

.form-hint {
    display: block;
    color: var(--gray-500);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Duplicate auth-card removed - using definition at line 1022 */

/* Form input styles merged with earlier definition */

.btn-submit {
    width: 100%;
    padding: 0.875rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(80, 70, 229, 0.4);
}

.btn-submit:hover:not(:disabled)::before {
    width: 300px;
    height: 300px;
}

/* Legal Pages Styling */
.legal-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
    padding-top: 80px;
    padding-bottom: 4rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.legal-date {
    color: var(--gray-600);
    font-size: 1rem;
}

.legal-content {
    max-width: 900px;
    margin: 2rem auto 4rem;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
    line-height: 1.8;
    color: var(--gray-700);
}

.legal-content h1 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    position: relative;
}

.legal-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-light);
}

.legal-content p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
    padding-left: 1rem;
    list-style: none;
}

.legal-content li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.legal-content strong {
    color: var(--gray-900);
    font-weight: 600;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
    transition: color var(--transition-base);
}

.legal-content a:hover {
    color: var(--primary-dark);
}

.legal-content .last-updated {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding: 0.75rem 1.25rem;
    background: var(--light);
    border-radius: 8px;
    display: inline-block;
    font-weight: 500;
}

.legal-content .important-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 2.5rem 0;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.2);
    animation: slideInLeft 0.6s ease-out;
}

.legal-content .important-notice strong {
    color: #856404;
    font-weight: 600;
}

.legal-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.legal-content th,
.legal-content td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--light);
    border-right: 1px solid var(--light);
}

.legal-content th:last-child,
.legal-content td:last-child {
    border-right: none;
}

.legal-content tr:last-child td {
    border-bottom: none;
}

.legal-content th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-content tbody tr:hover {
    background: var(--light);
    transition: background 0.2s ease;
}

.tier-limits-table,
.gdpr-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tier-limits-table tbody tr:hover,
.gdpr-table tbody tr:hover {
    background: var(--light);
    transition: background 0.2s ease;
}

.legal-toc {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.legal-toc h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.legal-toc ul {
    list-style: none;
    padding: 0;
}

.legal-toc li {
    margin-bottom: 0.5rem;
}

.legal-toc a {
    color: var(--gray-700);
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
}

.legal-toc a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .section-headline {
        font-size: 2rem;
    }
    
    .auth-card {
        padding: 2rem;
    }
    
    .pain-points {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
}
/* Authentication-aware header styles */
.nav-user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-dashboard-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-dashboard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.nav-dashboard-btn i {
    font-size: 14px;
}

/* Fix body padding for fixed header */
body {
    padding-top: 60px;
}

/* Reset padding for authenticated layout */
body.authenticated-layout {
    padding-top: 60px;
}

/* Ensure hero sections account for header */
.hero-section {
    padding-top: 2rem;
}

/* Hero sections should start right after header with no gap */
.pricing-hero,
.features-hero, 
.getting-started-hero,
.about-hero {
    margin-top: 0; /* No gap between header and hero */
}
