/* ==========================================================================
   GetYourTrip Landing Page
   Aesthetic: editorial precision meets organic warmth
   Fonts: DM Serif Display (display) + DM Sans (body)
   Palette: deep teal (#0f766e) + warm amber (#f59e0b) + near-black (#111) + cream (#faf8f5)
   ========================================================================== */

:root {
  --teal: #0f766e;
  --teal-dark: #0a5c56;
  --teal-light: #14b8a6;
  --amber: #f59e0b;
  --amber-light: #fcd34d;
  --black: #111;
  --gray-900: #1a1a1a;
  --gray-700: #404040;
  --gray-500: #737373;
  --gray-300: #d4d4d4;
  --gray-100: #f5f5f5;
  --cream: #faf8f5;
  --white: #ffffff;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --max-width: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-primary.btn-lg { padding: 18px 40px; font-size: 16px; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--teal);
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--teal);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-ghost {
  display: inline-block;
  color: var(--gray-700);
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--teal); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,248,245,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--teal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon { font-size: 26px; }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--gray-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-700);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.shape-1 { width: 500px; height: 500px; background: var(--teal-light); top: -100px; right: -100px; }
.shape-2 { width: 400px; height: 400px; background: var(--amber); bottom: -100px; left: -50px; opacity: 0.2; }
.shape-3 { width: 300px; height: 300px; background: var(--teal); top: 50%; left: 40%; opacity: 0.12; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-badge {
  display: inline-block;
  background: rgba(15,118,110,0.08);
  color: var(--teal);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--black);
}
.hero h1 em {
  font-style: italic;
  color: var(--teal);
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-note {
  font-size: 13px;
  color: var(--gray-500);
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

/* Phone & Dashboard Mockups */
.phone-mockup {
  width: 200px;
  height: 400px;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-lg), 0 0 0 4px var(--gray-300);
  padding: 12px;
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: var(--gray-100);
  border-radius: 20px;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-header { height: 24px; background: var(--teal); border-radius: 8px; opacity: 0.7; }
.mock-card { height: 80px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-sm); }
.mock-card.short { height: 50px; }

.dashboard-mockup {
  width: 320px;
  height: 220px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 16px;
  position: absolute;
  top: 20px;
  left: -160px;
  z-index: 1;
}
.dash-bar { height: 14px; width: 40%; background: var(--teal); border-radius: 4px; margin-bottom: 16px; opacity: 0.7; }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-stat { height: 50px; background: var(--gray-100); border-radius: 8px; }
.dash-chart { grid-column: span 3; height: 80px; background: linear-gradient(135deg, rgba(15,118,110,0.08), rgba(245,158,11,0.08)); border-radius: 8px; }

/* ---------- LOGOS BAR ---------- */
.logos-bar {
  padding: 48px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.logos-bar p {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-weight: 500;
}
.logo-scroll {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.logo-scroll span {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gray-300);
  transition: color 0.3s;
}
.logo-scroll span:hover { color: var(--teal); }

/* ---------- SECTION HEADER ---------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  background: rgba(15,118,110,0.08);
  color: var(--teal);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  color: var(--black);
}
.section-header h2 em { font-style: italic; color: var(--teal); }
.section-sub {
  font-size: 17px;
  color: var(--gray-500);
  margin-top: 12px;
}

/* ---------- FEATURES ---------- */
.features { padding: 100px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid rgba(0,0,0,0.04);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(15,118,110,0.06);
  border-radius: 14px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works {
  padding: 100px 0;
  background: var(--white);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 24px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--teal);
  opacity: 0.3;
  margin-bottom: 12px;
  line-height: 1;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

.step-line {
  width: 60px;
  height: 2px;
  background: var(--gray-300);
  margin-top: 36px;
  flex-shrink: 0;
}

/* ---------- PRICING ---------- */
.pricing { padding: 100px 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.plan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.plan-popular {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}
.plan-popular:hover { transform: scale(1.04) translateY(-4px); }

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 8px;
}
.plan-price {
  font-size: 48px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price .currency { font-size: 24px; vertical-align: super; }
.plan-price .period { font-size: 16px; color: var(--gray-500); font-weight: 400; }
.plan-desc { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; }

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}
.plan-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before {
  content: '\2713';
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
}

.plan-card .btn-primary,
.plan-card .btn-outline { width: 100%; text-align: center; }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.04);
}

.testimonial-stars {
  color: var(--amber);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.testimonial-author strong {
  display: block;
  font-size: 14px;
}
.testimonial-author span {
  font-size: 12px;
  color: var(--gray-500);
}

/* ---------- FAQ ---------- */
.faq { padding: 100px 0; }

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-300);
  padding: 20px 0;
}
.faq-item summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black);
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--teal); }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--teal);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  padding-top: 12px;
}

/* ---------- CTA ---------- */
.cta {
  padding: 100px 0;
  background: var(--teal-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--teal-light);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  top: -200px;
  right: -100px;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
}
.cta p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  margin-bottom: 32px;
  position: relative;
}
.cta .btn-primary {
  background: var(--white);
  color: var(--teal-dark);
  position: relative;
}
.cta .btn-primary:hover { background: var(--gray-100); }
.cta-note {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  position: relative;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 64px 0 32px;
  background: var(--gray-900);
  color: var(--gray-300);
}

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

.footer-brand .nav-brand {
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col a {
  display: block;
  color: var(--gray-500);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content,
.hero-visual { animation: fadeInUp 0.8s ease-out both; }
.hero-visual { animation-delay: 0.15s; }

/* Intersection Observer classes */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 120px 0 60px; min-height: auto; }

  .features-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plan-popular { transform: none; }
  .plan-popular:hover { transform: translateY(-4px); }

  .steps { flex-direction: column; align-items: center; gap: 24px; }
  .step-line { width: 2px; height: 40px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: span 2; }

  .logo-scroll { gap: 20px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}
