/* ============================================================
   CADIPLAN — Premium Design System
   Author: Cadiplan Studio
   Fonts: Playfair Display + DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  --navy:       #0d1b2a;
  --ink:        #1a2b3c;
  --ocean:      #1a5276;
  --azure:      #2874a6;
  --sky:        #3498db;
  --sky-light:  #aed6f1;
  --gold:       #c9a84c;
  --gold-light: #f0d690;
  --cream:      #fdfaf5;
  --warm-white: #f9f5ee;
  --sand:       #e8dcc8;
  --stone:      #a89880;
  --text-dark:  #1a1a2e;
  --text-mid:   #4a5568;
  --text-light: #8492a6;
  --success:    #27ae60;
  --error:      #e74c3c;
  --border:     #e2d9cc;
  --shadow-sm:  0 2px 8px rgba(13, 27, 42, 0.07);
  --shadow-md:  0 8px 24px rgba(13, 27, 42, 0.12);
  --shadow-lg:  0 20px 60px rgba(13, 27, 42, 0.18);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

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

img { max-width: 100%; display: block; }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253, 250, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo img {
  width: 40px; height: 40px;
  border-radius: 8px;
  object-fit: cover;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: var(--sand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--text-mid);
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
  border: none;
  background: transparent;
}
.nav-icon-btn:hover { background: var(--sand); color: var(--navy); }
.nav-icon-btn .badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--gold);
  color: white;
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.nav-cta {
  padding: 0.625rem 1.25rem;
  background: var(--navy);
  color: white !important;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--ocean); transform: translateY(-1px); }

/* Mobile menu toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-mid);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--navy); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/houses/hero.jpg') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13, 27, 42, 0.75) 0%,
    rgba(13, 27, 42, 0.5) 50%,
    rgba(13, 27, 42, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  text-align: center;
  color: white;
  animation: heroFadeIn 1.2s ease both;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold-light);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.125rem;
  font-weight: 300;
  opacity: 0.85;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 2rem;
  left: 0; right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 0 2rem;
}
.hero-stat {
  text-align: center;
  color: white;
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}
.hero-stat-label {
  font-size: 0.8125rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 168, 76, 0.35);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}
.btn-dark {
  background: var(--navy);
  color: white;
}
.btn-dark:hover {
  background: var(--ocean);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section {
  padding: 5rem 0;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-header {
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.section-sub {
  color: var(--text-mid);
  font-size: 1.0625rem;
  max-width: 560px;
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.5rem 1.125rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: white;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.sort-select {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text-mid);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
  outline: none;
}

/* ============================================================
   PLAN CARDS
   ============================================================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.plan-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  border: 1px solid var(--border);
}
.plan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.plan-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.plan-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.plan-card:hover .plan-card-img img { transform: scale(1.05); }

.plan-card-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}
.badge-new { background: var(--navy); color: white; }
.badge-popular { background: var(--gold); color: var(--navy); }
.badge-sale { background: var(--error); color: white; }

.plan-card-wish {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  color: var(--text-light);
}
.plan-card-wish:hover { color: var(--error); transform: scale(1.1); }
.plan-card-wish.active { color: var(--error); }

.plan-card-body { padding: 1.5rem; }

.plan-id {
  font-size: 0.75rem;
  color: var(--stone);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
}
.plan-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.35;
}

.plan-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 1rem;
  background: var(--warm-white);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}
.plan-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  text-align: center;
}
.plan-spec i {
  font-size: 1.125rem;
  color: var(--azure);
}
.plan-spec span {
  font-size: 0.75rem;
  color: var(--text-mid);
  font-weight: 500;
}

.plan-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.plan-price {
  display: flex;
  flex-direction: column;
}
.plan-price-from {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.plan-card-actions {
  display: flex;
  gap: 0.5rem;
}

/* ============================================================
   MODAL OVERLAY
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13, 27, 42, 0.7);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open { display: flex; }

.modal {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 1.75rem 1.75rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.modal-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
}
.modal-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: var(--warm-white);
  border: none;
  cursor: pointer;
  color: var(--text-mid);
  flex-shrink: 0;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--sand); color: var(--navy); }

.modal-body { padding: 1.75rem; }

/* ============================================================
   PLAN DETAIL (inside modal / page)
   ============================================================ */
.plan-detail-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.plan-detail-imgs img {
  border-radius: 10px;
  object-fit: cover;
  height: 180px;
  width: 100%;
}
.plan-detail-imgs img:first-child {
  grid-column: span 2;
  height: 260px;
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.detail-spec-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--warm-white);
  padding: 0.875rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.detail-spec-item i {
  width: 36px; height: 36px;
  background: var(--sky-light);
  color: var(--ocean);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.detail-spec-item .spec-info { display: flex; flex-direction: column; }
.detail-spec-item .spec-label { font-size: 0.75rem; color: var(--text-light); }
.detail-spec-item .spec-value { font-size: 0.9375rem; font-weight: 600; color: var(--navy); }

.plan-includes {
  margin-bottom: 1.5rem;
}
.plan-includes h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.include-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.include-item i { color: var(--success); font-size: 0.875rem; }

.price-box {
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: white;
}
.price-box-label { font-size: 0.875rem; opacity: 0.75; }
.price-box-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* ============================================================
   PAYMENT FORM
   ============================================================ */
.payment-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 0;
}

.payment-steps {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  gap: 0;
}
.payment-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}
.payment-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.payment-step.done:not(:last-child)::after { background: var(--success); }

.step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.payment-step.active .step-circle {
  background: var(--navy);
  color: white;
  box-shadow: 0 0 0 4px rgba(13,27,42,0.12);
}
.payment-step.done .step-circle {
  background: var(--success);
  color: white;
}
.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
}
.payment-step.active .step-label { color: var(--navy); }
.payment-step.done .step-label { color: var(--success); }

.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.form-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.form-card-title i {
  width: 36px; height: 36px;
  background: var(--warm-white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--azure);
}

.form-group { margin-bottom: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: white;
  transition: all var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--azure);
  box-shadow: 0 0 0 3px rgba(40, 116, 166, 0.12);
}
.form-input::placeholder { color: var(--text-light); }

.card-input-wrapper {
  position: relative;
}
.card-icons {
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.375rem;
  align-items: center;
}
.card-icons i { font-size: 1.5rem; }

.order-summary {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.order-summary h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.order-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.order-line.total {
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(39, 174, 96, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.2);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--success);
  font-weight: 500;
  margin-top: 1rem;
}

/* Payment methods */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.payment-method-btn {
  padding: 0.875rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  transition: all var(--transition);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
}
.payment-method-btn:hover { border-color: var(--azure); color: var(--navy); }
.payment-method-btn.selected { border-color: var(--navy); color: var(--navy); background: var(--warm-white); }
.payment-method-btn i { font-size: 1.5rem; }

/* ============================================================
   SUCCESS PAGE / DOWNLOAD
   ============================================================ */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--cream);
}
.success-card {
  max-width: 560px;
  width: 100%;
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.success-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--success), #2ecc71);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(39, 174, 96, 0.3);
}
.success-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.success-sub {
  color: var(--text-mid);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--navy);
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.download-btn:hover {
  background: var(--ocean);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.download-info {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--warm-white);
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--text-mid);
  border: 1px solid var(--border);
}
.order-ref {
  display: inline-block;
  background: var(--sand);
  color: var(--navy);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-family: monospace;
  font-size: 0.9rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stars {
  color: var(--gold);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
}
.author-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.author-location { font-size: 0.8rem; color: var(--text-light); }

/* ============================================================
   WHY US SECTION
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--sky-light); }
.feature-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 20px rgba(26, 82, 118, 0.25);
}
.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.feature-text { font-size: 0.875rem; color: var(--text-mid); line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: white;
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}
.footer-logo-text span { color: var(--gold); }
.footer-about {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
  font-size: 1rem;
}
.social-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.625rem; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: white; }

.newsletter-input-wrap {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus { border-color: var(--gold); }
.newsletter-btn {
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
}
.newsletter-btn:hover { background: var(--gold-light); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.footer-payments { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.footer-payments i { font-size: 1.75rem; color: rgba(255,255,255,0.6); }

/* ============================================================
   ALERTS / NOTIFICATIONS
   ============================================================ */
.alert {
  padding: 0.875rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.alert-success { background: rgba(39,174,96,0.1); color: #1a7a40; border: 1px solid rgba(39,174,96,0.2); }
.alert-error   { background: rgba(231,76,60,0.1); color: #a93226; border: 1px solid rgba(231,76,60,0.2); }
.alert-info    { background: rgba(52,152,219,0.1); color: #1a6294; border: 1px solid rgba(52,152,219,0.2); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
  padding: 6rem 0 3rem;
  color: white;
  text-align: center;
  margin-top: 72px;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.page-header p { color: rgba(255,255,255,0.75); font-size: 1.0625rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { opacity: 0.5; }

/* ============================================================
   WISHLIST SIDEBAR
   ============================================================ */
.wishlist-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 360px;
  height: 100vh;
  background: white;
  z-index: 3000;
  transform: translateX(100%);
  transition: transform var(--transition);
  box-shadow: -8px 0 40px rgba(13,27,42,0.15);
  display: flex;
  flex-direction: column;
}
.wishlist-drawer.open { transform: translateX(0); }
.drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-header h3 { font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.5rem; }
.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}
.wish-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.wish-item img {
  width: 72px; height: 72px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.wish-item-info { flex: 1; }
.wish-item-name { font-size: 0.875rem; font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }
.wish-item-price { font-size: 0.875rem; color: var(--azure); font-weight: 600; }
.wish-remove {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.875rem;
  padding: 0.25rem;
  transition: color var(--transition);
}
.wish-remove:hover { color: var(--error); }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }

.loading-spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--sand) 50%, var(--border) 75%);
  background-size: 200%;
  animation: skeleton 1.4s ease infinite;
  border-radius: 6px;
}
@keyframes skeleton { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-detail-imgs { grid-template-columns: 1fr; }
  .plan-detail-imgs img:first-child { grid-column: 1; height: 200px; }
  .form-row { grid-template-columns: 1fr; }
  .payment-methods { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .detail-specs-grid { grid-template-columns: 1fr; }
  .wishlist-drawer { width: 100%; }
}

@media (max-width: 480px) {
  .hero-stats { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .payment-steps .step-label { display: none; }
  .modal { max-height: 100vh; border-radius: 0; }
  .payment-methods { grid-template-columns: 1fr; }
}
