/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0a0a0a;
    --bg-2: #111111;
    --bg-3: #161616;
    --card: #141414;
    --card-2: #1a1a1a;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #ffffff;
    --text-2: #a8a8a8;
    --text-3: #6b6b6b;
    --accent: #379bf8;
    --accent-2: #72b5f3;
    --accent-glow: rgba(108, 163, 245, 0.35);
    --danger: #ff4d6d;
    --blue: #5eb1ff;
    --pink: #ff6ec7;
    --radius: 18px;
    --radius-sm: 10px;
    --radius-lg: 28px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    --container: 1200px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: opacity .2s, color .2s; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.accent { color: var(--accent); }
.muted { color: var(--text-2); }

/* ============ BG EFFECTS ============ */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}
.bg-glow-1 { background: var(--accent); top: -200px; right: -200px; }
.bg-glow-2 { background: #5eb1ff; bottom: -300px; left: -200px; opacity: 0.1; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: transform .25s, box-shadow .25s, background .25s, color .25s;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--accent);
    color: #0a0a0a;
    box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--accent-glow);
    background: #4a66b9;
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border-color: var(--border-strong);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============ NAV ============ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: background .3s, backdrop-filter .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
}
.logo-mark {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 0 12px var(--accent-glow));
}
.logo-text {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: transform .3s, opacity .3s;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 140px 0 60px;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(198, 255, 0, 0.08);
    border: 1px solid rgba(198, 255, 0, 0.2);
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
}
.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 12px var(--accent);
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(40px, 6.5vw, 80px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-2);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
}
.stat-label {
    font-size: 13px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============ PHONE MOCKUP ============ */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 780px;
}

.phone-frame {
    width: 340px;
    height: 740px;
    background: linear-gradient(145deg, #1f1f1f, #0a0a0a);
    border-radius: 52px;
    padding: 10px;
    box-shadow:
        0 50px 100px rgba(0,0,0,0.6),
        0 0 0 2px rgba(255,255,255,0.06),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.phone-notch {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.phone-app {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 14px 14px 14px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.phone-app::-webkit-scrollbar { display: none; }

/* ---- Status bar ---- */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px 4px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}
.sb-time { letter-spacing: -0.01em; }
.sb-icons { display: flex; align-items: center; gap: 5px; color: #fff; }
.sb-batt {
    background: #4ade80;
    color: #000;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 2px;
}

/* ---- Greeting ---- */
.app-greet-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 4px 4px;
}
.app-greet {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    margin-bottom: 2px;
}
.app-name {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}
.app-icons { display: flex; gap: 8px; }
.app-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #aaa;
    display: grid;
    place-items: center;
    position: relative;
    border: 1px solid #222;
}
.badge-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 7px;
    height: 7px;
    background: #facc15;
    border-radius: 50%;
}

/* ---- Dashboard grid ---- */
.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.dash-card {
    background: #161616;
    border-radius: 16px;
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.dash-steps {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 16px 10px 14px;
    min-height: 220px;
}

.steps-ring {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 8px;
}
.steps-ring svg { width: 100%; height: 100%; }
.steps-progress {
    filter: drop-shadow(0 0 4px rgba(255, 138, 0, 0.5));
    animation: ring-draw 2s ease-out forwards;
}
@keyframes ring-draw {
    from { stroke-dashoffset: 314; }
    to { stroke-dashoffset: 80; }
}
.steps-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.steps-foot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #222;
    display: grid;
    place-items: center;
    color: #fff;
}
.steps-km {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}
.steps-total {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.steps-goal {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

.dash-mini {
    padding: 14px;
    display: flex;
    align-items: center;
}
.mini-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
}
.mini-val {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 4px;
}
.mini-label {
    font-size: 10px;
    color: #777;
    line-height: 1.3;
}
.mini-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #222;
    color: #ccc;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
}

.dash-half {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 120px;
    padding: 14px 12px;
}

.dash-full {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 14px;
    min-height: 100px;
}
.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.bp-val {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-top: 4px;
}
.bp-val.small { font-size: 14px; margin-top: 6px; }
.bp-val small {
    font-size: 11px;
    color: #888;
    font-weight: 500;
    margin-left: 3px;
}

.card-tag {
    font-size: 10px;
    color: #666;
    margin-top: auto;
}
.card-tag.tiny { font-size: 9px; line-height: 1.4; }

/* Sleep bars */
.sleep-bars {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 36px;
    margin-top: 6px;
}
.sleep-bars span {
    flex: 1;
    background: var(--c, #5eb1ff);
    height: var(--h);
    border-radius: 2px;
}

/* Sport GO button */
.go-btn {
    background: linear-gradient(180deg, #f4f4f4, #b0b0b0);
    color: #000;
    border-radius: 999px;
    padding: 6px 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    width: 100%;
    margin: 8px 0 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.5);
}

/* Status pill */
.status-pill {
    align-self: flex-start;
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    margin-top: 4px;
}

/* Stress bars */
.stress-bars {
    display: flex;
    gap: 1px;
    align-items: flex-end;
    height: 28px;
    margin-top: 6px;
}
.stress-bars span {
    flex: 1;
    background: #22d3ee;
    height: var(--h);
    border-radius: 1px;
}
.stress-bars .gap { background: transparent; flex: 0.4; }

/* Floating cards */
.floating-card {
    position: absolute;
    background: rgba(20, 20, 20, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    white-space: nowrap;
}

/* Left side (top → bottom): Steps, Calories, Heart Rate, Sleep */
.card-1 { top: 20px;   left: -10px;  animation-delay: -0.5s; }
.card-7 { top: 215px;  left: -30px;  animation-delay: -1.5s; }
.card-2 { top: 410px;  left: -30px;  animation-delay: -2.5s; }
.card-3 { bottom: 20px; left: -10px; animation-delay: -3.5s; }

/* Right side (top → bottom): Active Min, Blood Pressure, Blood Oxygen, Stress */
.card-8 { top: 20px;   right: -10px;  animation-delay: -1s; }
.card-4 { top: 215px;  right: -30px;  animation-delay: -2s; }
.card-5 { top: 410px;  right: -30px;  animation-delay: -3s; }
.card-6 { bottom: 20px; right: -10px; animation-delay: -4s; }

.fc-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.fc-icon-orange { background: rgba(255, 138, 0, 0.15); color: #ff8a00; }
.fc-icon-red    { background: rgba(255, 77, 109, 0.15); color: #ff4d6d; }
.fc-icon-blue   { background: rgba(94, 177, 255, 0.15); color: var(--blue); }
.fc-icon-pink   { background: rgba(255, 110, 199, 0.15); color: var(--pink); }
.fc-icon-green  { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.fc-icon-cyan   { background: rgba(34, 211, 238, 0.15); color: #22d3ee; }
.fc-icon-flame  { background: rgba(251, 146, 60, 0.18); color: #fb923c; }
.fc-icon-purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }

.fc-label { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.fc-val   { font-size: 14px; font-weight: 700; color: #fff; margin-top: 2px; }

/* Marquee */
.marquee {
    margin-top: 80px;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: inline-flex;
    gap: 36px;
    white-space: nowrap;
    animation: marquee 55s linear infinite;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.15em;
    color: var(--text-3);
}
.marquee-track span:nth-child(odd) { color: var(--text); }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
.section { padding: 120px 0; position: relative; }
.section-dark { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { margin-bottom: 64px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.section-sub {
    color: var(--text-2);
    font-size: 17px;
    margin-top: 18px;
}

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

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform .3s, border-color .3s, background .3s;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--accent-glow), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feature-card:hover::before { opacity: 0.2; }

.feature-lg { grid-column: span 2; min-height: 280px; display: flex; flex-direction: column; }
.feature-ai { background: linear-gradient(145deg, #1a1d10, #0f1108); border-color: rgba(198, 255, 0, 0.2); }
.feature-ai .feature-icon { background: var(--accent); color: #0a0a0a; }

.ai-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: #0a0a0a;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(198, 255, 0, 0.1);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    transition: transform .3s;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.feature-card p {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.55;
}

.feature-vis {
    margin-top: auto;
    padding-top: 24px;
}
.vis-line svg { width: 100%; height: 80px; }

/* ============ HOW IT WORKS ============ */
.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
}
.step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateY(-4px); border-color: var(--accent); }

.step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}
.step-icon { font-size: 44px; margin-bottom: 16px; }
.step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}
.step p { color: var(--text-2); font-size: 15px; }

.step-arrow {
    color: var(--text-3);
    font-size: 28px;
    align-self: center;
    font-family: 'Space Grotesk', sans-serif;
}

/* ============ PRICING ============ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform .3s, border-color .3s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.price-card.featured {
    background: linear-gradient(180deg, rgba(198, 255, 0, 0.06), var(--card));
    border-color: var(--accent);
    box-shadow: 0 0 60px rgba(198, 255, 0, 0.08);
    transform: scale(1.02);
}

.featured-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #0a0a0a;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price-medal {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.price-medal.bronze { background: linear-gradient(145deg, #6b4423, #3d2613); color: #cd7f32; }
.price-medal.silver { background: linear-gradient(145deg, #555, #2a2a2a); color: #c0c0c0; }
.price-medal.gold { background: linear-gradient(145deg, #8a6b00, #4d3b00); color: #ffd700; }

.price-tier {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}
.price-desc { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }

.price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--border);
}
.price-currency { font-size: 14px; color: var(--text-3); font-weight: 500; }
.price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}
.price-period { color: var(--text-3); font-size: 14px; margin-left: 4px; }

.price-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex: 1;
}
.price-features li {
    font-size: 14px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 10px;
}
.price-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(55, 155, 248, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23379bf8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* ============ CTA SECTION ============ */
.cta-section { padding: 60px 0 120px; }

.cta-card {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, var(--accent-glow), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(94, 177, 255, 0.2), transparent 50%);
    opacity: 0.5;
}

.cta-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(180px, 28vw, 360px);
    font-weight: 800;
    color: rgba(255,255,255,0.025);
    letter-spacing: -0.05em;
    pointer-events: none;
    z-index: 0;
}

.cta-content { position: relative; z-index: 2; }
.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(34px, 5.5vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
}
.cta-sub {
    color: var(--text-2);
    font-size: 18px;
    max-width: 480px;
    margin: 0 auto 36px;
}
.cta-section .hero-cta { justify-content: center; margin-bottom: 0; }

/* ============ CONTACT FORM ============ */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-title { margin-bottom: 18px; }
.contact-info .section-sub { margin-bottom: 36px; }

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color .25s, transform .25s;
}
.contact-list li:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}
.ci-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(198, 255, 0, 0.1);
    color: var(--accent);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.ci-label {
    font-size: 12px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}
.ci-val {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}
a.ci-val:hover { color: var(--accent); }

.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: border-color .2s, background .2s, box-shadow .2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8a8a8' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 42px;
    cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); }

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
    background: var(--bg-2);
    box-shadow: 0 0 0 4px rgba(198, 255, 0, 0.08);
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
    border-color: rgba(255, 77, 109, 0.5);
}

.form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-2);
    user-select: none;
}
.check input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-strong);
    border-radius: 5px;
    background: var(--bg);
    cursor: pointer;
    position: relative;
    transition: background .2s, border-color .2s;
    flex-shrink: 0;
}
.check input:checked {
    background: var(--accent);
    border-color: var(--accent);
}
.check input:checked::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.form-status {
    font-size: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    display: none;
}
.form-status.show { display: block; }
.form-status.success {
    background: rgba(198, 255, 0, 0.1);
    color: var(--accent);
    border: 1px solid rgba(198, 255, 0, 0.3);
}
.form-status.error {
    background: rgba(255, 77, 109, 0.1);
    color: var(--danger);
    border: 1px solid rgba(255, 77, 109, 0.3);
}

/* ============ LEGAL PAGES ============ */
.legal-hero {
    padding: 140px 0 60px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.legal-hero .container { position: relative; z-index: 2; }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-3);
    font-size: 14px;
    margin-bottom: 24px;
    transition: color .2s;
}
.back-link:hover { color: var(--accent); }

.legal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 12px 0 18px;
}
.legal-sub {
    color: var(--text-2);
    font-size: 18px;
    max-width: 640px;
    line-height: 1.6;
}

.legal-main {
    padding: 80px 0 120px;
}
.legal-wrap {
    /* display: grid; */
    grid-template-columns: 240px 1fr;
    gap: 60px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.legal-toc h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-3);
    margin-bottom: 12px;
    font-weight: 700;
}
.legal-toc a {
    font-size: 13px;
    color: var(--text-2);
    padding: 6px 10px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
    line-height: 1.4;
}
.legal-toc a:hover {
    background: rgba(198, 255, 0, 0.05);
    color: var(--accent);
    border-left-color: var(--accent);
}

.legal-content {
    /* max-width: 760px; */
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-2);
}
.legal-content section {
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 100px;
}
.legal-content section:last-child {
    border-bottom: 0;
}
.legal-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.legal-content p { margin-bottom: 14px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content strong { color: var(--text); font-weight: 600; }

.legal-content ul {
    list-style: none;
    margin: 12px 0 16px;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.legal-content ul li {
    position: relative;
    padding-left: 22px;
}
.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.inline-link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.inline-link:hover { opacity: 0.8; }

.contact-card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 20px;
}
.cc-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cc-label {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.cc-val {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
a.cc-val:hover { color: var(--accent); }

.legal-final {
    margin-top: 24px !important;
    padding: 18px 20px;
    background: rgba(198, 255, 0, 0.05);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text);
    font-weight: 500;
    font-style: italic;
}

@media (max-width: 900px) {
    .legal-wrap { grid-template-columns: 1fr; gap: 32px; }
    .legal-toc { position: static; }
    .contact-card-row { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand { max-width: 340px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-tag { color: var(--text-2); margin-bottom: 24px; font-size: 15px; }

.socials { display: flex; gap: 10px; }
.socials a {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-2);
    letter-spacing: 0.02em;
}
.socials a:hover { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: 8px;
}
.footer-col a, .footer-loc {
    font-size: 14px;
    color: var(--text-2);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-3);
    flex-wrap: wrap;
    gap: 12px;
}
.dev-link { color: var(--accent); font-weight: 600; }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-cta, .hero-badge { justify-content: center; }
    .hero-badge { display: inline-flex; }
    .hero-stats { justify-content: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .feature-lg { grid-column: span 1; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 24px;
        right: 24px;
        background: rgba(20,20,20,0.95);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        margin-top: 8px;
    }

    .hero { padding-top: 110px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .stat-num { font-size: 26px; }
    .hero-visual { height: 600px; }
    .phone-frame { width: 280px; height: 580px; }
    .dash-steps { min-height: 180px; }
    .steps-ring { width: 100px; height: 100px; }
    .floating-card { padding: 8px 12px; gap: 8px; }
    .fc-icon { width: 28px; height: 28px; }
    .fc-icon svg { width: 14px; height: 14px; }
    .fc-label { font-size: 9px; }
    .fc-val { font-size: 12px; }
    .card-2, .card-4, .card-5, .card-7 { display: none; }
    .card-1, .card-8 { top: 20px; }
    .card-3, .card-6 { bottom: 20px; }
    .card-1, .card-3 { left: -4px; }
    .card-8, .card-6 { right: -4px; }

    .section { padding: 80px 0; }
    .section-head { margin-bottom: 48px; }

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

    .steps { grid-template-columns: 1fr; }
    .step-arrow { transform: rotate(90deg); justify-self: center; }

    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }

    .cta-card { padding: 56px 28px; }

    .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
    .contact-form { padding: 28px 22px; }
    .form-row { grid-template-columns: 1fr; }
    .form-foot { flex-direction: column; align-items: stretch; }
    .form-foot .btn { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero-cta { flex-direction: column; }
    .btn { width: 100%; }
    .nav-cta .btn-sm { /*display: none;*/ }
}


/* Base alert style */
.contact-us-alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* Utility class to hide elements */
.d-none {
    display: none !important;
}

/* Success alert */
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

/* Danger alert */
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Optional: Add a transition for smoother manual toggling if not using jQuery animations */
.contact-us-alert.fade {
    transition: opacity 0.15s linear;
}
