/* ═══════════════════════════════════════════════════════════════
   GUEST PAGES - Shared Premium Styling
   WeDRIVE AI Car Rental System
   Digunakan oleh: Pricing, About, Contact, FAQ, Terms, 404
   ═══════════════════════════════════════════════════════════════ */

body {
  font-family: 'Inter', sans-serif;
}

/* ── PAGE HERO ────────────────────────────────────────────── */
.page-hero {
  text-align: center;
  padding: 60px 32px 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,.06), transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: 36px; font-weight: 800;
  color: var(--text-primary, #1e293b);
  margin-bottom: 8px;
  position: relative;
}
.page-hero p {
  font-size: 16px;
  color: var(--text-muted, #64748b);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.guest-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--outline-variant, rgba(0,0,0,.1));
  background: var(--surface-container-lowest, var(--card-bg, #fff));
  color: var(--primary, #2563eb);
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(30,41,59,0.06);
}

.guest-kicker .material-icons-round {
  font-size: 18px;
}

/* ── SECTION TITLES ───────────────────────────────────────── */
.section-title {
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
  color: var(--text-primary, #1e293b);
}
.section-title .material-icons-round { color: var(--primary, #2563eb); }

/* ── PRICING PAGE ─────────────────────────────────────────── */
.pricing-toggle {
  display: flex; justify-content: center; gap: 4px;
  margin-bottom: 40px;
  background: var(--card-bg, #f1f5f9);
  width: fit-content;
  margin-left: auto; margin-right: auto;
  border-radius: 10px;
  padding: 4px;
}
.toggle-btn {
  padding: 8px 20px; border: none; border-radius: 8px;
  background: transparent; font-size: 13px; font-weight: 600;
  color: var(--text-muted, #64748b); cursor: pointer; transition: all .2s;
  display: flex; align-items: center; gap: 6px;
}
.toggle-btn.active { background: var(--primary, #2563eb); color: #fff; }
.save-badge {
  font-size: 10px; background: #10b981; color: #fff;
  padding: 2px 6px; border-radius: 4px; font-weight: 700;
}

.pricing-grid {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px 60px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  align-items: start;
}
.price-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, rgba(0,0,0,.06));
  border-radius: 16px; padding: 28px;
  transition: all .4s; position: relative; overflow: hidden;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.price-card.popular { border: 2px solid var(--primary, #2563eb); }
.popular-tag {
  position: absolute; top: 16px; right: -30px;
  background: var(--primary, #2563eb); color: #fff;
  font-size: 10px; font-weight: 700; padding: 4px 36px;
  transform: rotate(45deg); letter-spacing: .04em;
}
.price-card.luxury { border-color: #f59e0b; }
.card-header { margin-bottom: 16px; }
.card-icon { font-size: 32px; color: var(--primary, #2563eb); margin-bottom: 8px; display: block; }
.luxury .card-icon { color: #f59e0b; }
.card-header h3 { font-size: 20px; font-weight: 800; color: var(--text-primary, #1e293b); }
.card-header p { font-size: 13px; color: var(--text-muted, #64748b); }
.card-price { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border, rgba(0,0,0,.06)); }
.card-price .amount { font-size: 32px; font-weight: 800; color: var(--primary, #2563eb); }
.luxury .card-price .amount { color: #f59e0b; }
.card-price .period { font-size: 14px; color: var(--text-muted, #64748b); }
.card-features { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.card-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-secondary, #475569);
}
.card-features .material-icons-round { font-size: 16px; color: #10b981; }
.card-btn {
  width: 100%; padding: 12px; border: 1px solid var(--border, rgba(0,0,0,.1));
  border-radius: 10px; background: transparent;
  font-size: 13px; font-weight: 700; color: var(--text-primary, #1e293b);
  cursor: pointer; transition: all .2s;
}
.card-btn:hover { background: var(--bg, #f1f5f9); }
.card-btn.primary {
  background: var(--primary, #2563eb); color: #fff; border-color: var(--primary, #2563eb);
}
.card-btn.primary:hover { box-shadow: 0 6px 20px rgba(37,99,235,.3); }

.ai-price-section { max-width: 800px; margin: 0 auto; padding: 0 32px 60px; }
.ai-insight-banner {
  background: rgba(37,99,235,.04); border: 1px solid rgba(37,99,235,.12);
  border-radius: 14px; padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.ai-insight-banner > .material-icons-round { font-size: 28px; color: var(--primary, #2563eb); flex-shrink: 0; }
.ai-insight-banner h3 { font-size: 15px; font-weight: 700; color: var(--text-primary, #1e293b); margin-bottom: 4px; }
.ai-insight-banner p { font-size: 13px; color: var(--text-muted, #64748b); line-height: 1.6; }

/* ── 404 PAGE ─────────────────────────────────────────────── */
.error-wrapper {
  min-height: 80vh; display: flex; align-items: center;
  justify-content: center; padding: 40px 20px; text-align: center;
}
.error-code {
  font-size: 120px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--primary, #2563eb), #8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.error-wrapper h2 { font-size: 24px; font-weight: 700; color: var(--text-primary, #1e293b); margin-bottom: 8px; }
.error-wrapper p { font-size: 15px; color: var(--text-muted, #64748b); margin-bottom: 32px; }
.error-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.error-link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 10px;
  background: var(--card-bg, #fff); border: 1px solid var(--border, rgba(0,0,0,.08));
  font-size: 13px; font-weight: 600; color: var(--text-primary, #1e293b);
  text-decoration: none; transition: all .2s;
}
.error-link:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.error-link .material-icons-round { font-size: 18px; color: var(--primary, #2563eb); }
.error-link.primary { background: var(--primary, #2563eb); color: #fff; border-color: var(--primary, #2563eb); }
.error-link.primary .material-icons-round { color: #fff; }

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.about-section { max-width: 1000px; margin: 0 auto; padding: 0 32px 48px; }
.about-story {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; margin-bottom: 48px;
}
.about-story-text h2 { font-size: 22px; font-weight: 800; color: var(--text-primary, #1e293b); margin-bottom: 12px; }
.about-story-text p { font-size: 14px; line-height: 1.8; color: var(--text-muted, #64748b); }
.about-story-img { border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; }
.about-story-img img { width: 100%; height: 100%; object-fit: cover; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 48px;
}
.stat-card {
  background: var(--card-bg, #fff); border: 1px solid var(--border, rgba(0,0,0,.06));
  border-radius: 14px; padding: 24px; text-align: center; transition: all .3s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.stat-value { font-size: 32px; font-weight: 800; color: var(--primary, #2563eb); }
.stat-label { font-size: 12px; font-weight: 600; color: var(--text-muted, #64748b); text-transform: uppercase; letter-spacing: .04em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  background: var(--card-bg, #fff); border: 1px solid var(--border, rgba(0,0,0,.06));
  border-radius: 14px; padding: 24px; transition: all .3s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.feature-card .material-icons-round { font-size: 28px; color: var(--primary, #2563eb); margin-bottom: 10px; display: block; }
.feature-card h4 { font-size: 15px; font-weight: 700; color: var(--text-primary, #1e293b); margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-muted, #64748b); line-height: 1.5; }

/* ── CONTACT PAGE ─────────────────────────────────────────── */
.contact-layout {
  max-width: 1000px; margin: 0 auto; padding: 0 32px 60px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px;
}
.contact-form {
  background: var(--card-bg, #fff); border: 1px solid var(--border, rgba(0,0,0,.06));
  border-radius: 16px; padding: 32px;
}
.contact-form-title {
  color: var(--text-primary, #1e293b);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary, #1e293b); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border, rgba(0,0,0,.1));
  border-radius: 8px; font-size: 14px; background: var(--bg, #f8fafc);
  color: var(--text-primary, #1e293b); outline: none; transition: border-color .2s;
  font-family: Inter, sans-serif;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary, #2563eb); }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-submit {
  width: 100%; padding: 12px; border: none; border-radius: 10px;
  background: var(--primary, #2563eb); color: #fff;
  font-size: 14px; font-weight: 700; cursor: pointer; transition: all .3s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover { box-shadow: 0 6px 20px rgba(37,99,235,.3); transform: translateY(-1px); }
.form-submit .material-icons-round { font-size: 18px; }
.contact-form-note {
  min-height: 20px;
  color: #059669;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 12px;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 12px; }
.ci-card {
  background: var(--card-bg, #fff); border: 1px solid var(--border, rgba(0,0,0,.06));
  border-radius: 14px; padding: 20px; transition: all .3s;
  text-decoration: none;
  display: block;
}
.ci-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.06); transform: translateY(-2px); }
.ci-card h4 { font-size: 14px; font-weight: 700; color: var(--text-primary, #1e293b); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.ci-card h4 .material-icons-round { font-size: 20px; color: var(--primary, #2563eb); }
.ci-card p { font-size: 14px; color: var(--primary, #2563eb); font-weight: 600; margin-left: 28px; }
.ci-card small { font-size: 11px; color: var(--text-muted, #94a3b8); margin-left: 28px; display: block; margin-top: 2px; }
.contact-hours-card {
  background: rgba(37,99,235,.04);
  border-color: rgba(37,99,235,.12);
}
.contact-hours-card p {
  color: var(--text-secondary, #475569);
  font-size: 13px;
  font-weight: 600;
}
.contact-hours-card small {
  color: #059669;
  font-weight: 700;
}

/* ── FAQ PAGE ─────────────────────────────────────────────── */
.faq-page-section { max-width: 800px; margin: 0 auto; padding: 0 32px 60px; }
.faq-search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--card-bg, #fff); border: 1px solid var(--border, rgba(0,0,0,.08));
  border-radius: 12px; padding: 12px 16px; margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.04); transition: border-color .2s;
}
.faq-search-bar:focus-within { border-color: var(--primary, #2563eb); }
.faq-search-bar .material-icons-round { color: var(--text-muted, #94a3b8); }
.faq-search-bar input { flex: 1; border: none; background: none; font-size: 15px; outline: none; color: var(--text-primary, #1e293b); }
.faq-cats { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.faq-cat-btn {
  padding: 6px 14px; border: 1px solid var(--border, rgba(0,0,0,.1));
  border-radius: 100px; background: transparent; font-size: 12px; font-weight: 600;
  color: var(--text-muted, #64748b); cursor: pointer; transition: all .2s;
}
.faq-cat-btn:hover, .faq-cat-btn.active { background: var(--primary, #2563eb); color: #fff; border-color: var(--primary, #2563eb); }
.faq-accordion { display: flex; flex-direction: column; gap: 8px; }
.faq-acc-item {
  border: 1px solid var(--border, rgba(0,0,0,.06)); border-radius: 12px;
  overflow: hidden; background: var(--card-bg, #fff);
}
.faq-acc-q {
  width: 100%; padding: 16px 20px; border: none; background: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 600; color: var(--text-primary, #1e293b);
  cursor: pointer; text-align: left;
}
.faq-acc-q .material-icons-round { transition: transform .3s; color: var(--text-muted, #94a3b8); }
.faq-acc-item.open .faq-acc-q .material-icons-round { transform: rotate(180deg); color: var(--primary, #2563eb); }
.faq-acc-a { max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; padding: 0 20px; }
.faq-acc-item.open .faq-acc-a { max-height: 200px; padding: 0 20px 16px; }
.faq-acc-a p { font-size: 13px; color: var(--text-muted, #64748b); line-height: 1.7; }

/* ── TERMS PAGE ───────────────────────────────────────────── */
.terms-layout {
  max-width: 1000px; margin: 0 auto; padding: 0 32px 60px;
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
}
.terms-toc {
  position: sticky; top: 90px; height: fit-content;
  background: var(--card-bg, #fff); border: 1px solid var(--border, rgba(0,0,0,.06));
  border-radius: 14px; padding: 20px;
}
.terms-toc h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted, #64748b); margin-bottom: 12px; }
.toc-link {
  display: block; padding: 6px 0; font-size: 13px; font-weight: 500;
  color: var(--text-secondary, #475569); text-decoration: none; transition: color .2s;
}
.toc-link:hover, .toc-link.active { color: var(--primary, #2563eb); font-weight: 600; }
.terms-content {
  background: var(--card-bg, #fff); border: 1px solid var(--border, rgba(0,0,0,.06));
  border-radius: 16px; padding: 32px;
}
.terms-content h2 { font-size: 18px; font-weight: 700; color: var(--text-primary, #1e293b); margin: 28px 0 12px; }
.terms-content h2:first-child { margin-top: 0; }
.terms-content p, .terms-content li { font-size: 14px; line-height: 1.8; color: var(--text-muted, #64748b); }
.terms-content ul { padding-left: 20px; margin: 8px 0; }
.terms-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.terms-table th, .terms-table td {
  padding: 10px 14px; text-align: left; font-size: 13px;
  border-bottom: 1px solid var(--border, rgba(0,0,0,.06));
}
.terms-table th { font-weight: 700; color: var(--text-primary, #1e293b); }
.terms-table td { color: var(--text-muted, #64748b); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .about-story { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .terms-layout { grid-template-columns: 1fr; }
  .terms-toc { position: static; }
  .page-hero { padding: 40px 20px 28px; }
  .about-section { padding: 0 20px 40px; }
  .contact-layout { padding: 0 20px 40px; }
  .faq-page-section { padding: 0 20px 40px; }
  .terms-layout { padding: 0 20px 40px; }
  .ai-price-section { padding: 0 20px 40px; }
}

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .terms-content { padding: 24px; }
  .pricing-grid { padding: 0 20px 40px; }
}

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .page-hero { padding: 32px 16px 20px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 14px; }
  .section-title { font-size: 19px; }
  .error-code { font-size: 80px; }
  .error-wrapper h2 { font-size: 20px; }
  .error-wrapper p { font-size: 14px; }
  .about-section { padding: 0 16px 32px; }
  .stat-card { padding: 16px; }
  .stat-value { font-size: 26px; }
  .price-card { padding: 20px; }
  .card-price .amount { font-size: 26px; }
  .contact-form { padding: 20px; }
  .ci-card { padding: 16px; }
  .faq-acc-q { padding: 14px 16px; min-height: 48px; }
  .form-submit { min-height: 48px; }
  .card-btn { min-height: 48px; }
  .form-group input, .form-group select, .form-group textarea {
    padding: 12px 14px;
    font-size: 16px; /* Prevents iOS zoom */
  }
}

/* ═══════════════════════════════════════════════════════════════
   EXPLORE MELAKA PAGE
   ═══════════════════════════════════════════════════════════════ */
.explore-page { background: var(--bg-body, #F8FAFC); }

.explore-hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: flex-end;
  overflow: hidden; background: #020617;
}
.explore-hero-media,
.explore-hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.explore-hero-media img { object-fit: cover; object-position: center; filter: saturate(1.05); }
.explore-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(2,6,23,0.90) 0%, rgba(2,6,23,0.72) 32%, rgba(2,6,23,0.32) 62%, rgba(2,6,23,0.76) 100%),
    linear-gradient(180deg, rgba(15,23,42,0.04) 0%, rgba(15,23,42,0.12) 100%);
}
.explore-hero::after {
  content: ''; position: absolute; inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(2,6,23,0) 0%, rgba(2,6,23,0.6) 100%);
}
.explore-hero-shell {
  position: relative; z-index: 2; width: 100%; max-width: 1240px;
  margin: 0 auto; padding: 128px 20px 96px;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, 380px);
  gap: 28px; align-items: end;
}
.explore-hero-copy { max-width: 720px; }
.explore-hero .guest-kicker {
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 36px rgba(2,6,23,0.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #E0F2FE;
}
.explore-hero .guest-kicker .material-icons-round,
.explore-hero .guest-kicker span:last-child { color: #E0F2FE; }
.explore-hero h1 {
  color: #FFFFFF; font-size: clamp(44px, 6vw, 74px);
  line-height: 0.98; letter-spacing: 0; margin: 22px 0 18px;
  text-shadow: 0 16px 40px rgba(2, 6, 23, 0.34);
}
.explore-hero p { color: rgba(226, 232, 240, 0.94); font-size: 18px; line-height: 1.7; max-width: 620px; margin: 0; }
.explore-hero-lead {
  display: inline-block; padding: 16px 20px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(2,6,23,0.56) 0%, rgba(15,23,42,0.34) 100%);
  border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 18px 38px rgba(2,6,23,0.20);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(10px); text-shadow: 0 4px 16px rgba(2,6,23,0.42);
}
.explore-delay-1 { animation-delay: 0.1s; }
.explore-delay-2 { animation-delay: 0.2s; }
.explore-delay-25 { animation-delay: 0.25s; }
.explore-delay-3 { animation-delay: 0.3s; }
.explore-stat-row { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 720px; }
.explore-stat {
  padding: 18px 18px 16px; min-height: 96px; border-radius: 18px;
  background: rgba(15, 23, 42, 0.40); border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 16px 36px rgba(2,6,23,0.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.explore-stat strong { display: block; color: #FFFFFF; font-size: 30px; line-height: 1; margin-bottom: 10px; }
.explore-stat span { display: block; color: rgba(226,232,240,0.84); font-size: 13px; font-weight: 700; line-height: 1.45; }
.explore-plan {
  padding: 24px; border-radius: 24px; background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 24px 60px rgba(2,6,23,0.28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(14px); color: #FFFFFF;
}
.explore-plan-label {
  display: inline-flex; align-items: center; padding: 8px 12px;
  border-radius: 999px; background: rgba(255,255,255,0.14);
  color: #BFDBFE; font-size: 11px; font-weight: 800; text-transform: uppercase;
}
.explore-plan h2 { margin: 16px 0 18px; font-size: 24px; line-height: 1.18; letter-spacing: 0; color: #FFFFFF; }
.explore-route-list { display: grid; gap: 12px; margin-bottom: 22px; }
.explore-route-item {
  display: grid; grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px; align-items: start; padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.explore-route-item:first-child { border-top: 0; padding-top: 0; }
.explore-route-item strong {
  width: 38px; height: 38px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.14); color: #FFFFFF; font-size: 13px; font-weight: 800;
}
.explore-route-item p { margin: 0; color: rgba(226,232,240,0.92); font-size: 14px; line-height: 1.6; }
.explore-plan .hero-btn-primary { width: 100%; justify-content: center; }

/* Explore Showcase */
.explore-showcase { position: relative; z-index: 3; margin-top: -34px; padding: 22px 0 100px; }
.explore-shell { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.explore-section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding-top: 16px; margin-bottom: 30px; }
.explore-section-head > div { max-width: 760px; }
.explore-section-head .section-eyebrow {
  color: #3B82F6; background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
  border: 1px solid rgba(148,163,184,0.22); box-shadow: 0 12px 28px rgba(15,23,42,0.06); padding: 10px 18px;
}
.explore-section-head h2 { color: var(--text-primary, #0F172A); font-size: clamp(34px, 4vw, 52px); line-height: 1.02; margin: 14px 0 0; letter-spacing: 0; }
.explore-section-head p { color: var(--text-secondary, #475569); font-size: 17px; line-height: 1.75; margin: 14px 0 0; }

/* Destination Grid */
.destination-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.destination-card {
  grid-column: span 4; background: var(--bg-surface, #FFFFFF);
  border: 1px solid var(--border-color, #E2E8F0); border-radius: 24px;
  overflow: hidden; box-shadow: 0 16px 40px rgba(15,23,42,0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.destination-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(15,23,42,0.12); border-color: rgba(59,130,246,0.28); }
.destination-card.featured { grid-column: span 7; }
.destination-card.tall { grid-column: span 5; }
.destination-card.wide { grid-column: span 12; display: grid; grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr); }
.destination-media { position: relative; aspect-ratio: 1.16; background: #CBD5E1; overflow: hidden; }
.destination-card.featured .destination-media { aspect-ratio: 1.5; }
.destination-card.tall .destination-media { aspect-ratio: 1.08; }
.destination-card.wide .destination-media { aspect-ratio: 0.92; height: auto; min-height: 0; }
.destination-card.wide .destination-media img { object-position: center 34%; }
.destination-card.wide .destination-body { padding: 30px 28px; }
.destination-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.destination-card:hover .destination-media img { transform: scale(1.04); }
.destination-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0.04) 0%, rgba(15,23,42,0.38) 100%); }
.destination-index {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  width: 40px; height: 40px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(8px); color: #FFFFFF; font-size: 12px; font-weight: 800;
}
.destination-body { display: flex; flex-direction: column; gap: 16px; padding: 22px 22px 24px; }
.destination-pill {
  display: inline-flex; width: fit-content; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; background: var(--bg-surface-2, #F8FAFC);
  color: var(--text-secondary, #475569); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0;
}
.destination-pill .material-icons-round { font-size: 15px; color: var(--primary, #3B82F6); }
.destination-body h3 { color: var(--text-primary, #0F172A); font-size: 30px; line-height: 1.08; margin: 0; letter-spacing: 0; }
.destination-card:not(.featured):not(.wide) .destination-body h3 { font-size: 24px; }
.destination-body p { color: var(--text-secondary, #475569); font-size: 16px; line-height: 1.72; margin: 0; flex-grow: 1; }
.destination-pairing { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border-light, #E2E8F0); display: flex; align-items: center; gap: 14px; }
.destination-pairing .material-icons-round {
  width: 44px; height: 44px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-light, #EFF6FF); color: var(--primary, #3B82F6); font-size: 22px; flex: 0 0 auto;
}
.destination-pairing div { min-width: 0; }
.destination-pairing div span { display: block; color: var(--text-secondary, #64748B); font-size: 11px; font-weight: 800; text-transform: uppercase; line-height: 1.3; }
.destination-pairing div strong { display: block; color: var(--text-primary, #1E293B); font-size: 15px; line-height: 1.45; margin-top: 3px; font-weight: 700; }

/* Explore CTA Band */
.explore-cta-band {
  margin-top: 42px; border-radius: 28px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #111827 48%, #1D4ED8 100%);
  box-shadow: 0 26px 70px rgba(15,23,42,0.18);
}
.explore-cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2,6,23,0.9) 0%, rgba(2,6,23,0.56) 42%, rgba(2,6,23,0.16) 100%),
    url('../../shared/images/melaka/melaka-river.jpg') center / cover no-repeat;
  opacity: 0.96;
}
.explore-cta-inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px; align-items: center; padding: 30px 34px;
}
.explore-cta-copy h2 { color: #FFFFFF; font-size: 34px; line-height: 1.05; margin: 0 0 10px; letter-spacing: 0; }
.explore-cta-copy p { color: rgba(226,232,240,0.9); font-size: 16px; line-height: 1.72; max-width: 680px; margin: 0; }

/* Night mode overrides */
body.night-mode .destination-card,
body.night-mode .explore-hero,
body.night-mode .explore-cta-band { border-color: rgba(148,163,184,0.18); }
body.night-mode .explore-section-head .section-eyebrow {
  color: #BFDBFE; background: rgba(255,255,255,0.06);
  border-color: rgba(148,163,184,0.24); box-shadow: 0 14px 28px rgba(2,6,23,0.22);
}

/* Explore Responsive */
@media (max-width: 1100px) {
  .explore-hero-shell { grid-template-columns: 1fr; }
  .explore-plan { max-width: 560px; }
  .destination-card.featured, .destination-card.tall, .destination-card.wide, .destination-card { grid-column: span 6; }
  .destination-card.wide { grid-template-columns: 1fr; }
  .destination-card.wide .destination-media { min-height: 320px; }
}
@media (max-width: 760px) {
  .explore-hero { min-height: 0; }
  .explore-hero-shell { padding: 118px 18px 84px; }
  .explore-stat-row { grid-template-columns: 1fr; }
  .explore-showcase { margin-top: -24px; padding: 18px 0 80px; }
  .explore-section-head { display: block; padding-top: 12px; }
  .destination-card.featured, .destination-card.tall, .destination-card.wide, .destination-card { grid-column: span 12; }
  .explore-cta-inner { grid-template-columns: 1fr; }
  .explore-cta-inner .hero-btn-primary { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .explore-hero-shell { padding: 108px 16px 78px; }
  .explore-plan { padding: 20px; }
  .destination-body { padding: 18px 18px 22px; }
  .explore-cta-copy h2 { font-size: 28px; }
}

/* How It Works Premium Experience */
.how-premium-page {
  --hiw-bg: #f7f9fb;
  --hiw-surface: rgba(255, 255, 255, 0.84);
  --hiw-surface-strong: #ffffff;
  --hiw-ink: #111827;
  --hiw-muted: #526071;
  --hiw-border: rgba(148, 163, 184, 0.34);
  --hiw-blue: #2563eb;
  --hiw-blue-dark: #004395;
  --hiw-gold: #c7a35a;
  --hiw-gold-soft: rgba(199, 163, 90, 0.16);
  --hiw-shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
  --hiw-soft-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 14% 18%, rgba(37, 99, 235, 0.12), transparent 32%),
    radial-gradient(circle at 84% 8%, rgba(199, 163, 90, 0.13), transparent 30%),
    linear-gradient(180deg, #f9fbff 0%, #f4f7fb 48%, #ffffff 100%);
  color: var(--hiw-ink);
  overflow-x: hidden;
}

.how-premium-page *,
.how-premium-page *::before,
.how-premium-page *::after {
  box-sizing: border-box;
}

.hiw-page-shell {
  position: relative;
  isolation: isolate;
  max-width: 100vw;
  overflow: hidden;
}

.hiw-loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 55%, #ffffff 100%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hiw-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.hiw-loader-mark {
  display: grid;
  gap: 10px;
  text-align: center;
  color: var(--hiw-blue);
  font-weight: 900;
  letter-spacing: 0;
}

.hiw-loader-mark span {
  font-size: clamp(36px, 6vw, 72px);
  background: linear-gradient(90deg, #2563eb 0%, #9cbcff 38%, #2563eb 76%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hiwShimmerText 1.15s linear infinite;
}

.hiw-loader-mark small {
  color: var(--hiw-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hiw-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6000;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(199, 163, 90, 0.86);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  mix-blend-mode: multiply;
}

.hiw-custom-cursor-active .hiw-cursor {
  opacity: 1;
}

.hiw-cursor.is-hovering {
  width: 52px;
  height: 52px;
  background: rgba(199, 163, 90, 0.14);
}

.hiw-scroll-progress {
  position: fixed;
  top: 0;
  left: 22px;
  z-index: 1200;
  width: 2px;
  height: 100vh;
  background: rgba(148, 163, 184, 0.22);
  pointer-events: none;
}

.hiw-scroll-progress span {
  display: block;
  width: 100%;
  height: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--hiw-gold), #f7df9e, var(--hiw-blue));
  box-shadow: 0 0 22px rgba(199, 163, 90, 0.42);
}

.hiw-hero {
  position: relative;
  min-height: min(920px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(96px, 9vw, 130px) clamp(22px, 5vw, 72px) clamp(58px, 7vw, 92px);
}

.hiw-ambient {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.82;
  pointer-events: none;
}

.hiw-ambient-one {
  width: 340px;
  height: 340px;
  left: -90px;
  top: 18%;
  background: rgba(37, 99, 235, 0.14);
}

.hiw-ambient-two {
  width: 280px;
  height: 280px;
  right: 7%;
  top: 10%;
  background: rgba(199, 163, 90, 0.18);
}

.hiw-hero-bg-word {
  position: absolute;
  top: 18%;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  color: rgba(15, 23, 42, 0.035);
  font-size: clamp(94px, 18vw, 260px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.hiw-hero-copy {
  display: grid;
  gap: 24px;
  max-width: 650px;
}

.hiw-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.26);
  color: var(--hiw-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hiw-heading {
  display: grid;
  gap: 4px;
  max-width: 100%;
  margin: 0;
  color: var(--hiw-ink);
  font-size: clamp(58px, 7.8vw, 116px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  animation: hiwLuxuryReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hiw-heading span:last-child {
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 24, 39, 0.72);
  text-shadow: none;
}

.hiw-lead,
.hiw-copy,
.hiw-step-card p,
.hiw-model-panel p,
.hiw-final-panel p {
  color: var(--hiw-muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.7;
  margin: 0;
}

.hiw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hiw-btn,
.hiw-model-btn,
.hiw-view-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hiw-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--hiw-ink);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.hiw-btn-primary {
  background: linear-gradient(135deg, #0058be 0%, #3b82f6 100%);
  color: #ffffff;
  border-color: rgba(59, 130, 246, 0.42);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.22);
}

.hiw-btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hiw-btn:hover,
.hiw-model-btn:hover,
.hiw-view-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 163, 90, 0.62);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}

.hiw-ripple {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: hiwRipple 0.7s ease-out forwards;
  pointer-events: none;
  z-index: -1;
}

.hiw-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.hiw-stat {
  min-height: 104px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--hiw-soft-shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hiw-stat strong {
  display: block;
  color: var(--hiw-blue);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  margin-bottom: 9px;
}

.hiw-stat span {
  display: block;
  color: var(--hiw-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.hiw-hero-stage,
.hiw-interactive-card,
.hiw-proof-card,
.hiw-final-panel,
.hiw-step-card {
  border: 1px solid var(--hiw-border);
  background: var(--hiw-surface);
  box-shadow: var(--hiw-shadow);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.hiw-hero-stage {
  position: relative;
  min-height: min(80svh, 760px);
  display: grid;
  align-content: center;
  border: 0;
  border-radius: 0;
  padding: clamp(8px, 2vw, 22px) 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
}

.hiw-hero-stage::before {
  content: '';
  position: absolute;
  inset: 8% -7% 12%;
  z-index: -2;
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 46%, rgba(37, 99, 235, 0.2), transparent 34%),
    radial-gradient(circle at 74% 30%, rgba(199, 163, 90, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(239, 246, 255, 0.6), rgba(255, 255, 255, 0));
  filter: blur(22px);
  transform: none;
  transition: none;
  pointer-events: none;
}

.hiw-hero-stage::after {
  content: '';
  position: absolute;
  left: 9%;
  right: 8%;
  bottom: 10%;
  z-index: -1;
  height: 38px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.16);
  filter: blur(24px);
  pointer-events: none;
}

.hiw-interactive-card::before,
.hiw-proof-card::before,
.hiw-final-panel::before,
.hiw-step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(112deg, transparent 0%, rgba(255, 255, 255, 0.5) 42%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.72s ease;
  pointer-events: none;
}

.hiw-interactive-card:hover::before,
.hiw-proof-card:hover::before,
.hiw-final-panel:hover::before,
.hiw-step-card:hover::before {
  transform: translateX(120%);
}

.hiw-stage-topline,
.hiw-frame-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--hiw-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hiw-stage-topline span,
.hiw-frame-toolbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hiw-stage-topline .material-icons-round,
.hiw-frame-toolbar .material-icons-round {
  color: var(--hiw-blue);
  font-size: 20px;
}

.hiw-stage-topline strong,
.hiw-frame-toolbar strong {
  color: var(--hiw-ink);
  text-align: right;
}

.hiw-hero-stage img,
#hiwInteractiveFrame {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: contain;
  user-select: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 34px 34px rgba(15, 23, 42, 0.14));
}

.hiw-hero-stage img {
  width: min(118%, 920px);
  max-width: none;
  min-height: clamp(360px, 54vw, 640px);
  margin: 12px 0 0 -7%;
  object-fit: contain;
  border-radius: 34px;
  filter: drop-shadow(0 48px 44px rgba(15, 23, 42, 0.18));
}

.hiw-trust-strip {
  overflow: hidden;
  border-block: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.52);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hiw-marquee {
  display: flex;
  width: max-content;
  padding: 18px 0;
  color: var(--hiw-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  animation: hiwMarquee 28s linear infinite;
}

.hiw-marquee-group {
  min-width: 100vw;
  display: flex;
  flex: 0 0 auto;
  justify-content: space-around;
  gap: 34px;
  padding-inline: 22px;
}

.hiw-marquee-group span {
  position: relative;
  white-space: nowrap;
}

.hiw-marquee-group span::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -22px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--hiw-gold);
  transform: translateY(-50%);
}

.hiw-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 132px) clamp(20px, 4vw, 36px);
}

.hiw-section-head {
  max-width: 790px;
  margin-bottom: 34px;
}

.hiw-title {
  margin: 18px 0 0;
  color: var(--hiw-ink);
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.hiw-copy {
  margin-top: 18px;
}

.hiw-timeline {
  position: relative;
  display: grid;
  gap: 30px;
  padding-left: 34px;
}

.hiw-timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 6px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--hiw-gold), rgba(37, 99, 235, 0.44));
}

.hiw-step {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.hiw-step::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--hiw-surface-strong);
  border: 4px solid var(--hiw-gold);
  box-shadow: 0 0 0 8px rgba(199, 163, 90, 0.12);
}

.hiw-step-index {
  padding-top: 22px;
  color: var(--hiw-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hiw-step-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: 24px;
  align-items: center;
  min-height: 210px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.hiw-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 163, 90, 0.68);
  box-shadow: 0 28px 76px rgba(15, 23, 42, 0.13);
}

.hiw-step-card .material-icons-round {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 17px;
  color: var(--hiw-blue);
  background: rgba(37, 99, 235, 0.1);
  font-size: 25px;
}

.hiw-step-card h3 {
  margin: 0 0 10px;
  color: var(--hiw-ink);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hiw-step-visual {
  min-height: 144px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--hiw-muted);
}

.hiw-step-visual strong {
  color: var(--hiw-ink);
  font-size: 26px;
  line-height: 1;
}

.hiw-step-visual small {
  color: var(--hiw-blue);
  font-weight: 900;
  text-transform: uppercase;
}

.hiw-key-panel strong {
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: 0.08em;
  color: var(--hiw-blue);
}

.hiw-interactive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 26px;
  align-items: stretch;
}

.hiw-showroom-head {
  margin-bottom: 26px;
}

.hiw-interactive-card {
  position: relative;
  min-height: 560px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 40px;
  overflow: hidden;
  cursor: grab;
  background:
    radial-gradient(circle at 18% 28%, rgba(37, 99, 235, 0.18), transparent 34%),
    radial-gradient(circle at 82% 26%, rgba(199, 163, 90, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.86));
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.hiw-interactive-card.is-dragging {
  cursor: grabbing;
}

.hiw-interactive-card::after {
  content: '';
  position: absolute;
  inset: 88px 24px 74px;
  border-radius: 54px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.9), transparent 46%),
    radial-gradient(circle at 34% 64%, rgba(37, 99, 235, 0.12), transparent 42%),
    radial-gradient(circle at 74% 60%, rgba(199, 163, 90, 0.14), transparent 36%);
  filter: blur(34px);
  opacity: 0.94;
  pointer-events: none;
}

#hiwInteractiveFrame {
  min-height: 360px;
  transition: opacity 0.24s ease, transform 0.24s ease, filter 0.24s ease;
  position: relative;
  z-index: 3;
  border-radius: 38px;
  box-shadow:
    0 36px 110px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.74) inset;
  overflow: hidden;
}

.hiw-interactive-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 46vw, 520px);
  padding: 8px 0 0;
  border-radius: 36px;
  overflow: visible;
}

.hiw-interactive-stage::before {
  content: '';
  position: absolute;
  inset: 6% -4% 10%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 42%, rgba(37, 99, 235, 0.18), transparent 34%),
    radial-gradient(circle at 72% 30%, rgba(199, 163, 90, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(239, 246, 255, 0.66), rgba(255, 255, 255, 0));
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

.hiw-interior-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1800px;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
  z-index: 4;
}

.hiw-interior-cube {
  position: relative;
  width: min(74%, 760px);
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  will-change: transform;
  filter:
    drop-shadow(0 40px 66px rgba(15, 23, 42, 0.18))
    drop-shadow(0 0 36px rgba(37, 99, 235, 0.08));
}

.hiw-interior-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.hiw-interior-face[data-hiw-interior-face='f'] {
  transform: rotateY(0deg) translateZ(calc(var(--hiw-cube-size) / 2));
}

.hiw-interior-face[data-hiw-interior-face='b'] {
  transform: rotateY(180deg) translateZ(calc(var(--hiw-cube-size) / 2));
}

.hiw-interior-face[data-hiw-interior-face='l'] {
  transform: rotateY(-90deg) translateZ(calc(var(--hiw-cube-size) / 2));
}

.hiw-interior-face[data-hiw-interior-face='r'] {
  transform: rotateY(90deg) translateZ(calc(var(--hiw-cube-size) / 2));
}

.hiw-interior-face[data-hiw-interior-face='u'] {
  transform: rotateX(90deg) translateZ(calc(var(--hiw-cube-size) / 2));
}

.hiw-interior-face[data-hiw-interior-face='d'] {
  transform: rotateX(-90deg) translateZ(calc(var(--hiw-cube-size) / 2));
}

.hiw-interior-glow {
  position: absolute;
  inset: 18% 8% 12%;
  border-radius: 60px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.78), transparent 50%),
    radial-gradient(circle at 30% 62%, rgba(37, 99, 235, 0.16), transparent 38%),
    radial-gradient(circle at 72% 58%, rgba(199, 163, 90, 0.12), transparent 34%);
  filter: blur(24px);
  opacity: 0.86;
  z-index: 1;
}

.hiw-interactive-card.is-interior .hiw-interior-scene {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hiw-interactive-card.is-interior #hiwInteractiveFrame {
  opacity: 0;
  transform: translateY(14px) scale(0.965);
  filter: blur(10px);
  pointer-events: none;
}

.hiw-interactive-card.is-interior .hiw-frame-shadow {
  opacity: 0.72;
}

#hiwInteractiveFrame.is-switching {
  opacity: 0.16;
  transform: scale(0.98);
}

.hiw-view-status {
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.09);
  color: var(--hiw-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.hiw-frame-shadow {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 76px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0));
  filter: blur(20px);
  z-index: 1;
  pointer-events: none;
}

.hiw-model-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(239, 246, 255, 0.72));
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--hiw-soft-shadow);
}

.hiw-model-panel h3 {
  margin: 0;
  color: var(--hiw-ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.hiw-model-buttons {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.hiw-view-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hiw-model-btn,
.hiw-view-btn {
  min-height: 48px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--hiw-ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  padding: 13px 16px;
  cursor: pointer;
}

.hiw-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.hiw-view-btn .material-icons-round {
  color: var(--hiw-blue);
  font-size: 20px;
}

.hiw-model-btn.is-active,
.hiw-view-btn.is-active {
  color: #ffffff;
  border-color: rgba(37, 99, 235, 0.44);
  background: linear-gradient(135deg, #0058be 0%, #3b82f6 100%);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.2);
}

.hiw-view-btn.is-active .material-icons-round {
  color: #ffffff;
}

.hiw-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hiw-proof-card {
  position: relative;
  min-height: 360px;
  padding: 34px;
  border-radius: 32px;
  overflow: hidden;
}

.hiw-proof-card > .material-icons-round {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--hiw-blue);
  background: rgba(37, 99, 235, 0.11);
  font-size: 28px;
  margin-bottom: 22px;
}

.hiw-proof-card small {
  display: block;
  color: var(--hiw-blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hiw-proof-card h3 {
  margin: 0 0 20px;
  color: var(--hiw-ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
}

.hiw-proof-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--hiw-muted);
  font-size: 16px;
  line-height: 1.6;
}

.hiw-proof-card li {
  position: relative;
  padding-left: 22px;
}

.hiw-proof-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--hiw-gold);
}

.hiw-proof-card-dark {
  background: linear-gradient(135deg, #111827 0%, #0f172a 54%, #004395 100%);
  color: #ffffff;
}

.hiw-proof-card-dark,
.hiw-proof-card-dark h3,
.hiw-proof-card-dark small {
  color: #ffffff;
}

.hiw-proof-card-dark ul {
  color: rgba(226, 232, 240, 0.9);
}

.hiw-proof-card-dark > .material-icons-round {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.hiw-final-cta {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 36px) 110px;
}

.hiw-final-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 20px;
  min-height: 360px;
  align-content: center;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 38px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(239, 246, 255, 0.76)),
    radial-gradient(circle at 78% 28%, rgba(199, 163, 90, 0.18), transparent 34%);
}

.hiw-final-panel h2 {
  max-width: 720px;
  margin: 0;
  color: var(--hiw-ink);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hiw-final-panel p {
  max-width: 690px;
}

.hiw-reveal,
.hiw-step {
  opacity: 0;
  filter: blur(9px);
  transform: translateY(38px) scale(0.985);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--hiw-delay, 0ms),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--hiw-delay, 0ms),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--hiw-delay, 0ms);
}

.hiw-reveal.is-visible,
.hiw-step.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

body.night-mode.how-premium-page,
body.night-mode .how-premium-page {
  --hiw-bg: #0f172a;
  --hiw-surface: rgba(15, 23, 42, 0.76);
  --hiw-surface-strong: #111827;
  --hiw-ink: #f8fafc;
  --hiw-muted: #cbd5e1;
  --hiw-border: rgba(148, 163, 184, 0.24);
  background:
    radial-gradient(circle at 14% 18%, rgba(37, 99, 235, 0.2), transparent 32%),
    radial-gradient(circle at 84% 8%, rgba(199, 163, 90, 0.14), transparent 30%),
    linear-gradient(180deg, #020617 0%, #0f172a 46%, #111827 100%);
}

body.night-mode .hiw-heading span:last-child {
  -webkit-text-stroke-color: rgba(248, 250, 252, 0.66);
}

body.night-mode .hiw-kicker,
body.night-mode .hiw-btn-ghost,
body.night-mode .hiw-stat,
body.night-mode .hiw-view-status,
body.night-mode .hiw-model-panel,
body.night-mode .hiw-model-btn:not(.is-active),
body.night-mode .hiw-view-btn:not(.is-active),
body.night-mode .hiw-step-visual,
body.night-mode .hiw-final-panel {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.22);
}

body.night-mode .hiw-loader {
  background: linear-gradient(135deg, #020617 0%, #0f172a 65%, #111827 100%);
}

body.night-mode .hiw-trust-strip {
  background: rgba(15, 23, 42, 0.58);
}

@keyframes hiwLuxuryReveal {
  0% {
    letter-spacing: 0.16em;
    opacity: 0;
    transform: translateY(34px);
  }
  100% {
    letter-spacing: 0;
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hiwRipple {
  to {
    opacity: 0;
    transform: scale(4);
  }
}

@keyframes hiwMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

@keyframes hiwShimmerText {
  from { background-position: 220% center; }
  to { background-position: 0 center; }
}

@media (prefers-reduced-motion: reduce) {
  .hiw-heading,
  .hiw-marquee,
  .hiw-loader-mark span,
  .hiw-reveal,
  .hiw-step {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1180px) {
  .hiw-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 110px;
  }

  .hiw-hero-copy {
    max-width: 840px;
  }

  .hiw-hero-stage {
    min-height: 600px;
  }

  .hiw-interactive-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hiw-scroll-progress {
    left: 10px;
  }

  .hiw-stat-row,
  .hiw-step,
  .hiw-step-card,
  .hiw-proof-grid {
    grid-template-columns: 1fr;
  }

  .hiw-step-index {
    padding-top: 0;
  }

  .hiw-timeline {
    padding-left: 24px;
  }

  .hiw-step::before {
    left: -28px;
  }

  .hiw-hero-stage {
    min-height: 520px;
  }

  .hiw-hero-stage img {
    width: 108%;
    margin-left: -4%;
  }
}

@media (max-width: 640px) {
  .how-premium-page .navbar {
    padding-inline: 12px;
  }

  .how-premium-page .nav-actions {
    gap: 6px;
  }

  .how-premium-page .btn-primary {
    display: none;
  }

  .how-premium-page .btn-outline {
    padding-inline: 12px;
  }

  .hiw-hero {
    padding-inline: 16px;
  }

  .hiw-heading {
    font-size: clamp(38px, 11.4vw, 44px);
  }

  .hiw-lead,
  .hiw-copy,
  .hiw-step-card p,
  .hiw-model-panel p,
  .hiw-final-panel p {
    font-size: 16px;
  }

  .hiw-hero-actions,
  .hiw-btn {
    width: 100%;
  }

  .hiw-stat-row {
    gap: 10px;
  }

  .hiw-hero-stage,
  .hiw-interactive-card,
  .hiw-proof-card,
  .hiw-final-panel,
  .hiw-step-card {
    border-radius: 24px;
  }

  .hiw-hero-stage {
    min-height: 430px;
  }

  .hiw-hero-stage img,
  #hiwInteractiveFrame {
    min-height: 220px;
  }

  .hiw-interactive-stage {
    min-height: 320px;
  }

  .hiw-interior-cube {
    width: min(86%, 540px);
  }

  .hiw-stage-topline,
  .hiw-frame-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hiw-section {
    padding-block: 70px;
  }

  .hiw-view-switch {
    grid-template-columns: 1fr;
  }

  .hiw-proof-card,
  .hiw-final-panel {
    padding: 24px;
  }
}
