/* =====================================================================
   LABTECHDEV — Dark "dev-agency" redesign theme
   Loaded AFTER style.css; overrides the legacy light theme and adds the
   new components (hero, stats, pricing, tech-stack, terminal, footer…).
   ===================================================================== */

:root {
    --bg:            #070b16;
    --bg-2:          #0a1020;
    --surface:       rgba(17, 26, 48, 0.55);
    --surface-2:     rgba(13, 20, 38, 0.65);
    --line:          rgba(86, 134, 196, 0.14);
    --line-strong:   rgba(56, 189, 248, 0.35);

    --cyan:          #29c8da;   /* sampled from the LABTECHDEV logo */
    --cyan-soft:     #5fe0ee;
    --teal:          #2dd4bf;
    --blue:          #3b82f6;
    --blue-2:        #2563eb;

    --ink:           #f3f7fc;   /* headings */
    --body:          #aebbcf;   /* body text */
    --muted:         #6b7a93;   /* muted */

    --color-primary:        #2563eb;
    --color-primary-dark:   #1d4ed8;
    --color-primary-light:  #38bdf8;
    --color-accent:         #29c8da;
    --color-light:          #0b1220;
    --radius:        16px;
    --radius-lg:     22px;

    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --font-primary: 'Inter', sans-serif;

    /* Theme-swappable surface tokens (dark defaults) */
    --input-bg:        rgba(7, 11, 22, 0.6);
    --input-bg-focus:  rgba(7, 11, 22, 0.8);
    --option-bg:       #0a1020;
    --btn-ghost-bg:    rgba(255, 255, 255, 0.02);
    --nav-bg:          rgba(7, 11, 22, 0.78);
    --footer-bg:       #060912;
    --on-accent:       #ffffff;   /* text/icon colour that sits on the accent gradient */
}

/* =====================================================================
   LIGHT / CREAM THEME
   Activated via <html data-theme="light">. Redefines the design tokens
   and overrides the handful of rules that hardcode dark colours so the
   whole site re-skins to a warm cream palette.
   ===================================================================== */
:root[data-theme="light"] {
    --bg:            #f7f2e7;   /* cream */
    --bg-2:          #efe7d6;   /* deeper cream */
    --surface:       rgba(255, 253, 247, 0.85);
    --surface-2:     rgba(250, 244, 232, 0.9);
    --line:          rgba(120, 96, 54, 0.16);
    --line-strong:   rgba(13, 110, 143, 0.4);

    --cyan:          #0e7c8b;   /* deepened logo cyan for contrast on cream */
    --cyan-soft:     #0b93a6;
    --teal:          #0d8f7e;
    --blue:          #2563eb;
    --blue-2:        #1d4ed8;

    --ink:           #1c2433;   /* headings */
    --body:          #4a5568;   /* body text */
    --muted:         #7a7360;   /* muted, warm grey */

    --color-primary:        #2563eb;
    --color-primary-dark:   #1d4ed8;
    --color-primary-light:  #0e7c8b;
    --color-accent:         #0e7c8b;
    --color-light:          #f7f2e7;

    --input-bg:        rgba(255, 255, 255, 0.75);
    --input-bg-focus:  #ffffff;
    --option-bg:       #fffdf7;
    --btn-ghost-bg:    rgba(120, 96, 54, 0.04);
    --nav-bg:          rgba(247, 242, 231, 0.82);
    --footer-bg:       #efe7d6;
    --on-accent:       #ffffff;
}

/* Light theme: warm, subtle background wash instead of the dark grid */
:root[data-theme="light"] body {
    background-color: var(--bg);
    background-image:
        radial-gradient(1000px circle at 12% -8%, rgba(14, 124, 139, 0.08), transparent 55%),
        radial-gradient(1000px circle at 100% 8%, rgba(37, 99, 235, 0.07), transparent 50%);
}
:root[data-theme="light"] #preloader { background: var(--bg); }
:root[data-theme="light"] ::selection { background: rgba(14, 124, 139, 0.22); color: var(--ink); }
:root[data-theme="light"] .text-light,
:root[data-theme="light"] .text-white { color: var(--ink) !important; }

/* Nav / footer / banners carry their own hardcoded darks — retint them */
:root[data-theme="light"] .navbar.site-nav { background: var(--nav-bg) !important; border-bottom: 1px solid var(--line); }
:root[data-theme="light"] .navbar.menu-open { background: rgba(247, 242, 231, 0.97) !important; }
:root[data-theme="light"] footer,
:root[data-theme="light"] .site-footer { background: var(--footer-bg) !important; }
:root[data-theme="light"] .form-select option,
:root[data-theme="light"] .quote-category-select option { background: var(--option-bg); color: var(--ink); }

/* Cards / glass panels get a light frosted look */
:root[data-theme="light"] .card-dark,
:root[data-theme="light"] .svc-card, :root[data-theme="light"] .feature-tile,
:root[data-theme="light"] .price-card, :root[data-theme="light"] .contact-card,
:root[data-theme="light"] .tech-chip, :root[data-theme="light"] .form-panel,
:root[data-theme="light"] .service-card, :root[data-theme="light"] .about-feature,
:root[data-theme="light"] .feature-card, :root[data-theme="light"] .team-card,
:root[data-theme="light"] .testimonial-card, :root[data-theme="light"] .contact-info-card,
:root[data-theme="light"] .process-step, :root[data-theme="light"] .promo-card,
:root[data-theme="light"] .faq-item, :root[data-theme="light"] .sidebar-card,
:root[data-theme="light"] .hosting-package-card, :root[data-theme="light"] .quote-summary {
    box-shadow: 0 12px 30px -18px rgba(60, 50, 30, 0.35);
}
/* Terminal keeps a dark "code" look for readability, even in light mode */
:root[data-theme="light"] .terminal { background: #0a1020; border-color: rgba(120, 96, 54, 0.2); }
:root[data-theme="light"] .term-bar { border-bottom-color: rgba(255,255,255,0.08); }
:root[data-theme="light"] .term-body .k { color: #8aa0bd; }
:root[data-theme="light"] .ping-box { background: rgba(255, 255, 255, 0.6); }

/* Page-header photo overlay: lighten so headers don't look muddy on cream */
:root[data-theme="light"] .page-header-bg.has-image::before {
    background: linear-gradient(180deg, rgba(20, 26, 38, 0.5) 0%, rgba(20, 26, 38, 0.28) 48%, rgba(247, 242, 231, 0.85) 100%) !important;
}
:root[data-theme="light"] .page-header-bg.has-image .section-title,
:root[data-theme="light"] .page-header-bg.has-image h1 { color: #fff !important; }

/* Theme toggle button */
.theme-toggle {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 50rem;
    border: 1px solid var(--line);
    background: var(--btn-ghost-bg);
    color: var(--ink);
    cursor: pointer;
    transition: color .2s, border-color .2s, background .2s, transform .2s;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.theme-toggle:hover { border-color: var(--line-strong); color: var(--cyan); transform: translateY(-1px); }
.theme-toggle i { font-size: 0.95rem; }
/* Show the correct glyph per theme: moon in dark mode, sun in light mode */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
/* Mobile menu variant sits inline and full-width friendly */
.navbar-mobile .theme-toggle { width: 100%; height: auto; border-radius: 12px; padding: 0.85rem; gap: 0.6rem; grid-auto-flow: column; color: rgba(255,255,255,0.9); font-weight: 600; }
:root[data-theme="light"] .navbar-mobile .theme-toggle { color: rgba(255,255,255,0.9); }
/* Label text swaps with the theme (shows what a click will switch TO) */
.theme-toggle-label::after { content: "Light mode"; }
:root[data-theme="light"] .theme-toggle-label::after { content: "Dark mode"; }
.theme-toggle-label { font-size: 0.95rem; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    background-image:
        radial-gradient(1000px circle at 12% -8%, rgba(34, 211, 238, 0.10), transparent 55%),
        radial-gradient(1000px circle at 100% 8%, rgba(37, 99, 235, 0.12), transparent 50%);
    background-position: center top;
    background-attachment: fixed;
    color: var(--body);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -0.01em;
}

a { color: var(--cyan); }
a:hover { color: var(--cyan-soft); }
p { color: var(--body); }
::selection { background: rgba(34, 211, 238, 0.3); color: #fff; }
hr { border-color: var(--line); }

.text-muted { color: var(--muted) !important; }
.text-light, .text-white { color: var(--ink) !important; }
.lead { color: var(--body); }
.bg-white { background: var(--surface) !important; }
.bg-light, .bg-darker { background: transparent !important; }

#preloader { background: var(--bg); }

/* ---------- Eyebrow / pill label ---------- */
.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1.1rem;
    border: 1px solid rgba(34, 211, 238, 0.32);
    background: rgba(34, 211, 238, 0.07);
    border-radius: 50rem;
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.eyebrow i, .section-label i { color: var(--cyan); }
.eyebrow.dot::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--cyan); box-shadow: 0 0 10px 1px var(--cyan);
}

/* ---------- Section headings ---------- */
.section-padding { padding: 92px 0; position: relative; }
.section-title {
    font-size: clamp(1.8rem, 3.4vw, 2.9rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--ink);
}
.section-description, .section-head p { color: var(--muted); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.accent { color: var(--cyan); }
.text-gradient {
    background: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-primary); font-weight: 600; }
.btn-primary,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--blue-2), var(--blue));
    border: none;
    color: #fff;
    box-shadow: 0 10px 30px -8px rgba(37, 99, 235, 0.6);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #2f6df0, #4c90ff);
    color: #fff;
    box-shadow: 0 14px 38px -8px rgba(37, 99, 235, 0.75);
    transform: translateY(-2px);
}
.btn-ghost,
.btn-outline-light,
.btn-outline-primary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    color: var(--ink) !important;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-ghost:hover,
.btn-outline-light:hover,
.btn-outline-primary:hover {
    border-color: var(--line-strong);
    color: #fff !important;
    background: rgba(34, 211, 238, 0.06);
    transform: translateY(-2px);
}
.btn-light { background: var(--cyan); border: none; color: #04212b; font-weight: 700; }
.btn-light:hover { background: var(--cyan-soft); color: #04212b; }

/* ---------- Navbar ---------- */
.navbar.site-nav {
    background: rgba(7, 11, 22, 0.78) !important;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.navbar.site-nav .nav-link {
    color: var(--body);
    font-weight: 500;
    padding: 0.4rem 0.95rem;
    border-radius: 50rem;
    transition: color .2s, background .2s;
}
.navbar.site-nav .nav-link:hover { color: var(--ink); }
.navbar.site-nav .nav-link.active { color: var(--cyan); }
.navbar-phone { color: var(--cyan); font-weight: 600; }
.navbar-phone i { color: var(--cyan); }
/* Hamburger toggler on the dark nav */
.site-nav .navbar-toggler { border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.02); color: var(--ink); }
.site-nav .navbar-toggler:hover { border-color: var(--line-strong); background: rgba(41, 200, 218, 0.08); }
.site-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2329c8da' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Brand logo (image) */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-img { display: block; height: 46px; width: auto; }
.navbar-mobile-logo .brand-img { height: 54px; filter: none; }
.site-footer .brand-img { height: 44px; }

/* ---------- Mobile slide-in menu (dark theme) ---------- */
.navbar-mobile-overlay { background: linear-gradient(180deg, rgba(7, 11, 22, 0.93), rgba(8, 14, 28, 0.9)); }
.navbar-mobile-content { padding-top: 88px; }
.navbar-mobile-logo { border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.navbar-mobile .navbar-nav .nav-link {
    color: rgba(243, 247, 252, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-weight: 500;
}
.navbar-mobile .navbar-nav .nav-link:hover,
.navbar-mobile .navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(41, 200, 218, 0.14);
    box-shadow: inset 3px 0 0 var(--cyan);
    padding-left: 1.5rem;
}
/* While the mobile menu is open, drop the nav's backdrop-filter so the
   fixed-position menu anchors to the viewport (not the nav box) and covers
   the full screen. */
.navbar.menu-open { background: rgba(7, 11, 22, 0.96) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.navbar-mobile .btn-primary { box-shadow: 0 10px 30px -8px rgba(37, 99, 235, 0.6); }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: clamp(70px, 11vw, 140px) 0 clamp(60px, 7vw, 96px);
    overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero-title {
    font-size: clamp(2.4rem, 5.6vw, 4.4rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin: 0.4rem 0 1.4rem;
    color: var(--ink);
}
.hero-title .accent { display: inline; }
.hero-sub { font-size: 1.08rem; line-height: 1.7; color: var(--body); max-width: 33rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Video-background hero: copy spans the full width, video sits behind an
   overlay tuned for text legibility on the dark theme. */
.hero--video { position: relative; }
.hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-video__overlay {
    position: absolute; inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(7, 11, 22, 0.55) 0%, rgba(7, 11, 22, 0.30) 55%, rgba(7, 11, 22, 0.15) 100%),
        linear-gradient(180deg, rgba(7, 11, 22, 0.40) 0%, rgba(7, 11, 22, 0.08) 45%, rgba(7, 11, 22, 0.65) 100%);
}
.hero--video .container, .hero--video .hero-dot { position: relative; z-index: 2; }
.hero--video .hero-inner { grid-template-columns: 1fr; }
.hero--video .hero-copy { max-width: none; }
.hero--video .hero-sub { max-width: none; }
.hero--video .hero-title { text-shadow: 0 2px 26px rgba(0, 0, 0, 0.7); }

.hero-visual { position: relative; }
.hero-visual img {
    width: 100%; border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(56,189,248,0.05);
}
.float-badge {
    position: absolute; top: -18px; right: -10px;
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 0.7rem 1.1rem;
    background: rgba(10, 16, 32, 0.92);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    box-shadow: 0 18px 40px -18px rgba(0,0,0,0.9);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.float-badge .fb-ic {
    width: 34px; height: 34px; border-radius: 9px;
    display: grid; place-items: center;
    background: rgba(34, 211, 238, 0.12); color: var(--cyan);
}
.float-badge b { color: var(--ink); font-size: 0.86rem; display: block; font-weight: 600; }
.float-badge small { color: var(--muted); font-size: 0.74rem; }

.hero-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px 2px rgba(34,211,238,0.7); opacity: 0.7; }

/* ---------- Stats row ---------- */
.stats-row { display: flex; flex-wrap: wrap; gap: 2.6rem; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stat .stat-num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--cyan); line-height: 1; }
.stat .stat-label { color: var(--muted); font-size: 0.82rem; margin-top: 0.35rem; }

/* ---------- Generic dark card ---------- */
.card-dark,
.svc-card, .feature-tile, .price-card, .contact-card, .tech-chip, .terminal, .form-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ---------- Full-bleed services banner (home) ---------- */
.svc-banner {
    position: relative;
    min-height: 32vh;               /* compact banner */
    display: flex;
    align-items: center;
    padding: 104px 0 42px;          /* top clears the fixed navbar */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    text-align: center;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.svc-banner__video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.svc-banner__overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(900px circle at 50% 46%, rgba(7, 11, 22, 0.08), rgba(7, 11, 22, 0.30) 78%),
        linear-gradient(180deg, rgba(7, 11, 22, 0.30) 0%, rgba(7, 11, 22, 0.05) 42%, rgba(7, 11, 22, 0.55) 100%);
}
.svc-banner__inner { position: relative; z-index: 1; max-width: 860px; }
.svc-banner .section-title { color: #fff; text-shadow: 0 2px 26px rgba(0, 0, 0, 0.85); }
.svc-banner .section-description { color: #e3eaf6; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85); }
.svc-banner .eyebrow { background: rgba(7, 11, 22, 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (max-width: 640px) { .svc-banner { min-height: 27vh; padding: 96px 0 34px; } }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.svc-card { padding: 2rem; transition: transform .25s, border-color .25s, box-shadow .25s; }
.svc-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 50px -28px rgba(34,211,238,0.35); }
.svc-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: grid; place-items: center; font-size: 1.35rem;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.22);
    color: var(--cyan); margin-bottom: 1.4rem;
}
.svc-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--ink); }
.svc-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 1.1rem; }
.svc-more { color: var(--blue); font-weight: 600; font-size: 0.9rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.svc-card:hover .svc-more { color: var(--cyan); }
.svc-more i { transition: transform .2s; }
.svc-card:hover .svc-more i { transform: translateX(4px); }

/* ---------- Feature tiles (why choose) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature-tile { padding: 1.9rem; transition: transform .25s, border-color .25s; }
.feature-tile:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tile-icon {
    width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.2);
    color: var(--cyan); font-size: 1.15rem; margin-bottom: 1.2rem;
}
.feature-tile h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-tile p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* ---------- About: logo card + stats ---------- */
.glass-logo {
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(34,211,238,0.06), rgba(10,16,32,0.4));
    padding: 3.5rem 2.4rem; display: grid; place-items: center; min-height: 280px;
    box-shadow: inset 0 0 60px -20px rgba(34,211,238,0.2);
}
.glass-logo .brand-img { height: auto; width: 100%; max-width: 320px; }
.about-stats { display: flex; flex-wrap: wrap; gap: 2.4rem; }
.about-stats .stat-num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--cyan); }
.about-stats .stat-label { color: var(--muted); font-size: 0.8rem; }

/* ---------- Tech stack + terminal ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tech-chip { padding: 1.5rem 1rem; text-align: center; transition: transform .2s, border-color .2s; }
.tech-chip:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.tech-chip i, .tech-chip .ti { font-size: 1.6rem; color: var(--cyan); display: block; margin-bottom: 0.6rem; }
.tech-chip span { font-size: 0.9rem; color: var(--body); font-weight: 500; }

.terminal { overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); background: rgba(0,0,0,0.25); }
.term-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.term-bar .r { background: #ff5f57; } .term-bar .y { background: #febc2e; } .term-bar .g { background: #28c840; }
.term-bar small { color: var(--muted); margin-left: auto; font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 0.78rem; }
.term-body { padding: 1.3rem 1.2rem; font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 0.86rem; line-height: 1.9; }
.term-body .cmd { color: var(--cyan); }
.term-body .ln { color: var(--teal); padding-left: 1.1rem; }
.term-body .k { color: var(--muted); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: start; }
.price-card { padding: 2.2rem; position: relative; transition: transform .25s, border-color .25s; }
.price-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.price-card.popular {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 1px rgba(59,130,246,0.4), 0 30px 70px -30px rgba(37,99,235,0.6);
}
.price-tag {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.45rem 1.1rem; border-radius: 50rem; box-shadow: 0 8px 20px -6px rgba(37,99,235,0.7);
}
.price-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; }
.price-amt { display: flex; align-items: flex-start; gap: 0.2rem; margin-bottom: 0.4rem; }
.price-amt .cur { color: var(--cyan); font-size: 1.2rem; font-weight: 600; margin-top: 0.5rem; }
.price-amt .num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--ink); line-height: 1; }
.price-amt.is-pop .num { color: var(--cyan); }
.price-amt .per { color: var(--muted); font-size: 0.82rem; align-self: flex-end; margin-bottom: 0.5rem; }
.price-features { list-style: none; padding: 0; margin: 1.6rem 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.price-features li { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0; color: var(--body); font-size: 0.92rem; }
.price-features li i { color: var(--cyan); width: 18px; text-align: center; }

/* ---------- Contact ---------- */
.contact-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { display: flex; align-items: center; gap: 1.1rem; padding: 1.3rem 1.4rem; }
.contact-card .cc-ic {
    width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center;
    background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34,211,238,0.2); color: var(--cyan); font-size: 1.1rem;
}
.contact-card small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.7rem; font-weight: 600; }
.contact-card .cc-val, .contact-card .cc-val a { color: var(--ink); font-weight: 500; text-decoration: none; }
.social-row { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
.social-row a {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(59, 130, 246, 0.1); border: 1px solid var(--line); color: var(--blue); transition: .2s;
}
.social-row a:hover { background: rgba(34,211,238,0.12); border-color: var(--line-strong); color: var(--cyan); transform: translateY(-2px); }

/* Forms */
.form-panel { padding: 2.2rem; }
.form-panel h3 { font-size: 1.4rem; margin-bottom: 1.6rem; }
.form-label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 600; margin-bottom: 0.5rem; }
.form-control, .form-select, select.form-control {
    background: rgba(7, 11, 22, 0.6) !important;
    border: 1px solid var(--line) !important;
    color: var(--ink) !important;
    border-radius: 12px !important;
    padding: 0.8rem 1rem !important;
}
.form-control::placeholder { color: #54627a !important; }
.form-control:focus, .form-select:focus {
    border-color: var(--line-strong) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12) !important;
    background: rgba(7, 11, 22, 0.8) !important;
}
.form-select option { background: #0a1020; color: var(--ink); }

/* ---------- Footer (new) ---------- */
footer, .site-footer { background: #060912 !important; border-top: 1px solid var(--line); margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 2.5rem; padding: 4rem 0 2.5rem; }
.f-brand p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin: 1.1rem 0 1.3rem; max-width: 22rem; }
.ping-box {
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 0.8rem;
    background: rgba(10, 16, 32, 0.6); border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem; max-width: 22rem;
}
.ping-box .p1 { color: var(--teal); } .ping-box .p1 b { color: var(--cyan); font-weight: 400; }
.ping-box .p2 { color: var(--muted); } .ping-box .p2 b { color: var(--teal); font-weight: 600; }
.f-col h6 { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; font-weight: 700; margin-bottom: 1.2rem; }
.f-col ul { list-style: none; padding: 0; margin: 0; }
.f-col li { margin-bottom: 0.75rem; }
.f-col a, .f-col span { color: var(--muted); text-decoration: none; font-size: 0.92rem; transition: color .2s; }
.f-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.5rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }
.footer-bottom, .footer-bottom * { color: var(--muted); font-size: 0.82rem; }
.scrollToTop, #scrollToTop { background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; border: none; }

/* ---------- Legacy component re-skins (pages not individually rebuilt) ---------- */
.page-header-bg, .page-header-bg.section-with-bg { background: linear-gradient(180deg, var(--bg-2), var(--bg)) !important; border-bottom: 1px solid var(--line); }
.page-header-bg::before { display: none !important; }

/* Page header with a photo background — set the image on the section via
   an inline custom property:  style="--ph-image: url('...');"  */
.page-header-bg.has-image {
    background: var(--ph-image) center / cover no-repeat, var(--bg-2) !important;
    padding-top: 104px !important;   /* clear the fixed navbar */
}
.page-header-bg.has-image::before {
    display: block !important;
    background: linear-gradient(180deg, rgba(7, 11, 22, 0.72) 0%, rgba(7, 11, 22, 0.38) 48%, rgba(7, 11, 22, 0.88) 100%) !important;
}
.breadcrumb-item, .breadcrumb-item a { color: var(--muted) !important; }
.breadcrumb-item.active { color: var(--cyan) !important; }

.service-card, .about-feature, .feature-card, .team-card, .testimonial-card,
.contact-info-card, .process-step, .promo-card, .faq-item {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    color: var(--body) !important;
    border-radius: var(--radius) !important;
}
.service-card .service-title, .about-feature h3, .about-feature h5, .team-name,
.testimonial-name, .feature-card h6, .process-step h5, .faq-item summary, .faq-item h3 { color: var(--ink) !important; }
.service-description, .testimonial-text, .testimonial-company, .team-position, .faq-answer { color: var(--muted) !important; }
.about-feature i, .feature-icon, .contact-info-item i { color: var(--cyan); }
.feature-icon { background: rgba(34,211,238,0.1) !important; border: 1px solid rgba(34,211,238,0.2); color: var(--cyan) !important; }
.process-number { color: rgba(34,211,238,0.25) !important; }
.testimonial-stars i { color: var(--cyan) !important; }
.faq-item[open] { border-color: var(--line-strong) !important; }
.faq-item summary::after { color: var(--cyan) !important; }
.cta-section { position: relative; overflow: hidden; background: #0a1020 !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-section > .container { position: relative; z-index: 2; }
.cta-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-section::before { z-index: 1; background: linear-gradient(180deg, rgba(7,11,22,0.72), rgba(7,11,22,0.55)) !important; }
.cta-title { color: var(--ink) !important; }
.cta-text { color: var(--body) !important; }
.service-icon { background: rgba(34,211,238,0.08) !important; filter: brightness(0) invert(0.78) sepia(1) saturate(4) hue-rotate(140deg); }
.hero-divider { background: linear-gradient(90deg, var(--cyan), transparent); height: 3px; width: 64px; border-radius: 2px; }
.about-logo-img { mix-blend-mode: normal !important; filter: brightness(0) invert(1); opacity: 0.9; }

/* Quote builder (legacy) re-skin */
.quote-summary { background: var(--surface) !important; border: 1px solid var(--line) !important; color: var(--body) !important; border-radius: var(--radius) !important; }
.quote-summary h4, .quote-summary h5, .quote-total, .quote-total * { color: var(--ink) !important; }
.quote-total strong, .quote-total .text-primary { color: var(--cyan) !important; }
.quote-category-select,
#categorySelect {
    background: rgba(7, 11, 22, 0.6) !important; color: var(--ink) !important;
    border: 1px solid var(--line) !important; border-radius: 12px !important;
}
.quote-category-select option { background: #0a1020; color: var(--ink); }
.quote-service-item { background: var(--surface-2) !important; border: 1px solid var(--line) !important; color: var(--body) !important; }
.quote-service-item:hover, .quote-service-item.selected { border-color: var(--line-strong) !important; }
.quote-service-name { color: var(--ink) !important; }
.quote-service-description { color: var(--muted) !important; }
.quote-service-price { color: var(--cyan) !important; }
.quote-disclaimer { background: rgba(34,211,238,0.06) !important; border: 1px solid var(--line) !important; color: var(--muted) !important; }
.quote-disclaimer strong { color: var(--body) !important; }

/* Service-detail sidebar / generic white panels on dark */
.sidebar-card { background: var(--surface) !important; border: 1px solid var(--line) !important; color: var(--body) !important; border-radius: var(--radius) !important; box-shadow: none !important; }
.sidebar-card-title { color: var(--ink) !important; }
.service-sidebar-list a, .service-sidebar-list li a { color: var(--body) !important; border-bottom: 1px solid var(--line) !important; }
.service-sidebar-list a:hover { color: var(--cyan) !important; background: rgba(34,211,238,0.05) !important; }
.service-sidebar-list a.active, .service-sidebar-list .active a { color: var(--cyan) !important; background: rgba(34,211,238,0.08) !important; }
.sidebar-service-icon { filter: brightness(0) invert(0.78) sepia(1) saturate(4) hue-rotate(140deg); }
.sidebar-cta { background: linear-gradient(160deg, rgba(34,211,238,0.08), rgba(37,99,235,0.1)) !important; }
.sidebar-cta h4, .sidebar-cta h5, .sidebar-cta p { color: var(--ink) !important; }
.hosting-package-card { background: var(--surface) !important; border: 1px solid var(--line) !important; color: var(--body) !important; border-radius: var(--radius) !important; }
.hosting-package-card.featured { border-color: rgba(59,130,246,0.6) !important; box-shadow: 0 0 0 1px rgba(59,130,246,0.4), 0 30px 70px -30px rgba(37,99,235,0.6) !important; }
.hosting-package-card h3, .hosting-package-card h4, .hosting-package-card .price, .hosting-package-card .h-price { color: var(--ink) !important; }
.service-detail-content, .service-full-description { color: var(--body) !important; }
.bg-white, .card { color: var(--body); }
.alert-success { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.4); color: #6ee7b7; }
.alert-danger { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.4); color: #fca5a5; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { order: -1; }
    .svc-grid, .feature-grid, .price-grid, .tech-grid, .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-main { gap: 2rem; }
}
@media (max-width: 640px) {
    .section-padding { padding: 64px 0; }
    .svc-grid, .feature-grid, .price-grid, .tech-grid, .footer-main { grid-template-columns: 1fr; }
    .stats-row { gap: 1.6rem; }
    .float-badge { right: 8px; top: -14px; }
}
