/* ============================================================
   WebConfig Pro - theme.css
   Full design system: Light/Dark, components, responsive
   ============================================================ */

/* ── Google Fonts are loaded via wp_enqueue_style ── */

/* ── CSS Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }

/* ── Design Tokens ────────────────────────────────────────── */
:root {
    /* Typography */
    --font-heading : 'Outfit', system-ui, sans-serif;
    --font-body    : 'Inter', system-ui, sans-serif;

    /* Brand Colors */
    --indigo-400: hsl(248, 87%, 72%);
    --indigo-500: hsl(248, 87%, 62%);
    --indigo-600: hsl(248, 87%, 52%);
    --cyan-400  : hsl(190, 90%, 60%);
    --cyan-500  : hsl(190, 90%, 50%);
    --emerald-400: hsl(158, 64%, 58%);
    --emerald-500: hsl(158, 64%, 45%);
    --amber-400 : hsl(38, 92%, 60%);

    /* Gradients */
    --gradient-brand   : linear-gradient(135deg, var(--indigo-500), var(--cyan-500));
    --gradient-hero    : linear-gradient(135deg, hsl(248,87%,12%) 0%, hsl(220,50%,8%) 60%, hsl(190,60%,8%) 100%);
    --gradient-cta     : linear-gradient(135deg, var(--indigo-600), var(--cyan-500));

    /* Spacing */
    --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
    --space-4: 1rem;    --space-5: 1.25rem; --space-6: 1.5rem;
    --space-8: 2rem;    --space-10: 2.5rem; --space-12: 3rem;
    --space-16: 4rem;   --space-20: 5rem;   --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;  --radius-md: 0.875rem;
    --radius-lg: 1.25rem; --radius-xl: 1.75rem; --radius-full: 9999px;

    /* Shadows */
    --shadow-sm : 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
    --shadow-md : 0 4px 16px rgba(0,0,0,.15);
    --shadow-lg : 0 10px 40px rgba(0,0,0,.2);
    --shadow-glow: 0 0 24px rgba(99,102,241,.4);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-mid : 250ms ease;
    --transition-slow: 400ms ease;

    /* Layout */
    --container-max: 1280px;
    --header-h     : 72px;
}

/* ── Light Theme ──────────────────────────────────────────── */
[data-theme="light"] {
    --bg-primary   : hsl(220, 20%, 98%);
    --bg-secondary : hsl(220, 20%, 94%);
    --bg-card      : hsl(0, 0%, 100%);
    --bg-card-hover: hsl(220, 20%, 97%);
    --bg-glass     : rgba(255,255,255,0.75);
    --bg-header    : rgba(255,255,255,0.92);
    --border       : hsl(220, 13%, 88%);
    --border-focus : var(--indigo-500);
    --text-primary : hsl(222, 47%, 10%);
    --text-secondary:hsl(220, 14%, 38%);
    --text-muted   : hsl(220, 13%, 55%);
    --text-invert  : hsl(0, 0%, 100%);
    --accent       : var(--indigo-600);
    --accent-light : hsl(248, 87%, 95%);
    --recommended-border: var(--indigo-500);
    --recommended-glow  : rgba(99,102,241,.25);
    --orb-1        : rgba(99,102,241,.15);
    --orb-2        : rgba(34,211,238,.1);
    --orb-3        : rgba(52,211,153,.08);

    /* Hero section styles for Light Theme */
    --hero-bg      : linear-gradient(135deg, hsl(248,87%,97%) 0%, hsl(220,50%,95%) 60%, hsl(190,60%,95%) 100%);
    --hero-title-color: var(--text-primary);
    --hero-subtitle-color: var(--text-secondary);
    --hero-stat-num: var(--indigo-600);
    --hero-stat-label: var(--text-muted);
    --hero-stat-sep: var(--border);
    --hero-btn-ghost-bg: rgba(0, 0, 0, 0.05);
    --hero-btn-ghost-border: var(--border);
    --hero-btn-ghost-color: var(--text-primary);
    --hero-btn-ghost-hover-bg: rgba(0, 0, 0, 0.08);
    --hero-scroll-border: var(--text-muted);
    --hero-scroll-dot: var(--indigo-500);
}

/* ── Dark Theme ───────────────────────────────────────────── */
[data-theme="dark"] {
    --bg-primary   : hsl(222, 47%, 7%);
    --bg-secondary : hsl(222, 40%, 10%);
    --bg-card      : hsl(222, 38%, 12%);
    --bg-card-hover: hsl(222, 38%, 15%);
    --bg-glass     : rgba(15,20,40,0.7);
    --bg-header    : rgba(10,14,28,0.92);
    --border       : hsl(222, 25%, 22%);
    --border-focus : var(--indigo-400);
    --text-primary : hsl(220, 30%, 96%);
    --text-secondary:hsl(220, 20%, 70%);
    --text-muted   : hsl(220, 15%, 50%);
    --text-invert  : hsl(0, 0%, 100%);
    --accent       : var(--indigo-400);
    --accent-light : hsl(248, 87%, 15%);
    --recommended-border: var(--indigo-400);
    --recommended-glow  : rgba(129,140,248,.3);
    --orb-1        : rgba(99,102,241,.25);
    --orb-2        : rgba(34,211,238,.18);
    --orb-3        : rgba(52,211,153,.14);

    /* Hero section styles for Dark Theme */
    --hero-bg      : var(--gradient-hero);
    --hero-title-color: #fff;
    --hero-subtitle-color: rgba(255, 255, 255, 0.75);
    --hero-stat-num: #fff;
    --hero-stat-label: rgba(255, 255, 255, 0.6);
    --hero-stat-sep: rgba(255, 255, 255, 0.2);
    --hero-btn-ghost-bg: rgba(255, 255, 255, 0.12);
    --hero-btn-ghost-border: rgba(255, 255, 255, 0.25);
    --hero-btn-ghost-color: #fff;
    --hero-btn-ghost-hover-bg: rgba(255, 255, 255, 0.2);
    --hero-scroll-border: rgba(255, 255, 255, 0.5);
    --hero-scroll-dot: rgba(255, 255, 255, 0.6);
}

/* ── Base Styles ──────────────────────────────────────────── */
body {
    font-family   : var(--font-body);
    font-size     : 1rem;
    line-height   : 1.6;
    color         : var(--text-primary);
    background    : var(--bg-primary);
    transition    : background var(--transition-mid), color var(--transition-mid);
}
h1,h2,h3,h4,h5 {
    font-family  : var(--font-heading);
    line-height  : 1.2;
    font-weight  : 700;
    color        : var(--text-primary);
}

/* ── Container ────────────────────────────────────────────── */
.container {
    width  : 100%;
    max-width: var(--container-max);
    margin : 0 auto;
    padding: 0 var(--space-6);
}
@media (max-width: 640px) { .container { padding: 0 var(--space-4); } }

/* ── Section ──────────────────────────────────────────────── */
.section        { padding: var(--space-20) 0; }
.section--sm    { padding: var(--space-12) 0 var(--space-8); }
.section-header { text-align: center; margin-bottom: var(--space-12); }
.section-title  {
    font-size : clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: var(--space-4);
}
.section-subtitle {
    color     : var(--text-secondary);
    font-size : 1.125rem;
    max-width : 600px;
    margin    : 0 auto;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display        : inline-flex;
    align-items    : center;
    gap            : var(--space-2);
    padding        : 0.625rem 1.375rem;
    border-radius  : var(--radius-full);
    font-family    : var(--font-heading);
    font-weight    : 600;
    font-size      : 0.9375rem;
    letter-spacing : 0.01em;
    transition     : all var(--transition-mid);
    white-space    : nowrap;
    text-align     : center;
    justify-content: center;
}
.btn-primary {
    background    : var(--gradient-brand);
    color         : #fff;
    box-shadow    : 0 4px 20px rgba(99,102,241,.35);
}
.btn-primary:hover {
    transform     : translateY(-2px);
    box-shadow    : 0 8px 30px rgba(99,102,241,.5);
    filter        : brightness(1.1);
}
.btn-outline {
    background    : transparent;
    border        : 2px solid var(--border);
    color         : var(--text-primary);
}
.btn-outline:hover {
    border-color  : var(--accent);
    color         : var(--accent);
    background    : var(--accent-light);
    transform     : translateY(-1px);
}
.btn-ghost {
    background    : rgba(255,255,255,.12);
    color         : #fff;
    border        : 1.5px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn-lg { padding: 0.875rem 2rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.375rem 0.875rem; font-size: 0.8125rem; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
    position      : fixed;
    top           : 0; left: 0; right: 0;
    z-index       : 1000;
    height        : var(--header-h);
    background    : var(--bg-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom : 1px solid var(--border);
    transition    : background var(--transition-mid), box-shadow var(--transition-mid);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-spacer { height: var(--header-h); }
.header-inner {
    display       : flex;
    align-items   : center;
    gap           : var(--space-8);
    height        : 100%;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; }
.logo-text {
    font-family   : var(--font-heading);
    font-size     : 1.5rem;
    font-weight   : 800;
    color         : var(--text-primary);
    letter-spacing: -0.02em;
}
.logo-accent { color: var(--indigo-500); }
.logo-dot    { color: var(--cyan-500); }

/* Nav */
.primary-nav { flex: 1; }
.primary-nav ul {
    display  : flex;
    align-items: center;
    gap      : var(--space-1);
}
.primary-nav a {
    display      : block;
    padding      : var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size    : 0.9375rem;
    font-weight  : 500;
    color        : var(--text-secondary);
    transition   : all var(--transition-fast);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
    color      : var(--text-primary);
    background : var(--bg-secondary);
}

/* Header Controls */
.header-controls { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }

/* Language Switcher */
.lang-switcher { display: flex; align-items: center; gap: var(--space-2); }
.lang-btn {
    font-size   : 0.8125rem;
    font-weight : 600;
    color       : var(--text-muted);
    transition  : color var(--transition-fast);
    padding     : var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
}
.lang-btn.active, .lang-btn:hover { color: var(--accent); background: var(--accent-light); }
.lang-sep { color: var(--border); font-size: 0.75rem; }

/* Theme Toggle */
.theme-toggle {
    width        : 38px; height: 38px;
    border-radius: var(--radius-full);
    display      : flex; align-items: center; justify-content: center;
    background   : var(--bg-secondary);
    border       : 1.5px solid var(--border);
    color        : var(--text-secondary);
    transition   : all var(--transition-fast);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-light); }
.icon-sun, .icon-moon { transition: opacity var(--transition-fast), transform var(--transition-mid); }
[data-theme="dark"]  .icon-sun  { opacity: 1; transform: rotate(0deg); }
[data-theme="dark"]  .icon-moon { opacity: 0; position: absolute; }
[data-theme="light"] .icon-sun  { opacity: 0; position: absolute; }
[data-theme="light"] .icon-moon { opacity: 1; }

/* Hamburger */
.hamburger {
    display      : none;
    width        : 38px; height: 38px;
    flex-direction: column; align-items: center; justify-content: center;
    gap          : 5px;
    border-radius: var(--radius-sm);
    background   : var(--bg-secondary);
    border       : 1.5px solid var(--border);
}
.hamburger span {
    display      : block;
    width        : 20px; height: 2px;
    background   : var(--text-primary);
    border-radius: 2px;
    transition   : all var(--transition-mid);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    position     : relative;
    overflow     : hidden;
    background   : var(--hero-bg);
    padding      : var(--space-24) 0 var(--space-20);
    min-height   : 90vh;
    display      : flex;
    align-items  : center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
    position      : absolute;
    border-radius : 50%;
    filter        : blur(80px);
    animation     : float 8s ease-in-out infinite alternate;
}
.hero-orb-1 { width: 600px; height: 600px; top: -150px; left: -100px; background: var(--orb-1); animation-delay: 0s; }
.hero-orb-2 { width: 500px; height: 500px; bottom: -100px; right: -80px; background: var(--orb-2); animation-delay: -3s; }
.hero-orb-3 { width: 400px; height: 400px; top: 30%; left: 40%; background: var(--orb-3); animation-delay: -6s; }
.hero-grid {
    position    : absolute;
    inset       : 0;
    background-image: linear-gradient(rgba(99,102,241,.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(99,102,241,.04) 1px, transparent 1px);
    background-size: 48px 48px;
}
@keyframes float { from { transform: translateY(0) scale(1); } to { transform: translateY(-40px) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .hero-orb { animation: none; } }

.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-badge {
    display      : inline-flex;
    align-items  : center;
    gap          : var(--space-2);
    padding      : var(--space-2) var(--space-4);
    background   : rgba(99,102,241,.15);
    border       : 1px solid rgba(99,102,241,.3);
    border-radius: var(--radius-full);
    color        : var(--indigo-400);
    font-size    : 0.875rem;
    font-weight  : 600;
    margin-bottom: var(--space-6);
    backdrop-filter: blur(8px);
}
.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--indigo-400);
    animation  : pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: .6; } }

.hero-title {
    font-size    : clamp(2.5rem, 6vw, 4.5rem);
    color        : var(--hero-title-color);
    margin-bottom: var(--space-6);
    max-width    : 900px;
    margin-left  : auto;
    margin-right : auto;
}
.hero-title-gradient {
    background   : var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display      : inline;
}
.hero-subtitle {
    color        : var(--hero-subtitle-color);
    font-size    : clamp(1rem, 2vw, 1.25rem);
    max-width    : 620px;
    margin       : 0 auto var(--space-8);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; margin-bottom: var(--space-12); }
.hero-cta .btn-ghost {
    background: var(--hero-btn-ghost-bg);
    border-color: var(--hero-btn-ghost-border);
    color: var(--hero-btn-ghost-color);
}
.hero-cta .btn-ghost:hover {
    background: var(--hero-btn-ghost-hover-bg);
}

.hero-stats {
    display     : flex;
    align-items : center;
    justify-content: center;
    gap         : var(--space-8);
    flex-wrap   : wrap;
}
.hero-stat { text-align: center; }
.stat-num  { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--hero-stat-num); }
.stat-label{ display: block; font-size: 0.8125rem; color: var(--hero-stat-label); font-weight: 500; }
.hero-stat-sep { width: 1px; height: 40px; background: var(--hero-stat-sep); }

.hero-scroll-hint {
    position     : absolute;
    bottom       : var(--space-8);
    left         : 50%;
    transform    : translateX(-50%);
    display      : flex;
    flex-direction: column;
    align-items  : center;
    opacity      : 0.7;
    animation    : bounce 2s ease-in-out infinite;
}
.scroll-mouse {
    width  : 24px; height: 40px;
    border : 2px solid var(--hero-scroll-border);
    border-radius: 12px;
    position: relative;
}
.scroll-mouse::after {
    content  : '';
    position : absolute;
    top      : 6px; left: 50%; transform: translateX(-50%);
    width    : 4px; height: 8px;
    background: var(--hero-scroll-dot);
    border-radius: 2px;
    animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes scroll-dot { 0%,100% { opacity: 1; transform: translateX(-50%) translateY(0); } 50% { opacity: 0; transform: translateX(-50%) translateY(6px); } }

/* ── Comparator ───────────────────────────────────────────── */
.comparator { background: var(--bg-secondary); }

.comparator-tabs {
    display        : flex;
    gap            : var(--space-2);
    background     : var(--bg-card);
    padding        : var(--space-2);
    border-radius  : var(--radius-lg);
    border         : 1px solid var(--border);
    margin-bottom  : var(--space-10);
    width          : fit-content;
    margin-left    : auto;
    margin-right   : auto;
}
.comp-tab {
    display     : flex;
    align-items : center;
    gap         : var(--space-2);
    padding     : var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    font-family : var(--font-heading);
    font-weight : 600;
    font-size   : 0.9375rem;
    color       : var(--text-secondary);
    transition  : all var(--transition-mid);
}
.comp-tab.active {
    background  : var(--gradient-brand);
    color       : #fff;
    box-shadow  : 0 4px 16px rgba(99,102,241,.35);
}
.comp-tab:not(.active):hover { color: var(--text-primary); background: var(--bg-secondary); }
.comp-panel { display: block; }
.comp-panel.hidden { display: none; }

/* Billing Toggle */
.billing-toggle {
    display      : flex;
    align-items  : center;
    gap          : var(--space-3);
    justify-content: center;
    margin-bottom: var(--space-8);
}
.billing-label { font-weight: 600; color: var(--text-secondary); }
.toggle-switch {
    position     : relative;
    width        : 52px; height: 28px;
    background   : var(--bg-secondary);
    border       : 2px solid var(--border);
    border-radius: var(--radius-full);
    transition   : background var(--transition-mid), border-color var(--transition-mid);
}
.toggle-switch[aria-pressed="true"] { background: var(--gradient-brand); border-color: var(--indigo-500); }
.toggle-knob {
    position     : absolute;
    top          : 2px; left: 2px;
    width        : 20px; height: 20px;
    background   : #fff;
    border-radius: 50%;
    box-shadow   : var(--shadow-sm);
    transition   : transform var(--transition-mid);
}
.toggle-switch[aria-pressed="true"] .toggle-knob { transform: translateX(24px); }
.billing-badge {
    background   : var(--emerald-500);
    color        : #fff;
    font-size    : 0.7rem;
    font-weight  : 700;
    padding      : 2px 8px;
    border-radius: var(--radius-full);
    margin-left  : var(--space-2);
    vertical-align: middle;
}

/* Provider Group */
.hosting-provider-group { margin-bottom: var(--space-12); }
.provider-label {
    display     : flex;
    align-items : center;
    gap         : var(--space-3);
    margin-bottom: var(--space-6);
    font-size   : 1.25rem;
    font-weight : 700;
    color       : var(--text-primary);
}
.provider-name-text { color: var(--text-primary); }
.provider-badge {
    font-size   : 0.75rem;
    font-weight : 600;
    padding     : 2px 10px;
    border-radius: var(--radius-full);
    background  : var(--accent-light);
    color       : var(--accent);
    border      : 1px solid var(--accent);
}
.provider-logo-img { max-height: 32px; width: auto; filter: var(--logo-filter, none); }

/* Hosting Cards */
.hosting-cards {
    display     : grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap         : var(--space-6);
}
.hosting-card {
    position    : relative;
    background  : var(--bg-card);
    border      : 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding     : var(--space-8);
    display     : flex;
    flex-direction: column;
    gap         : var(--space-5);
    transition  : all var(--transition-mid);
}
.hosting-card:hover {
    transform   : translateY(-4px);
    box-shadow  : var(--shadow-lg);
    border-color: var(--accent);
}
.hosting-card--recommended {
    border-color : var(--recommended-border);
    box-shadow   : 0 0 0 3px var(--recommended-glow), var(--shadow-md);
}
.card-badge {
    position    : absolute;
    top         : -14px; left: 50%; transform: translateX(-50%);
    background  : var(--gradient-brand);
    color       : #fff;
    font-size   : 0.8rem;
    font-weight : 700;
    padding     : 4px 16px;
    border-radius: var(--radius-full);
    white-space : nowrap;
}
.card-header { display: flex; flex-direction: column; gap: var(--space-3); }
.card-name   { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); }
.card-price-wrap { display: flex; align-items: baseline; gap: var(--space-2); }
.card-price  { display: flex; align-items: baseline; gap: 2px; }
.price-amount { font-size: 2rem; font-weight: 800; font-family: var(--font-heading); color: var(--text-primary); }
.price-currency { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); }
.price-period   { font-size: 0.875rem; color: var(--text-muted); }

.card-features {
    flex        : 1;
    display     : flex;
    flex-direction: column;
    gap         : var(--space-3);
}
.card-features li {
    display     : flex;
    align-items : center;
    gap         : var(--space-2);
    font-size   : 0.9rem;
    color       : var(--text-secondary);
}
.card-features li svg { color: var(--emerald-400); flex-shrink: 0; }
.card-cta { margin-top: auto; width: 100%; }
.card-provider-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: calc(var(--space-3) * -1); }

/* No Data */
.no-data-msg { text-align: center; padding: var(--space-12); color: var(--text-muted); font-style: italic; }

/* ── Domains Table ────────────────────────────────────────── */
.domain-search-wrap { margin-bottom: var(--space-8); }
.domain-search-inner {
    position    : relative;
    max-width   : 480px;
    margin      : 0 auto;
}
.domain-search-icon {
    position    : absolute;
    left        : var(--space-4); top: 50%; transform: translateY(-50%);
    color       : var(--text-muted);
    pointer-events: none;
}
.domain-search-input {
    width       : 100%;
    padding     : var(--space-3) var(--space-4) var(--space-3) var(--space-10);
    background  : var(--bg-card);
    border      : 1.5px solid var(--border);
    border-radius: var(--radius-full);
    color       : var(--text-primary);
    font-size   : 1rem;
    outline     : none;
    transition  : border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.domain-search-input:focus {
    border-color: var(--border-focus);
    box-shadow  : 0 0 0 3px rgba(99,102,241,.15);
}
.domain-table-wrap {
    background   : var(--bg-card);
    border       : 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow-x   : auto;
}
.domain-table {
    width        : 100%;
    border-collapse: collapse;
}
.domain-table th {
    text-align   : left;
    padding      : var(--space-4) var(--space-5);
    font-size    : 0.8125rem;
    font-weight  : 700;
    color        : var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    background   : var(--bg-secondary);
}
.domain-table td {
    padding      : var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border);
    color        : var(--text-secondary);
    font-size    : 0.9375rem;
}
.domain-row:last-child td { border-bottom: none; }
.domain-row:hover td { background: var(--bg-card-hover); }
.domain-row--popular td:first-child { border-left: 3px solid var(--indigo-500); }
.tld-badge { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: var(--text-primary); }
.tld-popular-badge {
    font-size    : 0.7rem; font-weight: 600;
    padding      : 2px 8px;
    background   : var(--indigo-600); color: #fff;
    border-radius: var(--radius-full);
    margin-left  : var(--space-2);
    vertical-align: middle;
}
.free-badge { color: var(--emerald-500); font-weight: 700; }

/* ── Server Cards ─────────────────────────────────────────── */
.server-type-toggle {
    display     : flex;
    gap         : var(--space-2);
    margin-bottom: var(--space-8);
    background  : var(--bg-card);
    padding     : var(--space-2);
    border-radius: var(--radius-lg);
    border      : 1px solid var(--border);
    width       : fit-content;
}
.server-type-btn {
    padding     : var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-family : var(--font-heading);
    font-weight : 600;
    font-size   : 0.9375rem;
    color       : var(--text-secondary);
    transition  : all var(--transition-mid);
}
.server-type-btn.active {
    background  : var(--gradient-brand);
    color       : #fff;
    box-shadow  : 0 4px 16px rgba(99,102,241,.3);
}
.server-grid {
    display     : grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap         : var(--space-6);
}
.server-card {
    position    : relative;
    background  : var(--bg-card);
    border      : 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding     : var(--space-8);
    display     : flex;
    flex-direction: column;
    gap         : var(--space-5);
    transition  : all var(--transition-mid);
}
.server-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.server-card--recommended { border-color: var(--recommended-border); box-shadow: 0 0 0 3px var(--recommended-glow), var(--shadow-md); }
.card-provider-tag { font-size: 0.8125rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.server-specs {
    display     : grid;
    grid-template-columns: 1fr 1fr;
    gap         : var(--space-3);
    background  : var(--bg-secondary);
    border-radius: var(--radius-md);
    padding     : var(--space-4);
}
.spec-item {
    display     : flex;
    align-items : center;
    gap         : var(--space-2);
    font-size   : 0.875rem;
    font-weight : 500;
    color       : var(--text-secondary);
}
.spec-item svg { color: var(--indigo-400); flex-shrink: 0; }

/* ── Why Us ───────────────────────────────────────────────── */
.features-grid {
    display     : grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap         : var(--space-6);
}
.feature-card {
    background  : var(--bg-card);
    border      : 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding     : var(--space-8);
    transition  : all var(--transition-mid);
    display     : flex;
    flex-direction: column;
    gap         : var(--space-4);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.feature-icon {
    width        : 52px; height: 52px;
    background   : var(--accent-light);
    color        : var(--accent);
    border-radius: var(--radius-md);
    display      : flex;
    align-items  : center;
    justify-content: center;
}
.feature-card h3 { font-size: 1.125rem; }
.feature-card p  { color: var(--text-secondary); font-size: 0.9375rem; }

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section { background: var(--bg-secondary); }
.cta-box {
    position    : relative;
    overflow    : hidden;
    background  : var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding     : var(--space-16) var(--space-8);
    text-align  : center;
    border      : 1px solid rgba(99,102,241,.3);
}
.cta-orb {
    position    : absolute;
    width       : 500px; height: 500px;
    border-radius: 50%;
    background  : rgba(99,102,241,.2);
    filter      : blur(80px);
    top         : -200px; left: 50%; transform: translateX(-50%);
    pointer-events: none;
}
.cta-box h2 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: var(--space-4); }
.cta-box p  { color: rgba(255,255,255,.75); font-size: 1.125rem; margin-bottom: var(--space-8); max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
    background   : var(--bg-card);
    border-top   : 1px solid var(--border);
    padding      : var(--space-16) 0 var(--space-8);
}
.footer-grid {
    display      : grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap          : var(--space-8);
    margin-bottom: var(--space-12);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-logo  { display: inline-flex; }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; max-width: 240px; line-height: 1.5; }
.footer-heading {
    font-size    : 0.8125rem;
    font-weight  : 700;
    color        : var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-4);
}
.footer-nav ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-nav a  {
    color        : var(--text-secondary);
    font-size    : 0.9375rem;
    transition   : color var(--transition-fast);
}
.footer-nav a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: var(--space-4); }
.footer-contact-item {
    display      : flex;
    align-items  : center;
    gap          : var(--space-3);
    font-size    : 0.9rem;
    color        : var(--text-secondary);
}
.footer-contact-item svg { color: var(--accent); flex-shrink: 0; }
.footer-contact-item a   { color: var(--text-secondary); transition: color var(--transition-fast); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom {
    border-top   : 1px solid var(--border);
    padding-top  : var(--space-6);
    display      : flex;
    flex-wrap    : wrap;
    align-items  : center;
    justify-content: space-between;
    gap          : var(--space-3);
}
.footer-copy, .footer-legal { font-size: 0.875rem; color: var(--text-muted); }
.footer-copy a { color: var(--accent); }

/* ── Contact Page ─────────────────────────────────────────── */
.contact-hero { background: var(--hero-bg); }
.contact-hero-inner { text-align: center; }
.page-title { font-size: clamp(2rem, 5vw, 3rem); color: #fff; margin-bottom: var(--space-4); }
.page-subtitle { color: rgba(255,255,255,.75); font-size: 1.125rem; }
.contact-section { background: var(--bg-primary); }
.contact-grid {
    display     : grid;
    grid-template-columns: 1fr 1.5fr;
    gap         : var(--space-12);
    align-items : start;
}
.contact-info { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-info-title { font-size: 1.75rem; }
.contact-info-intro { color: var(--text-secondary); }
.contact-detail {
    display     : flex;
    gap         : var(--space-4);
    align-items : flex-start;
}
.contact-detail-icon {
    width        : 44px; height: 44px;
    background   : var(--accent-light);
    color        : var(--accent);
    border-radius: var(--radius-md);
    display      : flex;
    align-items  : center;
    justify-content: center;
    flex-shrink  : 0;
}
.contact-detail-label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-detail-value { display: block; font-size: 1rem; color: var(--text-primary); font-weight: 500; }
.contact-detail-value a { transition: color var(--transition-fast); }
.contact-detail-value a:hover { color: var(--accent); }
.contact-response-note {
    display     : flex;
    align-items : center;
    gap         : var(--space-2);
    font-size   : 0.875rem;
    color       : var(--text-muted);
    background  : var(--bg-secondary);
    padding     : var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    border      : 1px solid var(--border);
}

/* Contact Form */
.contact-form-wrap { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-10); }
.contact-form-title { font-size: 1.5rem; margin-bottom: var(--space-6); }
.contact-form-feedback {
    padding     : var(--space-4);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-6);
    font-weight : 600;
}
.contact-form-feedback.success { background: rgba(52,211,153,.12); border: 1px solid var(--emerald-500); color: var(--emerald-400); }
.contact-form-feedback.error   { background: rgba(239,68,68,.1); border: 1px solid hsl(0,90%,60%); color: hsl(0,90%,60%); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }
.form-row      { display: flex; gap: var(--space-4); }
.form-row--half > * { flex: 1; }
.form-group    { display: flex; flex-direction: column; gap: var(--space-2); }
.form-label    { font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); }
.required      { color: hsl(0,80%,60%); margin-left: 2px; }
.form-input {
    width         : 100%;
    padding       : var(--space-3) var(--space-4);
    background    : var(--bg-secondary);
    border        : 1.5px solid var(--border);
    border-radius : var(--radius-md);
    color         : var(--text-primary);
    font-size     : 0.9375rem;
    transition    : border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline       : none;
}
.form-input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
.form-textarea    { resize: vertical; min-height: 120px; }
.form-error       { font-size: 0.8125rem; color: hsl(0,80%,60%); display: none; }
.form-input.invalid { border-color: hsl(0,80%,60%); }
.form-input.invalid + .form-error { display: block; }

.contact-submit { width: 100%; justify-content: center; position: relative; }
.btn-spinner { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Page Title ───────────────────────────────────────────── */
.page-title { font-size: clamp(2rem, 5vw, 3.5rem); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .primary-nav {
        position   : fixed;
        top        : var(--header-h); left: 0; right: 0;
        background : var(--bg-card);
        border-bottom: 1px solid var(--border);
        padding    : var(--space-4);
        transform  : translateY(-110%);
        transition : transform var(--transition-mid);
        z-index    : 999;
    }
    .primary-nav.open { transform: translateY(0); }
    .primary-nav ul   { flex-direction: column; gap: var(--space-1); }
    .hamburger { display: flex; }
    .comparator-tabs { flex-wrap: wrap; width: 100%; }
    .hosting-cards   { grid-template-columns: 1fr; }
    .server-grid     { grid-template-columns: 1fr; }
    .form-row--half  { flex-direction: column; }
    .footer-grid     { grid-template-columns: 1fr; gap: var(--space-6); }
    .hero { padding: var(--space-16) 0; min-height: auto; }
    .hero-stats { gap: var(--space-5); }
    .billing-toggle { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
    .domain-table { font-size: 0.8125rem; }
    .domain-table th, .domain-table td { padding: var(--space-3); }
}
