:root {
    --bg: #020817;
    --panel: #07142a;
    --cyan: #08d6df;
    --blue: #2c70ff;
    --text: #f7fbff;
    --muted: #9fb2ca;
    --line: rgba(8, 214, 223, .22);
    --line-strong: rgba(8, 214, 223, .42);
    --white-soft: #eaf6ff;
    --shadow-cyan: 0 18px 45px rgba(8, 214, 223, .18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: radial-gradient(circle at top, #0d2346 0, #020817 45%, #01040c 100%);
    color: var(--text);
}

a {
    color: inherit;
}

/* =========================
   Navbar / Header
========================= */

.synexia-nav {
    background: rgba(2, 8, 23, .82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    display: grid;
    place-items: center;
    color: #00111d;
    font-weight: 900;
    box-shadow: 0 10px 28px rgba(8, 214, 223, .18);
}

.brand-text {
    color: #ffffff;
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    transition: color .25s ease, text-shadow .25s ease;
}

.brand-text .brand-x {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text:hover {
    color: var(--white-soft);
    text-shadow: 0 0 14px rgba(8, 214, 223, .35);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, .2);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .18rem rgba(8, 214, 223, .2);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.nav-link {
    color: #d7e6f7 !important;
    font-weight: 600;
    transition: color .25s ease;
}

.nav-link:hover {
    color: var(--cyan) !important;
}

/* =========================
   Buttons
========================= */

.btn-synexia {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #ffffff !important;
    font-weight: 800;
    box-shadow: var(--shadow-cyan);
}

.btn-synexia:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 55px rgba(8, 214, 223, .26);
}

.btn-outline-light {
    border-radius: 999px;
}

/* =========================
   Hero
========================= */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 80px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--cyan);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero-section h1,
.section-block h2 {
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: .95;
}

.hero-section h1 {
    font-size: clamp(3rem, 7vw, 6.3rem);
}

.hero-text,
.lead-muted {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.8;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hero-metrics div {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
}

.hero-metrics strong {
    display: block;
    color: #ffffff;
    font-size: 1.4rem;
}

.hero-metrics span {
    color: var(--muted);
}

/* =========================
   Logo Card
========================= */

.logo-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 36px;
    background: rgba(0, 0, 0, .22);
    box-shadow: 0 40px 120px rgba(8, 214, 223, .12);
}

.logo-card img {
    border-radius: 26px;
}

/* =========================
   Sections
========================= */

.section-block {
    padding: 100px 0;
}

.section-block h2 {
    font-size: clamp(2.1rem, 4vw, 4rem);
}

.section-alt {
    background: linear-gradient(180deg, rgba(8, 214, 223, .05), rgba(44, 112, 255, .06));
}

/* =========================
   Feature Cards
========================= */

.feature-card,
.ai-panel {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
}

.feature-card {
    height: 100%;
    padding: 22px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8, 214, 223, .55);
    box-shadow: 0 28px 70px rgba(8, 214, 223, .10);
}

.feature-card span {
    color: var(--cyan);
    font-weight: 900;
}

.feature-card h3 {
    margin: 18px 0 10px;
    font-weight: 850;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

/* =========================
   Modules
========================= */

.module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.module-grid div {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .06);
    text-align: center;
    font-weight: 800;
}

/* =========================
   AI / WhatsApp Panel
========================= */

.ai-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
}

.chat-bubble {
    max-width: 82%;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    color: #eaf5ff;
}

.chat-bubble.user {
    align-self: flex-end;
    background: rgba(44, 112, 255, .2);
}

.chat-bubble.accent {
    border-color: rgba(8, 214, 223, .35);
    background: linear-gradient(135deg, rgba(8, 214, 223, .22), rgba(44, 112, 255, .18));
}

/* =========================
   Footer
========================= */

.footer {
    padding: 32px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer a {
    color: var(--cyan);
    font-weight: 800;
    text-decoration: none;
}

/* =========================
   Responsive
========================= */

@media (max-width: 991px) {
    .brand-text {
        font-size: 1.1rem;
        letter-spacing: .10em;
    }

    .navbar-collapse {
        padding-top: 18px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 110px;
        text-align: center;
    }

    .hero-metrics,
    .module-grid {
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        text-align: left;
    }

    .chat-bubble {
        max-width: 100%;
    }
}
