/* ============================================
   Rainbow Horse — Golden Hour Design System
   ============================================ */

/* ── Design Tokens ── */
:root {
  /* Brand — Rich Gold */
  --brand-gold:        #c7941e;
  --brand-gold-hover:  #b3820d;
  --brand-gold-light:  rgba(199,148,30,0.15);
  --brand-gold-subtle: rgba(199,148,30,0.07);
  --brand-deep:        #3d3226;  /* chocolate brown */

  /* Headings & labels */
  --heading:           #2c2520;
  --label:             #4d4338;

  /* Accent — Terracotta */
  --terracotta:        #c1666b;
  --terracotta-light:  rgba(193,102,107,0.08);

  /* Surfaces — warm cream/beige */
  --white:             #ffffff;
  --cream:             #faf8f5;
  --gray-50:           #f8f5f0;
  --gray-100:          #f3efe7;
  --gray-200:          #e8e0d4;
  --slate-body:        #8c7b6b;
  --slate-muted:       #a89888;

  /* Status */
  --success:           #4a9c3f;
  --success-bg:        rgba(74,156,63,0.1);
  --success-text:      #3a7a32;

  /* Shadows — warm-tinted */
  --shadow-ambient:    rgba(61,50,38,0.05) 0px 3px 6px;
  --shadow-card:       rgba(61,50,38,0.08) 0px 15px 35px;
  --shadow-elevated:   rgba(61,50,38,0.18) 0px 30px 45px -30px,
                        rgba(44,37,32,0.08) 0px 18px 36px -18px;

  /* Radius */
  --radius-xs:         4px;
  --radius-sm:         6px;
  --radius-md:         8px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--heading);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  background: rgba(255,255,255,0.94) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 3px rgba(61,50,38,0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .brand-icon {
  font-size: 1.4rem;
  margin-right: 6px;
  display: inline-block;
  transition: transform 0.2s ease;
}
.brand-logo-img {
  height: 36px;
  width: auto;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.navbar-brand:hover .brand-logo-img {
  transform: scale(1.04);
}
.navbar-brand:hover .brand-icon {
  transform: rotate(-5deg) scale(1.08);
}
.navbar-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.3px;
  color: var(--heading) !important;
  display: inline-flex !important;
  align-items: center;
}
.nav-link {
  font-weight: 500;
  font-size: 0.875rem;
  margin: 0 2px;
  padding: 6px 14px !important;
  border-radius: var(--radius-xs);
  color: var(--heading) !important;
  transition: all 0.2s ease;
}
.nav-link:hover {
  background: var(--brand-gold-subtle);
  color: var(--brand-gold) !important;
}
.nav-link-sell {
  background: var(--brand-gold) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-xs);
}
.nav-link-sell:hover {
  background: var(--brand-gold-hover) !important;
  color: var(--white) !important;
}

/* Nav Search — desktop only */
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-search-icon {
  position: absolute;
  left: 12px;
  font-size: 0.8rem;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}
.nav-search-input {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  padding: 6px 12px 6px 32px;
  color: var(--heading);
  font-size: 0.8rem;
  width: 200px;
  transition: all 0.2s ease;
  outline: none;
}
.nav-search-input::placeholder { color: var(--slate-body); }
.nav-search-input:focus {
  background: var(--white);
  border-color: var(--brand-gold);
  width: 260px;
  box-shadow: 0 0 0 3px var(--brand-gold-subtle);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #fdfaf5 0%, var(--white) 100%);
  color: var(--heading);
  padding: 90px 0 100px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, var(--brand-gold-subtle) 0%, transparent 45%),
    radial-gradient(circle at 80% 60%, var(--terracotta-light) 0%, transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .badge-top {
  display: inline-block;
  background: var(--brand-gold-subtle);
  color: var(--brand-gold);
  padding: 4px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid var(--brand-gold-light);
  letter-spacing: 0.2px;
}
.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: 3.25rem;
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: var(--heading);
}
.hero .hero-gold {
  background: linear-gradient(135deg, #c7941e, #e8a72b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--slate-body);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 52px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brand-gold);
  letter-spacing: -0.3px;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--slate-body);
  font-weight: 400;
}

/* Hero Floating Cards */
.hero-cards {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.hero-card-float {
  position: absolute;
  width: 70px;
  height: 46px;
  border-radius: var(--radius-xs);
  opacity: 0.07;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.04);
}
.hero-card-float:nth-child(1) { top: 18%; left: 8%; background: linear-gradient(135deg, #FF9900, #FF6600); animation: floatCard 6s ease-in-out infinite; }
.hero-card-float:nth-child(2) { top: 22%; right: 10%; background: linear-gradient(135deg, #3DDC84, #00a86b); animation: floatCard 8s ease-in-out infinite 1s; }
.hero-card-float:nth-child(3) { bottom: 25%; left: 12%; background: linear-gradient(135deg, #E50914, #b20710); animation: floatCard 7s ease-in-out infinite 2s; }
.hero-card-float:nth-child(4) { bottom: 28%; right: 6%; background: linear-gradient(135deg, #003087, #002060); animation: floatCard 9s ease-in-out infinite 0.5s; }
.hero-card-float:nth-child(5) {
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--brand-gold), #e8a72b);
  opacity: 0.03;
  width: 160px; height: 100px;
  border-radius: var(--radius-md);
  animation: floatCard 10s ease-in-out infinite 3s;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}

/* ── Buttons ── */
.btn-gold {
  background: linear-gradient(135deg, var(--brand-gold), #d49c1a);
  color: var(--white) !important;
  border: none;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: var(--radius-xs);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(199,148,30,0.25);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--brand-gold-hover), #c7941e);
  box-shadow: 0 4px 16px rgba(199,148,30,0.35);
  color: var(--white) !important;
  transform: translateY(-1px);
}
.btn-gold:active { transform: scale(0.98); }

.btn-outline-gold {
  background: transparent;
  color: var(--brand-gold) !important;
  border: 1px solid var(--brand-gold-light);
  font-weight: 600;
  padding: 10px 28px;
  border-radius: var(--radius-xs);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-gold:hover {
  background: var(--brand-gold-subtle);
  border-color: var(--brand-gold);
  color: var(--brand-gold) !important;
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-size: 2rem;
  color: var(--heading);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.section-header .section-sub {
  color: var(--slate-body);
  font-size: 1rem;
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
}
.section-header .section-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-gold), transparent);
  border-radius: 1px;
  margin: 14px auto 0;
}

/* ==========================================
   FILTER TABS
   ========================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 6px 18px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--slate-body);
  border-radius: var(--radius-xs);
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: var(--brand-gold-subtle);
}
.filter-btn.active {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--white);
}

/* ==========================================
   GIFT CARD GRID
   ========================================== */
.gift-card-wrapper {
  padding: 64px 0 80px;
  background: var(--cream);
}
.gift-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

/* Gift Card Component */
.gift-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-ambient);
  position: relative;
  border: 1px solid var(--gray-200);
  display: block;
  color: inherit;
  text-decoration: none;
}
.gift-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated), 0 0 0 1px var(--brand-gold-light);
}

/* Gift Card Image */
.gift-card-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gift-card:hover .gift-card-image { transform: scale(1.04); }

/* Card Hot Badge */
.gift-card .card-hot {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--success-bg);
  color: var(--success-text);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.6rem;
  font-weight: 600;
  z-index: 2;
  border: 1px solid rgba(74,156,63,0.35);
  letter-spacing: 0.2px;
}

/* Card Content */
.gift-card-body {
  padding: 14px 16px 16px;
  position: relative;
  z-index: 2;
}
.gift-card-body .card-name {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gift-card-body .card-footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.gift-card-body .card-price-label {
  font-size: 0.68rem;
  color: var(--slate-body);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.gift-card-body .card-price {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--heading);
  font-size: 0.95rem;
}
.card-sell-btn {
  display: block;
  width: 100%;
  padding: 8px 0;
  background: var(--brand-deep);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xs);
  font-weight: 500;
  font-size: 0.8rem;
  text-align: center;
  transition: all 0.2s ease;
}
.gift-card:hover .card-sell-btn {
  background: linear-gradient(135deg, var(--brand-gold), #d49c1a);
}

/* ==========================================
   AMOUNT PRESET BUTTONS
   ========================================== */
.amount-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.amount-btn {
  padding: 6px 16px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--heading);
  border-radius: var(--radius-xs);
  font-weight: 500;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 56px;
  text-align: center;
}
.amount-btn:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: var(--brand-gold-subtle);
}
.amount-btn.active {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--white);
}

/* Custom Amount Input */
.amount-custom {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  overflow: hidden;
  transition: all 0.15s ease;
  background: var(--white);
}
.amount-custom:focus-within {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px var(--brand-gold-subtle);
}
.amount-custom-prefix {
  padding: 6px 0 6px 12px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--slate-body);
}
.amount-custom-input {
  border: none;
  outline: none;
  padding: 6px 12px 6px 2px;
  width: 70px;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--heading);
  background: transparent;
}
.amount-custom-input::placeholder { color: var(--slate-body); font-weight: 400; }
.amount-custom-input::-webkit-inner-spin-button,
.amount-custom-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.amount-custom-input[type=number] { -moz-appearance: textfield; }

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}
.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, var(--brand-gold-subtle) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, var(--terracotta-light) 0%, transparent 50%);
  pointer-events: none;
}
.feature-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
}
.feature-card:hover {
  background: var(--cream);
  transform: translateY(-2px);
}
.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.feature-icon-box.gold   { background: var(--brand-gold-subtle); }
.feature-icon-box.green  { background: var(--success-bg); }
.feature-icon-box.purple { background: var(--terracotta-light); }
.feature-card h5 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--heading);
}
.feature-card p {
  color: var(--slate-body);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================
   FUNDS TRANSFER SECTION
   ========================================== */
.transfer-section {
  padding: 64px 0;
  background: var(--cream);
}
.transfer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.transfer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-xs);
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.transfer-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--brand-gold-light);
  color: inherit;
}
.transfer-name {
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--heading);
  min-width: 70px;
}
.transfer-btn {
  margin-left: auto;
  padding: 3px 10px;
  background: var(--gray-100);
  color: var(--label);
  font-weight: 500;
  font-size: 0.68rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.transfer-item:hover .transfer-btn {
  background: var(--brand-gold);
  color: var(--white);
}
.transfer-rate {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--success-text);
  background: var(--success-bg);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  border: 1px solid rgba(74,156,63,0.2);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  background: var(--brand-deep);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--brand-gold-subtle) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-size: 2rem;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.cta-section p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}
.cta-section .btn-outline-gold {
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.3);
}
.cta-section .btn-outline-gold:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: var(--white) !important;
}

/* ==========================================
   HOW IT WORKS PAGE
   ========================================== */
.page-header {
  background: var(--brand-deep);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
.page-header h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-size: 2.25rem;
  letter-spacing: -0.5px;
}
.page-header p {
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
}

.steps-section { padding: 64px 0; }
.step-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-ambient);
  margin-bottom: 14px;
  transition: all 0.2s ease;
  border: 1px solid var(--gray-200);
}
.step-number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--brand-gold), #d49c1a);
  color: var(--white);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
}
.step-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-elevated);
}
.step-content h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--heading);
}
.step-content p {
  color: var(--slate-body);
  margin: 0;
  line-height: 1.6;
  font-size: 0.92rem;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
}
.info-card h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--heading);
}

/* ==========================================
   INQUIRY PAGE
   ========================================== */
.inquiry-section { padding: 56px 0; }
.inquiry-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
}
.inquiry-card .form-control,
.inquiry-card .form-select {
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  transition: all 0.15s ease;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--heading);
}
.inquiry-card .form-control:focus,
.inquiry-card .form-select:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px var(--brand-gold-subtle);
  outline: none;
}
.inquiry-card .form-label {
  font-weight: 500;
  font-size: 0.84rem;
  margin-bottom: 5px;
  color: var(--label);
}

/* ==========================================
   CATEGORY PAGE
   ========================================== */
.category-detail-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
}
.category-detail-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-card);
}
.calc-input {
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.15s ease;
  color: var(--heading);
}
.calc-input:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px var(--brand-gold-subtle);
  outline: none;
}

/* ==========================================
   ESTIMATE BOX
   ========================================== */
.estimate-box {
  background: var(--success-bg);
  border: 1px solid rgba(74,156,63,0.3);
  border-radius: var(--radius-xs);
  padding: 14px 18px;
  font-weight: 500;
}
.estimate-price {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  color: var(--success-text);
  font-weight: 600;
}
.rate-badge-large {
  display: inline-flex;
  align-items: center;
  background: var(--brand-gold-subtle);
  color: var(--brand-gold);
  padding: 4px 14px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.84rem;
  border: 1px solid var(--brand-gold-light);
}
.formula-box {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-size: 0.78rem;
}
.formula-display {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-gold);
}
.formula-result {
  font-weight: 600;
  color: var(--terracotta);
  font-size: 0.9rem;
}

/* ==========================================
.chat-header {
  background: var(--brand-deep);
  color: var(--white);
  padding: 16px 0;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.chat-header h5 { font-family: 'Sora', sans-serif; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.message {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  position: relative;
  animation: msgIn 0.3s ease;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.message-customer {
  background: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: var(--radius-xs);
  box-shadow: var(--shadow-ambient);
}
.message-admin {
  background: var(--brand-deep);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: var(--radius-xs);
}
.message .msg-text { word-wrap: break-word; line-height: 1.5; }
.message .msg-image { margin-top: 8px; }
.message .msg-image img {
  max-width: 220px;
  max-height: 220px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.message .msg-image img:hover { transform: scale(1.05); }
.message .msg-time {
  font-size: 0.65rem;
  opacity: 0.5;
  margin-top: 6px;
}
.chat-input {
  background: var(--white);
  padding: 16px 0;
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.chat-input .form-control {
  border-radius: var(--radius-xs) !important;
  padding: 10px 18px;
  border: 1px solid var(--gray-200);
}
.chat-input .form-control:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px var(--brand-gold-subtle);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--brand-deep);
  color: rgba(255,255,255,0.65);
  padding: 48px 0 28px;
  margin-top: 0;
}
.footer-title {
  font-family: 'Sora', sans-serif;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.footer-text { font-size: 0.84rem; line-height: 1.7; opacity: 0.7; }
.footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.84rem;
  transition: all 0.15s ease;
}
.footer a:hover { color: rgba(255,255,255,0.9); }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-badge { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-badge-item {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.06);
}
.footer-payments { display: flex; gap: 6px; flex-wrap: wrap; }
.payment-icon {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.06);
}
.footer-divider {
  border-color: rgba(255,255,255,0.06);
  margin: 28px 0 18px;
}
.footer-copy { font-size: 0.76rem; opacity: 0.45; }

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger animation delays */
.gift-card-grid .gift-card:nth-child(1)  { transition-delay: 0.02s; }
.gift-card-grid .gift-card:nth-child(2)  { transition-delay: 0.04s; }
.gift-card-grid .gift-card:nth-child(3)  { transition-delay: 0.06s; }
.gift-card-grid .gift-card:nth-child(4)  { transition-delay: 0.08s; }
.gift-card-grid .gift-card:nth-child(5)  { transition-delay: 0.10s; }
.gift-card-grid .gift-card:nth-child(6)  { transition-delay: 0.12s; }
.gift-card-grid .gift-card:nth-child(7)  { transition-delay: 0.14s; }
.gift-card-grid .gift-card:nth-child(8)  { transition-delay: 0.16s; }
.gift-card-grid .gift-card:nth-child(9)  { transition-delay: 0.18s; }
.gift-card-grid .gift-card:nth-child(10) { transition-delay: 0.20s; }
.gift-card-grid .gift-card:nth-child(11) { transition-delay: 0.22s; }
.gift-card-grid .gift-card:nth-child(12) { transition-delay: 0.24s; }
.gift-card-grid .gift-card:nth-child(13) { transition-delay: 0.26s; }
.gift-card-grid .gift-card:nth-child(14) { transition-delay: 0.28s; }
.gift-card-grid .gift-card:nth-child(15) { transition-delay: 0.30s; }
.gift-card-grid .gift-card:nth-child(16) { transition-delay: 0.32s; }

/* ==========================================
   AIRPORT RECOMMENDATION
   ========================================== */
.airport-section {
  padding: 56px 0 64px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}
.airport-tier-group {
  margin-bottom: 44px;
}
.airport-tier-group:last-child {
  margin-bottom: 0;
}
.airport-tier-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.airport-tier-label {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 3px 12px;
  border-radius: var(--radius-xs);
  background: var(--brand-gold-subtle);
  color: var(--brand-gold);
  border: 1px solid var(--brand-gold-light);
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.airport-tier-desc {
  color: var(--slate-body);
  font-size: 0.82rem;
  font-weight: 400;
}
.airport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.airport-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}
.airport-card:hover {
  box-shadow: 0 4px 12px rgba(61,50,38,0.08);
  border-color: var(--brand-gold-light);
  transform: translateY(-2px);
}
.airport-card-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading);
  margin-bottom: 2px;
}
.airport-card-price {
  font-size: 0.78rem;
  color: var(--slate-body);
  margin-bottom: 8px;
}
.airport-card-title {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--heading);
  margin-bottom: 4px;
}
.airport-card-desc {
  font-size: 0.78rem;
  color: var(--slate-body);
  line-height: 1.5;
  margin-bottom: 10px;
  flex: 1;
}
.airport-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.airport-card-tag {
  font-size: 0.65rem;
  padding: 2px 8px;
  background: var(--gray-50);
  color: var(--label);
  border-radius: 4px;
  border: 1px solid var(--gray-200);
}
.airport-card-restriction {
  font-size: 0.68rem;
  color: #8c6e3f;
  line-height: 1.4;
  margin-bottom: 12px;
  padding: 7px 10px;
  background: #fefcf5;
  border-radius: var(--radius-xs);
  border-left: 2px solid #e8c97a;
}
.airport-card-btn {
  display: block;
  width: 100%;
  padding: 8px 0;
  border: none;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.airport-card-btn.active {
  background: var(--brand-gold);
  color: var(--white);
}
.airport-card-btn.active:hover {
  background: var(--brand-gold-hover);
  box-shadow: 0 2px 8px rgba(199,148,30,0.25);
  color: var(--white);
  text-decoration: none;
}
.airport-link-pending {
  font-size: 0.72rem;
  color: var(--slate-muted);
  text-align: center;
  padding: 4px 0;
  line-height: 1;
}

/* ── Advice Section ── */
.airport-advice {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}
.airport-advice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.airport-advice-card {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.2s ease;
}
.airport-advice-card:hover {
  box-shadow: 0 4px 12px rgba(61,50,38,0.06);
  transform: translateY(-2px);
}
.airport-advice-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.airport-advice-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--heading);
  margin-bottom: 6px;
}
.airport-advice-desc {
  font-size: 0.78rem;
  color: var(--slate-body);
  line-height: 1.6;
}

/* ── Featured Section ── */
.airport-featured {
  margin-top: 40px;
  padding: 40px 24px;
  background: #fefcf8;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}
.airport-featured .section-header {
  margin-bottom: 28px;
}
.airport-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.airport-featured-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.airport-featured-card:hover {
  box-shadow: 0 4px 12px rgba(61,50,38,0.08);
  border-color: var(--brand-gold-light);
  transform: translateY(-2px);
}
.airport-featured-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-xs);
  background: var(--brand-gold-subtle);
  color: var(--brand-gold);
  border: 1px solid var(--brand-gold-light);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}
.airport-featured-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading);
  margin-bottom: 6px;
}
.airport-featured-desc {
  font-size: 0.78rem;
  color: var(--slate-body);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

@media (max-width: 768px) {
  .airport-grid {
    grid-template-columns: 1fr;
  }
  .airport-tier-header {
    flex-wrap: wrap;
  }
  .airport-advice-grid {
    grid-template-columns: 1fr;
  }
  .airport-featured-grid {
    grid-template-columns: 1fr;
  }
  .airport-featured {
    padding: 24px 16px;
  }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 991px) {
  .nav-search { margin: 10px 0; width: 100%; }
  .nav-search-input,
  .nav-search-input:focus { width: 100%; }
  .navbar-nav .nav-link { padding: 10px 14px !important; }
}

@media (max-width: 768px) {
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-stats { gap: 28px; }
  .hero-stat-value { font-size: 1.3rem; }
  .gift-card-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .gift-card-image { height: 120px; }
  .section-header h2 { font-size: 1.5rem; }
  .section-header .section-sub { font-size: 0.9rem; }
  .page-header h1 { font-size: 1.6rem; }
  .page-header { padding: 40px 0; }
  .cta-section h2 { font-size: 1.5rem; }
  .step-card { padding: 18px; }
  .step-number { width: 38px; height: 38px; min-width: 38px; font-size: 1rem; }
  .inquiry-card { padding: 24px; }
  .category-detail-card { padding: 24px; }

  /* Filter tabs: horizontal scroll */
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 4px;
    padding-bottom: 8px;
    justify-content: flex-start;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-btn {
    scroll-snap-align: start;
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 44px;
  }

  /* Steps vertical */
  .step-card { flex-direction: column; gap: 12px; }

  /* Chat mobile */
  .chat-header .ms-auto {
    width: 100%;
    text-align: left !important;
    margin-top: 8px;
    display: flex;
    gap: 12px;
  }
  .message { max-width: 92%; }
}

@media (max-width: 576px) {
  .gift-card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gift-card-image { height: 100px; }
  .gift-card-body { padding: 10px 12px 12px; }
  .gift-card-body .card-name { font-size: 0.78rem; }
  .message { max-width: 90%; }
  .navbar-brand { font-size: 1.1rem; }
  .hero h1 { font-size: 1.6rem; }
}

/* Extra small devices (<400px) */
@media (max-width: 400px) {
  .hero { padding: 32px 0 40px; }
  .hero h1 { font-size: 1.35rem; letter-spacing: -0.4px; }
  .hero-sub { font-size: 0.85rem; margin-bottom: 24px; }
  .hero .btn-lg,
  .cta-section .btn-lg { width: 100%; text-align: center; }
  .hero-stats { gap: 16px; margin-top: 28px; }
  .hero-stat-value { font-size: 1.1rem; }
  .hero-stat-label { font-size: 0.7rem; }

  .gift-card-grid { gap: 6px; }
  .gift-card-image { height: 80px; }
  .gift-card-body { padding: 8px 8px 10px; }
  .gift-card-body .card-name { font-size: 0.72rem; margin-bottom: 4px; }
  .gift-card-body .card-price-label { font-size: 0.6rem; }
  .gift-card-body .card-price { font-size: 0.8rem; }
  .card-sell-btn { font-size: 0.72rem; padding: 6px 0; }
  .gift-card .card-hot { font-size: 0.55rem; top: 4px; right: 4px; padding: 1px 6px; }

  .transfer-grid { grid-template-columns: 1fr; }
  .transfer-item { padding: 10px 12px; }
  .transfer-name { font-size: 0.8rem; min-width: 60px; }

  .section-header { margin-bottom: 24px; }
  .section-header h2 { font-size: 1.25rem; }
  .section-header .section-sub { font-size: 0.82rem; }

  .page-header h1 { font-size: 1.35rem; }
  .page-header p { font-size: 0.85rem; }

  .features-section { padding: 48px 0; }
  .feature-card { padding: 20px 16px; }

  .cta-section { padding: 48px 0; }
  .cta-section h2 { font-size: 1.25rem; }
  .cta-section p { font-size: 0.85rem; }

  .inquiry-card { padding: 16px; }
  .category-detail-card { padding: 16px; }

  .footer { padding: 32px 0 20px; }

  .amount-presets { gap: 4px; }
  .amount-btn { padding: 6px 12px; font-size: 0.78rem; min-width: 48px; }

  .amount-custom-input { width: 60px; }
}

/* Touch improvements */
.nav-link, .btn, .filter-btn, .amount-btn, .transfer-item, .gift-card {
  -webkit-tap-highlight-color: var(--brand-gold-subtle);
}
.nav-link, .filter-btn, .amount-btn, .transfer-btn {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.transfer-item { min-height: 52px; }

/* Prevent iOS zoom on form focus */
.form-control, .form-select, .calc-input {
  font-size: 16px !important;
}

/* Amount presets: horizontal scroll on small screens */
.amount-presets {
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}
.amount-presets::-webkit-scrollbar { display: none; }
.amount-btn { flex-shrink: 0; scroll-snap-align: start; }
.amount-custom { flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-card-float { display: none; }
}

/* ── WhatsApp Float Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}
@media (max-width: 576px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}

/* ── Region Toggle ── */
.region-toggle {
  display: flex;
  gap: 6px;
}
.region-btn {
  padding: 6px 16px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--heading);
  border-radius: var(--radius-xs);
  font-weight: 500;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 56px;
  text-align: center;
}
.region-btn:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: var(--brand-gold-subtle);
}
.region-btn.active {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--white);
}

/* ── Contact Divider ── */
.contact-divider {
  margin: 14px 0 12px;
  border-top: 1px solid #e8e0d0;
}

/* ── Contact Customer Link (in-card) ── */
.contact-cs-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 16px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--heading);
  border-radius: var(--radius-xs);
  font-weight: 500;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}
.contact-cs-link:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: var(--brand-gold-subtle);
  text-decoration: none;
}

/* ========== Other Amount Button ========== */
.amount-other-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.amount-other-btn {
  border-style: dashed !important;
  color: var(--slate-body);
  font-weight: 500;
}
.amount-other-btn.active {
  background: var(--brand-gold) !important;
  border-style: solid !important;
  color: var(--white) !important;
}
.amount-custom-inline {
  display: inline-flex;
}

/* ==========================================
   DESIGN ENHANCEMENT — Brand Warmth Overrides
   ========================================== */

/* ── Global form focus: Bootstrap blue → Gold ── */
.form-control:focus,
.form-select:focus,
.calc-input:focus {
  border-color: var(--brand-gold) !important;
  box-shadow: 0 0 0 3px var(--brand-gold-subtle) !important;
  outline: none;
}

/* ── Body warmth ── */
body {
  background: var(--cream);
}

/* ── Warm text-muted override ── */
.text-muted { color: var(--slate-muted) !important; }

/* ── Cards: brand-warm shadow ── */
.card {
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

/* ── Alert: warm toned ── */
.alert {
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}
.alert-danger {
  background: rgba(193,102,107,0.08);
  border-color: rgba(193,102,107,0.2);
  color: #a04a4f;
}
.alert-info {
  background: rgba(199,148,30,0.08);
  border-color: rgba(199,148,30,0.2);
  color: #8b6914;
}
.alert-success {
  background: var(--success-bg);
  border-color: rgba(74,156,63,0.2);
  color: var(--success-text);
}

/* ── Card hot badge: green → gold ── */
.gift-card .card-hot {
  background: var(--brand-gold-subtle);
  color: #8b6914;
  border-color: var(--brand-gold-light);
}

/* ── Page header: subtle gold glow ── */
.page-header::before {
  content: '';
  position: absolute;
  top: -50%; left: -30%;
  width: 160%; height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(199,148,30,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Login / Register pages: brand-warm card ── */
.auth-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
}

/* ── Inquiry section: warm background ── */
.inquiry-section {
  background: var(--cream);
  padding: 48px 0 80px;
}

/* ── Estimate box: brand gold accent ── */
.estimate-box {
  border-left: 3px solid var(--brand-gold);
}

/* ── Rate badge: enhance visual weight ── */
.rate-badge-large {
  background: linear-gradient(135deg, var(--brand-gold-subtle), rgba(199,148,30,0.12));
  border: 1px solid var(--brand-gold-light);
}

/* ── Step card: brand-warm hover ── */
.step-card:hover {
  border-color: var(--brand-gold-light);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--brand-gold-light);
}

/* ── Amount presets: gold active state ── */
.amount-btn.active {
  background: var(--brand-gold);
  color: var(--white);
  border-color: var(--brand-gold);
}
.amount-btn:not(.active):hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

/* ── Info card: warm styling ── */
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-ambient);
}

/* ── Transfer item: gold hover ── */
.transfer-item:hover {
  border-color: var(--brand-gold) !important;
  box-shadow: 0 0 0 3px var(--brand-gold-subtle);
}

/* ── Transitions: global link & btn polish ── */
a:not(.btn):not(.nav-link):not(.navbar-brand):not(.gift-card) {
  transition: color 0.15s ease;
}
.customer-chat-float .chat-float-footer .btn { width: 100%; }


/* ============================================
   VPN PAGE STYLES — rainbowhorse.cc
   Scoped under .vpn-header / .vpn-page / .vpn-footer
   Does NOT affect card.rainbowhorse.cc
   ============================================ */

/* ---- CSS Variables ---- */
.vpn-header,
.vpn-page,
.vpn-footer {
  --vpn-bg: #F8FAFC;
  --vpn-surface: #FFFFFF;
  --vpn-surface-soft: #F1F5F9;
  --vpn-text: #0F172A;
  --vpn-text-muted: #64748B;
  --vpn-primary: #2563EB;
  --vpn-primary-hover: #1D4ED8;
  --vpn-primary-soft: #EFF6FF;
  --vpn-border: #E2E8F0;
  --vpn-border-strong: #CBD5E1;
  --vpn-accent: #F59E0B;
  --vpn-success: #16A34A;
  --vpn-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --vpn-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --vpn-radius: 12px;
  --vpn-radius-sm: 8px;
  --vpn-max-width: 1160px;
}

/* ---- Base ---- */
.vpn-page {
  background: var(--vpn-bg);
  color: var(--vpn-text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 60vh;
}
.vpn-page * { box-sizing: border-box; }
.vpn-container {
  max-width: var(--vpn-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.vpn-header {
  background: var(--vpn-surface);
  border-bottom: 1px solid var(--vpn-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.vpn-header-inner {
  max-width: var(--vpn-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.vpn-header-logo {
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--vpn-text);
  text-decoration: none;
  white-space: nowrap;
}
.vpn-header-logo img { width: 38px; height: auto; max-height: 42px; flex-shrink: 0;
}
.vpn-header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.vpn-header-nav a {
  padding: 6px 12px;
  font-size: 14px;
  color: var(--vpn-text-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.vpn-header-nav a:hover {
  color: var(--vpn-primary);
  background: var(--vpn-primary-soft);
}
.vpn-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.vpn-header-cta {
  padding: 7px 16px;
  background: var(--vpn-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.vpn-header-cta:hover {
  background: var(--vpn-primary-hover);
  color: #fff;
}
.vpn-header-toggle {
  display: none;
  background: none;
  border: 1px solid var(--vpn-border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--vpn-text);
}
.vpn-header-toggle svg { width: 18px; height: 18px; }

/* ---- Buttons ---- */
.vpn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  border: 1px solid transparent;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
}
.vpn-btn-primary {
  background: var(--vpn-primary);
  color: #fff;
}
.vpn-btn-primary:hover {
  background: var(--vpn-primary-hover);
  color: #fff;
}
.vpn-btn-outline {
  background: var(--vpn-surface);
  color: var(--vpn-text);
  border-color: var(--vpn-border-strong);
}
.vpn-btn-outline:hover {
  border-color: var(--vpn-primary);
  color: var(--vpn-primary);
}

/* ---- Section Head ---- */
.vpn-section-head {
  margin-bottom: 24px;
}
.vpn-section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--vpn-primary);
  margin-bottom: 4px;
}
.vpn-section-title {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--vpn-text);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.vpn-section-sub {
  font-size: 14px;
  color: var(--vpn-text-muted);
  margin: 0;
  max-width: 600px;
}

/* ---- Hero ---- */
.vpn-hero {
  padding: 56px 0 40px;
}
.vpn-hero-inner {}
.vpn-hero-title {
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--vpn-text);
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.vpn-hero-sub {
  font-size: 16px;
  color: var(--vpn-text-muted);
  margin: 0 0 24px;
  line-height: 1.6;
}
.vpn-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.vpn-hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.vpn-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--vpn-text-muted);
}
.vpn-hero-trust-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vpn-success);
  flex-shrink: 0;
}

/* ---- Category Cards ---- */
.vpn-category-section {
  padding: 0 0 48px;
}
.vpn-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.vpn-category-card {
  background: var(--vpn-surface);
  border: 1px solid var(--vpn-border);
  border-radius: var(--vpn-radius);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: block;
}
.vpn-category-card:hover {
  border-color: var(--vpn-border-strong);
  box-shadow: var(--vpn-shadow-sm);
}
.vpn-category-label {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--vpn-text);
  margin-bottom: 4px;
}
.vpn-category-desc {
  font-size: 13px;
  color: var(--vpn-text-muted);
  line-height: 1.5;
}

/* ---- Airport Section ---- */
.airport-section {
  padding: 32px 0;
}
.airport-tier-group {
  margin-bottom: 36px;
}
.airport-tier-group:last-child {
  margin-bottom: 0;
}
.airport-tier-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--vpn-border);
  flex-wrap: wrap;
}
.airport-tier-label {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--vpn-text);
}
.airport-tier-desc {
  font-size: 13px;
  color: var(--vpn-text-muted);
}
.airport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.airport-card {
  background: var(--vpn-surface);
  border: 1px solid var(--vpn-border);
  border-radius: var(--vpn-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.airport-card:hover {
  border-color: var(--vpn-border-strong);
  box-shadow: var(--vpn-shadow-sm);
}
.airport-card-name {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--vpn-text);
  margin-bottom: 4px;
}
.airport-card-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--vpn-primary);
  margin-bottom: 10px;
}
.airport-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--vpn-text);
  margin-bottom: 6px;
}
.airport-card-desc {
  font-size: 13px;
  color: var(--vpn-text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}
.airport-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.airport-card-tag {
  font-size: 12px;
  padding: 2px 8px;
  background: var(--vpn-surface-soft);
  color: var(--vpn-text-muted);
  border-radius: 4px;
  line-height: 1.4;
}
.airport-card-restriction {
  font-size: 12px;
  color: var(--vpn-text-muted);
  padding: 8px 10px;
  background: var(--vpn-surface-soft);
  border-radius: var(--vpn-radius-sm);
  margin-bottom: 14px;
  line-height: 1.5;
}
.airport-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--vpn-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.15s;
  width: fit-content;
  font-family: 'Inter', sans-serif;
}
.airport-card-btn:hover {
  background: var(--vpn-primary-hover);
}
.airport-link-pending {
  font-size: 13px;
  color: var(--vpn-text-muted);
  margin-top: auto;
}

/* ---- Loading / Error ---- */
.vpn-loading {
  text-align: center;
  padding: 60px 0;
  color: var(--vpn-text-muted);
  font-size: 14px;
}
.vpn-error {
  text-align: center;
  padding: 60px 0;
  color: var(--vpn-text-muted);
  font-size: 14px;
}

/* ---- Advice ---- */
.airport-advice {
  padding: 48px 0 8px;
}
.airport-advice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.airport-advice-card {
  background: var(--vpn-surface);
  border: 1px solid var(--vpn-border);
  border-radius: var(--vpn-radius);
  padding: 24px;
}
.airport-advice-icon {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--vpn-primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.airport-advice-title {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--vpn-text);
  margin-bottom: 6px;
}
.airport-advice-desc {
  font-size: 13px;
  color: var(--vpn-text-muted);
  line-height: 1.55;
}

/* ---- Featured ---- */
.airport-featured {
  padding: 40px 0 8px;
}
.airport-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.airport-featured-card {
  background: var(--vpn-surface);
  border: 1px solid var(--vpn-border);
  border-radius: var(--vpn-radius);
  padding: 24px;
}
.airport-featured-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--vpn-primary);
  background: var(--vpn-primary-soft);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.airport-featured-name {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--vpn-text);
  margin-bottom: 8px;
}
.airport-featured-desc {
  font-size: 13px;
  color: var(--vpn-text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* ---- Guides ---- */
.vpn-guides {
  padding: 0 0 56px;
}
.vpn-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.vpn-guide-card {
  background: var(--vpn-surface);
  border: 1px solid var(--vpn-border);
  border-radius: var(--vpn-radius);
  padding: 18px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.15s;
}
.vpn-guide-card:hover {
  border-color: var(--vpn-primary);
}
.vpn-guide-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--vpn-text);
}
.vpn-guide-arrow {
  color: var(--vpn-text-muted);
  font-size: 16px;
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
}
.vpn-guide-card:hover .vpn-guide-arrow {
  color: var(--vpn-primary);
  transform: translateX(3px);
}

/* ---- Footer ---- */
.vpn-footer {
  background: var(--vpn-surface);
  border-top: 1px solid var(--vpn-border);
  padding: 40px 0 24px;
  margin-top: auto;
}
.vpn-footer-inner {
  max-width: var(--vpn-max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.vpn-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.vpn-footer-brand {
  flex: 0 0 280px;
}
.vpn-footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--vpn-text);
  margin-bottom: 8px;
}
.vpn-footer-logo img {
  width: 24px;
  height: 24px;
}
.vpn-footer-desc {
  font-size: 13px;
  color: var(--vpn-text-muted);
  line-height: 1.6;
}
.vpn-footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.vpn-footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--vpn-text);
  margin: 0 0 12px;
}
.vpn-footer-col a {
  display: block;
  font-size: 13px;
  color: var(--vpn-text-muted);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s;
}
.vpn-footer-col a:hover {
  color: var(--vpn-primary);
}
.vpn-footer-bottom {
  border-top: 1px solid var(--vpn-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.vpn-footer-copy {
  font-size: 13px;
  color: var(--vpn-text-muted);
}
.vpn-footer-copy span {
  opacity: 0.5;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .vpn-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .airport-advice-grid,
  .airport-featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .vpn-header-nav {
    display: none;
  }
  .vpn-header-nav.open {
    display: flex;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--vpn-surface);
    border-bottom: 1px solid var(--vpn-border);
    flex-direction: column;
    padding: 8px 24px 16px;
    gap: 0;
    box-shadow: var(--vpn-shadow);
  }
  .vpn-header-nav.open a {
    padding: 12px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--vpn-border);
  }
  .vpn-header-nav.open a:last-child {
    border-bottom: none;
  }
  .vpn-header-toggle {
    display: flex;
  }
  .vpn-header-actions .vpn-header-cta {
    display: none;
  }
  .vpn-hero {
    padding: 40px 0 32px;
  }
  .vpn-hero-title {
    font-size: 26px;
  }
  .vpn-hero-sub {
    font-size: 15px;
  }
  .vpn-category-grid,
  .airport-advice-grid,
  .airport-featured-grid,
  .vpn-guide-grid,
  .airport-grid {
    grid-template-columns: 1fr;
  }
  .vpn-hero-trust {
    flex-direction: column;
    gap: 8px;
  }
  .vpn-section-title {
    font-size: 20px;
  }
  .vpn-footer-top {
    flex-direction: column;
    gap: 24px;
  }
  .vpn-footer-brand {
    flex: none;
  }
}

@media (max-width: 480px) {
  .vpn-container,
  .vpn-header-inner,
  .vpn-footer-inner {
    padding: 0 16px;
  }
  .vpn-hero {
    padding: 28px 0 24px;
  }
  .vpn-hero-title {
    font-size: 22px;
  }
  .vpn-hero-actions {
    flex-direction: column;
  }
  .vpn-btn {
    width: 100%;
  }
  .airport-card,
  .airport-advice-card,
  .airport-featured-card {
    padding: 16px;
  }
}
