/* ═══════════════════════════════════════════════════════════
   FAÇADE LOGICS — main.css
   Landing page styles. No Bootstrap. No vendor dependencies.
═══════════════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; padding: 0; }

button, input, textarea, select { font-family: inherit; }

::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Layout ── */
section > .container { width: 100%; }

/* Flex-centred sections: vertical breathing room on the container */
#about > .container,
#values > .container,
#pricing > .container,

/* Features: nudge content slightly above centre */
#features > .container { padding-top: 56px; padding-bottom: 104px; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.grid   { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

section { padding: 80px 0; }

/* ── Section Title ── */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title .eyebrow {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--glass-deep);
    margin-bottom: 10px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.04em;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.15;
}

.section-title p {
    font-family: var(--font-body);
    color: var(--muted);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all .2s var(--ease);
    white-space: nowrap;
    text-decoration: none;
    border-radius: var(--r-full);
}

.btn-primary {
    background: var(--amber);
    color: var(--text);
    padding: 12px 28px;
    font-size: .9rem;
    box-shadow: 0 4px 16px var(--amber-ring);
}
.btn-primary:hover {
    background: var(--amber-dk);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--amber-ring);
    color: var(--text);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
    padding: 11px 24px;
    font-size: .9rem;
}
.btn-outline:hover {
    border-color: var(--glass-deep);
    color: var(--glass-deep);
    background: var(--accent-soft);
}

.btn-outline-white {
    background: transparent;
    color: rgba(255,255,255,.75);
    border: 1.5px solid rgba(255,255,255,.22);
    padding: 11px 24px;
    font-size: .9rem;
}
.btn-outline-white:hover {
    color: #fff;
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.06);
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--surface-blur);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-xs);
    transition: background var(--tr-base), box-shadow var(--tr-base);
}

#header .container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo img { height: 28px; }

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.03em;
}

#navmenu { flex: 1; }

#navmenu ul {
    display: flex;
    align-items: center;
    gap: 2px;
}

#navmenu a {
    display: block;
    padding: 6px 14px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--muted);
    border-radius: var(--r-full);
    transition: color .2s, background .2s;
}

#navmenu a:hover,
#navmenu a.active {
    color: var(--text);
    background: var(--bg-alt);
}

.mobile-nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text);
    background: none;
    border: none;
    padding: 4px;
    margin-left: auto;
}

.btn-getstarted {
    background: var(--amber) !important;
    color: var(--text) !important;
    border-radius: var(--r-full) !important;
    padding: 8px 18px !important;
    font-size: .82rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background .2s, transform .15s !important;
    border: none !important;
    flex-shrink: 0;
}
.btn-getstarted:hover {
    background: var(--amber-dk) !important;
    color: var(--text) !important;
    transform: translateY(-1px);
}

@media (max-width: 1199px) {
    .mobile-nav-toggle { display: block; }
    #navmenu ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--surface);
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--sh-md);
        gap: 4px;
    }
    #navmenu ul.open { display: flex; }
    #navmenu a { width: 100%; padding: 10px 16px; }
}

/* ═══════════════════════════════════════
   HERO — Dark structural steel panel
═══════════════════════════════════════ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

/* Subtle dot grid */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(122,175,212,.12) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}

/* Radial glow top-right */
#hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 65%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(74,139,181,.18) 0%, transparent 65%);
    pointer-events: none;
}

#hero .container {
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    padding: 80px 0;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--glass-mid);
}

.hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: var(--glass-mid);
    border-radius: 1px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.05em;
    color: #fff;
}

.hero-text h1 em {
    font-style: normal;
    color: var(--amber);
}

.hero-text p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: rgba(255,255,255,.58);
    max-width: 440px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Hero stats strip */
.hero-stats {
    display: flex;
    gap: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 4px;
}

.hero-stat-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -.04em;
}

.hero-stat-lab {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255,255,255,.38);
    margin-top: 4px;
}

/* ── Desktop Assistant mockup — hero right ────────────────────────── */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 40px 24px;
}

/* Window chrome */
.da-window {
    background: #F0EFEC;
    border: 1px solid rgba(212,210,204,.6);
    border-radius: 12px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 32px 80px rgba(26,58,82,.35), 0 0 0 1px rgba(74,139,181,.15);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

/* ── Topbar — Structural Steel ── */
.da-topbar {
    background: #1A3A52;
    padding: 0 12px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.da-topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.da-chrome-dots {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-right: 4px;
}
.da-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.da-logo-mark { flex-shrink: 0; }
.da-logo-text {
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    font-family: var(--font-heading);
    white-space: nowrap;
}
.da-topbar-right {
    display: flex;
    align-items: center;
    gap: 5px;
}
.da-running-on {
    font-size: .65rem;
    color: rgba(255,255,255,.32);
    font-family: var(--font-heading);
    white-space: nowrap;
}
.da-platform-pill {
    font-size: .65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.28);
    font-family: var(--font-heading);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.da-platform-pill.active {
    background: #4A8BB5;
    border-color: transparent;
    color: #fff;
}
.da-platform-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.8);
    flex-shrink: 0;
}

/* ── Balance bar — Brushed Aluminum ── */
.da-balancebar {
    background: #E2E0DB;
    border-bottom: 1px solid #D4D2CC;
    padding: 0 12px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.da-bb-left, .da-bb-right {
    display: flex;
    align-items: center;
    gap: 6px;
}
.da-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #107C10;
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 4px rgba(16,124,16,.4); }
    50%       { box-shadow: 0 0 8px rgba(16,124,16,.8); }
}
.da-bb-text {
    font-size: .65rem;
    color: #5C5A56;
    font-family: var(--font-heading);
    white-space: nowrap;
}
.da-bb-divider {
    width: 1px;
    height: 11px;
    background: #D4D2CC;
    flex-shrink: 0;
}
.da-bb-credits {
    font-size: .65rem;
    font-weight: 600;
    color: #4A8BB5;
    font-family: var(--font-heading);
}
.da-bb-user {
    display: flex;
    align-items: center;
    gap: 5px;
}
.da-bb-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4A8BB5;
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    flex-shrink: 0;
}
.da-bb-settings {
    font-size: .8rem;
    color: #9E9C97;
    cursor: pointer;
    line-height: 1;
}

/* ── Content area ── */
.da-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #F0EFEC;
}
.da-zone-label {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .07em;
    color: #9E9C97;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

/* ── Cards ── */
.da-card {
    background: #fff;
    border: 1px solid #D4D2CC;
    border-radius: 8px;
    padding: 10px 12px;
}
.da-card-running { border-left: 3px solid #4A8BB5; }
.da-card-queued  { opacity: .85; }
.da-card-completed { opacity: .72; }

.da-card-header {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    flex-wrap: wrap;
}
.da-card-name {
    font-size: .78rem;
    font-weight: 700;
    color: #1A3A52;
    font-family: var(--font-heading);
}
.da-card-meta {
    font-size: .65rem;
    color: #9E9C97;
    font-family: var(--font-heading);
    margin-left: auto;
}

/* Pills */
.da-pill {
    font-size: .62rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: var(--font-heading);
}
.da-pill-running { background: #E8A045; color: #fff; }
.da-pill-queued  { background: #E2E0DB; color: #5C5A56; border: 1px solid #D4D2CC; }
.da-pill-done    { background: #DFF6DD; color: #054B16; }

/* Task pipeline */
.da-pipeline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 9px;
}
.da-pipe-step {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: .62rem;
    font-family: var(--font-heading);
}
.da-pipe-step .done   { color: #107C10; }
.da-pipe-step .active { color: #E8A045; font-weight: 700; }
.da-pipe-step .pending{ color: #D4D2CC; }
.da-pipe-icon {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .55rem;
    flex-shrink: 0;
    line-height: 1;
}
.da-pipe-icon.done    { color: #107C10; font-size: .65rem; }
.da-pipe-icon.active  { background: #E8A045; }
.da-pipe-icon.pending { background: #D4D2CC; }
.da-pipe-line {
    width: 10px;
    height: 1px;
    background: #D4D2CC;
    flex-shrink: 0;
    margin: 0 1px;
}

/* Progress bars */
.da-prog-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.da-prog-label {
    font-size: .62rem;
    color: #9E9C97;
    font-family: var(--font-heading);
    width: 34px;
    flex-shrink: 0;
}
.da-pbar {
    flex: 1;
    height: 4px;
    background: #E2E0DB;
    border-radius: 2px;
    overflow: hidden;
}
.da-pfill {
    height: 100%;
    border-radius: 2px;
    transition: width .3s ease;
}
.da-prog-val {
    font-size: .62rem;
    font-weight: 700;
    color: #4A8BB5;
    font-family: var(--font-heading);
    width: 28px;
    text-align: right;
    flex-shrink: 0;
}

/* Task info */
.da-task-info {
    font-size: .63rem;
    color: #9E9C97;
    font-family: var(--font-mono);
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Per-job log strip */
.da-log-strip {
    background: #060F1A;
    border-radius: 5px;
    padding: 5px 8px;
    margin-top: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.da-log-line {
    font-size: .62rem;
    font-family: var(--font-mono);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}
.da-log-line .log-info { color: #7AAFD4; }
.da-log-line .log-ok   { color: #4ADE80; }
.da-log-expand {
    font-size: .6rem;
    color: rgba(255,255,255,.25);
    font-family: var(--font-heading);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Queued + Completed side-by-side */
.da-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* Floating accent badges on hero visual */
.hero-badge {
    position: absolute;
    background: var(--amber);
    color: var(--text);
    font-size: .78rem;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: var(--r-full);
    box-shadow: 0 6px 20px var(--amber-ring);
    white-space: nowrap;
    font-family: var(--font-heading);
    animation: float-badge 4s ease-in-out infinite;
}

.hero-badge-1 {
    bottom: 16px;
    left: 0px;
}

.hero-badge-2 {
    top: 16px;
    right: 0px;
    background: var(--glass-deep);
    color: #fff;
    box-shadow: 0 6px 20px rgba(74,139,181,.4);
    animation-delay: 2s;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-6px); }
}

/* ═══════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════ */
#features {
    --section-h: calc(100vh - var(--header-h));
    background: var(--bg);
    padding: 0;
    min-height: var(--section-h);
    display: flex;
    align-items: center;
}

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

.feat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}

.feat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: var(--glass-deep);
}

.feat-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feat-icon-blue  { background: var(--accent-soft); color: var(--glass-deep); }
.feat-icon-amber { background: var(--amber-soft);  color: var(--amber-dk); }

.feat-card h3 {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.02em;
}

.feat-card p {
    font-family: var(--font-body);
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
#about {
    --section-h: calc(100vh - var(--header-h));
    background: var(--bg-alt);
    padding: 0;
    min-height: var(--section-h);
    display: flex;
    align-items: center;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-content .eyebrow {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--glass-deep);
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.04em;
    color: var(--text);
}

.about-content p {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.8;
    font-size: .975rem;
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    font-family: var(--font-heading);
    color: var(--text);
    font-weight: 500;
}

.about-points li .bi {
    color: var(--glass-deep);
    font-size: 1rem;
    flex-shrink: 0;
}

.about-img img {
    border-radius: var(--r-xl);
    box-shadow: var(--sh-md);
    border: 1px solid var(--border);
    width: 100%;
}

/* ═══════════════════════════════════════
   VALUES
═══════════════════════════════════════ */
#values {
    --section-h: calc(100vh - var(--header-h));
    background: var(--bg);
    padding: 0;
    min-height: var(--section-h);
    display: flex;
    align-items: center;
}

.values-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.values-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.val-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--glass-deep);
}

.values-list li strong {
    display: block;
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.values-list li p {
    font-family: var(--font-body);
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* ═══════════════════════════════════════
   MODULES — Dark section
═══════════════════════════════════════ */
#modules {
    --section-h: calc(100vh - var(--header-h));
    background: var(--dark);
    padding: 0;
    min-height: var(--section-h);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

#modules::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(122,175,212,.08) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

#modules .section-title .eyebrow { color: var(--glass-mid); }
#modules .section-title h2        { color: #fff; }
#modules .section-title p         { color: rgba(255,255,255,.45); }

#modules .container { position: relative; z-index: 1; }

.module-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-xl);
    padding: 32px 28px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background .25s, border-color .25s, transform .25s var(--ease);
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.module-card:hover {
    background: rgba(122,175,212,.07);
    border-color: rgba(122,175,212,.3);
    transform: translateY(-4px);
}

.module-card-live::before {
    content: '● Live';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: .68rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #4ADE80;
    letter-spacing: .06em;
}

.module-card-soon::before {
    content: 'Coming Soon';
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: .68rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.07);
    padding: 3px 10px;
    border-radius: var(--r-full);
    letter-spacing: .04em;
}

.module-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #fff;
}

.module-card p {
    font-family: var(--font-body);
    color: rgba(255,255,255,.48);
    font-size: .875rem;
    line-height: 1.7;
    flex: 1;
}

.module-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--glass-mid);
    font-family: var(--font-heading);
    transition: gap .2s, color .2s;
}

.module-link:hover { gap: 10px; color: var(--glass-light); }

/* ── Stats Bar ── */
.stats-bar {
    background: rgba(0,0,0,.25);
    border-top: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 32px 0;
    margin: 40px 0 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-right: 1px solid rgba(255,255,255,.07);
}

.stat-item:last-child { border-right: none; }

.stat-icon {
    font-size: 1.6rem;
    color: var(--glass-mid);
    flex-shrink: 0;
    line-height: 1;
}

.stat-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -.04em;
}

.stat-label {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255,255,255,.32);
    font-family: var(--font-heading);
}

.section-cta {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════
   PRICING
═══════════════════════════════════════ */
#pricing {
    --section-h: calc(100vh - var(--header-h));
    background: var(--bg-alt);
    padding: 0;
    min-height: var(--section-h);
    display: flex;
    align-items: center;
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px 28px 32px;
    position: relative;
    box-shadow: var(--sh-sm);
    display: flex;
    flex-direction: column;
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: var(--glass-deep);
}

.pricing-card.featured {
    border-color: var(--amber);
    box-shadow: 0 0 0 1px var(--amber), var(--sh-md);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--amber);
    color: var(--text);
    font-size: .68rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: var(--r-full);
    white-space: nowrap;
}

.pricing-name {
    font-family: var(--font-heading);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -.05em;
}

.pricing-price sup {
    font-size: 1.2rem;
    vertical-align: super;
    color: var(--muted);
    font-weight: 500;
}

.pricing-price span {
    font-size: .8rem;
    font-weight: 400;
    color: var(--muted);
    margin-left: 2px;
    letter-spacing: 0;
}

.pricing-icon {
    font-size: 1.8rem;
    color: var(--glass-deep);
    margin: 16px 0;
}

.pricing-list {
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.pricing-list li {
    font-family: var(--font-body);
    font-size: .875rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-list li:first-child {
    font-family: var(--font-heading);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--text);
}

.pricing-list li:not(:first-child)::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--glass-deep);
    border-radius: 50%;
    flex-shrink: 0;
}

.btn-buy {
    width: 100%;
    padding: 12px;
    background: var(--text);
    color: var(--white);
    border: none;
    border-radius: var(--r-full);
    font-family: var(--font-heading);
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.btn-buy:hover {
    background: var(--accent-dk);
    transform: translateY(-1px);
}

.pricing-card.featured .btn-buy {
    background: var(--amber);
    color: var(--text);
}

.pricing-card.featured .btn-buy:hover {
    background: var(--amber-dk);
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: stretch;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color .2s, box-shadow .2s;
}

.info-card:hover {
    border-color: var(--glass-deep);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.info-card .info-icon {
    font-size: 1.2rem;
    color: var(--glass-deep);
    margin-bottom: 10px;
    display: block;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: .875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.info-card p {
    font-family: var(--font-body);
    font-size: .84rem;
    color: var(--muted);
    line-height: 1.65;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    font-size: .875rem;
    font-family: var(--font);
    color: var(--text);
    transition: border-color .2s, box-shadow .2s;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--subtle); }

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--glass-deep);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-submit { text-align: center; }

.btn-send {
    background: var(--amber);
    color: var(--text);
    border: none;
    border-radius: var(--r-full);
    padding: 13px 44px;
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--amber-ring);
    transition: background .2s, transform .15s, box-shadow .2s;
}

.btn-send:hover {
    background: var(--amber-dk);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--amber-ring);
}

.btn-send:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form-msg { font-size: .82rem; margin-top: 8px; text-align: center; }
.form-msg.success { color: var(--success); }
.form-msg.error   { color: var(--danger); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
#footer { background: var(--dark); }

.footer-top {
    padding: 52px 0 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.footer-col { text-align: center; }

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dark-text-muted);
    margin-bottom: 18px;
}

.footer-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-nav a {
    font-size: .875rem;
    color: var(--dark-text-sub);
    transition: color .2s;
}

.footer-nav a:hover { color: var(--glass-mid); }
.footer-nav .sep    { color: var(--dark-border-faint); }

.social-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text-sub);
    font-size: .9rem;
    transition: all .2s;
}

.social-links a:hover {
    background: var(--glass-deep);
    border-color: var(--glass-deep);
    color: #fff;
    transform: translateY(-2px);
}

.footer-copy {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.07);
    text-align: center;
    font-family: var(--font-heading);
    font-size: .8rem;
    color: var(--dark-text-muted);
}

.footer-copy strong { color: var(--dark-text-sub); font-weight: 500; }

/* ═══════════════════════════════════════
   SCROLL TOP
═══════════════════════════════════════ */
#scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 42px;
    height: 42px;
    background: var(--amber);
    color: var(--text);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 16px var(--amber-ring);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s, background .2s;
    z-index: 999;
    text-decoration: none;
}

#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover   { background: var(--amber-dk); }

/* ═══════════════════════════════════════
   AUTH MODAL
═══════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: var(--surface);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-lg);
    width: 100%;
    max-width: 420px;
    padding: 36px 40px 40px;
    position: relative;
    transform: scale(.96) translateY(10px);
    transition: transform .25s var(--ease);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background .2s, color .2s;
}

.modal-close:hover { background: var(--bg-alt); color: var(--text); }

.modal-logo { text-align: center; margin-bottom: 20px; }
.modal-logo img { height: 34px; margin: 0 auto; }

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 22px;
}

.modal-tabs button {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 0;
    font-family: var(--font-heading);
    font-size: .875rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    position: relative;
    transition: color .2s;
}

.modal-tabs button.active { color: var(--text); }

.modal-tabs button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--amber);
    border-radius: 1px;
}

.modal-panel        { display: none; }
.modal-panel.active { display: block; }

.modal-panel h5 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: -.03em;
}

.modal-panel .subtitle {
    font-family: var(--font-body);
    font-size: .875rem;
    color: var(--muted);
    margin-bottom: 22px;
}

.modal-alert {
    display: none;
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: .84rem;
    margin-bottom: 16px;
}

.modal-alert.danger  { background: var(--modal-danger-bg);  color: var(--modal-danger-text);  border: 1px solid var(--modal-danger-border);  display: block; }
.modal-alert.success { background: var(--modal-success-bg); color: var(--modal-success-text); border: 1px solid var(--modal-success-border); display: block; }

.form-group { margin-bottom: 14px; }

.form-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.form-group label .link-sm {
    font-size: .78rem;
    color: var(--glass-deep);
    font-weight: 500;
}

.input-wrap {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.input-wrap:focus-within {
    border-color: var(--glass-deep);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-wrap .prefix {
    background: var(--bg);
    border-right: 1px solid var(--border);
    padding: 0 12px;
    display: flex;
    align-items: center;
    color: var(--muted);
    font-size: .9rem;
    flex-shrink: 0;
}

.input-wrap input {
    flex: 1;
    background: var(--card);
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: .875rem;
    font-family: var(--font);
    color: var(--text);
}

.input-wrap input::placeholder { color: var(--subtle); }

.btn-modal {
    width: 100%;
    padding: 12px;
    background: var(--amber);
    color: var(--text);
    border: none;
    border-radius: var(--r-full);
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s, transform .15s;
}

.btn-modal:hover { background: var(--amber-dk); transform: translateY(-1px); }
.btn-modal:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.modal-footer-note {
    text-align: center;
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: .84rem;
    color: var(--muted);
}

.modal-footer-note a { color: var(--glass-deep); font-weight: 500; }
.modal-footer-note a:hover { text-decoration: underline; }

.otp-resend-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: .84rem;
}

.otp-resend-row a { color: var(--glass-deep); }
.otp-timer { color: var(--muted); font-size: .8rem; }

.spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: var(--text);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Module detail modal ── */
.module-modal-box { max-width: 640px; }

.module-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.module-modal-icon { font-size: 1.8rem; color: var(--glass-deep); flex-shrink: 0; }

.module-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.mm-desc {
    font-family: var(--font-body);
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: .95rem;
}

.mm-video-wrap { margin-bottom: 18px; }

.btn-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-2);
    border: 1.5px solid var(--border);
    border-radius: var(--r-full);
    padding: 10px 22px;
    transition: all .2s;
}

.btn-watch:hover {
    border-color: var(--glass-deep);
    color: var(--glass-deep);
    background: var(--accent-soft);
}

.mm-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.mm-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .9rem;
    line-height: 1.5;
}

.mm-step span {
    background: var(--glass-deep);
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.mm-screenshots { display: flex; gap: 10px; flex-wrap: wrap; }

.mm-screenshots img {
    width: 100%;
    max-width: 280px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* ── Pricing card plan selection ── */
.pricing-card.plan-selected {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}

/* ═══════════════════════════════════════
   SCROLL-REVEAL
═══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: .07s; }
.reveal-delay-2 { transition-delay: .14s; }
.reveal-delay-3 { transition-delay: .21s; }
.reveal-delay-4 { transition-delay: .28s; }
.reveal-delay-5 { transition-delay: .35s; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
    .hero-inner   { grid-template-columns: 1fr; gap: 48px; padding: 64px 0; }
    .hero-visual  { order: -1; max-width: 480px; margin: 0 auto; }
    .about-inner  { grid-template-columns: 1fr; gap: 40px; }
    .values-inner { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .stats-grid   { grid-template-columns: repeat(2, 1fr); }
    .stat-item    { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
    .stat-item:nth-child(odd)    { border-right: 1px solid rgba(255,255,255,.07); }
    .stat-item:last-child,
    .stat-item:nth-last-child(2) { border-bottom: none; }
    .grid-3       { grid-template-columns: repeat(2, 1fr); }
    .grid-4       { grid-template-columns: repeat(2, 1fr); }
    .contact-inner  { grid-template-columns: 1fr; }
    .footer-top     { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .container    { padding: 0 20px; }
    .features-grid { grid-template-columns: 1fr; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .form-row     { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-stats   { gap: 16px; }
    .modal-box    { padding: 28px 22px 32px; }
    section       { padding: 60px 0; }
}

/* ═══════════════════════════════════════
   NEXT-SECTION SCROLL BUTTON
═══════════════════════════════════════ */
.scroll-next {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.4);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: color .2s;
    z-index: 2;
}

.scroll-next:hover { color: rgba(255,255,255,.75); }

.scroll-next svg {
    animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

/* Light background variant */
.scroll-next-dark {
    color: var(--muted);
}
.scroll-next-dark:hover { color: var(--glass-deep); }

/* Hero and dark sections need absolute positioning anchor */
#hero,
#modules {
    position: relative;
}

#features,
#about,
#values,
#pricing {
    position: relative;
}

/* ═══════════════════════════════════════
   CONTACT — Footer merged in
═══════════════════════════════════════ */

.contact-body {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.contact-footer {
    background: var(--dark);
    padding: 28px 0 20px;
    margin-top: auto;
    width: 100%;
}

/* Social row — single centred row of icons */
.footer-social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-social-row a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    font-size: .9rem;
    transition: all .2s;
    text-decoration: none;
}

.footer-social-row a:hover {
    background: var(--glass-deep);
    border-color: var(--glass-deep);
    color: #fff;
    transform: translateY(-2px);
}

.footer-copy {
    text-align: center;
    font-family: var(--font-heading);
    font-size: .8rem;
    color: rgba(255,255,255,.28);
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.footer-copy strong { color: rgba(255,255,255,.48); font-weight: 500; }

/* ═══════════════════════════════════════
   CONTACT — Full section with footer
═══════════════════════════════════════ */
#contact {
    --section-h: calc(100vh - var(--header-h));
    min-height: var(--section-h);
    background: var(--bg);
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
}

.contact-body {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 96px 0 64px;
}

.contact-body > .container { width: 100%; }
