/* ==========================================================================
   Hosting Syria - Web Hosting Page Redesign Design System
   Matches Stitch Project: Web Hosting Page Redesign
   Aesthetic: Modern SaaS Fintech / Frosted Glassmorphism / Slate & Electric Indigo
   ========================================================================== */

/* ==========================================================================
   Fonts (self-hosted; subsets and icon list match the old Google Fonts URLs)
   ========================================================================== */

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-arabic-arabic-400.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-arabic-arabic-700.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url(../fonts/material-symbols-outlined.woff2) format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

:root {
  /* Color Palette - Stitch Theme */
  --bg-canvas: #f8fafc;
  --surface-card: #ffffff;
  --surface-card-subtle: #f1f5f9;
  --surface-dark: #0f172a;
  --surface-container: #f0ecf9;
  --surface-container-low: #f5f2ff;
  --surface-container-high: #eae6f4;
  --surface-container-highest: #e4e1ee;

  --primary: #047857;
  --primary-container: #047857;
  --primary-fixed-dim: #c3c0ff;
  --brand-indigo-dark: #3730a3;
  --brand-violet-glow: #6366f1;
  --secondary-container: #8a4cfc;
  --tertiary-container: #006e4c;
  --tertiary-fixed: #85f8c4;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-on-primary: #ffffff;

  --emerald-bg: #ecfdf5;
  --emerald-text: #047857;
  --emerald-border: #a7f3d0;

  --border-light: #e2e8f0;
  --border-focus: #6366f1;
  --error: #ba1a1a;
  --error-bg: #ffdad6;

  /* Fonts & Shadows */
  --font-main: 'IBM Plex Sans', 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 10px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 14px rgba(79, 70, 229, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(99, 102, 241, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 8px 24px -4px rgba(79, 70, 229, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ==========================================================================
   Base Reset & Layout
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: 96px;
  font-family: var(--font-main);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Fixed Top Navigation Bar
   ========================================================================== */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
}

.top-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.badge-official {
  padding: 2px 10px;
  border-radius: 9999px;
  background-color: var(--emerald-bg);
  color: var(--emerald-text);
  border: 1px solid var(--emerald-border);
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .badge-official {
    display: none;
  }
}

.brand-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Tablet & mobile: nav drops to a second, centered row under the brand */
@media (max-width: 1024px) {
  .top-header {
    height: auto;
  }

  .top-header .container {
    flex-wrap: wrap;
    row-gap: 0;
    padding-top: 12px;
  }

  .header-nav {
    order: 3;
    width: calc(100% + 48px);
    margin: 12px -24px 0;
    padding: 10px 16px;
    justify-content: center;
    gap: 20px;
    background-color: var(--bg-canvas);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
  }

  .header-nav a {
    white-space: nowrap;
  }

  html {
    scroll-padding-top: 128px;
  }
}

.header-nav a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
  transition: color 0.15s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--primary);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.support-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background-color: var(--surface-container);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
}

@media (max-width: 640px) {
  .support-badge {
    display: none;
  }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-text);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(4, 120, 87, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(4, 120, 87, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(4, 120, 87, 0);
  }
}

.btn-whatsapp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background-color: var(--primary-container);
  color: var(--text-on-primary);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  transition: all 0.2s ease;
}

.btn-whatsapp-header:hover {
  background-color: var(--brand-indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

/* ==========================================================================
   Main Content Structure (8 + 4 Grid)
   ========================================================================== */
.main-wrapper {
  padding-top: 100px;
  padding-bottom: 60px;
  flex: 1;
}

/* Header is taller on tablet & mobile (nav wraps to a second row) */
@media (max-width: 1024px) {
  .main-wrapper {
    padding-top: 132px;
  }
}

.hero-banner {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  background-color: var(--surface-dark);
  color: #ffffff;
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.glow-gradient-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.22);
  filter: blur(80px);
  pointer-events: none;
}

.glow-gradient-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.25);
  filter: blur(80px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-top-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .hero-top-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hero-text-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 650px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  background-color: rgba(228, 225, 238, 0.12);
  backdrop-filter: blur(8px);
  color: var(--emerald-border);
  font-size: 13px;
  font-weight: 400;
  width: fit-content;
}

.hero-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--primary-fixed-dim);
}

.hero-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Hero Trust Badges Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

@media (min-width: 1024px) {
  .trust-grid {
    width: 380px;
    flex-shrink: 0;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item .icon {
  font-size: 24px;
  color: var(--primary-fixed-dim);
}

.trust-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.trust-item-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Hero Promo Bar */
.promo-bar {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.promo-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tertiary-fixed);
  font-weight: 600;
}

.rate-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

/* Modern Asymmetrical 8 + 4 Layout Grid */
.layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1024px) {
  .layout-grid {
    grid-template-columns: 8fr 4fr;
  }
}

/* ==========================================================================
   Order Form Step Modules (8-Column Left / RTL Right)
   ========================================================================== */
.order-workflow {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-card {
  background-color: var(--surface-card);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--surface-container-high);
}

@media (max-width: 640px) {
  .step-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.step-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--primary-container);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.step-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

.step-badge {
  padding: 4px 12px;
  border-radius: 9999px;
  background-color: var(--surface-container);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

/* Plan Cards Grid */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--radius-lg);
  background-color: var(--bg-canvas);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: var(--shadow-sm);
}

.plan-card:hover {
  background-color: var(--surface-container-low);
  transform: translateY(-2px);
}

.plan-card.is-selected {
  border-color: var(--primary-container);
  background-color: var(--surface-container-low);
  box-shadow: var(--shadow-md);
}

.plan-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.plan-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.plan-discount-badge {
  display: none;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background-color: var(--emerald-bg);
  color: var(--emerald-text);
  font-size: 11px;
  font-weight: 700;
}

.plan-badge-popular {
  display: none;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 14px;
  border-radius: 9999px;
  background-color: var(--secondary-container);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(138, 76, 252, 0.3);
}

.plan-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
  min-height: 40px;
  line-height: 1.5;
}

.plan-card-price-row {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--surface-container-high);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-card-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
}

.plan-card-unit {
  font-size: 13px;
  color: var(--text-muted);
}

.plan-features {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  font-size: 13px;
  color: var(--text-secondary);
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.plan-features .icon-check {
  color: var(--emerald-text);
  font-size: 16px;
}

/* VPS Plans Section Divider & Grid */
.vps-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 8px;
}

.vps-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.vps-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-light);
}

.vps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.vps-card {
  padding: 14px;
  border-radius: var(--radius-md);
  background-color: var(--bg-canvas);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 150px;
  text-align: center;
}

.vps-card:hover {
  background-color: var(--surface-container-low);
}

.vps-card.is-selected {
  border-color: var(--primary-container);
  background-color: var(--surface-container-low);
  box-shadow: var(--shadow-sm);
}

.vps-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.vps-card-specs {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.vps-card-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Custom Inquiry Box */
.custom-inquiry-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background-color: var(--surface-card-subtle);
  margin-top: 8px;
}

@media (min-width: 640px) {
  .custom-inquiry-box {
    flex-direction: row;
    align-items: center;
  }
}

.custom-inquiry-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-inquiry-icon {
  font-size: 28px;
  color: var(--primary);
}

.custom-inquiry-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.custom-inquiry-sub {
  font-size: 13px;
  color: var(--text-secondary);
}

.btn-mailto {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

/* Step 2: Duration Selector */
.duration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.duration-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  border-radius: var(--radius-md);
  background-color: var(--bg-canvas);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  user-select: none;
}

.duration-pill:hover {
  background-color: var(--surface-container-low);
}

.duration-pill.is-selected {
  border-color: var(--primary-container);
  background-color: var(--surface-container-low);
  box-shadow: var(--shadow-sm);
}

.duration-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.duration-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.duration-tag-best {
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-container);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
  display: none;
}

/* Price Calculator Output Box */
.price-calculator-box {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, var(--surface-card-subtle) 50%, var(--bg-canvas) 100%);
  border: 1px solid rgba(79, 70, 229, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.price-calc-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.price-calc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.price-calc-details {
  display: flex;
  flex-direction: column;
}

.price-calc-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.price-calc-usd-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-usd-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}

.price-usd-unit {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
}

.price-savings-hint {
  font-size: 13px;
  color: var(--text-secondary);
}

/* SYP Exchange Estimate Badge */
.syp-pill-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background-color: var(--surface-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.syp-label {
  font-size: 11px;
  color: var(--text-muted);
}

.syp-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.syp-sub {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Step 3: Domain Selection */
.domain-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.domain-choice-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

.domain-choice-card:hover {
  background-color: var(--surface-container-low);
}

.domain-radio-input {
  margin-top: 3px;
  accent-color: var(--primary-container);
  width: 18px;
  height: 18px;
}

.domain-choice-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.domain-choice-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.domain-choice-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.custom-domain-field {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Step 4: Payment Methods */
.payments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

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

.payment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: var(--radius-md);
  background-color: var(--bg-canvas);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-card:hover {
  background-color: var(--surface-container-low);
}

.payment-card.is-selected {
  border-color: var(--primary-container);
  background-color: var(--surface-container-low);
  box-shadow: var(--shadow-sm);
}

.payment-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.payment-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.payment-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Step 5: Form Inputs */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.req-star {
  color: var(--error);
  font-weight: 700;
}

.opt-text {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: var(--surface-card);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: all 0.15s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.trust-privacy-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background-color: var(--emerald-bg);
  color: var(--emerald-text);
  font-size: 13px;
}

.btn-submit-order {
  width: 100%;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 50%, var(--primary) 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}

.btn-submit-order:hover {
  opacity: 0.95;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-submit-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   Sticky Sidebar Rail (4-Column Right / RTL Left)
   ========================================================================== */
.sidebar-rail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 1024px) {
  .sidebar-rail {
    position: sticky;
    top: 100px;
  }
}

.sidebar-card {
  background-color: var(--surface-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--surface-container-high);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.timeline-item strong {
  color: var(--text-primary);
}

.timeline-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary-container);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.sidebar-note {
  padding: 12px;
  border-radius: var(--radius-md);
  background-color: var(--surface-container-low);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Sticky Summary Widget */
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.summary-label {
  color: var(--text-secondary);
}

.summary-val {
  font-weight: 600;
  color: var(--text-primary);
}

.summary-val-emerald {
  color: var(--emerald-text);
  font-weight: 600;
}

.summary-total-row {
  padding-top: 12px;
  border-top: 1px solid var(--surface-container-high);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-total-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.summary-total-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

/* Quick WhatsApp Box */
.whatsapp-box {
  background: linear-gradient(135deg, rgba(0, 110, 76, 0.08) 0%, var(--surface-card) 100%);
  border-radius: var(--radius-xl);
  padding: 20px;
  border: 1px solid rgba(0, 110, 76, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
}

.whatsapp-box-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--tertiary-container);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.whatsapp-box-text {
  display: flex;
  flex-direction: column;
}

.whatsapp-box-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.whatsapp-box-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.whatsapp-box-link {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  width: 100%;
  background-color: var(--surface-dark);
  color: #ffffff;
  padding: 48px 0 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

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

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* Messages */
.form-message {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}

.form-message--success {
  background-color: var(--emerald-bg);
  color: var(--emerald-text);
  border: 1px solid var(--emerald-border);
}

.form-message--error {
  background-color: var(--error-bg);
  color: var(--error);
  border: 1px solid var(--error);
}

.footer-list a.faq-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-list a.faq-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

/* Shimmer shown inside plan/duration/payment grids until includes/get-data.php responds */
.loading-placeholder {
  grid-column: 1 / -1;
  height: 110px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--surface-card-subtle) 25%, var(--surface-container-low) 50%, var(--surface-card-subtle) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-placeholder {
    animation: none;
  }
}

/* ==========================================================================
   FAQ Page Styles
   ========================================================================== */
.faq-search {
  position: relative;
}

.faq-search-icon {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.faq-search-input {
  width: 100%;
  padding: 16px 52px 16px 20px;
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--text-primary);
  background-color: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-search-input::placeholder {
  color: var(--text-muted);
}

.faq-search-input:focus {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.faq-search-empty {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
}

.faq-category-card[hidden],
.faq-accordion-item[hidden],
.faq-search-empty[hidden] {
  display: none;
}

.faq-category-card {
  background-color: var(--surface-card);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--surface-container-high);
}

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--bg-canvas);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-accordion-item[open] {
  border-color: var(--primary-container);
  background-color: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

.faq-accordion-header {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.faq-accordion-header::-webkit-details-marker {
  display: none;
}

.faq-accordion-header:hover {
  color: var(--primary);
}

.faq-question-text {
  flex: 1;
  padding-left: 12px;
}

.faq-icon {
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.faq-accordion-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-accordion-body {
  padding: 0 20px 18px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  border-top: 1px solid transparent;
}

.faq-accordion-item[open] .faq-accordion-body {
  border-top-color: var(--surface-container-high);
  padding-top: 14px;
}

.faq-accordion-body p {
  margin-bottom: 8px;
}

.faq-accordion-body p:last-child {
  margin-bottom: 0;
}

.faq-accordion-body code {
  background-color: var(--surface-container);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  direction: ltr;
  display: inline-block;
  color: var(--primary);
}

.faq-accordion-body ul {
  margin-right: 20px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.faq-accordion-body li {
  margin-bottom: 4px;
}

/* ==========================================================================
   Step help links & floating WhatsApp button
   ========================================================================== */
.step-help-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--surface-container-low);
  transition: background-color 0.2s ease;
}

.step-help-link:hover {
  background-color: var(--surface-container-high);
}

.step-help-link .material-symbols-outlined {
  font-size: 18px;
}

.whatsapp-float {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}

.whatsapp-float .material-symbols-outlined {
  font-size: 28px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    display: flex;
  }
}