:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --indigo: #6366f1;
    --indigo-light: #818cf8;
    --indigo-dark: #4f46e5;
    --jade: #10b981;
    --jade-light: #34d399;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(99, 102, 241, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

*, *::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: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

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

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.nav-cta {
    background: var(--indigo);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all var(--transition-base) !important;
}

.nav-cta:hover {
    background: var(--indigo-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
                radial-gradient(ellipse 60% 40% at 80% 60%, rgba(16, 185, 129, 0.1), transparent);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--indigo-light);
    margin-bottom: 24px;
    width: fit-content;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--jade);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--indigo) 0%, var(--jade) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--jade) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup {
    width: 280px;
    background: linear-gradient(145deg, #1a1a24, #0f0f17);
    border-radius: 40px;
    padding: 16px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.phone-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-header {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: #0a0a0f;
    border-radius: 20px;
}

.phone-screen {
    background: var(--bg-secondary);
    border-radius: 28px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow: hidden;
}

.chat-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.8rem;
    line-height: 1.4;
    position: relative;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-bubble.bot {
    background: var(--bg-card);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.user {
    background: linear-gradient(135deg, var(--indigo-dark), var(--indigo));
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    color: white;
}

.chat-bubble.bot.highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.chat-time {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.chat-bubble p {
    margin: 0;
}

.chat-action {
    margin-top: 8px;
    padding: 6px 12px;
    background: var(--jade);
    color: white;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.bento-grid {
    display: grid;
    gap: 20px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.bento-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.problem-grid {
    grid-template-columns: repeat(3, 1fr);
}

.problem-grid .solution-card {
    grid-column: span 1;
}

.problem-card .card-icon {
    width: 48px;
    height: 48px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.card-stat {
    font-size: 0.8rem;
    color: #ef4444;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 6px;
    display: inline-block;
}

.solution-card {
    background: linear-gradient(145deg, var(--bg-card), rgba(99, 102, 241, 0.05));
    border-color: rgba(99, 102, 241, 0.3);
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--jade-light);
}

.solution-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.problem-section, .tech-section, .results-section {
    padding: 100px 0;
}

.tech-grid {
    grid-template-columns: repeat(3, 1fr);
}

.tech-card.large {
    grid-column: span 2;
}

.tech-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--indigo), var(--jade));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.tech-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.tech-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--indigo-light);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 6px;
}

.results-grid {
    grid-template-columns: repeat(4, 1fr);
}

.result-card {
    text-align: center;
    padding: 40px 24px;
}

.result-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--jade) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

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

.cta-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(99, 102, 241, 0.05) 100%);
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.btn-cta {
    background: linear-gradient(135deg, var(--jade) 0%, var(--jade-light) 100%);
    color: #0a0a0f;
    font-size: 1.125rem;
    padding: 20px 40px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.cta-note {
    display: block;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 12px;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--indigo-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--jade) 0%, var(--jade-light) 100%);
    color: #0a0a0f;
    font-weight: 600;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: all var(--transition-base);
}

.floating-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.floating-btn svg {
    flex-shrink: 0;
}

.floating-btn span {
    display: none;
}

@media (min-width: 640px) {
    .floating-btn span {
        display: inline;
    }
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        transform: none;
        width: 240px;
    }

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

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-grid .solution-card {
        grid-column: span 2;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-card.large {
        grid-column: span 2;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

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

    .btn {
        justify-content: center;
    }

    .problem-section, .tech-section, .results-section {
        padding: 60px 0;
    }

    .bento-card {
        padding: 24px;
    }

    .tech-grid, .results-grid {
        grid-template-columns: 1fr;
    }

    .tech-card.large {
        grid-column: span 1;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-number {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .floating-btn {
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .stat {
        flex: 1 1 80px;
    }

    .phone-mockup {
        width: 200px;
        border-radius: 30px;
        padding: 12px;
    }

    .phone-screen {
        padding: 14px 12px;
        border-radius: 20px;
    }

    .chat-bubble {
        padding: 10px 12px;
        font-size: 0.75rem;
    }

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

    .problem-grid .solution-card {
        grid-column: span 1;
    }

    .cta-section {
        padding: 80px 0;
    }

.btn-cta {
    padding: 16px 28px;
    font-size: 1rem;
}

.legal-page {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.legal-page .last-updated {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 48px;
}

.legal-page section {
    margin-bottom: 40px;
}

.legal-page section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-page section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-page section ul {
    list-style: none;
    padding-left: 0;
}

.legal-page section ul li {
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.legal-page section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--indigo);
}

.legal-back {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 120px 0 60px;
    }

    .legal-page h1 {
        font-size: 2rem;
    }
}
}