/* ============================================
   WildPath Landing Page — Main Stylesheet
   Design Language: Dawn Wilderness / 黎明荒野
   ============================================ */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  --bg-deep: #0a0a0f;
  --bg-card: #141420;
  --bg-card-hover: #1c1c2e;
  --accent-gold: #e8a838;
  --accent-green: #2dd4a8;
  --text-primary: #f0ece4;
  --text-secondary: #8a8698;
  --text-dim: #5a5670;
  --border-subtle: rgba(240, 236, 228, 0.06);
  --glow-gold: rgba(232, 168, 56, 0.3);
  --glow-green: rgba(45, 212, 168, 0.2);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Noto Serif SC', serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-deep);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* ---- Section Shared ---- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  border: 1px solid rgba(232, 168, 56, 0.3);
  padding: 0.3em 1em;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  max-width: 20ch;
  margin: 0 auto;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 50ch;
  margin: 0.8rem auto 0;
}

/* ============================================
   Module 1: Hero
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  background: url('/assets/hero-bg.jpeg') center/cover no-repeat;
  transform: scale(1.1);
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.3) 0%,
    rgba(10, 10, 15, 0.6) 50%,
    rgba(10, 10, 15, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 800px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 48ch;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.2rem;
  background: var(--accent-gold);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}

.cta-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px var(--glow-gold), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.cta-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s var(--ease);
}

.cta-btn:hover .cta-arrow {
  transform: translateY(3px);
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--accent-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ============================================
   Module 2: Hot Spots Grid (Bento)
   ============================================ */
.hotspots {
  padding: 6rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.2rem;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  min-height: 280px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
  opacity: 0;
  transform: translateY(30px);
}

.bento-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease),
              box-shadow 0.3s var(--ease);
}

.bento-card:nth-child(1) { transition-delay: 0s; }
.bento-card:nth-child(2) { transition-delay: 0.1s; }
.bento-card:nth-child(3) { transition-delay: 0.2s; }

.bento-lg {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  min-height: 460px;
}

.bento-md {
  grid-column: 3;
  grid-row: 1;
  min-height: 220px;
}

.bento-sm {
  grid-column: 3;
  grid-row: 2;
  min-height: 220px;
}

.bento-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px var(--glow-gold), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}

.bento-card:hover .card-img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 15, 0.9) 100%);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
}

.card-location {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  border: 1px solid rgba(232, 168, 56, 0.3);
  padding: 0.2em 0.7em;
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.card-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.card-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--accent-green);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.bento-card:hover .card-tip {
  opacity: 1;
  transform: translateY(0);
}

.tip-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* ============================================
   Module 3: Quiz
   ============================================ */
.quiz {
  padding: 6rem 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.quiz-container {
  position: relative;
  min-height: 400px;
}

.quiz-cards {
  position: relative;
}

.quiz-card {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  animation: cardSlideIn 0.5s var(--ease) both;
}

.quiz-card.active {
  display: flex;
}

.quiz-card.exit {
  animation: cardSlideOut 0.4s var(--ease) both;
}

@keyframes cardSlideIn {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes cardSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-60px); }
}

.quiz-q-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 1.2rem;
}

.quiz-question {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(240, 236, 228, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: left;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
  color: var(--text-primary);
}

.quiz-option:hover {
  background: rgba(232, 168, 56, 0.08);
  border-color: rgba(232, 168, 56, 0.3);
}

.quiz-option.selected {
  background: rgba(232, 168, 56, 0.12);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.option-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--text-dim);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: all 0.25s var(--ease);
}

.quiz-option:hover .option-letter {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.quiz-option.selected .option-letter {
  background: var(--accent-gold);
  color: var(--bg-deep);
  border-color: var(--accent-gold);
}

/* Quiz Loading */
.quiz-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  gap: 2rem;
}

.quiz-loading.active {
  display: flex;
}

.loading-orbit {
  position: relative;
  width: 80px;
  height: 80px;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(232, 168, 56, 0.15);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  animation: orbitSpin 1.2s linear infinite;
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px var(--glow-gold);
  animation: orbitPulse 1.2s ease-in-out infinite;
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes orbitPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(0.8); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

.loading-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  animation: loadDots 1.5s ease-in-out infinite;
}

@keyframes loadDots {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Quiz Result */
.quiz-result {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  animation: resultFadeIn 0.8s var(--ease) both;
}

.quiz-result.active {
  display: flex;
}

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

.result-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  padding: 0.4em 1.2em;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.result-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-gold), #f0d68a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-tags {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.result-tag {
  font-size: 0.8rem;
  color: var(--accent-green);
  background: rgba(45, 212, 168, 0.08);
  border: 1px solid rgba(45, 212, 168, 0.2);
  padding: 0.3em 0.8em;
  border-radius: var(--radius-sm);
}

.result-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 45ch;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.result-route {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--accent-gold);
  background: rgba(232, 168, 56, 0.06);
  border: 1px solid rgba(232, 168, 56, 0.15);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  max-width: 45ch;
  text-align: left;
  margin-bottom: 2rem;
}

.route-icon {
  flex-shrink: 0;
  font-size: 1rem;
}

.result-retry {
  font-size: 0.85rem;
  color: var(--text-dim);
  border: 1px solid var(--border-subtle);
  padding: 0.6em 1.5em;
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease);
}

.result-retry:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

/* ============================================
   Module 4: Experts
   ============================================ */
.experts {
  padding: 6rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.expert-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.expert-layout.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Left: Expert Tabs */
.expert-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 220px;
  flex-shrink: 0;
}

.expert-tab {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(240, 236, 228, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: left;
  transition: all 0.3s var(--ease);
}

.expert-tab:hover {
  background: rgba(232, 168, 56, 0.05);
  border-color: rgba(232, 168, 56, 0.2);
}

.expert-tab.active {
  background: rgba(232, 168, 56, 0.08);
  border-color: var(--accent-gold);
}

.expert-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid var(--border-subtle);
  transition: border-color 0.3s var(--ease);
}

.expert-tab.active .expert-avatar {
  border-color: var(--accent-gold);
}

.expert-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.expert-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.expert-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

/* Right: Phone Preview */
.expert-preview {
  flex: 1;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 100%;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.phone-notch {
  height: 6px;
  background: var(--bg-deep);
}

.phone-content {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

.expert-detail {
  display: none;
  animation: detailFadeIn 0.5s var(--ease) both;
}

.expert-detail.active {
  display: block;
}

@keyframes detailFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.detail-hero {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--bg-card) 100%);
}

.detail-hero-text {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 1;
}

.detail-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-green);
  border: 1px solid rgba(45, 212, 168, 0.3);
  padding: 0.2em 0.6em;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.detail-hero-text h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.detail-body {
  padding: 1.2rem;
}

.detail-schedule {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.schedule-item {
  display: flex;
  gap: 0.8rem;
  font-size: 0.82rem;
}

.schedule-time {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--accent-gold);
  min-width: 70px;
}

.schedule-desc {
  color: var(--text-secondary);
}

.detail-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
  font-style: italic;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-subtle);
}

/* ============================================
   Module 5: Social Proof & CTA
   ============================================ */
.social {
  padding: 6rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Scrolling Landmark Marquee */
.landmark-marquee {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 3rem;
  overflow: hidden;
  position: relative;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 0.8rem;
  width: max-content;
}

.marquee-track--left {
  animation: marqueeLeft 40s linear infinite;
}

.marquee-track--right {
  animation: marqueeRight 45s linear infinite;
}

@keyframes marqueeLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-item {
  position: relative;
  flex-shrink: 0;
  width: 200px;
  height: 130px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: default;
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.marquee-item:hover img {
  transform: scale(1.1);
}

.marquee-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  background: linear-gradient(transparent, rgba(10, 10, 15, 0.85));
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.marquee-item:hover .marquee-label {
  opacity: 1;
  transform: translateY(0);
}

/* Pauses animation on hover */
.landmark-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.social-layout {
  display: flex;
  gap: 3rem;
  align-items: stretch;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.social-layout.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Left: Testimonials */
.testimonials {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}

.testimonials::before,
.testimonials::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 2;
  pointer-events: none;
}

.testimonials::before {
  top: 0;
  background: linear-gradient(180deg, var(--bg-deep), transparent);
}

.testimonials::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--bg-deep), transparent);
}

.testimonial-track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: scrollUp 20s linear infinite;
}

@keyframes scrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.testimonial-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  flex-shrink: 0;
}

.testimonial-bubble p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.bubble-author {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Right: Form */
.cta-form-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
}

.cta-form-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 1.8rem;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(240, 236, 228, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.1);
}

.form-input.error {
  border-color: #e84848;
  box-shadow: 0 0 0 3px rgba(232, 72, 72, 0.1);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  background: var(--accent-gold);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  margin-top: 0.5rem;
}

.form-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px var(--glow-gold);
}

.form-submit.submitted {
  background: var(--accent-green);
  pointer-events: none;
}

.submit-arrow {
  transition: transform 0.3s var(--ease);
}

.form-submit:hover .submit-arrow {
  transform: translateX(3px);
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
}

/* ============================================
   Card Detail Modal
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s var(--ease);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1.4rem;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(232, 168, 56, 0.15);
  border-color: var(--accent-gold);
}

.modal-scroll {
  overflow-y: auto;
  max-height: 88vh;
  -webkit-overflow-scrolling: touch;
}

.modal-scroll::-webkit-scrollbar {
  width: 4px;
}

.modal-scroll::-webkit-scrollbar-thumb {
  background: var(--text-dim);
  border-radius: 4px;
}

.modal-hero {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, var(--bg-card) 100%);
}

.modal-hero-content {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  right: 2rem;
  z-index: 1;
}

.modal-location {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  border: 1px solid rgba(232, 168, 56, 0.4);
  padding: 0.25em 0.8em;
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
}

.modal-body {
  padding: 1.5rem 2rem 2.5rem;
}

.modal-intro {
  margin-bottom: 2rem;
}

.modal-intro p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Gallery */
.modal-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.8rem;
  font-size: 0.72rem;
  color: var(--text-primary);
  background: linear-gradient(transparent, rgba(10, 10, 15, 0.85));
  line-height: 1.4;
}

/* Info list */
.modal-info {
  margin-bottom: 2rem;
}

.info-row {
  display: flex;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--accent-gold);
  min-width: 80px;
}

.info-value {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tips */
.modal-tips {
  margin-bottom: 2rem;
}

.tips-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--accent-green);
}

.modal-tips ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal-tips li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-tips li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
}

/* Modal CTA */
.modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--accent-gold);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.modal-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px var(--glow-gold);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-lg {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 320px;
  }
  .bento-md,
  .bento-sm {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-lg,
  .bento-md,
  .bento-sm {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }

  .expert-layout {
    flex-direction: column;
  }

  .expert-tabs {
    flex-direction: row;
    min-width: auto;
    overflow-x: auto;
  }

  .expert-tab {
    min-width: 160px;
  }

  .phone-content {
    min-height: 420px;
  }

  .social-layout {
    flex-direction: column;
  }

  .testimonials {
    max-height: 300px;
  }

  .cta-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .quiz-card {
    padding: 2rem 1.5rem;
  }

  .modal-container {
    max-height: 92vh;
  }

  .modal-hero {
    height: 220px;
  }

  .modal-hero-content {
    left: 1.5rem;
    right: 1.5rem;
  }

  .modal-body {
    padding: 1.2rem 1.5rem 2rem;
  }

  .marquee-item {
    width: 160px;
    height: 105px;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 0.9rem;
  }

  .cta-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .expert-avatar {
    width: 40px;
    height: 40px;
  }

  .phone-frame {
    max-width: 100%;
  }

  .modal-hero {
    height: 200px;
  }

  .modal-body {
    padding: 1.2rem 1.5rem 2rem;
  }

  .modal-gallery {
    grid-template-columns: 1fr;
  }

  .info-row {
    flex-direction: column;
    gap: 0.3rem;
  }

  .marquee-item {
    width: 130px;
    height: 85px;
  }

  .marquee-label {
    font-size: 0.6rem;
  }
}
