/* ==========================================================================
   VPS PRO — Minimal Technical Corporate Design System
   Reference feel: Hetzner, Vercel, Stripe docs
   ========================================================================== */

/* --- 1. Brand Tokens & Typography Variables --- */
:root {
  --blue: #1A62E4;        /* sampled from VPS PRO logo */
  --blue-hover: #1553C4;
  --ink: #0A0A0A;
  --ink-2: #52525B;
  --ink-3: #71717A;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F5;      /* logo background */
  --line: #E5E5E5;
  --radius-pill: 999px;   /* signature shape, echoes PRO pill */
  --radius-card: 12px;
  
  /* Font Stacks */
  --font-display: "Playpen Sans Arabic", "Cairo", system-ui, sans-serif;
  --font-body: "Cairo", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  
  /* Spacing Scale (strict 8px scale) */
  --container-max: 1120px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  
  /* Subtle Transition (150ms) */
  --transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

html[lang="en"] {
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- 2. Base Reset & Typography --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

/* Typography Hierarchy - Main titles only in Playpen Sans Arabic */
h1, h2, .section-title, .hero-title, .final-cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.25;
}

h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.3;
}

h3, h4, h5, h6, .plan-name, .price, .stat-number, .badge-popular {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
}

p {
  color: var(--ink-2);
  line-height: 1.7;
}

/* Tabular Numerals for Prices & Specs */
.tabular-nums, .price, .price-val, .stat-number, td.num {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}

/* Monospace for Terminal & Technical Identifiers */
.font-mono, pre, code, .terminal-text {
  font-family: var(--font-mono);
  direction: ltr;
  text-align: left;
}

/* Directional Icon Mirroring in RTL */
[dir="rtl"] .icon-dir {
  transform: scaleX(-1);
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Respect Reduced Motion */
@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;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* --- 3. Container & Section Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (max-width: 640px) {
  .container {
    padding-inline: 16px;
  }
}

.section {
  padding-block: var(--space-12);
}

@media (max-width: 768px) {
  .section {
    padding-block: var(--space-8);
  }
}

.section-alt {
  background-color: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-header {
  margin-bottom: var(--space-6);
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: var(--space-1);
}

.section-title {
  margin-bottom: var(--space-1);
}

.section-subtitle {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 640px;
}

/* --- 4. Signature Buttons & Pill Controls --- */
.button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  height: 44px;
  padding-inline: 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.button-primary {
  background-color: var(--blue);
  color: #FFFFFF;
  border-color: var(--blue);
  font-weight: 700;
}

.button-primary:hover {
  background-color: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #FFFFFF;
}

.button-secondary, .button-outline {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--ink);
  font-weight: 500;
}

.button-secondary:hover, .button-outline:hover {
  background-color: var(--bg-alt);
}

.button:disabled,
.button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.button-pill-sm {
  height: 34px;
  padding-inline: 16px;
  font-size: 13px;
  border-radius: var(--radius-pill);
}

.button-full {
  width: 100%;
}

.text-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

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

/* Inputs & Form Base */
input, textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 42px;
  padding-inline: var(--space-2);
  transition: var(--transition);
}

input:focus, textarea:focus {
  border-color: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* --- Comprehensive Custom Select Design System & Library --- */
select,
.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 40px;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256' fill='%2352525B'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 13px;
  line-height: normal;
}

/* Direction-aware Chevron positioning */
[dir="rtl"] select,
[dir="rtl"] .custom-select {
  background-position: left 14px center;
  padding-inline-start: 14px;
  padding-inline-end: 36px;
}

[dir="ltr"] select,
[dir="ltr"] .custom-select {
  background-position: right 14px center;
  padding-inline-start: 14px;
  padding-inline-end: 36px;
}

/* Interactive States */
select:hover:not(:disabled),
.custom-select:hover:not(:disabled) {
  border-color: var(--ink-3);
}

select:focus,
.custom-select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

select:disabled,
.custom-select:disabled {
  background-color: var(--bg-alt);
  color: var(--ink-3);
  cursor: not-allowed;
  opacity: 0.65;
}

/* Shape Variants */
.select-pill {
  border-radius: var(--radius-pill);
}

.select-rounded {
  border-radius: 8px;
}

/* Size Variants */
.select-sm {
  height: 34px;
  padding-inline-start: 12px;
  padding-inline-end: 30px;
  font-size: 12px;
}

[dir="rtl"] .select-sm {
  background-position: left 10px center;
}
[dir="ltr"] .select-sm {
  background-position: right 10px center;
}

.select-md {
  height: 40px;
  font-size: 13px;
}

.select-lg {
  height: 48px;
  padding-inline-start: 16px;
  padding-inline-end: 42px;
  font-size: 15px;
}

[dir="rtl"] .select-lg {
  background-position: left 16px center;
}
[dir="ltr"] .select-lg {
  background-position: right 16px center;
}

/* --- 5. Navbar (Sticky, 64px, White, 1px Bottom Border) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 28px;
  width: auto;
}

.main-nav {
  display: none;
}

@media (min-width: 960px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }
}

.main-nav a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 4px;
  position: relative;
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a.active {
  color: var(--ink);
  font-weight: 700;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -18px;
  inset-inline: 0;
  height: 2px;
  background-color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.lang-switch-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lang-btn {
  background: none;
  border: none;
  padding: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  cursor: pointer;
}

.lang-btn.active {
  color: var(--ink);
  font-weight: 700;
}

.lang-sep {
  color: var(--line);
}

.nav-login-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding-inline: 8px;
}

.nav-login-link:hover {
  color: var(--blue);
}

@media (max-width: 767px) {
  .nav-login-link {
    display: none;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-cta-pill {
    padding-inline: 12px;
    font-size: 12px;
    height: 34px;
  }
}

.nav-cta-pill {
  height: 38px;
  padding-inline: 18px;
  font-size: 13px;
  border-radius: var(--radius-pill);
}

/* User Profile Menu (when authenticated) */
.profile-menu {
  position: relative;
}

.profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 180px;
  background-color: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 6px;
  display: none;
  z-index: 110;
}

.profile-dropdown[aria-hidden="false"], .profile-dropdown.open {
  display: block;
}

.profile-dropdown a, .dropdown-logout-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: start;
}

.profile-dropdown a:hover, .dropdown-logout-btn:hover {
  background-color: var(--bg-alt);
}

/* Mobile Hamburger Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--ink);
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  top: 64px;
  inset-inline: 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--line);
  padding: var(--space-3);
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  z-index: 99;
}

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

.mobile-nav a {
  padding: 10px 12px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

/* --- 6. Hero Section (No screenshot, No images) --- */
.hero-section {
  padding-block: var(--space-10) var(--space-8);
  background-color: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: var(--space-1);
}

.hero-title {
  margin-bottom: var(--space-2);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: var(--space-4);
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

/* Small Dark Terminal Block (The ONLY dark element on the page) */
.hero-terminal {
  background-color: #0A0A0A;
  border: 1px solid #27272A;
  border-radius: var(--radius-card);
  padding: var(--space-3);
  font-family: var(--font-mono);
  color: #FAFAFA;
  direction: ltr;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1F1F23;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #3F3F46;
}

.terminal-title {
  font-size: 11px;
  color: #71717A;
  margin-left: 6px;
  letter-spacing: 0.05em;
}

.terminal-body {
  font-size: 13px;
  line-height: 1.65;
  color: #D4D4D8;
}

.terminal-prompt {
  color: #38BDF8;
}

.terminal-accent {
  color: #4ADE80;
}

.terminal-meta {
  color: #A1A1AA;
}

/* --- 7. Trust Strip (4 Columns separated by hairlines) --- */
.trust-strip {
  border-block: 1px solid var(--line);
  padding-block: var(--space-4);
  background-color: var(--bg);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
  
  .trust-item:not(:last-child) {
    border-inline-end: 1px solid var(--line);
  }

  .trust-item {
    padding-inline: var(--space-3);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.trust-item .icon-badge {
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-val {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.trust-label {
  font-size: 13px;
  color: var(--ink-3);
}

/* Icon badge: 44px rounded square (radius 12px) with --bg-alt background */
.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.icon-badge.active-blue {
  color: var(--blue);
}

/* --- 8. Quick Picker (Panel with 3 inline selects) --- */
.quick-picker-card {
  background-color: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  margin-top: var(--space-8);
}

.quick-picker-header {
  margin-bottom: var(--space-3);
}

.quick-picker-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.quick-picker-desc {
  font-size: 14px;
  color: var(--ink-2);
}

.quick-picker-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

.picker-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .quick-picker-form {
    grid-template-columns: repeat(2, 1fr);
  }
  #picker-order-btn {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .quick-picker-form {
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: flex-end;
  }
}

.picker-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}

.quick-picker-result {
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: 14px;
}

.quick-picker-result strong {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
}

/* --- 9. Plans Section (Tabs, Monthly/Yearly Pill Toggle, Table on Desktop, Cards on Mobile) --- */
.plans-controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--space-3);
}

@media (min-width: 768px) {
  .plans-controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Pill Tabs */
.tabs-pills {
  display: inline-flex;
  max-width: 100%;
  gap: 6px;
  background-color: var(--bg-alt);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tabs-pills::-webkit-scrollbar {
  display: none;
}

.tab-pill-btn {
  background: none;
  border: none;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-pill-btn.active {
  background-color: #FFFFFF;
  color: var(--blue);
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Pill Toggle (Monthly / Yearly) & Controls Right */
.plans-controls-right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* Currency Switcher in Plans Controls */
.currency-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 2px 6px 2px 2px;
  gap: 4px;
  transition: var(--transition);
}

.currency-switcher:hover {
  border-color: var(--ink-3);
}

.currency-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  margin-inline-start: 4px;
}

.currency-switcher select {
  border: none;
  background-color: transparent;
  height: 32px;
  padding-inline-start: 4px;
  padding-inline-end: 22px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  border-radius: var(--radius-pill);
  background-size: 11px;
}

[dir="rtl"] .currency-switcher select {
  background-position: left 4px center;
}

[dir="ltr"] .currency-switcher select {
  background-position: right 4px center;
}

.currency-switcher select:focus {
  outline: none;
  box-shadow: none;
}

.toggle-pill-wrap {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.toggle-pills {
  display: inline-flex;
  background-color: var(--bg-alt);
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}

.toggle-pill-btn {
  background: none;
  border: none;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.toggle-pill-btn.active {
  background-color: #FFFFFF;
  color: var(--ink);
  font-weight: 700;
}

.toggle-saving-pill {
  background-color: #EFF6FF;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid #DBEAFE;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toggle-saving-pill.is-hidden {
  display: none !important;
}

/* Plans Table (Desktop >= 768px) */
.plans-table-container {
  display: none;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow-x: auto;
  background-color: #FFFFFF;
}

@media (min-width: 768px) {
  .plans-table-container {
    display: block !important;
  }
}

@media (max-width: 767px) {
  .plans-table-container {
    display: none !important;
  }
}

.plans-table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
}

.plans-table th, .plans-table td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  white-space: nowrap;
}

.plans-table th {
  background-color: var(--bg-alt);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.plans-table tbody tr {
  transition: var(--transition);
}

.plans-table tbody tr:hover {
  background-color: var(--bg-alt);
}

.plans-table tbody tr:last-child td {
  border-bottom: none;
}

.plans-table .plan-col-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-table-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.badge-popular {
  font-family: var(--font-body);
  background-color: #EFF6FF;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid #BFDBFE;
}

.plan-table-price {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.plan-table-period {
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--font-body);
  font-weight: 400;
}

/* Plans Cards (Mobile < 768px) */
.plans-cards-mobile {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .plans-cards-mobile,
  .plan-mobile-card {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .plans-cards-mobile {
    display: grid !important;
  }
}

.plan-mobile-card {
  background-color: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-3);
}

.plan-mobile-card.is-popular {
  border-color: var(--blue);
}

.plan-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.plan-mobile-specs {
  border-block: 1px solid var(--line);
  padding-block: 10px;
  margin-block: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.plan-mobile-specs-row {
  display: flex;
  justify-content: space-between;
}

/* Gray line listing standard inclusions under the plans table */
.plans-inclusions-line {
  margin-top: var(--space-4);
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.6;
}

/* --- 10. "هتستلم إيه" (What You Get Section) --- */
.what-you-get-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: min(1120px, 100%);
  margin-inline: auto;
  margin-top: 48px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .what-you-get-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.what-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.what-item:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
}

.icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  border: 1px solid #bfdbfe;
  flex-shrink: 0;
}

.icon-badge svg,
.icon-badge .icon {
  width: 24px;
  height: 24px;
  color: #2563eb;
}

.what-content h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.4;
}

.what-content p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.7;
}

/* 3-Step Plain Numbered Text Line */
.steps-strip {
  width: min(1120px, 100%);
  margin-inline: auto;
  margin-top: 48px;
  padding: 36px 32px 32px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.03);
}

.steps-strip-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 24px;
  text-align: center;
}

.steps-strip-line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .steps-strip-line {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.step-box:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.07);
}

.step-num {
  font-size: 16px;
  font-weight: 800;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.step-text {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.step-desc {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* --- 11. Support Section (3 Rows) --- */
.support-rows-list {
  border-block: 1px solid var(--line);
}

.support-row-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-block: var(--space-3);
}

@media (min-width: 768px) {
  .support-row-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.support-row-item:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.support-row-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.support-row-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.support-row-info p {
  font-size: 14px;
  color: var(--ink-2);
}

.support-row-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.support-phone-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-2);
  direction: ltr;
}

/* --- 12. FAQ Accordion (Plain hairline dividers, +/- indicator) --- */
.faq-accordion {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: var(--space-3);
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
  transition: var(--transition);
}

.faq-trigger:hover {
  color: var(--blue);
}

.faq-indicator {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-3);
  user-select: none;
}

.faq-content {
  display: none;
  padding-bottom: var(--space-3);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}

.faq-item.open .faq-content {
  display: block;
}

.faq-item.open .faq-indicator {
  color: var(--blue);
}

/* --- 13. Final CTA (One line + one primary pill on --bg-alt) --- */
.final-cta-section {
  background-color: var(--bg-alt);
  border-block: 1px solid var(--line);
  padding-block: var(--space-8);
}

.final-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .final-cta-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.final-cta-text h2 {
  margin-bottom: 4px;
}

/* --- 14. Footer (White, 1px top border, 4 columns) --- */
.site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--line);
  padding-block: var(--space-8) var(--space-4);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--ink-2);
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom-line {
  border-top: 1px solid var(--line);
  padding-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  color: var(--ink-3);
  font-size: 13px;
}

@media (min-width: 640px) {
  .footer-bottom-line {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* --- 15. Modals (Plain white panel, 1px border, dim backdrop WITHOUT blur) --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open, .modal-backdrop[aria-hidden="false"] {
  display: flex;
}

.modal-panel {
  width: 100%;
  max-width: 520px;
  background-color: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: var(--space-4);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--ink-3);
  cursor: pointer;
  padding: 4px;
}

.modal-close-btn:hover {
  color: var(--ink);
}

.modal-heading {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.modal-sub {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: var(--space-3);
}

.form-group {
  margin-bottom: var(--space-2);
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
}

.modal-summary-box {
  background-color: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: var(--space-2);
  margin-block: var(--space-3);
  font-size: 14px;
}

.modal-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  color: var(--ink-2);
}

.modal-summary-row.total {
  font-weight: 700;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 6px;
  margin-top: 6px;
}

.domain-input-group {
  display: flex;
  gap: 8px;
}

.domain-input-group input {
  flex: 1;
}

.domain-result-msg {
  font-size: 13px;
  margin-top: 6px;
  min-height: 20px;
  transition: color 0.15s ease;
}

.domain-result-msg.available {
  color: #16A34A;
}

.domain-result-msg.taken {
  color: #DC2626;
}

/* --- 16. Payment Methods & Auth Pages System --- */
.payment-methods-page {
  padding-block: var(--space-8);
}

.payment-methods-heading {
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--space-4);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.transfer-details-card {
  background-color: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-3);
}

.transfer-details-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.transfer-row-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  margin-bottom: 12px;
}

.transfer-row-item small {
  color: var(--ink-3);
}

.transfer-row-item strong {
  font-family: var(--font-mono);
  color: var(--ink);
}

.btn-copy-pill {
  align-self: flex-start;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
  margin-top: 4px;
}

.btn-copy-pill:hover {
  background-color: var(--bg-alt);
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  [data-tilt] { transform: none !important; }
}

/* Dedicated Plans Page Enhancements */
.plans-page-hero { padding-block: 76px 52px; background: radial-gradient(circle at 50% 20%, #eff6ff 0%, #ffffff 75%); border-bottom: 1px solid var(--line); text-align: center; }
.plans-page-hero .eyebrow { justify-content: center; margin-bottom: 14px; }
.plans-page-hero h1 { max-width: 760px; margin: 0 auto 16px; color: var(--text); font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; line-height: 1.28; letter-spacing: -.03em; }
.plans-page-hero p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: clamp(15px, 1.8vw, 17px); line-height: 1.85; }
.plans-page-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 430px)); justify-content: center; }
.plans-page-grid .pricing-card { display: flex; flex-direction: column; }
.plans-page-grid .pricing-card .tilt-content { display: flex; flex-direction: column; flex: 1; }
.plans-page-grid .pricing-card .plan-features { flex: 1; }
.plan-comparison-wrapper { margin-top: 48px; }
.cta-banner-card { padding: 64px 32px; border-radius: 20px; background: linear-gradient(135deg, #101828 0%, #1e293b 100%); color: #fff; text-align: center; box-shadow: 0 20px 45px rgba(16,24,40,.18); }
.cta-banner-card h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 16px; font-weight: 800; line-height: 1.35; }
.cta-banner-card p { max-width: 600px; margin: 0 auto 28px; color: #94a3b8; font-size: 16px; line-height: 1.85; }
.cta-banner-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ==========================================================
   Pricing Grids (Trio / Duo) & Cloud Plan Customizer Styling
   ========================================================== */
.pricing-grid.pricing-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--container-max, 1120px);
  margin: 0 auto 36px;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 1024px) and (min-width: 769px) {
  .pricing-grid.pricing-trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .pricing-grid.pricing-trio {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 20px;
  }
}

.pricing-grid.pricing-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin: 0 auto 36px;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 768px) {
  .pricing-grid.pricing-duo {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 20px;
  }
}

.pricing-grid.pricing-trio .pricing-card,
.pricing-grid.pricing-duo .pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 34px 26px 30px;
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pricing-grid.pricing-trio .pricing-card:hover,
.pricing-grid.pricing-duo .pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(16, 24, 40, 0.08);
  border-color: #cbd5e1;
}

.pricing-grid.pricing-trio .pricing-card.featured,
.pricing-grid.pricing-duo .pricing-card.featured {
  border: 2px solid var(--blue, #2563eb);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.12), 0 2px 6px rgba(0, 0, 0, 0.02);
}
.pricing-grid.pricing-trio .pricing-card.featured:hover,
.pricing-grid.pricing-duo .pricing-card.featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.18);
}

.pricing-grid.pricing-trio .tilt-content,
.pricing-grid.pricing-duo .tilt-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pricing-grid.pricing-trio .plan-top,
.pricing-grid.pricing-duo .plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.pricing-grid.pricing-trio .plan-top h3,
.pricing-grid.pricing-duo .plan-top h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}
.pricing-grid.pricing-trio .plan-top small,
.pricing-grid.pricing-duo .plan-top small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.pricing-grid.pricing-trio .plan-type,
.pricing-grid.pricing-duo .plan-type {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475467;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-grid.pricing-trio .plan-type.featured-label,
.pricing-grid.pricing-duo .plan-type.featured-label {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  font-weight: 800;
}

.pricing-grid.pricing-trio .plan-specs-pill,
.pricing-grid.pricing-duo .plan-specs-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  direction: ltr;
  padding: 6px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  margin-block: 10px 14px;
}

.price-row.price-annual-highlight {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-block: 6px 4px;
}
.price-row.price-annual-highlight .price {
  font-size: clamp(34px, 3.8vw, 44px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.price-row.price-annual-highlight .currency {
  font-size: 15px;
  font-weight: 700;
  color: #475467;
}
.price-row.price-annual-highlight .period {
  font-size: 14.5px;
  color: #64748b;
  font-weight: 600;
}

.plan-subprice {
  margin: 0 0 16px;
  font-size: 12px;
  color: #64748b;
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}
.plan-subprice strong {
  color: #0f172a;
  font-weight: 700;
}

/* Features checklist inside the card */
.pricing-grid.pricing-trio .plan-features,
.pricing-grid.pricing-duo .plan-features {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 18px 0 24px !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid #e2e8f0 !important;
  list-style: none !important;
  flex: 1;
}
.pricing-grid.pricing-trio .plan-features li,
.pricing-grid.pricing-duo .plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #334155;
  line-height: 1.4;
}
.pricing-grid.pricing-trio .plan-features li i,
.pricing-grid.pricing-duo .plan-features li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #10b981;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.pricing-grid.pricing-trio .plan-features li strong,
.pricing-grid.pricing-duo .plan-features li strong {
  color: #0f172a;
  font-weight: 700;
}

/* Plan Button */
.pricing-grid.pricing-trio .plan-button,
.pricing-grid.pricing-duo .plan-button {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  margin-top: auto;
}
.pricing-grid.pricing-trio .pricing-card:not(.featured) .plan-button,
.pricing-grid.pricing-duo .pricing-card:not(.featured) .plan-button {
  background: #ffffff;
  color: var(--blue, #2563eb);
  border: 2px solid var(--blue, #2563eb);
}
.pricing-grid.pricing-trio .pricing-card:not(.featured) .plan-button:hover,
.pricing-grid.pricing-duo .pricing-card:not(.featured) .plan-button:hover {
  background: var(--blue-soft, #eff6ff);
  transform: translateY(-2px);
}
.pricing-grid.pricing-trio .pricing-card.featured .plan-button,
.pricing-grid.pricing-duo .pricing-card.featured .plan-button {
  background: var(--blue, #2563eb);
  color: #ffffff;
  border: 1px solid var(--blue, #2563eb);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.pricing-grid.pricing-trio .pricing-card.featured .plan-button:hover,
.pricing-grid.pricing-duo .pricing-card.featured .plan-button:hover {
  background: var(--blue-hover, #1d4ed8);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

/* Ready Plans Jump Button & Nav CTA */
.ready-plans-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue, #2563eb);
  border: 1.5px solid #bfdbfe;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
}
.ready-plans-jump-btn:hover {
  background: #eff6ff;
  border-color: var(--blue, #2563eb);
  color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.12);
}
.ready-plans-jump-btn .dir-icon {
  font-size: 13px;
  transition: transform 0.2s ease;
}
.ready-plans-jump-btn:hover .dir-icon {
  transform: translateY(2px);
}

/* Customize Your Plan Box */
.customize-plan-box {
  margin-top: 24px;
  margin-bottom: 48px;
  padding: 36px 32px;
  border: 1px solid #d8e5f8;
  border-radius: 24px;
  background: linear-gradient(175deg, #ffffff 60%, #f4f8fe 100%);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
  position: relative;
}
.customize-top {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}
.customize-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.cust-ready-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue, #2563eb);
  border: 1.5px solid #bfdbfe;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06);
}
.cust-ready-quick-btn:hover {
  background: #eff6ff;
  border-color: var(--blue, #2563eb);
  color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}
.cust-ready-quick-btn .dir-icon {
  font-size: 13px;
  transition: transform 0.2s ease;
}
.cust-ready-quick-btn:hover .dir-icon {
  transform: translateY(2px);
}

/* Ready-Made Plans Section */
.ready-plans-section {
  scroll-margin-top: 90px;
  margin-top: 52px;
  margin-bottom: 48px;
}
.ready-plans-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.ready-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}
.ready-divider-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue, #2563eb);
}
.ready-plans-header {
  text-align: center;
  margin-bottom: 36px;
}
.ready-plans-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.3;
}
.ready-plans-sub {
  font-size: 14.5px;
  color: #64748b;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}
}
.customize-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-soft, #eff6ff);
  color: var(--blue, #2563eb);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.customize-top h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--text);
}
.customize-top p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.customize-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.cust-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  border: 1px solid var(--line, #e2e8f2);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.cust-tab-btn:hover {
  border-color: #a7c1f6;
  background: #fbfdff;
}
.cust-tab-btn.active {
  border-color: var(--blue, #2563eb);
  background: var(--blue-soft, #eff6ff);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}
.cust-tab-btn .tab-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.cust-tab-btn.active .tab-title {
  color: var(--blue, #2563eb);
}
.cust-tab-btn .tab-subtitle {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.customize-steps-wrapper {
  margin-bottom: 28px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f2;
  border-radius: 16px;
}
.customize-steps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.steps-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.steps-hint {
  font-size: 12px;
  color: var(--blue, #2563eb);
  font-weight: 600;
}
.customize-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.cust-step-chip {
  padding: 12px 8px;
  border: 1px solid #e0e7f2;
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cust-step-chip:hover {
  border-color: #93c5fd;
  background: #ffffff;
  transform: translateY(-2px);
}
.cust-step-chip.active {
  border-color: var(--blue, #2563eb);
  background: var(--blue, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}
.cust-step-chip strong {
  font-size: 13px;
  font-weight: 700;
  display: block;
}
.cust-step-chip small {
  font-size: 11px;
  opacity: 0.85;
}
.cust-step-chip.active strong,
.cust-step-chip.active small {
  color: #ffffff;
}
.customize-card-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 28px;
  border: 1px solid #cfe0f8;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.04);
}
.preview-info {
  flex: 1;
  min-width: 0;
}
.preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.preview-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--blue-soft, #eff6ff);
  color: var(--blue, #2563eb);
}
.preview-info h4 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.preview-desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}
.preview-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.preview-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #344054;
}
.preview-features li i {
  color: var(--blue, #2563eb);
  font-style: normal;
  font-weight: 700;
}
.preview-pricing-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
  min-width: 260px;
}
.preview-price-box {
  text-align: end;
}
.preview-annual-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
}
.preview-annual-row .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
}
.preview-annual-row .currency {
  font-size: 14px;
  font-weight: 600;
}
.preview-annual-row .period {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.preview-monthly-row {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.preview-monthly-row strong {
  color: var(--text);
}
.cust-order-btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* --- Mobile Responsive Optimizations for Plans & Customizer --- */
@media (max-width: 768px) {
  .plans-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
  }
  .toggle-pill-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
  }
  .toggle-pills {
    background-color: var(--bg-alt, #f1f5f9);
    padding: 3px;
    border-radius: 9999px;
  }
  .toggle-pill-btn {
    padding: 6px 16px;
    font-size: 13px;
  }
  .toggle-saving-pill {
    font-size: 11.5px;
    padding: 5px 12px;
    white-space: nowrap;
  }
  .plans-controls-right {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }

  /* Pricing Cards (Trio / Duo) on Mobile */
  .pricing-grid.pricing-duo,
  .pricing-grid.pricing-trio {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 20px;
  }
  .pricing-grid.pricing-duo .pricing-card,
  .pricing-grid.pricing-trio .pricing-card {
    padding: 26px 18px 22px;
    border-radius: 20px;
  }
  .pricing-grid.pricing-duo .plan-top h3,
  .pricing-grid.pricing-trio .plan-top h3 {
    font-size: 22px;
  }
  .price-row.price-annual-highlight .price {
    font-size: clamp(34px, 8vw, 42px);
  }
  .pricing-grid.pricing-duo .plan-button,
  .pricing-grid.pricing-trio .plan-button {
    min-height: 48px;
    font-size: 14.5px;
    padding: 10px 16px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    border-radius: 14px;
  }

  /* Customizer Box on Mobile */
  .customize-plan-box {
    margin-top: 20px;
    margin-bottom: 32px;
    padding: 24px 16px;
    border-radius: 20px;
  }
  .customize-top-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .ready-plans-section {
    margin-top: 36px;
    margin-bottom: 36px;
  }
  .customize-top {
    margin-bottom: 20px;
  }
  .customize-top h3 {
    font-size: 20px;
    line-height: 1.3;
  }
  .customize-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }
  .cust-tab-btn {
    padding: 12px 14px;
    border-radius: 12px;
  }
  .customize-steps-wrapper {
    padding: 16px 12px;
    border-radius: 14px;
    margin-bottom: 20px;
  }
  .customize-steps-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 12px;
  }
  .customize-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .cust-step-chip {
    padding: 10px 6px;
    border-radius: 10px;
  }
  .cust-step-chip strong {
    font-size: 12.5px;
  }
  .cust-step-chip small {
    font-size: 10.5px;
  }
  .customize-card-preview {
    padding: 20px 16px;
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .preview-info h4 {
    font-size: 20px;
  }
  .preview-desc {
    font-size: 12.5px;
    margin-bottom: 14px;
  }
  .preview-features {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .preview-pricing-actions {
    align-items: stretch;
    min-width: 0;
    width: 100%;
  }
  .preview-price-box {
    text-align: center;
    margin-bottom: 6px;
  }
  .preview-annual-row {
    justify-content: center;
  }
  .preview-annual-row .price {
    font-size: 30px;
  }
  .cust-order-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    box-sizing: border-box;
  }
  .cust-order-btn span {
    line-height: 1.3;
  }
  .cust-order-btn .dir-icon {
    flex-shrink: 0;
    font-size: 15px;
    margin-inline-start: 4px;
  }

  /* What You Get Features Grid on Mobile */
  .what-you-get-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .what-item {
    padding: 16px 14px;
    border-radius: 14px;
    gap: 12px;
  }
  .what-item .icon-badge {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  .what-content h3 {
    font-size: 15px;
  }
  .what-content p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* Steps Strip on Mobile */
  .steps-strip {
    padding: 22px 16px;
    border-radius: 18px;
    margin-bottom: 32px;
  }
  .steps-strip-title {
    font-size: 16px;
    margin-bottom: 16px;
    text-align: center;
  }
  .steps-strip-line {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .step-box {
    padding: 16px 14px;
    border-radius: 12px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .customize-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Recommendation Wizard Choices & Active States --- */
.wizard-question-title {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink, #0f172a);
}

.wizard-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.wizard-choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1.5px solid var(--line, #e2e8f0);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.wizard-choice-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.wizard-choice-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Custom Radio Indicator */
.wizard-radio-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.wizard-radio-indicator::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Active / Checked State */
.wizard-choice-card.active,
.wizard-choice-card:has(input:checked) {
  background: #eff6ff !important;
  border-color: var(--blue, #2563eb) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.wizard-choice-card.active .wizard-radio-indicator,
.wizard-choice-card:has(input:checked) .wizard-radio-indicator {
  border-color: var(--blue, #2563eb);
  background: var(--blue, #2563eb);
}

.wizard-choice-card.active .wizard-radio-indicator::after,
.wizard-choice-card:has(input:checked) .wizard-radio-indicator::after {
  transform: scale(1);
}

.wizard-choice-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.wizard-choice-card.active .wizard-choice-icon,
.wizard-choice-card:has(input:checked) .wizard-choice-icon {
  background: #dbeafe;
  transform: scale(1.05);
}

.wizard-choice-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wizard-choice-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.wizard-choice-card.active .wizard-choice-title,
.wizard-choice-card:has(input:checked) .wizard-choice-title {
  color: #1d4ed8;
}

.wizard-choice-sub {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.35;
}

.wizard-choice-card.active .wizard-choice-sub,
.wizard-choice-card:has(input:checked) .wizard-choice-sub {
  color: #3b82f6;
}

/* Wizard Recommended Plan Box */
.wizard-result-box {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: 16px;
  padding: 22px 18px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.wizard-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--blue, #2563eb);
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wizard-result-plan {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}

.wizard-result-desc {
  font-size: 13px;
  color: #475467;
  line-height: 1.6;
  margin: 0;
}
