/* ================================================================
   Adventures.AI — Global Styles
   Palette: deep forest green + warm gold on near-black
   ================================================================ */

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

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

:root {
  --bg:          #040d09;
  --bg-card:     #0d2419;
  --bg-section:  #071510;
  --primary:     #0a3b2d;
  --border:      #1a4332;
  --muted:       #2d6a4f;
  --accent:      #bd9a5f;
  --accent-dim:  rgba(189,154,95,0.15);
  --text:        #f0ede8;
  --text-muted:  #8aac9a;
  --white:       #ffffff;
  --radius:      4px;
  --transition:  0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; font-family: 'Inter', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }

p { color: var(--text); opacity: 0.85; }
a { color: var(--accent); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.75; }

.accent  { color: var(--accent); }
.muted   { color: var(--text-muted); font-size: 0.875rem; }
.label   { font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 600;
           letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ── Nav ─────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(4,13,9,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1120px; margin: 0 auto; padding: 0 2rem;
  gap: 1.5rem;
}
.nav-logo {
  display: flex; align-items: center; text-decoration: none; flex-shrink: 0;
}
.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.04em;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); opacity: 1; }
.nav-cta {
  background: var(--accent); color: var(--bg) !important;
  padding: 0.5rem 1.25rem; border-radius: var(--radius);
  font-weight: 600 !important; font-size: 0.875rem !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: #d4af77 !important; opacity: 1 !important; }

/* ── Dropdowns ───────────────────────────────────────────────── */
.has-dropdown > a {
  display: flex; align-items: center; gap: 0.3rem;
}
.has-dropdown > a::after {
  content: '▾'; font-size: 0.6rem; opacity: 0.5; margin-top: 1px;
  transition: transform var(--transition);
}
.has-dropdown:hover > a::after { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 250px;
  background: rgba(4,13,9,0.98);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 300;
}
.has-dropdown:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
/* Invisible bridge so cursor can move from link to dropdown */
.dropdown::before {
  content: ''; position: absolute; top: -18px; left: 0; right: 0; height: 18px;
}
.dropdown-item {
  display: block; padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(26,67,50,0.4);
  text-decoration: none;
  transition: background var(--transition);
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: var(--bg-card); }
.dropdown-item-title {
  display: block; font-size: 0.875rem; font-weight: 500;
  color: var(--white); margin-bottom: 0.2rem;
}
.dropdown-item-desc {
  display: block; font-size: 0.775rem; color: var(--text-muted); line-height: 1.45;
}
.dropdown-cta {
  display: block; padding: 0.75rem 1.25rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--accent) !important; text-decoration: none;
  transition: background var(--transition);
}
.dropdown-cta:hover { background: var(--accent-dim); opacity: 1 !important; }

/* ── Language Switch ─────────────────────────────────────────── */
.lang-switch {
  display: flex; align-items: center; gap: 0.3rem;
  flex-shrink: 0; margin-left: 0.5rem;
}
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 500;
  color: var(--text-muted); padding: 0.2rem 0.1rem;
  transition: color var(--transition);
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { color: var(--accent); }
.lang-divider { color: var(--border); font-size: 0.7rem; line-height: 1; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-shrink: 0; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: var(--transition);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.04em; cursor: pointer; border: none;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: var(--bg);
}
.btn-primary:hover { background: #d4af77; opacity: 1; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }
.btn-ghost {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-ghost:hover { background: var(--accent-dim); opacity: 1; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #040d09 0%, #0a3b2d 55%, #051e17 100%);
  padding-top: 72px; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(189,154,95,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--accent);
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.125rem; line-height: 1.75;
  color: var(--text-muted); margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Decorative line */
.hero-line {
  position: absolute; right: 0; top: 50%;
  width: 45%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(189,154,95,0.3));
  transform: translateY(-50%);
}

/* ── Divider ─────────────────────────────────────────────────── */
.divider {
  width: 48px; height: 2px;
  background: var(--accent); margin: 1.25rem 0 1.75rem;
}
.divider-center { margin: 1.25rem auto 1.75rem; }

/* ── Section Headings ──────────────────────────────────────── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { font-size: 1.0625rem; color: var(--text-muted); }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }

.card-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  color: var(--accent); opacity: 0.3;
  line-height: 1; margin-bottom: 1rem;
}

/* ── Grid ─────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* ── Steps / Process ─────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 2rem; padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 600;
  color: var(--accent); opacity: 0.4;
  align-self: start; padding-top: 0.25rem;
}
.step-body h3 { margin-bottom: 0.75rem; }

/* ── Programme Tiles ─────────────────────────────────────────── */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.prog-tile {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
  position: relative;
  transition: background var(--transition);
}
.prog-tile:last-child { border-right: none; }
.prog-tile:hover { background: var(--bg-card); }
.prog-tile-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent); font-size: 1.1rem;
}
.prog-tile h3 { margin-bottom: 0.75rem; font-size: 1.3rem; }
.prog-tile p  { font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1.5rem; }
.prog-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent);
}
.prog-link::after { content: '→'; }

/* ── Feature list ─────────────────────────────────────────────── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  font-size: 0.9375rem;
}
.feature-list li::before {
  content: ''; flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 0.55rem;
}

/* ── Audience tags ───────────────────────────────────────────── */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.tag {
  padding: 0.375rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem; color: var(--text-muted);
}

/* ── Quote / Callout ─────────────────────────────────────────── */
.callout {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  background: var(--accent-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.1875rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4rem 3rem;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p  { margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── Differentiators ─────────────────────────────────────────── */
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
.diff-item {
  background: var(--bg);
  padding: 2.5rem;
}
.diff-item h4 { color: var(--accent); margin-bottom: 0.75rem; font-size: 0.8125rem; letter-spacing: 0.12em; }

/* ── Tool CTA Section ────────────────────────────────────────── */
.tool-cta {
  background: linear-gradient(135deg, #0a3b2d 0%, #051e17 100%);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.tool-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(189,154,95,0.08), transparent);
  pointer-events: none;
}
.tool-cta h2 { position: relative; margin-bottom: 1rem; }
.tool-cta p  { position: relative; margin-bottom: 2rem; }
.tool-cta .btn { position: relative; }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); max-width: 300px; margin-top: 1rem; }
.footer-brand .nav-logo img { height: 80px; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; color: var(--text-muted); }

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, #040d09 0%, #071510 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero .label { margin-bottom: 1.5rem; display: block; }
.page-hero h1 { max-width: 700px; margin-bottom: 1.25rem; }
.page-hero p  { max-width: 580px; font-size: 1.0625rem; color: var(--text-muted); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3     { grid-template-columns: 1fr; }
  .grid-2     { grid-template-columns: 1fr; }
  .prog-grid  { grid-template-columns: 1fr; }
  .prog-tile  { border-right: none; border-bottom: 1px solid var(--border); }
  .prog-tile:last-child { border-bottom: none; }
  .diff-grid  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; flex-direction: column; gap: 0;
                position: absolute; top: 72px; left: 0; right: 0;
                background: rgba(4,13,9,0.97); border-bottom: 1px solid var(--border);
                padding: 1.5rem 2rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .section    { padding: 70px 0; }
  .hero-actions { flex-direction: column; }
  .btn        { width: 100%; justify-content: center; }
  .step       { grid-template-columns: 48px 1fr; gap: 1.25rem; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .tool-cta   { padding: 2.5rem 1.5rem; }
  .card       { padding: 1.75rem; }
}

/* ── Scroll animation helper ──────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Mobile dropdown ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .has-dropdown > a::after { display: none; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: rgba(13,36,25,0.6); border: none; border-left: 2px solid var(--accent);
    margin: 0.5rem 0 0.5rem 0.75rem; display: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .lang-switch { margin-left: 0; margin-right: 0.5rem; }
}

/* ── Register Form ───────────────────────────────────────────── */
.form-page { min-height: 100vh; padding-top: 72px; background: var(--bg); }
.form-wrap {
  max-width: 620px; margin: 0 auto; padding: 80px 2rem 100px;
}
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block; font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.05em; color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-label span { color: var(--accent); margin-left: 2px; }
.form-input, .form-select {
  width: 100%; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.75rem 1rem; font-family: 'Inter', sans-serif;
  font-size: 0.9375rem; color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none; appearance: none;
}
.form-input::placeholder { color: var(--text-muted); opacity: 0.5; }
.form-input:focus, .form-select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(189,154,95,0.1);
}
.form-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238aac9a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-select option { background: #0d2419; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.checkbox-group { display: flex; flex-direction: column; gap: 0.75rem; }
.checkbox-label {
  display: flex; align-items: center; gap: 0.75rem;
  cursor: pointer; font-size: 0.9375rem; color: var(--text);
  padding: 0.625rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.checkbox-label:hover { border-color: var(--accent); background: var(--accent-dim); }
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-label .check-box {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}
.checkbox-label input:checked + .check-box {
  background: var(--accent); border-color: var(--accent);
}
.checkbox-label input:checked + .check-box::after {
  content: ''; width: 5px; height: 8px;
  border: 2px solid #040d09; border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px,-1px); display: block;
}
.checkbox-label.selected { border-color: var(--accent); background: var(--accent-dim); }

.radio-group { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.radio-label {
  display: flex; align-items: center; gap: 0.5rem;
  cursor: pointer; font-size: 0.875rem; color: var(--text-muted);
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--border); border-radius: 100px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.radio-label:hover { border-color: var(--accent); color: var(--text); }
.radio-label input[type="radio"] { display: none; }
.radio-label.selected { border-color: var(--accent); color: var(--white); background: var(--accent-dim); }

.consent-label {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem; color: var(--text-muted); cursor: pointer; line-height: 1.5;
}
.consent-label input[type="checkbox"] { margin-top: 2px; accent-color: var(--accent); }
.consent-label a { color: var(--accent); }

.form-submit { width: 100%; margin-top: 2rem; font-size: 1rem; padding: 1rem; }

.form-success {
  display: none; text-align: center; padding: 3rem 2rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
  border-top: 3px solid var(--accent);
}
.form-success h2 { margin-bottom: 1rem; }

.conditional-field { display: none; margin-top: 0.75rem; }
.conditional-field.visible { display: block; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
