:root {
    /* Color Palette */
    --bg-dark: #060816;
    --bg-darker: #04050d;
    --bg-surface: #0b1020;
    --primary: #5b7fff;
    --primary-glow: rgba(91, 127, 255, 0.3);
    --secondary: #00d1ff;
    --secondary-glow: rgba(0, 209, 255, 0.2);

    --success: #7cf29c;
    --text-primary: #ffffff;
    --text-secondary: #8e95a1;
    --text-muted: #4e5564;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 255, 255, 0.15);
    --glass-bg: rgba(11, 16, 32, 0.7);
    --nav-height: 90px;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    letter-spacing: -0.02em;
    font-weight: 700;
}

.shimmer-text {
    background: linear-gradient(90deg, #fff, var(--secondary), var(--primary), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.container, .nav-inner, .hero-inner, .section-inner, .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn-primary-sm, .btn-hero-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-hero-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-hero-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 40px var(--primary-glow);
    filter: brightness(1.1);
}


.btn-ghost, .btn-hero-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-bright);
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-ghost {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-hero-ghost {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    height: 80px;
    background: rgba(6, 8, 22, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.brand-logo {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .brand-logo {
    height: 50px;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-item {
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.nav-item:hover {
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link-plain {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    text-align: center;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: -1;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.25;
}


.glow-1 {
    top: 5%;
    left: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}

.glow-2 {
    bottom: 10%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
}


.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-bright);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-cta-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-micro {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5rem;
}

/* Dashboard Mockup */
.hero-dashboard {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-darker);
    border: 1px solid var(--border-bright);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    transform: translateY(20px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-dashboard.visible {
    transform: translateY(0);
    opacity: 1;
}

.dash-chrome {
    height: 40px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
}

.dash-dots {
    display: flex;
    gap: 6px;
}

.dd {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dd.r { background: #ff5f57; }
.dd.y { background: #febc2e; }
.dd.g { background: #28c840; }

.dash-url {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.dash-body {
    display: grid;
    grid-template-columns: 60px 240px 1fr 200px;
    height: 540px;
    text-align: left;
}

.dash-sidebar {
    background: rgba(255,255,255,0.02);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1.5rem;
}

.ds-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.ds-icon.active {
    color: var(--primary);
}

.dash-threads {
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
}

.thread-search {
    padding: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.thread-item {
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    cursor: pointer;
    transition: var(--transition);
}

.thread-item.t-active {
    background: rgba(91, 127, 255, 0.05);
    border-right: 2px solid var(--primary);
}

.ti-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.ti-avatar.wa { background: #25d366; color: #fff; }
.ti-avatar.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.ti-avatar.em { background: #ea4335; color: #fff; }
.ti-avatar.tg { background: #0088cc; color: #fff; }

.ti-info {
    flex: 1;
    min-width: 0;
}

.ti-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.ti-preview {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ti-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ti-badge {
    font-size: 0.6rem;
    padding: 1px 4px;
    background: var(--primary);
    border-radius: 4px;
    font-weight: 700;
}

.ti-time {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.dash-convo {
    display: flex;
    flex-direction: column;
}

.convo-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ch-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.ch-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.badge-ai-active {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--secondary);
    background: rgba(0, 209, 255, 0.1);
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid var(--secondary-glow);
    display: flex;
    align-items: center;
    gap: 4px;
}

.convo-messages {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.msg {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

.msg.user {
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 2px;
}

.msg.ai {
    align-self: flex-start;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    border-bottom-left-radius: 2px;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

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

.convo-input {
    padding: 1rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ci-placeholder {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ci-actions {
    display: flex;
    gap: 0.75rem;
}

.ci-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ci-send {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-right {
    background: rgba(255,255,255,0.01);
    border-left: 1px solid var(--border-subtle);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dr-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.dr-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.dr-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dr-ai-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.active {
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

.dr-action-log {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dal-item {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dal-item i {
    color: var(--success);
}

.dash-statusbar {
    height: 32px;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 2rem;
}

.dsb-item {
    font-size: 0.65rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Logos Strip */
.logos-strip {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.logos-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
}

.logos-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.logos-track {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.logos-track span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    margin: 0 3rem;
    opacity: 0.5;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Section Common */
.section-inner {
    padding: 100px 2rem;
}

.section-eyebrow {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-sub {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 4rem;
}

/* Platform Architecture Section */
.arch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.arch-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 3rem;
    transition: var(--transition);
}

.arch-card:hover {
    border-color: var(--border-bright);
    background: rgba(255,255,255,0.04);
    transform: translateY(-5px);
}

.arch-card.featured {
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(91, 127, 255, 0.05), rgba(0, 209, 255, 0.05));
    border-color: rgba(91, 127, 255, 0.2);
}

.arch-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.glow-icon {
    color: var(--secondary);
    text-shadow: 0 0 20px var(--secondary-glow);
}

.arch-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.arch-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.arch-channels {
    display: flex;
    gap: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.arch-stat-row {
    display: flex;
    gap: 3rem;
    margin-top: auto;
}

.asr-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
}

.asr-val.cyan { color: var(--secondary); }

.asr-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Steps Section */
.steps-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 4rem;
}

.step {
    position: relative;
}

.step-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-family: monospace;
}

.step-content h3 {
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Metrics Section */
.metrics {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.metric-val {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.metric-val span {
    color: var(--primary);
}

.metric-val .cyan { color: var(--secondary); }

.metric-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Testimonials */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testi-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
}

.featured-testi {
    background: rgba(255,255,255,0.04);
    border-color: var(--border-bright);
}

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

.testi-card p {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ta-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.ta-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.ta-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Final CTA */
.final-cta {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

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

.fcta-glow-1 {
    position: absolute;
    top: -20%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.2;
}

.fcta-glow-2 {
    position: absolute;
    bottom: -20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: var(--secondary);
    filter: blur(150px);
    opacity: 0.15;
}

.fcta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding-top: 80px;
    border-top: 1px solid var(--border-subtle);
}

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

.footer-tagline {
    color: var(--text-secondary);
    margin: 1.5rem 0;
    max-width: 250px;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: #fff;
}

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

.footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .dash-body {
        grid-template-columns: 60px 200px 1fr;
    }
    .dash-right { display: none; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-links-group { grid-template-columns: repeat(2, 1fr); }
    .arch-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions, .nav-divider { display: none; }
    .hamburger { display: flex; }
    .hero-title { font-size: 3rem; }
    .hero-cta-row { flex-direction: column; }
    .dash-threads { display: none; }
    .dash-body { grid-template-columns: 60px 1fr; }
    .steps-container { grid-template-columns: 1fr; gap: 2rem; }
    .fcta-buttons { flex-direction: column; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-legal { justify-content: center; }
}
