/* SwayamHost — Production Storefront Styles
   Matching mockup: clean cards, blue/purple gradients, Inter typography */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --purple: #7c3aed;
  --purple-dark: #6d28d9;
  --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-hero: linear-gradient(135deg, #1e40af 0%, #4c1d95 50%, #1e3a8a 100%);
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --header-h: 64px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; }

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

/* ---------- Header ---------- */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.logo:hover { color: var(--text); }
.logo-text span { color: var(--primary); }
.logo-icon { flex-shrink: 0; }

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.hero-person {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.main-nav a {
  padding: 0.5rem 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all .15s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: #eff6ff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all .15s;
}
.icon-btn:hover { background: #f1f5f9; color: var(--text); }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--error);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .2s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-sm { padding: 0.45rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1.05rem; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-purple {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
.btn-purple:hover { background: var(--purple-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: #eff6ff; color: var(--primary-dark); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--text); background: #f1f5f9; }
.btn-block { width: 100%; }

/* ---------- Alerts ---------- */
.alert {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  margin: 1rem auto;
  max-width: 1200px;
  width: calc(100% - 2.5rem);
  font-size: 0.95rem;
  font-weight: 500;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ---------- Hero (Home) ---------- */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(139,92,246,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, #60a5fa, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lead {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.75rem;
  max-width: 480px;
}
.domain-search-box {
  display: flex;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.4rem;
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  gap: 0.25rem;
}
.domain-search-box input {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  outline: none;
  min-width: 0;
  color: var(--text);
  border-radius: var(--radius-sm);
}
.domain-search-box select {
  border: none;
  background: #f1f5f9;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
}
.domain-search-box .btn { flex-shrink: 0; }
.tld-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.tld-prices span {
  background: rgba(255,255,255,0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img,
.hero-illustration {
  max-width: 100%;
  border-radius: 16px;
}

/* Feature cards under hero */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.3rem;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.feature-card a {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0 2.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.trust-item svg { color: var(--primary); }

/* ---------- Pricing Cards ---------- */
.section {
  padding: 3.5rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}
.billing-toggle {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 0.25rem;
  margin-top: 1.25rem;
}
.billing-toggle button {
  border: none;
  background: transparent;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all .15s;
}
.billing-toggle button.active {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow);
}
.billing-toggle .save-badge {
  background: #dcfce7;
  color: #166534;
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.35rem;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.popular {
  border-color: var(--purple);
  box-shadow: 0 0 0 2px var(--purple), var(--shadow);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.pricing-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.pricing-card .plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  min-height: 2.6em;
}
.plan-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}
.plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.plan-billing {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.pricing-card .btn { margin-bottom: 1.25rem; }
.plan-features {
  list-style: none;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  color: var(--text);
}
.plan-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Domain page ---------- */
.domain-page-hero {
  padding: 2.5rem 0 1.5rem;
}
.domain-page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.domain-search-large {
  display: flex;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 1.5rem 0;
  gap: 0.35rem;
}
.domain-search-large input {
  flex: 1;
  border: none;
  padding: 0.85rem 1rem;
  outline: none;
  font-size: 1.05rem;
  min-width: 0;
}
.domain-search-large select {
  border: 1px solid var(--border);
  background: #f8fafc;
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.tld-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 2rem;
}
.tld-chip {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 90px;
  cursor: pointer;
  transition: all .15s;
}
.tld-chip:hover, .tld-chip.active {
  border-color: var(--primary);
  background: #eff6ff;
}
.tld-chip .price { color: var(--primary); font-size: 0.95rem; }

.sidebar-nav {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: #eff6ff;
  color: var(--primary);
}

/* ---------- VPS Configurator ---------- */
.vps-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.75rem;
  align-items: start;
}
.vps-steps {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.vps-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.vps-step .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.vps-step.active .num { background: var(--primary); color: #fff; }
.vps-step.active { color: var(--text); }

.config-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.config-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}
.location-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
  font-weight: 500;
  font-size: 0.9rem;
}
.location-option:hover { border-color: #93c5fd; }
.location-option.selected {
  border-color: var(--primary);
  background: #eff6ff;
}
.location-option .flag { font-size: 1.5rem; display: block; margin-bottom: 0.25rem; }

.plan-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.plan-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
}
.plan-option:hover { border-color: #93c5fd; }
.plan-option.selected {
  border-color: var(--primary);
  background: #eff6ff;
}
.plan-option .cpu { font-weight: 700; font-size: 1.05rem; }
.plan-option .price { color: var(--primary); font-weight: 600; margin-top: 0.25rem; }

.slider-group {
  margin-bottom: 1.25rem;
}
.slider-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.slider-group input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.summary-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.summary-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}
.summary-row .label { color: var(--text-muted); }
.summary-price {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 1rem 0;
  color: var(--text);
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 440px;
  margin: 2rem auto;
  box-shadow: var(--shadow);
}
.form-card h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  text-align: center;
}
.form-card .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.form-group {
  margin-bottom: 1.15rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .15s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-group .hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.form-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Dashboard (customer + admin) ---------- */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--header-h));
}
.dash-sidebar {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.25rem 0.75rem;
}
.dash-sidebar .logo {
  color: #fff;
  padding: 0.5rem 0.75rem 1.25rem;
  font-size: 1.1rem;
}
.dash-sidebar .logo span { color: #60a5fa; }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}
.dash-nav a:hover, .dash-nav a.active {
  background: rgba(59,130,246,0.15);
  color: #fff;
}
.dash-main {
  padding: 1.75rem;
  background: var(--bg);
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.dash-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
}
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: #eff6ff;
  color: var(--primary);
}
.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 800;
}
.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.table-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-card .table-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-card h3 { font-size: 1.05rem; font-weight: 700; }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.data-table th {
  text-align: left;
  padding: 0.75rem 1.25rem;
  background: #f8fafc;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border);
}
table.data-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:hover td { background: #f8fafc; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-error { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-muted { background: #f1f5f9; color: #64748b; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3.5rem 0 0;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand .logo { color: #fff; margin-bottom: 0.75rem; }
.footer-brand .logo span { color: #60a5fa; }
.footer-tagline {
  font-size: 0.85rem;
  color: #60a5fa;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.footer-desc { font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a {
  color: #94a3b8;
  font-size: 0.9rem;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.8rem;
}
.social-link:hover { background: var(--primary); color: #fff; }

/* ---------- Misc ---------- */
.page-hero {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.page-hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
}
.page-hero p { color: var(--text-muted); margin-top: 0.35rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.two-col {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.75rem;
  align-items: start;
}
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}
.empty-state h3 { color: var(--text); margin-bottom: 0.5rem; }

/* Setup notice */
.setup-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 640px;
  text-align: center;
}
.setup-notice h2 { font-size: 1.25rem; margin-bottom: 0.5rem; color: #92400e; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vps-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .domain-search-box { margin: 0 auto; }
  .tld-prices { justify-content: center; }
  .hero-image { display: none; }
  .feature-row { grid-template-columns: 1fr; margin-top: 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .trust-row { gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .btn-outline { display: none; }
}

@media (max-width: 480px) {
  .domain-search-box { flex-direction: column; }
  .domain-search-large { flex-direction: column; }
}


/* Brand-approved photography and real logo artwork */
.dashboard-brand { display:flex; justify-content:center; width:100%; padding:0.25rem 0; }
.dashboard-logo { display:block; width:min(100%, 190px); height:auto; object-fit:contain; }
.footer-logo-img { background:#fff; border-radius:8px; padding:4px 8px; height:38px; width:auto; }
.hero-carousel { position:relative; width:100%; overflow:hidden; border-radius:18px; box-shadow:0 22px 48px rgba(4,12,34,.28); }
.hero-slide { display:none; position:relative; margin:0; aspect-ratio:1.42/1; }
.hero-slide.is-active { display:block; }
.hero-slide img { width:100%; height:100%; object-fit:cover; }
.hero-slide::after { content:''; position:absolute; inset:45% 0 0; background:linear-gradient(transparent,rgba(8,15,38,.78)); }
.hero-slide figcaption { position:absolute; z-index:1; left:1.2rem; right:1.2rem; bottom:1.25rem; color:#fff; font-weight:700; font-size:1rem; }
.hero-carousel-controls { position:absolute; z-index:2; right:1.2rem; top:1.1rem; display:flex; gap:.4rem; }
.hero-carousel-dot { border:1px solid rgba(255,255,255,.9); background:rgba(15,23,42,.45); width:10px; height:10px; border-radius:50%; cursor:pointer; padding:0; }
.hero-carousel-dot.is-active { background:#fff; transform:scale(1.15); }
.feature-photo { width:calc(100% + 3rem); max-width:none; height:130px; object-fit:cover; border-radius:var(--radius) var(--radius) 0 0; margin:-1.5rem -1.5rem 1.1rem; }
.feature-card { overflow:hidden; }
.service-hero-layout { display:grid; grid-template-columns:1fr minmax(260px, 40%); gap:2rem; align-items:center; }
.service-hero-photo { width:100%; height:210px; object-fit:cover; border-radius:16px; box-shadow:var(--shadow-lg); }
.plan-photo { width:calc(100% + 3rem); max-width:none; height:150px; object-fit:cover; border-radius:var(--radius) var(--radius) 0 0; margin:-1.75rem -1.5rem 1.1rem; }
@media (max-width:760px) {
  .service-hero-layout { grid-template-columns:1fr; gap:1.2rem; }
  .service-hero-photo { height:180px; }
  .hero-slide { aspect-ratio:1.12/1; }
  .feature-photo { height:115px; }
  .dashboard-logo { width:160px; }
}
