/* ── Cell Tech — Public Site Styles ─────────── */

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

:root {
    --bg:        #080e1a;
    --bg2:       #0f172a;
    --bg3:       #1e293b;
    --border:    rgba(255,255,255,.08);
    --primary:   #0284c7;
    --primary-h: #0369a1;
    --accent:    #38bdf8;
    --green:     #22c55e;
    --amber:     #f59e0b;
    --text:      #f1f5f9;
    --muted:     #94a3b8;
    --dim:       #475569;
    --radius:    14px;
    --nav-h:     68px;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Typography ──────────────────────────────── */
h1,h2,h3,h4 { line-height: 1.2; font-weight: 700; }
a { color: inherit; text-decoration: none; }

/* ── Layout ─────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Nav ─────────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    background: rgba(8,14,26,.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center;
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo {
    display: flex; align-items: center; gap: .6rem;
    font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em;
}
.nav-logo svg { flex-shrink: 0; }
.nav-links {
    display: flex; align-items: center; gap: 2rem;
    list-style: none;
}
.nav-links a {
    font-size: .875rem; font-weight: 500; color: var(--muted);
    transition: color .15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
    display: flex; align-items: center; gap: .75rem;
}
.btn {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .55rem 1.25rem;
    border-radius: 8px; border: none; cursor: pointer;
    font-size: .875rem; font-weight: 600; line-height: 1;
    transition: background .15s, transform .1s, opacity .15s;
    white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-h); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--dim); }
.btn-lg { padding: .8rem 2rem; font-size: 1rem; border-radius: 10px; }
.btn-outline {
    background: transparent; color: var(--accent);
    border: 1.5px solid var(--accent);
}
.btn-outline:hover { background: rgba(56,189,248,.1); }

/* Nav hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .25rem; }
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px; margin: 5px 0;
    transition: transform .2s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 60% 40%, rgba(2,132,199,.18) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(56,189,248,.08) 0%, transparent 60%);
}
.hero-grid {
    position: absolute; inset: 0; z-index: 0; opacity: .04;
    background-image:
        linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
    width: 100%; max-width: 1100px; margin: 0 auto; padding: 4rem 1.5rem;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(2,132,199,.15); border: 1px solid rgba(2,132,199,.3);
    color: var(--accent); font-size: .8rem; font-weight: 600;
    padding: .3rem .8rem; border-radius: 20px; margin-bottom: 1.5rem;
}
.hero-tag::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 6px var(--green);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; } 50% { opacity: .4; }
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: -.03em; margin-bottom: 1.25rem;
    color: var(--text);
}
.hero h1 span { color: var(--accent); }
.hero-sub {
    font-size: 1.05rem; color: var(--muted);
    margin-bottom: 2.5rem; max-width: 480px; line-height: 1.7;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 2rem; margin-top: 3rem; flex-wrap: wrap;
}
.hero-stat-val {
    font-size: 1.75rem; font-weight: 800;
    color: var(--text); letter-spacing: -.02em;
}
.hero-stat-label { font-size: .78rem; color: var(--muted); }

/* Hero device visual */
.hero-visual {
    display: flex; justify-content: center; align-items: center;
}
.device-stack {
    position: relative; width: 300px; height: 380px;
}
.device-card {
    position: absolute;
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: 20px; padding: 1.5rem;
    box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.device-card--main {
    width: 240px; height: 320px; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1e293b 0%, #0f1f35 100%);
    display: flex; flex-direction: column; gap: .75rem;
}
.device-card--back {
    width: 220px; height: 300px;
    left: calc(50% + 20px); top: calc(50% + 20px);
    transform: translate(-50%, -50%);
    opacity: .5;
    background: linear-gradient(135deg, #162032 0%, #0a1628 100%);
    z-index: -1;
}
.dc-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: .5rem;
}
.dc-badge {
    font-size: .7rem; font-weight: 700; padding: .2rem .6rem;
    border-radius: 20px; background: rgba(34,197,94,.15);
    color: var(--green); border: 1px solid rgba(34,197,94,.3);
}
.dc-jobno { font-size: .75rem; color: var(--muted); }
.dc-device { font-size: 1rem; font-weight: 700; color: var(--text); }
.dc-fault { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.dc-price {
    margin-top: auto; font-size: 1.4rem; font-weight: 800;
    color: var(--accent);
}
.dc-price span { font-size: .75rem; color: var(--muted); font-weight: 400; }
.dc-bar {
    height: 4px; border-radius: 4px; background: var(--bg2);
    overflow: hidden; margin-top: .25rem;
}
.dc-bar-fill {
    height: 100%; border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 75%;
}

/* Floating badge */
.hero-badge {
    position: absolute; bottom: -16px; right: -16px;
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: 12px; padding: .75rem 1rem;
    display: flex; align-items: center; gap: .6rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    font-size: .8rem; z-index: 2;
}
.hero-badge-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(245,158,11,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.hero-badge-text { font-weight: 600; color: var(--text); }
.hero-badge-sub { font-size: .7rem; color: var(--muted); }

/* ── Section base ────────────────────────────── */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg2); }
.section-tag {
    display: inline-block; font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--accent); margin-bottom: .75rem;
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    letter-spacing: -.03em; margin-bottom: 1rem;
}
.section-sub {
    font-size: 1rem; color: var(--muted);
    max-width: 520px; line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-sub { margin: 0 auto; }

/* ── Services ────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.service-card {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.75rem 1.5rem;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    cursor: default;
}
.service-card:hover {
    border-color: rgba(2,132,199,.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.service-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: rgba(2,132,199,.12); border: 1px solid rgba(2,132,199,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.service-card p { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.service-card .badge-time {
    display: inline-block; margin-top: .75rem;
    font-size: .72rem; font-weight: 600;
    background: rgba(34,197,94,.1); color: var(--green);
    border: 1px solid rgba(34,197,94,.2);
    padding: .15rem .5rem; border-radius: 4px;
}

/* ── Trust bar ───────────────────────────────── */
.trust-bar {
    background: linear-gradient(135deg, #0d1f35 0%, #0f172a 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0;
}
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; text-align: center;
}
.trust-val {
    font-size: 2.25rem; font-weight: 800; color: var(--accent);
    letter-spacing: -.03em; line-height: 1;
    margin-bottom: .35rem;
}
.trust-label { font-size: .85rem; color: var(--muted); }

/* ── How it works ────────────────────────────── */
.steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2rem; position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute; top: 28px; left: calc(16.66% + 1rem); right: calc(16.66% + 1rem);
    height: 1px; border-top: 2px dashed var(--border); z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-num {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--bg3); border: 2px solid var(--primary);
    color: var(--accent); font-size: 1.1rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 0 0 6px rgba(2,132,199,.1);
}
.step-item h3 { font-size: 1rem; margin-bottom: .5rem; }
.step-item p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* ── Pricing ─────────────────────────────────── */
.pricing-tabs {
    display: flex; gap: .5rem; justify-content: center;
    margin-bottom: 2.5rem; flex-wrap: wrap;
}
.pricing-tab {
    padding: .45rem 1.1rem; border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg3); color: var(--muted);
    font-size: .85rem; font-weight: 600; cursor: pointer;
    transition: all .15s;
}
.pricing-tab.active {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.pricing-card {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.25rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    transition: border-color .15s;
}
.pricing-card:hover { border-color: rgba(2,132,199,.3); }
.pricing-name { font-size: .9rem; font-weight: 600; }
.pricing-note { font-size: .775rem; color: var(--muted); margin-top: .15rem; }
.pricing-price {
    font-size: 1.15rem; font-weight: 800; color: var(--accent);
    white-space: nowrap;
}
.pricing-from { font-size: .7rem; font-weight: 400; color: var(--muted); }

/* ── Reviews ─────────────────────────────────── */
.reviews-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}
.review-card {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
}
.review-stars { color: #f59e0b; font-size: 1rem; letter-spacing: .1em; margin-bottom: .75rem; }
.review-text { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.review-author { display: flex; align-items: center; gap: .6rem; }
.review-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-size: .875rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.review-name { font-size: .85rem; font-weight: 600; }
.review-platform { font-size: .75rem; color: var(--dim); }

/* ── Find Us ─────────────────────────────────── */
.findus-grid {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 3rem; align-items: start;
}
.info-block { display: flex; flex-direction: column; gap: 1.5rem; }
.info-item { display: flex; gap: 1rem; }
.info-icon {
    width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
    background: rgba(2,132,199,.12); border: 1px solid rgba(2,132,199,.2);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.info-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); margin-bottom: .2rem; }
.info-val { font-size: .95rem; font-weight: 500; line-height: 1.5; }
.info-val a { color: var(--accent); }

.hours-grid { display: flex; flex-direction: column; gap: .35rem; }
.hours-row { display: flex; justify-content: space-between; font-size: .85rem; }
.hours-day { color: var(--muted); }
.hours-time { font-weight: 500; }

.map-wrap {
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4/3; background: var(--bg3);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* Track CTA banner */
.track-banner {
    background: linear-gradient(135deg, #0d2040 0%, #091428 100%);
    border: 1px solid rgba(2,132,199,.25);
    border-radius: 20px; padding: 3rem;
    text-align: center; margin-top: 4rem;
}
.track-banner h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.track-banner p { color: var(--muted); margin-bottom: 1.75rem; font-size: .95rem; }
.track-banner .btn-row { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────── */
.footer {
    background: var(--bg); border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem; margin-bottom: 2.5rem;
}
.footer-brand p { font-size: .875rem; color: var(--muted); margin-top: .75rem; max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-size: .85rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { font-size: .85rem; color: var(--muted); transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: .78rem; color: var(--dim); }

/* ── Mobile ──────────────────────────────────── */
@media (max-width: 900px) {
    .nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
        background: var(--bg2); border-bottom: 1px solid var(--border);
        flex-direction: column; gap: 0; padding: 1rem 0; }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: .75rem 1.5rem; font-size: .95rem; }
    .nav-toggle { display: block; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .findus-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .section { padding: 4rem 0; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-cta .btn-ghost { display: none; }
}
