@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=Roboto:wght@300;400;500;700;900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Noto+Sans+Arabic:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Default Theme: Obsidian Emerald & Cyber Indigo (Linear / Supabase Style) */
:root, [data-theme="emerald"] {
  --bg-deep: #050b14;
  --bg-surface: #091220;
  --bg-card: rgba(11, 22, 39, 0.75);
  --bg-card-hover: rgba(16, 32, 58, 0.9);
  
  --primary-accent: #00f2a9;
  --primary-hover: #00d694;
  --primary-glow: rgba(0, 242, 169, 0.3);
  
  --secondary-accent: #6366f1;
  --secondary-glow: rgba(99, 102, 241, 0.25);
  --accent-purple: #a855f7;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 169, 0.4);
  --border-secondary: rgba(99, 102, 241, 0.4);
  
  --gradient-main: linear-gradient(135deg, #ffffff 10%, #00f2a9 60%, #6366f1 100%);
  --btn-gradient: linear-gradient(135deg, #00f2a9 0%, #059669 100%);
  --btn-text: #04080e;
  
  --radial-bg-1: rgba(0, 242, 169, 0.08);
  --radial-bg-2: rgba(99, 102, 241, 0.07);
}

/* Theme 2: Cyber Violet & Neon Rose (Framer / AI Studio Style) */
[data-theme="violet"] {
  --bg-deep: #080512;
  --bg-surface: #0f0a22;
  --bg-card: rgba(20, 14, 42, 0.75);
  --bg-card-hover: rgba(29, 21, 60, 0.9);
  
  --primary-accent: #c084fc;
  --primary-hover: #a855f7;
  --primary-glow: rgba(192, 132, 252, 0.32);
  
  --secondary-accent: #fb7185;
  --secondary-glow: rgba(251, 113, 133, 0.25);
  --accent-purple: #e879f9;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(192, 132, 252, 0.4);
  --border-secondary: rgba(251, 113, 133, 0.4);
  
  --gradient-main: linear-gradient(135deg, #ffffff 10%, #c084fc 60%, #fb7185 100%);
  --btn-gradient: linear-gradient(135deg, #c084fc 0%, #9333ea 100%);
  --btn-text: #06020f;
  
  --radial-bg-1: rgba(192, 132, 252, 0.09);
  --radial-bg-2: rgba(251, 113, 133, 0.07);
}

/* Theme 3: Deep Midnight & Luminous Gold (Luxury Luxury Agency) */
[data-theme="gold"] {
  --bg-deep: #050811;
  --bg-surface: #0a0f1d;
  --bg-card: rgba(14, 22, 40, 0.75);
  --bg-card-hover: rgba(20, 31, 56, 0.9);
  
  --primary-accent: #ffc82c;
  --primary-hover: #e5b018;
  --primary-glow: rgba(255, 200, 44, 0.3);
  
  --secondary-accent: #00d2ff;
  --secondary-glow: rgba(0, 210, 255, 0.25);
  --accent-purple: #a855f7;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 200, 44, 0.4);
  --border-secondary: rgba(0, 210, 255, 0.4);
  
  --gradient-main: linear-gradient(135deg, #ffffff 10%, #ffc82c 60%, #00d2ff 100%);
  --btn-gradient: linear-gradient(135deg, #ffc82c 0%, #f59e0b 100%);
  --btn-text: #050811;
  
  --radial-bg-1: rgba(255, 200, 44, 0.08);
  --radial-bg-2: rgba(0, 210, 255, 0.07);
}

/* Theme 4: Deep Ocean & Cyber Cyan (Stripe / Enterprise Tech) */
[data-theme="ocean"] {
  --bg-deep: #030914;
  --bg-surface: #061224;
  --bg-card: rgba(8, 24, 48, 0.75);
  --bg-card-hover: rgba(14, 36, 70, 0.9);
  
  --primary-accent: #38bdf8;
  --primary-hover: #0284c7;
  --primary-glow: rgba(56, 189, 248, 0.32);
  
  --secondary-accent: #3b82f6;
  --secondary-glow: rgba(59, 130, 246, 0.25);
  --accent-purple: #818cf8;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.4);
  --border-secondary: rgba(59, 130, 246, 0.4);
  
  --gradient-main: linear-gradient(135deg, #ffffff 10%, #38bdf8 60%, #3b82f6 100%);
  --btn-gradient: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  --btn-text: #020710;
  
  --radial-bg-1: rgba(56, 189, 248, 0.09);
  --radial-bg-2: rgba(59, 130, 246, 0.07);
}

:root {
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-arabic: 'Noto Sans Arabic', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: auto !important;
  font-size: 16px;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 15%, var(--radial-bg-1) 0%, transparent 45%),
    radial-gradient(circle at 90% 25%, var(--radial-bg-2) 0%, transparent 45%),
    radial-gradient(circle at 50% 75%, var(--radial-bg-1) 0%, transparent 55%);
  background-attachment: fixed;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* RTL / Arabic Typography Support */
html[lang="ar"], [dir="rtl"], body.lang-ar {
  font-family: var(--font-arabic) !important;
  letter-spacing: 0 !important;
}

html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, 
html[lang="ar"] h4, html[lang="ar"] h5, html[lang="ar"] h6,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, 
[dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
  font-family: var(--font-arabic) !important;
  letter-spacing: 0 !important;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Hierarchy - Clean, Crisp & High Legibility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1.25;
}

h1 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

h2 {
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.22;
}

h3 {
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.3;
}

h4 {
  font-weight: 650;
  letter-spacing: -0.018em;
}

h5, h6 {
  font-weight: 600;
  letter-spacing: -0.012em;
}

p {
  line-height: 1.68;
  letter-spacing: -0.009em;
}

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Card System */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.glass-panel.glow-accent:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 30px var(--primary-glow), var(--shadow-lg);
}

.glass-panel.glow-secondary:hover {
  border-color: var(--border-secondary);
  box-shadow: 0 0 30px var(--secondary-glow), var(--shadow-lg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--btn-gradient);
  color: var(--btn-text);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--primary-glow);
  filter: brightness(1.1);
}

.btn-outline-primary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glow);
  color: var(--primary-accent);
}

.btn-outline-primary:hover {
  background: var(--primary-accent);
  color: var(--btn-text);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Badge Tags */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glow);
  color: var(--primary-accent);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-accent);
  box-shadow: 0 0 10px var(--primary-accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* Theme Switcher Widget in Navbar */
.theme-selector-box {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.45rem;
  border-radius: 9999px;
}

.theme-dot-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.theme-dot-btn:hover {
  transform: scale(1.25);
}

.theme-dot-btn.active {
  border-color: #ffffff;
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* ============================================================
   ULTRA-SLEEK FLOATING CAPSULE NAVBAR
   ============================================================ */
.ky-navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: padding 0.3s ease;
}

.ky-navbar-capsule {
  width: 100%;
  max-width: 1220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.35rem;
  background: rgba(7, 14, 27, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.02);
  pointer-events: auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ky-navbar-capsule.scrolled {
  background: rgba(5, 10, 20, 0.94);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px var(--primary-glow);
  padding: 0.55rem 1.25rem;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-symbol {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--btn-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--btn-text);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 0 15px var(--primary-glow);
  flex-shrink: 0;
}

.logo-name {
  font-size: 1.65rem;
  font-weight: 850;
  letter-spacing: -0.035em;
  color: #ffffff;
  display: flex;
  align-items: center;
  line-height: 1;
}

.logo-name span {
  color: var(--primary-accent);
}

.logo-dot {
  display: none !important;
}

/* Nav Link Items */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.nav-item i {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-item:hover i {
  color: var(--primary-accent);
}

.nav-item.active {
  color: var(--primary-accent);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}

.nav-item.active i {
  color: var(--primary-accent);
}

/* Right Actions */
.nav-actions-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Dropdown */
.lang-dropdown-wrapper {
  position: relative;
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glow);
}

.lang-code-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.lang-menu-box {
  display: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 150px;
  background: rgba(10, 18, 34, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  z-index: 100;
  animation: fadeIn 0.15s ease;
}

.lang-dropdown-wrapper.open .lang-menu-box {
  display: block;
}

.lang-menu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.lang-menu-item:hover, .lang-menu-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary-accent);
}

.nav-cta-btn {
  padding: 0.45rem 1rem !important;
  font-size: 0.85rem !important;
  border-radius: 9999px !important;
}

.nav-mobile-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 8, 16, 0.96);
  backdrop-filter: blur(24px);
  z-index: 2000;
  padding: 2rem;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: auto;
  animation: fadeIn 0.25s ease;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: auto 0;
}

.mobile-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.mobile-menu-list a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--primary-accent);
}

.mobile-drawer-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 900px) {
  .nav-links-desktop {
    display: none;
  }
  .nav-mobile-btn {
    display: flex;
  }
  .ky-navbar-wrapper {
    padding: 0.75rem 1rem;
  }
}

/* Hero Section */
.hero-wrapper {
  padding: 9.5rem 0 5rem;
  position: relative;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 1.5rem auto 1.25rem;
  max-width: 920px;
  line-height: 1.16;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 2.5rem;
  line-height: 1.68;
  letter-spacing: -0.009em;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.trust-stat-box {
  padding: 1.5rem;
  text-align: center;
}

.trust-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}

.trust-num span {
  color: var(--primary-accent);
}

.trust-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}

/* ==========================================================================
   SMART DOMAIN SEARCH ENGINE COMPONENT (DESKTOP & UNIVERSAL)
   ========================================================================== */
.domain-card {
  max-width: 900px;
  margin: -2.5rem auto 3.5rem;
  padding: 2.25rem 2.5rem;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(0, 242, 169, 0.28);
  border-radius: 22px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(16, 34, 60, 0.85) 0%, rgba(8, 16, 30, 0.95) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(0, 242, 169, 0.12);
  backdrop-filter: blur(16px);
}

.domain-header-box {
  text-align: center;
  margin-bottom: 1.75rem;
}

.domain-header-box .badge-pill {
  margin-bottom: 0.6rem;
}

.domain-header-box h2,
.domain-header-box h3 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}

.domain-header-box p {
  color: var(--text-muted);
  font-size: 0.925rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Modern Integrated Search Capsule - Desktop Default */
.domain-search-form {
  width: 100%;
}

.domain-search-capsule {
  display: flex;
  align-items: center;
  background: rgba(5, 12, 24, 0.85);
  border: 1.5px solid rgba(0, 242, 169, 0.35);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  gap: 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(0, 0, 0, 0.35);
  width: 100%;
}

.domain-search-capsule:focus-within {
  border-color: var(--primary-accent);
  box-shadow: 0 0 28px rgba(0, 242, 169, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.5);
  background: rgba(7, 18, 36, 0.95);
}

.domain-search-mobile-row {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 10px;
}

.domain-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 12px;
}

.domain-icon-prefix {
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.domain-input-field,
.domain-input-field:focus,
.domain-input-field:focus-visible,
.domain-input-field:active {
  flex: 1;
  min-width: 0;
  height: 48px;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  font-family: inherit;
  padding: 0;
}

.domain-input-field::placeholder {
  color: #64748b;
  font-weight: 400;
}

.domain-input-field::-webkit-search-decoration,
.domain-input-field::-webkit-search-cancel-button,
.domain-input-field::-webkit-search-results-button,
.domain-input-field::-webkit-search-results-decoration {
  display: none;
}

.domain-input-field:-webkit-autofill,
.domain-input-field:-webkit-autofill:hover, 
.domain-input-field:-webkit-autofill:focus, 
.domain-input-field:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #0b1627 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
  background-color: transparent !important;
}

.domain-select-tld {
  height: 44px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  color: #f1f5f9;
  font-weight: 700;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.domain-select-tld:hover,
.domain-select-tld:focus {
  background: rgba(0, 242, 169, 0.12);
  border-color: rgba(0, 242, 169, 0.4);
  color: #ffffff;
}

.domain-btn-search,
#domainCheckBtn {
  height: 48px;
  padding: 0 28px;
  background: linear-gradient(135deg, #00f2a9 0%, #00b4d8 100%);
  color: #041824;
  font-weight: 750;
  font-size: 0.95rem;
  border-radius: 40px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 242, 169, 0.35);
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.domain-btn-search:hover,
#domainCheckBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 169, 0.5);
}

.domain-btn-search:active,
#domainCheckBtn:active {
  transform: translateY(0);
}

/* Backward compatibility for domain-form-row */
.domain-form-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.domain-input-box {
  flex: 1;
  position: relative;
}

.domain-input-box i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-accent);
}

.domain-input-box input {
  width: 100%;
  height: 50px;
  padding: 0.75rem 1rem 0.75rem 3.5rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 1.05rem;
  outline: none;
  transition: var(--transition);
}

.domain-input-box input:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Quick TLD Badges */
.domain-quick-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.25rem;
}

.domain-quick-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  margin-right: 4px;
}

.domain-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.8rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.domain-pill-btn span.pill-price {
  color: var(--primary-accent);
  font-weight: 700;
}

.domain-pill-btn:hover,
.domain-pill-btn.active {
  background: rgba(0, 242, 169, 0.12);
  border-color: rgba(0, 242, 169, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

/* Domain Result Banners */
.domain-result-banner {
  margin-top: 1.5rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

.domain-result-card-avail {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(6, 78, 59, 0.28) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.12);
}

.domain-result-card-taken {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(120, 53, 15, 0.22) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.1);
}

/* Standalone TLD Pricing Grid */
.tld-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.tld-card {
  background: rgba(11, 22, 39, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tld-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 169, 0.45);
  box-shadow: 0 14px 35px rgba(0, 242, 169, 0.15);
  background: rgba(16, 32, 58, 0.9);
}

.tld-name {
  font-size: 1.9rem;
  font-weight: 850;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 0.2rem;
}

.tld-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-accent);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.tld-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.tld-btn-select {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
  background: rgba(0, 242, 169, 0.1);
  color: var(--primary-accent);
  border: 1px solid rgba(0, 242, 169, 0.25);
  cursor: pointer;
  transition: all 0.2s;
}

.tld-btn-select:hover {
  background: var(--primary-accent);
  color: #041824;
}

/* 3 Pillars Section */
.section-padding {
  padding: 6rem 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-head h2 {
  font-size: 2.6rem;
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.03em;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-item {
  padding: 2.5rem 2rem;
  text-align: center;
}

.pillar-icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition);
}

.pillar-item:hover .pillar-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

/* Interactive Cost Calculator */
.calc-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-secondary);
  box-shadow: 0 0 30px var(--secondary-glow), var(--shadow-lg);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
}

.type-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.type-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: var(--transition);
}

.type-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.type-card.active {
  border-color: var(--primary-accent);
  background: rgba(255, 255, 255, 0.05);
}

.type-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.type-card .price-tag {
  color: var(--primary-accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
}

.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.addon-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.addon-item.selected {
  border-color: var(--secondary-accent);
  background: rgba(255, 255, 255, 0.05);
}

.addon-item input {
  accent-color: var(--secondary-accent);
  width: 18px;
  height: 18px;
}

.calc-sidebar {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-total-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}

.calc-total-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-accent);
}

/* Services Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border-color: var(--border-glow);
}

.service-card-banner {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-category-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-card-content {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-price-row {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Portfolio Showcase */
.portfolio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-chip:hover, .filter-chip.active {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: var(--btn-text);
  box-shadow: 0 0 20px var(--primary-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.portfolio-card-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: var(--transition);
  cursor: pointer;
}

.portfolio-card-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 0 30px var(--primary-glow), var(--shadow-lg);
}

.portfolio-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card-item:hover .portfolio-thumb img {
  transform: scale(1.06);
}

/* Comparison Table */
.comparison-wrap {
  overflow-x: auto;
  padding: 1.5rem;
}

.ky-table {
  width: 100%;
  border-collapse: collapse;
}

.ky-table th, .ky-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.ky-table th {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.ky-col-highlight {
  background: rgba(255, 255, 255, 0.03);
  border-inline: 1px solid var(--border-glow);
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-box {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  transition: var(--transition);
}

.faq-trigger {
  width: 100%;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-trigger i {
  color: var(--primary-accent);
  transition: transform 0.3s ease;
}

.faq-box.active {
  border-color: var(--primary-accent);
}

.faq-box.active .faq-trigger i {
  transform: rotate(180deg);
}

.faq-content-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: rgba(255, 255, 255, 0.015);
}

.faq-box.active .faq-content-pane {
  max-height: 400px;
  transition: max-height 0.4s ease-in;
}

.faq-text {
  padding: 0 1.75rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Modal */
.ky-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ky-modal.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 30px var(--primary-glow), var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: var(--primary-accent);
  color: var(--btn-text);
}

/* Footer */
.ky-footer {
  margin-top: 6rem;
  padding: 5rem 0 2rem;
  background: #02050b;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.6fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-column h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--gradient-main);
  border-radius: 2px;
}

.footer-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-menu-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.925rem;
  transition: var(--transition);
}

.footer-menu-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.contact-card-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.contact-card-box:hover {
  border-color: var(--border-glow);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SERVICES / LAYANAN PAGE STYLES (SUNDAWEB ELEVATED DESIGN)
   ============================================================ */
.services-hero-section {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
}

.services-search-container {
  max-width: 680px;
  margin: 2rem auto 0;
  position: relative;
}

.services-search-input {
  width: 100%;
  padding: 1rem 3.5rem 1rem 3.25rem;
  background: rgba(11, 22, 39, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  color: #fff;
  font-size: 1rem;
  outline: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.services-search-input:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 25px var(--primary-glow);
}

.services-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.services-search-clear {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-dim);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.services-search-clear:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.services-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2rem 0 3rem;
}

.filter-tab-btn {
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
  user-select: none;
}

.filter-tab-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.filter-tab-btn.active {
  background: var(--primary-accent);
  color: #050b14;
  border-color: var(--primary-accent);
  box-shadow: 0 4px 18px var(--primary-glow);
  font-weight: 700;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 169, 0.12);
  border-color: rgba(0, 242, 169, 0.3);
}

.product-thumb {
  height: 210px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  background: #0b1120;
}

.product-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: brightness(0.92) contrast(1.04);
}

.product-card:hover .product-thumb-img {
  transform: scale(1.07);
  filter: brightness(1.02) contrast(1.08);
}

.product-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.35) 0%, rgba(11, 17, 32, 0.05) 45%, rgba(11, 17, 32, 0.7) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.browser-mockup-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
  z-index: 2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.browser-dot.dot-red { background: #ff5f56; }
.browser-dot.dot-yellow { background: #ffbd2e; }
.browser-dot.dot-green { background: #27c93f; }

.browser-url-preview {
  margin-left: 8px;
  font-size: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 8px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.product-thumb-icon {
  opacity: 0.85;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb-icon {
  transform: scale(1.12);
}

.product-cat-tag {
  position: absolute;
  top: 32px;
  right: 1rem;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  z-index: 3;
  backdrop-filter: blur(4px);
}

.product-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.product-features-preview {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-features-preview li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.product-features-preview li i {
  color: var(--primary-accent);
  flex-shrink: 0;
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.product-price-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-price-label {
  display: block;
  color: var(--text-dim);
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.product-price-val {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1.1;
}

.product-guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #00f2a9;
  background: rgba(0, 242, 169, 0.08);
  border: 1px solid rgba(0, 242, 169, 0.22);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.product-actions-btn-group {
  display: grid;
  grid-template-columns: minmax(74px, 1fr) minmax(80px, 1.1fr) minmax(115px, 1.5fr);
  gap: 6px;
  width: 100%;
}

.btn-service-demo,
.btn-service-detail,
.btn-service-order {
  height: 38px;
  box-sizing: border-box;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.btn-service-demo i,
.btn-service-detail i,
.btn-service-order i {
  flex-shrink: 0;
}

/* Demo Button - Modern Electric Cyan */
.btn-service-demo {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(56, 189, 248, 0.32);
  color: #38bdf8;
}

.btn-service-demo:hover {
  background: rgba(14, 165, 233, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
  transform: translateY(-1.5px);
}

/* Detail Button - Sleek Dark Frosted Glass */
.btn-service-detail {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.btn-service-detail:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-1.5px);
}

/* Order WA Button - High-Impact Mint Gradient */
.btn-service-order {
  background: linear-gradient(135deg, #00f2a9 0%, #00b4d8 100%);
  color: #050b14;
  font-weight: 700;
  border-color: transparent;
}

.btn-service-order:hover {
  box-shadow: 0 4px 16px rgba(0, 242, 169, 0.35);
  filter: brightness(1.06);
  transform: translateY(-1.5px);
}

.btn-service-demo:active,
.btn-service-detail:active,
.btn-service-order:active {
  transform: translateY(0);
}

.services-cta-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(0, 242, 169, 0.08) 100%);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

/* ============================================================
   RTL SUPPORT (FOR ARABIC TRANSLATION)
   ============================================================ */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .domain-input-box i {
  left: auto;
  right: 1.25rem;
}

[dir="rtl"] .domain-input-box input {
  padding: 1rem 3.5rem 1rem 1rem;
}

[dir="rtl"] .services-search-icon {
  left: auto;
  right: 1.25rem;
}

[dir="rtl"] .services-search-input {
  padding: 1rem 1rem 1rem 3.5rem;
}

[dir="rtl"] .services-search-clear {
  right: auto;
  left: 1.25rem;
}

[dir="rtl"] .product-cat-tag {
  right: auto;
  left: 1rem;
}

[dir="rtl"] .nav-item i {
  margin-right: 0;
  margin-left: 4px;
}

[dir="rtl"] .footer-column h4::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .lang-menu-box {
  right: auto;
  left: 0;
}

[dir="rtl"] .modal-close {
  right: auto;
  left: 1.25rem;
}

/* ============================================================
   SUPER RESPONSIVE MOBILE VIEW SYSTEM (SUNDAWEB PRECISION)
   Strictly active only on mobile/tablet viewports (max-width: 768px & 480px).
   Desktop styles remain 100% untouched.
   ============================================================ */

@keyframes slideDownMobile {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1024px) {
  .pillars-grid, .services-grid, .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-grid-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .grid-1-mobile {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 768px) {
  /* Global Container & Spacing */
  .container {
    padding: 0 14px;
    width: 100%;
    max-width: 100%;
  }

  main {
    padding-top: 80px !important;
  }

  .section {
    padding: 2.25rem 0;
  }

  /* Typography - Clean, Tight & Highly Legible */
  body {
    font-size: 0.9rem;
    line-height: 1.55;
    letter-spacing: -0.012em;
  }

  h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.03em;
    line-height: 1.2;
  }

  .section-title {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .section-subtitle {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.55;
    letter-spacing: -0.008em;
    margin-bottom: 1.5rem;
  }

  /* Proportional Buttons */
  .btn {
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    gap: 6px;
    letter-spacing: -0.01em;
  }

  .btn-sm {
    padding: 7px 13px !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
  }

  .btn-lg {
    padding: 11px 18px !important;
    font-size: 0.9rem !important;
    border-radius: 10px !important;
  }

  /* Navbar Capsule on Mobile */
  .ky-navbar-wrapper {
    padding: 8px 12px;
  }

  .ky-navbar-capsule {
    height: 52px;
    padding: 6px 14px;
    background: rgba(5, 11, 20, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .brand-logo {
    gap: 8px;
  }

  .logo-symbol {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 900;
  }

  .logo-name {
    font-size: 1.28rem;
    font-weight: 850;
    letter-spacing: -0.035em;
  }

  .nav-cta-btn {
    padding: 5px 12px !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    gap: 4px !important;
  }

  .lang-toggle-btn {
    padding: 5px 8px;
    font-size: 0.78rem;
    border-radius: 8px;
    gap: 3px;
  }

  .lang-code-text {
    font-size: 0.74rem;
  }

  .nav-links-desktop {
    display: none;
  }

  .nav-mobile-btn {
    display: flex;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    align-items: center;
    justify-content: center;
  }

  /* Floating Card Mobile Drawer (Sundaweb Style) */
  .mobile-nav-drawer {
    position: fixed;
    top: 68px;
    left: 12px;
    right: 12px;
    bottom: auto;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    background: rgba(11, 22, 39, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 242, 169, 0.12);
    padding: 14px;
    z-index: 1001;
    display: none;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-nav-drawer.open {
    display: flex;
    animation: slideDownMobile 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-drawer-header .logo-name {
    font-size: 1.25rem;
  }

  .drawer-close-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
  }

  .mobile-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 6px 0;
  }

  .mobile-menu-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.15s ease;
  }

  .mobile-menu-list a:hover,
  .mobile-menu-list a.active {
    background: rgba(0, 242, 169, 0.15);
    border-color: rgba(0, 242, 169, 0.4);
    color: #ffffff;
    font-weight: 700;
    transform: translateX(3px);
  }

  .mobile-drawer-footer {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Hero Section */
  .hero-wrapper {
    padding: 85px 0 24px !important;
    text-align: center;
  }

  .badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 12px;
    line-height: 1.35;
  }

  .hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.035em;
    margin: 0 auto 12px;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: #94a3b8;
    margin: 0 auto 20px;
    max-width: 100%;
    padding: 0 4px;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 24px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 8px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 10px;
    gap: 5px;
    white-space: nowrap;
    letter-spacing: -0.015em;
  }

  .hero-buttons .btn i {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }

  .hero-buttons .btn-whatsapp {
    grid-column: span 2;
    padding: 11px 16px;
    font-size: 0.88rem;
    gap: 7px;
  }

  /* Trust Stats Grid */
  .hero-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 0 auto;
    max-width: 100%;
  }

  .trust-stat-box {
    padding: 12px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
  }

  .trust-num {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 3px;
  }

  .trust-label {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: -0.005em;
  }

  /* Domain Checker Mobile Styles */
  .domain-card {
    margin: 10px 0 24px;
    padding: 18px 14px;
    border-radius: 16px;
    border: 1px solid rgba(0, 242, 169, 0.2);
    background: radial-gradient(130% 130% at 50% 0%, rgba(16, 34, 60, 0.92) 0%, rgba(8, 16, 30, 0.98) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 169, 0.08);
  }

  .domain-header-box {
    margin-bottom: 14px;
  }

  .domain-header-box h2,
  .domain-header-box h3 {
    font-size: 1.28rem;
    font-weight: 750;
    line-height: 1.3;
    margin-bottom: 5px;
    letter-spacing: -0.02em;
  }

  .domain-header-box p {
    font-size: 0.8rem;
    line-height: 1.45;
    padding: 0 4px;
  }

  .domain-search-capsule {
    flex-direction: column;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .domain-search-mobile-row {
    display: flex;
    gap: 6px;
    width: 100%;
    align-items: center;
  }

  .domain-search-mobile-row .domain-input-wrap {
    flex: 1;
    min-width: 0;
    height: 44px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 10px 0 12px;
    gap: 8px;
  }

  .domain-search-mobile-row .domain-input-wrap:focus-within {
    border-color: var(--primary-accent);
    box-shadow: 0 0 12px rgba(0, 242, 169, 0.25);
  }

  .domain-search-mobile-row .domain-input-wrap i {
    color: var(--primary-accent);
    flex-shrink: 0;
  }

  .domain-search-mobile-row .domain-input-wrap input {
    height: 100%;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0;
  }

  .domain-search-mobile-row .domain-select-tld {
    height: 44px;
    width: auto;
    min-width: 82px;
    padding: 0 8px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 10px;
    background: rgba(15, 28, 48, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--primary-accent);
    flex-shrink: 0;
  }

  .domain-search-capsule .domain-btn-search,
  #domainCheckBtn {
    width: 100%;
    height: 44px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 10px;
    justify-content: center;
    margin: 0;
  }

  /* Quick TLD Pills Mobile */
  .domain-quick-pills {
    margin-top: 10px;
    gap: 5px;
    justify-content: center;
  }

  .domain-quick-label {
    width: 100%;
    text-align: center;
    font-size: 0.72rem;
    margin-bottom: 2px;
  }

  .domain-pill-btn {
    padding: 4px 9px;
    font-size: 0.72rem;
    border-radius: 14px;
    gap: 3px;
  }

  /* Domain Results Mobile */
  .domain-result-card-avail,
  .domain-result-card-taken {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .domain-result-card-avail {
    flex-direction: column;
    align-items: stretch;
  }

  .domain-result-card-avail .btn {
    width: 100%;
    justify-content: center;
    height: 38px;
    font-size: 0.82rem;
  }

  /* TLD Grid Mobile */
  .tld-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 1.5rem 0;
  }

  .tld-card {
    padding: 12px 10px;
    border-radius: 12px;
  }

  .tld-name {
    font-size: 1.3rem;
    margin-bottom: 0.1rem;
  }

  .tld-price {
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
  }

  .tld-desc {
    font-size: 0.72rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }

  .tld-btn-select {
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  /* Grids & Cards */
  .pillars-grid, .services-grid, .portfolio-grid, .catalog-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 3.5rem;
  }

  .pillar-card, .service-card, .catalog-card, .glass-panel {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
  }

  /* Refined Product Card for Mobile */
  .product-card {
    padding: 0 !important;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    margin: 0;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }

  .product-card:active {
    transform: scale(0.99);
  }

  .product-thumb {
    height: 185px;
    width: 100%;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b1120;
    overflow: hidden;
  }

  .browser-mockup-bar {
    height: 22px;
    padding: 0 8px;
    gap: 4px;
    background: rgba(15, 23, 42, 0.9);
  }

  .browser-dot {
    width: 6px;
    height: 6px;
  }

  .browser-url-preview {
    font-size: 0.62rem;
    padding: 1px 6px;
    max-width: 130px;
  }

  .product-cat-tag {
    top: 28px;
    right: 8px;
    font-size: 0.65rem;
    padding: 0.22rem 0.65rem;
    border-radius: 20px;
    font-weight: 700;
  }

  .product-body {
    padding: 1.15rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .product-title {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.45rem;
    line-height: 1.35;
  }

  .product-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
  }

  .product-features-preview {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .product-features-preview li {
    font-size: 0.8rem;
    gap: 0.45rem;
    color: var(--text-muted);
  }

  .product-footer {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .product-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .product-price-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
  }

  .product-price-val {
    font-size: 1.22rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
    line-height: 1.1;
  }

  .product-guarantee-badge {
    font-size: 0.7rem;
    padding: 3px 7px;
    border-radius: 6px;
    gap: 3px;
  }

  .product-actions-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .btn-service-demo {
    grid-column: 1 / 2;
    height: 38px;
    padding: 0 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    background: rgba(0, 242, 169, 0.08);
    border: 1px solid rgba(0, 242, 169, 0.25);
    color: #00f2a9;
    text-decoration: none;
  }

  .btn-service-detail {
    grid-column: 2 / 3;
    height: 38px;
    padding: 0 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
  }

  .btn-service-order {
    grid-column: 1 / -1;
    height: 42px;
    padding: 0 12px;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 9px;
    background: var(--btn-gradient, linear-gradient(135deg, #00f2a9 0%, #0ea5e9 100%));
    color: #050b14;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 242, 169, 0.25);
    cursor: pointer;
  }

  /* Filter Tabs (Smooth Horizontal Touch-Scroll) */
  .services-filter-tabs, .category-nav, .portfolio-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding: 4px 2px 10px;
    -webkit-overflow-scrolling: touch;
    margin: 14px 0 20px;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  .services-filter-tabs::-webkit-scrollbar,
  .category-nav::-webkit-scrollbar,
  .portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-tab-btn, .cat-btn, .filter-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Services Hero Section */
  .services-hero-section {
    padding: 95px 0 20px;
    text-align: center;
  }

  .services-search-container {
    margin: 1.25rem auto 0;
    width: 100%;
    position: relative;
  }

  .services-search-input {
    padding: 0.75rem 2.65rem 0.75rem 2.65rem;
    font-size: 0.875rem;
    height: 46px;
    border-radius: 12px;
    box-sizing: border-box;
  }

  .services-search-icon {
    left: 0.95rem;
  }

  .services-search-clear {
    right: 0.95rem;
  }

  .services-cta-banner {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    text-align: center;
  }

  .services-cta-banner h2 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
  }

  .services-cta-banner p {
    font-size: 0.875rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.25rem !important;
  }

  .services-cta-banner .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Calculator & Type Selectors */
  .calc-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .type-select-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .calc-type-card {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .addon-pill-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .calc-summary-card {
    position: static;
    margin-top: 16px;
    padding: 16px 14px;
    border-radius: 14px;
  }

  /* Form Elements (prevent iOS zoom on focus) */
  input[type="text"], input[type="tel"], input[type="email"], select, textarea {
    font-size: 16px !important;
  }

  /* Footer */
  .ky-footer {
    padding: 40px 0 24px;
  }

  .footer-grid-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-menu-links a {
    padding: 4px 0;
    font-size: 0.88rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    font-size: 0.8rem;
  }

  /* Modal */
  .modal-box {
    width: 95vw;
    max-height: 88vh;
    border-radius: 16px;
    margin: 1rem auto;
  }
}

@media (max-width: 480px) {
  .hero-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .trust-stat-box {
    padding: 10px 6px;
  }

  .trust-num {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   AUTHENTICATION & LOGIN PORTAL STYLES (CLIENT & ADMIN)
   ========================================================================== */
.auth-page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 1rem 3rem;
  position: relative;
  overflow: hidden;
}

.auth-ambient-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 169, 0.15) 0%, rgba(0, 180, 216, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 169, 0.3);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 242, 169, 0.12);
  position: relative;
  z-index: 1;
}

.auth-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.auth-header .logo-symbol {
  width: 46px;
  height: 46px;
  font-size: 1.3rem;
  margin: 0 auto 0.75rem;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Role Switcher Tabs */
.auth-role-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 1.5rem;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  padding: 9px 12px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 169, 0.2) 0%, rgba(0, 180, 216, 0.2) 100%);
  border: 1px solid rgba(0, 242, 169, 0.4);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 242, 169, 0.15);
}

.auth-form-group {
  margin-bottom: 1.15rem;
}

.auth-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.4rem;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0 12px;
  height: 46px;
  transition: all 0.2s ease;
}

.auth-input-wrap:focus-within {
  border-color: var(--primary-accent);
  box-shadow: 0 0 15px rgba(0, 242, 169, 0.25);
  background: rgba(0, 0, 0, 0.6);
}

.auth-input-wrap i.auth-prefix-icon {
  color: #64748b;
  margin-right: 10px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.auth-input-wrap:focus-within i.auth-prefix-icon {
  color: var(--primary-accent);
}

.auth-input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: inherit;
}

.auth-input::placeholder {
  color: #475569;
}

.auth-eye-btn {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-eye-btn:hover {
  color: #fff;
}

.auth-extra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  cursor: pointer;
}

.auth-forgot-link {
  color: var(--primary-accent);
  text-decoration: none;
  font-weight: 600;
}

.auth-forgot-link:hover {
  text-decoration: underline;
}

.auth-submit-btn {
  width: 100%;
  height: 48px;
  font-size: 0.95rem;
  font-weight: 750;
  border-radius: 11px;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1rem;
}

/* Quick Demo Badges */
.auth-demo-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 1.25rem;
  text-align: center;
}

.auth-demo-title {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 6px;
}

.auth-demo-actions {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.auth-demo-chip {
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 20px;
  background: rgba(0, 242, 169, 0.1);
  border: 1px solid rgba(0, 242, 169, 0.25);
  color: var(--primary-accent);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.auth-demo-chip:hover {
  background: var(--primary-accent);
  color: #041824;
}

/* Dashboard Styles */
.dashboard-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 1.5rem 4rem;
}

.dashboard-hero-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(16, 34, 60, 0.9) 0%, rgba(8, 16, 30, 0.95) 100%);
  border: 1px solid rgba(0, 242, 169, 0.25);
  margin-bottom: 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.dash-stat-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(11, 22, 39, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s, border-color 0.2s;
}

.dash-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 242, 169, 0.4);
}

.dash-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 242, 169, 0.12);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-table-card {
  background: rgba(11, 22, 39, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.dash-table th {
  padding: 12px 14px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

.dash-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.dash-badge-status {
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-completed {
  background: rgba(0, 242, 169, 0.15);
  color: #00f2a9;
  border: 1px solid rgba(0, 242, 169, 0.3);
}

/* Progress Tracker */
.progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00f2a9, #00b4d8);
  border-radius: 10px;
  transition: width 0.6s ease;
}

/* ==========================================================================
   ADMIN DASHBOARD & SETTINGS MODULE STYLES
   ========================================================================== */
.admin-layout-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 80px);
  max-width: 1400px;
  margin: 90px auto 3rem;
  padding: 0 1.5rem;
  gap: 1.75rem;
}

.admin-sidebar {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem 1rem;
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.admin-nav-group-title {
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.75rem 0.25rem;
  margin-top: 0.5rem;
}

.admin-sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.admin-nav-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

.admin-nav-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 169, 0.15) 0%, rgba(0, 180, 216, 0.15) 100%);
  border-color: rgba(0, 242, 169, 0.35);
  color: #ffffff;
  font-weight: 750;
  box-shadow: 0 4px 15px rgba(0, 242, 169, 0.1);
}

.admin-nav-btn.active i {
  color: var(--primary-accent);
}

.admin-nav-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  background: rgba(0, 242, 169, 0.2);
  color: #00f2a9;
}

/* Admin Main Content & Tab Panels */
.admin-main-content {
  min-width: 0;
}

.admin-tab-panel {
  display: none;
  animation: fadeIn 0.25s ease;
}

.admin-tab-panel.active {
  display: block;
}

/* Settings Card & Form Sections */
.settings-card {
  background: rgba(11, 22, 39, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.settings-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.settings-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.settings-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.settings-form-group {
  margin-bottom: 1.25rem;
}

.settings-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.settings-input,
.settings-textarea,
.settings-select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.settings-input:focus,
.settings-textarea:focus,
.settings-select:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 15px rgba(0, 242, 169, 0.25);
  background: rgba(0, 0, 0, 0.6);
}

.settings-textarea {
  min-height: 80px;
  resize: vertical;
}

.settings-hint {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 4px;
}

/* Switch Toggle Component */
.switch-control-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.switch-label-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.switch-label-desc {
  font-size: 0.78rem;
  color: #94a3b8;
}

.switch-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
}

.switch-toggle input:checked + .switch-slider {
  background: linear-gradient(135deg, #00f2a9, #00b4d8);
  box-shadow: 0 0 12px rgba(0, 242, 169, 0.4);
}

.switch-toggle input:checked + .switch-slider:before {
  transform: translateX(22px);
  background-color: #041824;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-item {
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(10, 25, 45, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 169, 0.4);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 169, 0.2);
  animation: slideUpToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpToast {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Modals */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.admin-modal-overlay.show {
  display: flex;
}

.admin-modal-box {
  width: 100%;
  max-width: 580px;
  background: rgba(11, 24, 44, 0.95);
  border: 1px solid rgba(0, 242, 169, 0.35);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 169, 0.15);
  animation: modalScale 0.25s ease;
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.admin-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.admin-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.admin-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

@media (max-width: 992px) {
  .admin-layout-wrapper {
    grid-template-columns: 1fr;
    margin-top: 80px;
    padding: 0 1rem 3rem;
    gap: 1.25rem;
  }

  /* Sticky Horizontal Tab Navigation Bar */
  .admin-sidebar {
    position: sticky;
    top: 72px;
    z-index: 850;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: rgba(8, 18, 33, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 169, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 169, 0.08);
    border-radius: 16px;
    padding: 8px 10px;
    margin-bottom: 1.25rem;
  }

  .admin-sidebar::-webkit-scrollbar {
    display: none;
  }

  .admin-sidebar-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    width: auto;
    min-width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .admin-nav-group-title {
    display: none !important;
  }

  .admin-nav-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    min-height: 40px;
    transition: all 0.2s ease;
  }

  .admin-nav-btn:hover,
  .admin-nav-btn:active {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
  }

  .admin-nav-btn.active {
    background: linear-gradient(135deg, rgba(0, 242, 169, 0.22) 0%, rgba(0, 180, 216, 0.22) 100%);
    border-color: rgba(0, 242, 169, 0.5);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 242, 169, 0.2);
  }

  .admin-nav-badge {
    margin-left: 4px;
    font-size: 0.65rem;
    padding: 1px 6px;
    border-radius: 10px;
  }

  .settings-grid-2,
  .settings-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .settings-card {
    padding: 1.25rem 1rem;
    border-radius: 16px;
    margin-bottom: 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 768px) {
  /* Navbar adjustments */
  .ky-navbar-wrapper {
    padding: 8px 10px;
  }

  .ky-navbar-capsule {
    padding: 8px 12px;
    border-radius: 14px;
  }

  .logo-name {
    font-size: 0.95rem;
  }

  .logo-name span:last-child {
    font-size: 0.62rem !important;
    padding: 2px 5px !important;
    margin-left: 4px !important;
  }

  .nav-actions-wrap {
    gap: 8px;
  }

  .nav-actions-wrap .btn-sm {
    padding: 6px 10px;
    font-size: 0.76rem;
    min-height: 36px;
  }

  /* Hero Box */
  .dashboard-hero-box {
    padding: 1.25rem 1rem;
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .dashboard-hero-box > div:last-child {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .dashboard-hero-box .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.82rem;
    min-height: 42px;
  }

  /* KPI Stats Grid: 2 columns on mobile */
  .dash-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }

  .dash-stat-card {
    padding: 0.9rem 0.85rem;
    border-radius: 14px;
    gap: 0.65rem;
  }

  .dash-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .dash-stat-card div div:first-child {
    font-size: 0.65rem !important;
  }

  .dash-stat-card div div:nth-child(2) {
    font-size: 1.12rem !important;
    line-height: 1.2;
    margin: 2px 0;
  }

  .dash-stat-card div div:last-child {
    font-size: 0.68rem !important;
  }

  /* Table Cards */
  .dash-table-card {
    padding: 1rem 0.85rem;
    border-radius: 16px;
    margin-bottom: 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dash-table-card > div:first-child {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
    margin-bottom: 1rem !important;
  }

  .dash-table-card > div:first-child .btn {
    width: 100%;
    justify-content: center;
  }

  .dash-table th,
  .dash-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .dash-table td code {
    font-size: 0.78rem;
  }

  /* Grid Layouts for Services & Portfolio Cards */
  #adminServicesGrid,
  #adminPortfolioGrid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Settings Cards & Form Elements */
  .settings-card-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .settings-card-header > div:last-child {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .settings-card-header > div:last-child .btn {
    width: 100%;
    justify-content: center;
  }

  .settings-card-title {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .settings-input,
  .settings-textarea,
  .settings-select {
    font-size: 16px !important;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .switch-control-box {
    padding: 10px 12px;
    gap: 10px;
  }

  .switch-label-title {
    font-size: 0.84rem;
  }

  .switch-label-desc {
    font-size: 0.74rem;
  }

  /* Social Share Previews */
  #previewBoxWa,
  #previewBoxFb,
  #previewBoxTw {
    max-width: 100% !important;
    padding: 10px !important;
  }

  #previewBoxWa > div:nth-child(2),
  #previewBoxFb > div,
  #previewBoxTw > div {
    max-width: 100% !important;
  }

  /* Settings Form Submit Actions */
  #websiteSettingsForm > div:last-child {
    flex-direction: column-reverse !important;
    gap: 8px !important;
    margin-top: 1rem !important;
  }

  #websiteSettingsForm > div:last-child .btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 48px;
  }

  /* Modals on Mobile */
  .admin-modal-overlay {
    padding: 10px;
    align-items: flex-end;
  }

  .admin-modal-box {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1rem;
    border-radius: 20px 20px 10px 10px;
  }

  .admin-modal-header {
    margin-bottom: 1rem;
  }

  .admin-modal-title {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .admin-modal-box form > div:last-child {
    flex-direction: column-reverse;
    gap: 8px;
  }

  .admin-modal-box form > div:last-child .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .admin-layout-wrapper {
    margin-top: 75px;
    padding: 0 0.65rem 2.5rem;
  }

  .dash-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .dashboard-hero-box > div:last-child {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    padding: 6px 8px;
    border-radius: 12px;
  }

  .admin-nav-btn {
    padding: 7px 11px;
    font-size: 0.78rem;
  }
}


/* ==========================================================================
   PHASE 16: BIDIRECTIONAL TEXT ISOLATION & RTL ENHANCEMENTS
   ========================================================================== */
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="url"],
[dir="rtl"] input[type="password"],
[dir="rtl"] .bidi-isolate,
[dir="rtl"] .ltr-token,
[dir="rtl"] .order-id,
[dir="rtl"] .phone-number,
[dir="rtl"] .code-font {
  direction: ltr !important;
  unicode-bidi: isolate;
}

[dir="rtl"] .icon-flip-rtl {
  transform: scaleX(-1);
}

[dir="rtl"] .dropdown-menu {
  left: auto !important;
  right: 0 !important;
}

[dir="rtl"] .text-start-rtl {
  text-align: right !important;
}


/* ==========================================================================
   PHASE 22: ACCESSIBILITY, RESPONSIVE & UX HARDENING
   ========================================================================== */

/* 1. Skip Navigation Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1.5rem;
  background: var(--primary-accent, #00f2a9);
  color: #050b14 !important;
  padding: 0.85rem 1.5rem;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 0 0 12px 12px;
  z-index: 99999;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 242, 169, 0.45);
  transition: top 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}
.skip-link:focus {
  top: 0;
}

/* 2. Global Accessible Focus Indicators */
:focus-visible {
  outline: 2px solid var(--primary-accent, #00f2a9) !important;
  outline-offset: 2px !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--primary-accent, #00f2a9) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 12px rgba(0, 242, 169, 0.35);
}

/* 3. Prefers Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 4. Touch Targets & Interaction Enhancements */
button,
a.btn,
.nav-item,
.filter-btn,
.filter-chip,
.drawer-close-btn,
.modal-close,
.lang-toggle-btn {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 5. Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md, 12px);
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 169, 0.3);
  border-radius: 4px;
}

/* 6. Contrast & Readability Refinements */
.text-muted,
.portfolio-desc,
.service-desc,
p,
span.text-dim {
  color: #cbd5e1;
}

.form-label,
label {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: #f1f5f9;
}

/* 7. Live Region / Status Announcements (Screen-reader only when visually hidden) */
.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;
}
