/* ==========================================================================
   AKNEZ Bilişim Çözümleri — Corporate Light Theme (White + Navy + Cyan)
   ========================================================================== */
:root {
  --navy-950: #071326;
  --navy-900: #0b1f3a;
  --navy-800: #122c4f;
  --navy-700: #1b3f6e;
  --cyan-500: #00a8e8;
  --cyan-600: #0284c7;
  --cyan-400: #22d3ee;
  --cyan-soft: #e0f5fe;
  --emerald: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;

  --bg-page: #f5f8fc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text-dark: #0f172a;
  --text-body: #3f4e63;
  --text-muted: #526277;

  --radius-lg: 12px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.03);
  --shadow-md: 0 6px 16px -10px rgba(11, 31, 58, 0.075);
  --shadow-lg: 0 12px 28px -16px rgba(11, 31, 58, 0.11);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--cyan-600); text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s; }
a:hover { color: var(--navy-900); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.main-wrap { flex: 1; }
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 2000;
  padding: 10px 16px; border-radius: 8px; background: var(--navy-900); color: #fff; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }
.serp-preview {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 14px;
}
.serp-url { font-size: 0.78rem; color: #15803d; }
.serp-title { font-size: 1.06rem; color: #1d4ed8; font-weight: 700; margin: 2px 0; }
.serp-desc { font-size: 0.84rem; color: #475569; line-height: 1.45; }

/* Utilities */
.text-navy { color: var(--navy-900); }
.text-cyan { color: var(--cyan-600); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.flex-gap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.92rem; cursor: pointer; border: 1px solid transparent;
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--cyan-600);
  color: #fff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.16);
}
.btn-primary:hover {
  background: var(--cyan-500);
  box-shadow: 0 4px 10px rgba(0, 168, 232, 0.22);
  transform: translateY(-1px);
  color: #fff;
}
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; transform: translateY(-1px); }
.btn-outline { background: #fff; border-color: var(--border-strong); color: var(--navy-900); }
.btn-outline:hover { border-color: var(--cyan-500); color: var(--cyan-600); background: #f8fcff; }
.btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.16); color: #fff; }
.btn-danger { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.btn-danger:hover { background: #ef4444; color: #fff; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; }
.badge-cyan { background: var(--cyan-soft); color: var(--cyan-600); }
.badge-navy { background: #e8eef7; color: var(--navy-900); }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-warning { background: #fef3c7; color: #b45309; }
.badge-info { background: #e0f2fe; color: #0369a1; }
.badge-danger { background: #fee2e2; color: #b91c1c; }
.badge-muted { background: #f1f5f9; color: #475569; }

/* Topbar & Corporate Navy Header */
.topbar {
  background: var(--navy-950); color: #cbd5e1; font-size: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative; z-index: 501;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; flex-wrap: wrap; padding: 6px 0; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: var(--cyan-400); }
.topbar-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.site-header {
  position: sticky; top: 0; z-index: 500;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 16px -10px rgba(7, 19, 38, 0.3);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand-link { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 53px; width: auto; object-fit: contain; margin: -6px 0; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav > a, .nav-dropdown > button {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 8px; color: #e2e8f0;
  font-size: 0.9rem; font-weight: 600; background: transparent; border: 0; cursor: pointer;
}
.main-nav > a:hover, .main-nav > a.active, .nav-dropdown > button:hover { color: #fff; background: rgba(255,255,255,0.08); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 600;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown.open .dropdown-menu { display: grid; gap: 4px; }
.dropdown-menu a {
  display: flex; flex-direction: column; padding: 10px 12px; border-radius: 8px; color: var(--navy-900);
}
.dropdown-menu a strong { font-size: 0.88rem; }
.dropdown-menu a span { font-size: 0.76rem; color: var(--text-muted); }
.dropdown-menu a:hover { background: var(--bg-page); color: var(--cyan-600); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 9px; background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14); color: #fff; font-weight: 600; font-size: 0.86rem;
}
.cart-btn:hover { background: rgba(0, 168, 232, 0.22); border-color: var(--cyan-400); color: #fff; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--cyan-500); color: #fff; font-size: 0.74rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-toggle {
  display: none; width: 42px; height: 42px; border-radius: 9px;
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-size: 1.3rem; cursor: pointer; align-items: center; justify-content: center;
}

/* Full-Width Premium Corporate Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
  margin-top: -1px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b1f3a 0%, #091a32 58%, #0d2546 100%);
  color: #fff;
}
.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 360px at 76% 46%, rgba(0, 168, 232, 0.13), transparent 72%),
    radial-gradient(420px 260px at 14% 20%, rgba(56, 189, 248, 0.06), transparent 72%);
  pointer-events: none;
}
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.024) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.04) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.04) 100%);
  pointer-events: none;
}
.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .55s ease, visibility .55s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hero-slide-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 0;
}
.hero-slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 168, 232, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-slide-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-400);
}
.hero-slide-title {
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  max-width: 630px;
  margin-bottom: 14px;
}
.hero-slide-desc {
  font-size: 0.96rem;
  color: #d6e0ec;
  max-width: 550px;
  line-height: 1.62;
  margin-bottom: 24px;
}
.hero-slide-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}
.hero-3d-svg {
  width: 100%;
  max-width: 538px;
  max-height: 382px;
  height: auto;
  display: block;
  margin: auto 0;
}

/* Minimal Slider Controls (Dots & Arrows) */
.hero-slider-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 44px;
  z-index: 5;
  pointer-events: none;
}
.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}
.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.55); }
.hero-dot.is-active { width: 26px; background: var(--cyan-400); }
.hero-arrows {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}
.hero-arrow {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.hero-arrow:hover {
  background: rgba(0, 168, 232, 0.2);
  border-color: rgba(56, 189, 248, 0.45);
  color: #fff;
}

/* Domain Search Card Overlapping Hero Bottom by 30px */
.domain-bar-section { margin-top: -30px; padding: 0 0 10px; position: relative; z-index: 20; }
.domain-search-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px 22px; box-shadow: 0 6px 18px -12px rgba(7, 19, 38, 0.10);
}
.domain-search-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.domain-search-head h2 { font-size: 1.02rem; font-weight: 700; color: var(--navy-900); }
.domain-form { display: flex; gap: 10px; margin-top: 10px; }
.domain-form input {
  flex: 1; min-height: 44px; padding: 0 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong); font-size: 0.92rem; color: var(--navy-900);
}
.domain-form input:focus { outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.12); }
.tld-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tld-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px;
  border-radius: 999px; background: var(--bg-page); border: 1px solid var(--border);
  font-size: 0.78rem; font-weight: 700; color: var(--navy-900);
}
.tld-pill:hover { border-color: var(--cyan-500); background: #f0faff; }
.tld-pill span { color: var(--cyan-600); font-weight: 700; }

.domain-results { margin-top: 14px; display: grid; gap: 8px; }
.domain-res-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fbfdff;
}
.domain-res-row.is-available { border-color: #86efac; background: #f0fdf4; }
.domain-res-row.is-taken { border-color: #fecaca; background: #fef2f2; opacity: 0.88; }
.domain-res-name { font-size: 0.96rem; font-weight: 800; color: var(--navy-900); }

/* Compact Horizontal Service Tiles (6 items 3x2) */
.svc-compact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc-tile {
  display: flex; align-items: center; gap: 13px; padding: 15px 16px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); color: var(--navy-900);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.svc-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #7dd3fc; color: var(--navy-900); }
.svc-tile-icon {
  width: 46px; height: 46px; border-radius: 9px; background: var(--cyan-soft); color: var(--cyan-600);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.svc-tile-icon svg { width: 23px; height: 23px; }
.svc-tile-body { min-width: 0; flex: 1; }
.svc-tile-body strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--navy-900); line-height: 1.25; }
.svc-tile-body span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  font-size: 0.83rem;
  line-height: 1.46;
  color: var(--text-body);
  margin-top: 3px;
}
.svc-tile-arrow { color: #94a3b8; font-weight: 700; font-size: 0.95rem; flex-shrink: 0; }
.svc-tile:hover .svc-tile-arrow { color: var(--cyan-600); transform: translateX(2px); }

/* Flat Background-Integrated Trust Metrics Strip with Hairline Dividers */
.metrics-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  background: transparent; border: 0; border-radius: 0;
  padding: 10px 0; box-shadow: none; text-align: center;
}
.metric-item { padding: 6px 18px; }
.metric-item + .metric-item { border-left: 1px solid var(--border-strong); }
.metric-item strong { display: block; font-size: 1.42rem; font-weight: 800; color: var(--navy-900); line-height: 1.2; }
.metric-item span { font-size: 0.84rem; color: var(--text-body); margin-top: 2px; display: inline-block; }

/* Horizontal Scrollable Customer Testimonials Carousel */
.tm-controls { display: inline-flex; align-items: center; gap: 6px; }
.tm-nav-btn {
  width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: #fff; color: var(--navy-900); font-size: 1.25rem; line-height: 1; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .16s ease;
}
.tm-nav-btn:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.testimonials-strip {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 8px;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab;
}
.testimonials-strip:active { cursor: grabbing; }
.testimonials-strip::-webkit-scrollbar { display: none; }
.testimonial-pill {
  flex: 0 0 calc((100% - 28px) / 3); min-width: 295px; scroll-snap-align: start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  justify-content: space-between; gap: 12px; transition: border-color .18s, box-shadow .18s;
}
.testimonial-pill:hover { border-color: #bae6fd; box-shadow: var(--shadow-md); }
.testimonial-pill p { font-size: 0.87rem; line-height: 1.6; color: var(--text-body); }
.testimonial-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid #f1f5f9; font-size: 0.8rem; }

/* Slim Horizontal CTA Strip */
.cta-strip {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #fff; border-radius: var(--radius-md); padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.cta-strip h2 { color: #fff; font-size: 1.22rem; font-weight: 800; margin: 0; }
.cta-strip p { color: #cbd5e1; font-size: 0.86rem; margin: 4px 0 0; }

/* Sections & Grids (Compact 44px rhythm) */
.section { padding: 44px 0; }
.section-white { background: #fff; border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 24px; }
.section-head h2 { font-size: clamp(1.45rem, 2.2vw, 1.72rem); font-weight: 800; color: var(--navy-900); letter-spacing: -0.02em; margin-top: 6px; }
.section-head p { color: var(--text-body); margin-top: 6px; font-size: 0.89rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* Service & Feature Cards (16-20px padding) */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px 20px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #bae6fd; }
.card-static:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--border); }

.svc-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--cyan-soft); color: var(--cyan-600);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.15rem; margin-bottom: 12px;
}
.card h3 { font-size: 1.04rem; color: var(--navy-900); margin-bottom: 6px; font-weight: 700; }
.card p { font-size: 0.875rem; color: var(--text-body); }

/* Pricing Cards & Period Switcher */
.period-switch {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px;
  border-radius: 999px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.period-btn {
  padding: 6px 14px; border-radius: 999px; border: 0; background: transparent;
  color: var(--text-body); font-weight: 700; font-size: 0.82rem; cursor: pointer;
}
.period-btn.active { background: var(--navy-900); color: #fff; }

.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 20px; display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.price-card.featured { border: 1.5px solid var(--cyan-500); box-shadow: 0 4px 14px -10px rgba(0, 168, 232, 0.16); }
.price-card.featured:hover { border-color: var(--cyan-600); }
.price-ribbon {
  position: absolute; top: -11px; right: 16px; padding: 3px 10px; border-radius: 999px;
  background: var(--cyan-600); color: #fff; font-size: 0.7rem; font-weight: 700;
}
.price-val { margin: 12px 0; padding: 10px 0; border-block: 1px solid var(--border); }
.price-val strong { font-size: 1.6rem; font-weight: 800; color: var(--navy-900); letter-spacing: -0.02em; }
.price-val small { color: var(--text-muted); font-size: 0.8rem; margin-left: 4px; }
.feat-list { list-style: none; display: grid; gap: 7px; margin-bottom: 18px; flex: 1; }
.feat-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.84rem; color: var(--text-dark); }
.feat-list li::before { content: "✓"; color: var(--emerald); font-weight: 800; flex-shrink: 0; }

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 58%, var(--navy-800) 100%);
  color: #fff; padding: 48px 0; border-bottom: 3px solid var(--cyan-500);
  margin-top: -1px;
}
.page-banner h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; color: #fff; margin-top: 6px; }
.page-banner p { color: #cbd5e1; max-width: 680px; margin-top: 10px; font-size: 1rem; }
.breadcrumb { font-size: 0.82rem; color: #94a3b8; }
.breadcrumb a { color: var(--cyan-400); }

/* Forms & Tables */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.86rem; color: var(--navy-900); margin-bottom: 6px; }
.form-control {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: #fff; color: var(--text-dark); font-size: 0.92rem;
}
.form-control:focus { outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.14); }
textarea.form-control { min-height: 110px; resize: vertical; }

.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.88rem; }
.data-table th { text-align: left; padding: 12px 14px; background: #f8fafc; color: var(--navy-900); font-weight: 700; border-bottom: 2px solid var(--border); white-space: nowrap; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text-dark); vertical-align: middle; }
.data-table tr:hover td { background: #fafcff; }

/* FAQ Accordion */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-list.faq-list-full { max-width: none; margin: 0; }

/* Blog 2-Column Sidebar Layout & Editorial Prose */
.blog-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 295px; gap: 26px; align-items: start;
}
.blog-main { min-width: 0; }
.blog-cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.blog-sidebar {
  display: flex; flex-direction: column; gap: 16px; position: sticky; top: 94px;
}
.blog-side-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.blog-side-head {
  padding: 12px 16px; font-size: 0.88rem; font-weight: 800; color: var(--navy-900);
  background: #f8fafc; border-bottom: 1px solid var(--border); letter-spacing: -0.01em;
}
.blog-side-body { padding: 14px 16px; }
.blog-side-search { display: flex; gap: 6px; }
.blog-side-search .form-control { min-height: 38px; padding: 6px 11px; font-size: 0.85rem; }

.blog-cat-list { display: flex; flex-direction: column; }
.blog-cat-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 16px; font-size: 0.86rem; font-weight: 600; color: var(--text-dark);
  border-bottom: 1px solid #f1f5f9; text-decoration: none; transition: background .15s, color .15s;
}
.blog-cat-item:last-child { border-bottom: 0; }
.blog-cat-item:hover { background: #f0f9ff; color: var(--cyan-600); }
.blog-cat-item.is-active { background: var(--navy-900); color: #fff; }
.blog-cat-cnt {
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px;
  padding: 0 7px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  background: #eef2f7; color: var(--navy-900);
}
.blog-cat-item.is-active .blog-cat-cnt { background: rgba(255,255,255,.18); color: #fff; }

.blog-recent-list { display: flex; flex-direction: column; }
.blog-recent-item {
  display: block; padding: 10px 16px; border-bottom: 1px solid #f1f5f9; text-decoration: none;
  transition: background .15s;
}
.blog-recent-item:last-child { border-bottom: 0; }
.blog-recent-item:hover { background: #f8fafc; }
.blog-recent-item strong { display: block; font-size: 0.84rem; color: var(--navy-900); line-height: 1.35; }
.blog-recent-item:hover strong { color: var(--cyan-600); }
.blog-recent-item small { display: block; font-size: 0.74rem; color: var(--text-muted); margin-top: 3px; }

.blog-prose { font-size: 1rem; line-height: 1.82; color: var(--text-dark); }
.blog-prose h2 { font-size: 1.24rem; font-weight: 800; color: var(--navy-900); margin: 24px 0 10px; letter-spacing: -0.015em; }
.blog-prose h3 { font-size: 1.06rem; font-weight: 700; color: var(--navy-900); margin: 18px 0 8px; }
.blog-prose p { margin: 0 0 14px; color: var(--text-dark); }
.blog-prose ul { margin: 0 0 16px 20px; display: grid; gap: 6px; }
.blog-prose li { color: var(--text-dark); }
.blog-cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 20px; border-radius: var(--radius-md); background: #f0f9ff; border: 1px solid #bae6fd;
}
.blog-pagination {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px;
}
.blog-page-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
  padding: 0 12px; border-radius: 9px; font-size: .85rem; font-weight: 700;
  background: #fff; color: var(--navy-900); border: 1px solid var(--border); text-decoration: none;
  transition: all .16s ease;
}
.blog-page-btn:hover { border-color: var(--cyan-500); color: var(--cyan-600); background: #f0f9ff; }
.blog-page-btn.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
@media (max-width: 640px) {
  .blog-cards-grid { grid-template-columns: 1fr; }
}
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary { padding: 18px 20px; font-weight: 700; color: var(--navy-900); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--cyan-600); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--text-body); font-size: 0.93rem; border-top: 1px solid #f1f5f9; padding-top: 14px; }

/* Dashboard / Portal Layout */
.dash-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; padding: 34px 0 60px; align-items: start; }
.dash-sidebar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; position: sticky; top: 94px; box-shadow: var(--shadow-sm); }
.dash-nav { display: grid; gap: 5px; margin-top: 14px; }
.dash-nav a {
  display: flex; align-items: center; justify-content: space-between; padding: 10px 13px;
  border-radius: 8px; color: var(--text-dark); font-weight: 600; font-size: 0.88rem;
}
.dash-nav a:hover { background: var(--bg-page); color: var(--cyan-600); }
.dash-nav a.active { background: var(--navy-900); color: #fff; }
.dash-content { min-width: 0; display: grid; gap: 20px; }

/* Cart & Checkout */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.payment-option {
  display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; border-radius: 10px;
  border: 1px solid var(--border-strong); cursor: pointer; margin-bottom: 10px; background: #fff;
}
.payment-option:has(input:checked) { border-color: var(--cyan-500); background: #f0faff; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 900; background: rgba(7, 19, 38, 0.62);
  display: none; align-items: center; justify-content: center; padding: 18px; backdrop-filter: blur(4px);
}
.modal-backdrop.open { display: flex; }
.modal-box {
  width: min(620px, 100%); max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg);
}

/* Live Chat Widget */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 800; }
.chat-fab {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px;
  background: var(--navy-900); color: #fff; border: 2px solid var(--cyan-500);
  font-weight: 700; font-size: 0.88rem; cursor: pointer; box-shadow: 0 14px 34px rgba(11, 31, 58, 0.35);
}
.chat-fab .led { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); }
.chat-panel {
  position: absolute; right: 0; bottom: 62px; width: 350px; max-width: calc(100vw - 32px);
  background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg);
  overflow: hidden; display: none; flex-direction: column;
}
.chat-panel.open { display: flex; }
.chat-head { background: var(--navy-900); color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.chat-head small { display: block; color: var(--cyan-400); font-size: 0.74rem; }
.chat-body { padding: 14px; max-height: 310px; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; background: #f8fafc; }
.chat-msg { max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: 0.84rem; line-height: 1.45; }
.chat-msg.staff { align-self: flex-start; background: #fff; border: 1px solid var(--border); color: var(--text-dark); }
.chat-msg.visitor { align-self: flex-end; background: var(--navy-900); color: #fff; }
.chat-foot { padding: 10px; background: #fff; border-top: 1px solid var(--border); display: flex; gap: 8px; }

/* Toast Notification */
#toast-container { position: fixed; top: 86px; right: 20px; z-index: 1200; display: grid; gap: 10px; max-width: 360px; }
.toast {
  padding: 13px 16px; border-radius: 10px; background: var(--navy-900); color: #fff;
  border-left: 4px solid var(--cyan-500); box-shadow: var(--shadow-lg); font-size: 0.88rem; font-weight: 600;
}
.toast.error { border-left-color: var(--red); background: #7f1d1d; }
.toast.success { border-left-color: var(--emerald); }

/* Admin Toggle Switches & Module Cards */
.module-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); transition: border-color .2s, box-shadow .2s;
}
.module-card.is-on { border-color: #bae6fd; box-shadow: var(--shadow-sm); }
.module-card.is-off { opacity: 0.72; background: #f8fafc; }
.switch { position: relative; display: inline-block; width: 50px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute; cursor: pointer; inset: 0; background: #cbd5e1;
  border-radius: 999px; transition: background .22s;
}
.switch-slider::before {
  content: ""; position: absolute; height: 22px; width: 22px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%; transition: transform .22s; box-shadow: 0 2px 5px rgba(0,0,0,.2);
}
.switch input:checked + .switch-slider { background: var(--emerald); }
.switch input:checked + .switch-slider::before { transform: translateX(22px); }
.switch.switch-danger input:checked + .switch-slider { background: var(--amber); }

.settings-tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 20px; }
.settings-tab-btn {
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: #fff; color: var(--text-dark); font-weight: 600; font-size: 0.85rem; cursor: pointer;
}
.settings-tab-btn.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.settings-pane { display: none; }
.settings-pane.active { display: block; }

/* Modern Unified Auth & Registration Design */
.auth-section {
  padding: 40px 0 60px;
  background: radial-gradient(720px 320px at 50% 0%, rgba(0, 168, 232, 0.06), transparent 72%);
}
.auth-top-head {
  text-align: center;
  margin-bottom: 18px;
}
.auth-page-title {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.025em;
}
.auth-page-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.auth-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  background: #e9eff7;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  margin-bottom: 16px;
}
.auth-switch-tab {
  text-align: center;
  padding: 9px 14px;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-body);
  transition: background .18s, color .18s, box-shadow .18s;
}
.auth-switch-tab:hover { color: var(--navy-900); }
.auth-switch-tab.is-active {
  background: #ffffff;
  color: var(--navy-900);
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.08);
}
.reg-warning-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 3px solid #f59e0b;
  color: #854d0e;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 0.84rem;
  line-height: 1.5;
  margin-bottom: 16px;
}
.banner-ico {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.reg-shell {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 30px;
  box-shadow: 0 8px 28px -18px rgba(11, 31, 58, 0.14);
}
.reg-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin: 22px 0 16px;
  border-bottom: 1px solid #eef2f7;
}
.reg-section-title:first-child { margin-top: 0; }
.reg-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--cyan-soft);
  color: var(--cyan-600);
  font-size: 0.72rem;
  font-weight: 800;
}
.reg-step-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.reg-shell .form-control {
  background: #f8fafc;
  border-color: #dbe4f0;
  border-radius: 9px;
  transition: background .18s, border-color .18s, box-shadow .18s;
}
.reg-shell .form-control:focus {
  background: #ffffff;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.12);
}
.input-icon-wrap { position: relative; }
.input-icon-wrap .input-ico {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  color: #64748b;
  pointer-events: none;
  transition: color .18s;
}
.input-icon-wrap:focus-within .input-ico { color: var(--cyan-600); }
.input-icon-wrap .form-control { padding-left: 38px; }
.input-pass-wrap .form-control { padding-right: 76px; }
.input-pass-toggle {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: 1px solid #dbe4f0;
  color: var(--text-body);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .18s, color .18s;
}
.input-pass-toggle:hover { border-color: var(--cyan-500); color: var(--cyan-600); }
.phone-group { display: flex; gap: 0; }
.phone-code-select {
  width: 98px;
  flex-shrink: 0;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-right: 0 !important;
  padding: 8px 8px;
  font-size: 0.84rem;
  font-weight: 600;
}
.phone-group input {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}
.reg-hint { display: block; font-size: 0.76rem; color: var(--text-muted); margin-top: 4px; }
.reg-check-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--text-body);
  cursor: pointer;
  line-height: 1.48;
}
.reg-check-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--cyan-600);
  flex-shrink: 0;
}
.pw-strength-track {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.pw-strength-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--red);
  transition: width .22s ease, background .22s ease;
}
.pw-strength-text {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 600;
}
.reg-option-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 15px 16px;
  margin-bottom: 14px;
}
.yn-toggle { display: inline-block; cursor: pointer; flex-shrink: 0; }
.yn-toggle input { display: none; }
.yn-toggle-ui {
  display: inline-flex;
  padding: 3px;
  background: #e9eff7;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 2px;
}
.yn-toggle-ui span { padding: 5px 13px; border-radius: 6px; transition: background .18s, color .18s, box-shadow .18s; }
.yn-toggle input:checked + .yn-toggle-ui .yn-yes { background: var(--emerald); color: #fff; box-shadow: 0 1px 4px rgba(16, 185, 129, 0.28); }
.yn-toggle input:checked + .yn-toggle-ui .yn-no { background: transparent; color: #64748b; }
.yn-toggle input:not(:checked) + .yn-toggle-ui .yn-yes { background: transparent; color: #64748b; }
.yn-toggle input:not(:checked) + .yn-toggle-ui .yn-no { background: #ffffff; color: var(--navy-900); box-shadow: 0 1px 3px rgba(11, 31, 58, 0.08); }
.reg-terms-box {
  background: #fff;
  border: 1px solid #f1d4d8;
  border-left: 3px solid #e11d48;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}
.reg-terms-head {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff1f2;
  color: #9f1239;
  padding: 9px 14px;
  font-size: 0.84rem;
  font-weight: 700;
}
.reg-terms-body { padding: 13px 14px; }
.auth-sec-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.77rem;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .reg-shell { padding: 20px 16px; }
}

/* WHMCS-Inspired Modern AKNEZ Client Panel */
.client-layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0 56px;
  align-items: start;
}
.client-sidebar {
  display: grid;
  gap: 16px;
}
.client-side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.client-side-head {
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  padding: 11px 15px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-900);
}
.client-side-head span { display: inline-flex; align-items: center; gap: 8px; }
.client-side-body { padding: 14px 15px; }
.client-side-list { display: grid; }
.client-side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid #f1f5f9;
}
.client-side-list a:last-child { border-bottom: 0; }
.client-side-list a:hover { background: #f8fbff; color: var(--cyan-600); }
.client-side-list a.active { background: #eef6ff; color: var(--navy-900); border-left: 3px solid var(--cyan-600); padding-left: 12px; }
.client-count {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.client-main { min-width: 0; display: grid; gap: 18px; }
.client-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.client-greeting h1 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.025em;
}

.client-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.client-kpi {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--cyan-500);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.client-kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.client-kpi strong { display: block; font-size: 1.85rem; font-weight: 800; color: var(--navy-900); line-height: 1.1; }
.client-kpi span { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: .04em; color: var(--text-muted); margin-top: 5px; }
.client-kpi .kpi-watermark { color: #cbd5e1; opacity: 0.7; flex-shrink: 0; }
.client-kpi.kpi-cyan { border-bottom-color: var(--cyan-500); }
.client-kpi.kpi-emerald { border-bottom-color: var(--emerald); }
.client-kpi.kpi-rose { border-bottom-color: var(--red); }
.client-kpi.kpi-amber { border-bottom-color: var(--amber); }

.client-kb-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-900);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: #cbd5e1;
}
.client-kb-ico { display: inline-flex; color: #94a3b8; }
.client-kb-bar input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 0.88rem;
  min-height: 32px;
  outline: none;
}
.client-kb-bar input::placeholder { color: #94a3b8; }
.client-kb-link { color: var(--cyan-400); font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.client-kb-results {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: grid;
  gap: 8px;
}

.client-notice {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.5;
}
.client-notice.notice-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.client-notice.notice-warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

.client-widgets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.client-widget-col { display: grid; gap: 18px; }
.client-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.client-widget.accent-cyan { border-top-color: var(--cyan-500); }
.client-widget.accent-emerald { border-top-color: var(--emerald); }
.client-widget.accent-rose { border-top-color: var(--red); }
.client-widget.accent-navy { border-top-color: var(--navy-900); }
.client-widget.accent-slate { border-top-color: #64748b; }
.client-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.9rem;
  color: var(--navy-900);
}
.client-widget-body { padding: 16px; }
.client-widget-list { max-height: 270px; overflow-y: auto; }
.client-widget-empty { padding: 18px 16px; font-size: 0.85rem; color: var(--text-muted); }
.client-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid #f1f5f9;
  width: 100%;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}
.client-list-row:last-child { border-bottom: 0; }
.client-ticket-btn { cursor: pointer; transition: background .15s; }
.client-ticket-btn:hover { background: #f8fbff; }

.client-news-list { display: grid; }
.client-news-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--navy-900);
  font-size: 0.84rem;
}
.client-news-row:last-child { border-bottom: 0; }
.client-news-row small { color: var(--text-muted); font-size: 0.74rem; }
.client-news-row:hover { background: #f8fbff; }
.client-news-row.is-highlight { background: var(--navy-900); color: #fff; }
.client-news-row.is-highlight small { color: #94a3b8; }
.client-news-row.is-highlight:hover { background: var(--navy-800); color: #fff; }

.client-domain-inline { display: flex; gap: 8px; }
.client-domain-inline input { flex: 1; min-height: 40px; }

@media (max-width: 1024px) {
  .client-layout { grid-template-columns: 1fr; padding: 20px 0 44px; }
  .client-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-widgets-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .client-domain-inline { flex-wrap: wrap; }
  .client-domain-inline input { min-width: 100%; }
  .client-domain-inline .btn { flex: 1; }
}

/* WHMCS-Grade Admin Panel Enhancements */
.adm-search-wrap { position: relative; flex: 1; max-width: 380px; min-width: 220px; }
.adm-search-input {
  width: 100%; min-height: 38px; padding: 6px 14px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.08);
  color: #fff; font-size: 0.86rem; outline: none;
}
.adm-search-input::placeholder { color: #94a3b8; }
.adm-search-input:focus { background: rgba(255, 255, 255, 0.14); border-color: var(--cyan-400); }
.adm-search-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 950;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow-lg); overflow: hidden; max-height: 340px; overflow-y: auto;
}
.adm-search-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9; color: var(--navy-900); font-size: 0.84rem;
}
.adm-search-item:hover { background: #f8fbff; }
.adm-search-item strong { display: block; line-height: 1.25; }
.adm-search-item small { display: block; color: var(--text-muted); font-size: 0.75rem; }

.adm-nav-group {
  font-size: 0.68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #94a3b8; padding: 10px 12px 4px;
}
.adm-income-strip {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.adm-inc-box { padding: 14px 16px; text-align: center; }
.adm-inc-box + .adm-inc-box { border-left: 1px solid #eef2f7; }
.adm-inc-box span { display: block; font-size: 0.74rem; color: var(--text-muted); font-weight: 600; }
.adm-inc-box strong { display: block; font-size: 1.18rem; font-weight: 800; margin-top: 4px; }

.adm-kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.adm-kpi-grid .client-kpi { padding: 13px 14px; }
.adm-kpi-grid .client-kpi strong { font-size: 1.55rem; }

.adm-chart-bars {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  align-items: end; height: 170px; padding-top: 12px;
}
.adm-bar-col { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 6px; }
.adm-bar-val { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); }
.adm-bar-track { width: 100%; max-width: 34px; flex: 1; background: #f1f5f9; border-radius: 6px; display: flex; align-items: flex-end; overflow: hidden; }
.adm-bar-fill { width: 100%; background: var(--cyan-600); border-radius: 6px 6px 0 0; }
.adm-bar-lbl { font-size: 0.74rem; font-weight: 700; color: var(--navy-900); }

.adm-health-list { display: grid; gap: 10px; }
.adm-health-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 8px;
  font-size: 0.84rem;
}

@media (max-width: 1120px) {
  .adm-income-strip { grid-template-columns: repeat(3, 1fr); }
  .adm-kpi-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .adm-search-wrap { max-width: none; width: 100%; }
  .adm-income-strip { grid-template-columns: repeat(2, 1fr); }
  .adm-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .adm-nav-group { display: none; }
}

/* Footer (15% tighter vertical padding) */
.site-footer { background: var(--navy-950); color: #cbd5e1; margin-top: auto; border-top: 3px solid var(--cyan-500); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; padding: 46px 0 32px; }
.footer-col h4 { color: #fff; font-size: 0.96rem; margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 7px; font-size: 0.88rem; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: var(--cyan-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 15px 0; font-size: 0.82rem; color: #94a3b8; }

.mobile-nav-extra { display: none; }

/* Responsive (Tablet, Mobile & Small Viewports) */
@media (max-width: 1024px) {
  .hero-slide-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-3d-svg { max-width: 390px; }
  .cart-grid, .dash-layout { grid-template-columns: 1fr; }
  .svc-compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .grid-4, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-toggle { display: inline-flex; }

  /* Full-height scrollable mobile drawer */
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-900); padding: 14px 18px 20px; flex-direction: column; align-items: stretch;
    border-top: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 74px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-dropdown > button { padding: 12px 14px; font-size: 0.96rem; justify-content: space-between; width: 100%; }
  .dropdown-menu { position: static; box-shadow: none; background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); margin: 4px 0 6px; }
  .dropdown-menu a { color: #e2e8f0; }
  .dropdown-menu a span { color: #94a3b8; }
  .mobile-nav-extra { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.1); }
  .mobile-nav-extra > a { padding: 10px 14px; color: #cbd5e1; font-weight: 600; border-radius: 8px; }
  .mobile-nav-cta { display: grid; gap: 8px; margin-top: 10px; }

  /* Compact swipeable Dashboard / Admin sidebar on tablet & mobile */
  .dash-layout { padding: 20px 0 44px; gap: 16px; }
  .dash-sidebar { position: static; padding: 14px; }
  .dash-nav {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px;
    margin-top: 12px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-nav a {
    flex: 0 0 auto; white-space: nowrap; gap: 6px;
    border: 1px solid var(--border); background: var(--bg-page); padding: 8px 13px;
  }
  .dash-nav a.active { border-color: var(--navy-900); }
}

@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom when focusing inputs */
  input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: max(16px, 1rem) !important; }
  .section { padding: 44px 0; }
  .page-banner { padding: 32px 0; }
  .settings-tabs {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 10px;
  }
  .settings-tabs::-webkit-scrollbar { display: none; }
  .settings-tab-btn { flex: 0 0 auto; white-space: nowrap; }
}

@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .hide-xs { display: none !important; }
  .topbar-inner { justify-content: space-between; font-size: 0.76rem; min-height: 34px; }
  .header-inner { min-height: 66px; gap: 10px; }
  .brand-logo { height: 41px; }
  .cart-btn { padding: 7px 11px; font-size: 0.82rem; }

  .hero-slider { height: auto; min-height: 310px; }
  .hero-slide { position: relative; display: none; padding: 22px 0 64px; }
  .hero-slide.is-active { display: flex; }
  .hero-slide-grid { grid-template-columns: 1fr; gap: 18px; padding-bottom: 0; }
  .hero-slide-title { font-size: clamp(1.7rem, 7vw, 2.15rem); }
  .hero-slide-desc { font-size: 0.9rem; margin-bottom: 18px; }
  .hero-slide-visual { display: none; }
  .hero-slider .flex-gap { width: 100%; }
  .hero-slider .flex-gap .btn { flex: 1 1 auto; min-height: 44px; }
  .hero-slider-bar { bottom: 38px; }
  .hero-arrows { display: none; }

  .domain-bar-section { margin-top: -24px; padding: 0 0 8px; }
  .domain-search-card { padding: 14px; }
  .domain-form { flex-direction: column; }
  .domain-form .btn { width: 100%; min-height: 44px; }
  .tld-pills {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 4px;
  }
  .tld-pills::-webkit-scrollbar { display: none; }
  .tld-pill { flex: 0 0 auto; white-space: nowrap; }
  .domain-res-row { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
  .domain-res-row .flex-gap { justify-content: space-between; }

  .svc-compact-grid { grid-template-columns: 1fr; gap: 10px; }
  .metrics-strip { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 10px; }
  .metric-item { padding: 2px 4px; }
  .metric-item strong { font-size: 1.1rem; }
  .metric-item span { font-size: 0.72rem; }
  .testimonial-pill { flex: 0 0 85%; }
  .cta-strip { padding: 18px 16px; }
  .cta-strip .btn { width: 100%; }

  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; gap: 14px; }
  .card, .price-card { padding: 16px; }
  .module-card { padding: 14px; gap: 12px; }
  .data-table { font-size: 0.82rem; }
  .data-table th, .data-table td { padding: 10px 10px; }

  .modal-backdrop { padding: 10px; align-items: flex-end; }
  .modal-box { padding: 20px 16px; border-radius: 18px 18px 12px 12px; max-height: 88dvh; }

  .chat-widget { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .chat-fab { padding: 10px 14px; font-size: 0.82rem; }
  .chat-panel { width: calc(100vw - 24px); max-width: 360px; bottom: 54px; max-height: calc(100dvh - 100px); }
  #toast-container { top: 72px; left: 12px; right: 12px; max-width: none; }

  .footer-grid { padding: 30px 0 20px; gap: 22px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 360px) {
  .hero-service-mini { grid-template-columns: 1fr; }
}

