/* ============================================
   TAPRIO — Styles
   ============================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* Custom Properties */
:root {
  --primary:       #1C0A40;
  --accent:        #E8521A;
  --accent-hover:  #CF4515;
  --bg:            #FDFAF5;
  --bg-alt:        #F3EBDE;
  --text:          #1C0A40;
  --text-muted:    #7A6880;
  --white:         #FFFFFF;
  --border:        #E0D4C6;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow:        0 4px 24px rgba(28,10,64,.08);
  --shadow-lg:     0 8px 40px rgba(28,10,64,.15);
  --transition:    0.2s ease;
}

/* Base */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5.5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700; }

p { color: var(--text-muted); }

/* Layout */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header h2 { margin-bottom: 14px; }

.section-header p {
  max-width: 540px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition), color var(--transition);
  border: 2px solid transparent;
  text-align: center;
  line-height: 1;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}

/* ── HEADER ─────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253,250,245,0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(28,10,64,0.07);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: 'Manrope', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo span { color: var(--accent); }

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

.nav a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav a:hover { color: var(--accent); }

.nav-cta { display: flex; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--primary);
  transition: color var(--transition);
}

.nav-toggle:hover { color: var(--accent); }

/* Mobile nav dropdown */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--bg);
  padding: 20px 24px 28px;
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 0;
  z-index: 99;
  box-shadow: var(--shadow);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
}

.nav-mobile a:last-child {
  border-bottom: none;
  margin-top: 12px;
  padding: 0;
}

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 35%;
  opacity: 0.32;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,10,64,0.6) 0%, rgba(28,10,64,0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.hero-badge {
  display: inline-block;
  background: rgba(232,82,26,0.22);
  border: 1px solid rgba(232,82,26,0.45);
  color: #FFB399;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.75;
}

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

.hero-hint {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.48);
}

/* ── FOR WHOM ────────────────────────────── */
.for-whom {
  padding: 96px 0;
  background: var(--bg);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,82,26,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.card h3 { margin-bottom: 10px; }

.card p { font-size: 0.94rem; line-height: 1.68; }

/* ── FORMAT ──────────────────────────────── */
.format {
  padding: 96px 0;
  background: var(--bg-alt);
}

.format-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.format-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: #2a1a50;
}

.format-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.format-content > p {
  margin-bottom: 32px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.format-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.format-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.format-num {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  margin-top: 2px;
}

.format-item h3 { margin-bottom: 4px; }
.format-item p { font-size: 0.92rem; line-height: 1.65; }

/* ── OUTCOMES ────────────────────────────── */
.outcomes {
  padding: 96px 0;
  background: var(--bg);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}

.outcome-item:hover { box-shadow: var(--shadow); }

.outcome-check {
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 2px;
}

.outcome-item p {
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--text);
}

/* ── FAQ ─────────────────────────────────── */
.faq {
  padding: 96px 0;
  background: var(--bg-alt);
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--text);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--text-muted);
  transition: transform var(--transition), border-color var(--transition), color var(--transition);
  font-weight: 400;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 26px 22px;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── LEAD FORM ───────────────────────────── */
.lead-form {
  padding: 96px 0;
  background: var(--primary);
}

.lead-form-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.lead-form h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.lead-form-desc {
  color: rgba(255,255,255,0.62);
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.7;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0.02em;
}

.form-field input,
.form-field textarea {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.28);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.11);
}

.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 1.02rem;
}

.form-privacy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.37);
  line-height: 1.65;
  text-align: center;
}

.form-privacy a {
  color: rgba(255,255,255,0.58);
  text-decoration: underline;
}

/* ── FOOTER ──────────────────────────────── */
.footer {
  background: #130829;
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}

.footer-logo {
  font-family: 'Manrope', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
}

.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-company {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.85;
}

.footer-copy {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.3);
  text-align: right;
  white-space: nowrap;
}

/* ── COOKIE BANNER ───────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 460px;
  background: var(--primary);
  border-radius: var(--radius);
  padding: 22px 24px;
  z-index: 200;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner p {
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
  line-height: 1.65;
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-accept {
  padding: 9px 20px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  transition: background var(--transition);
}

.cookie-accept:hover { background: var(--accent-hover); }

.cookie-decline {
  padding: 9px 18px;
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: 'Manrope', sans-serif;
  transition: border-color var(--transition), color var(--transition);
}

.cookie-decline:hover {
  border-color: rgba(255,255,255,0.45);
  color: white;
}

/* ── LEGAL PAGES ─────────────────────────── */
.legal-page {
  padding: 110px 0 80px;
  min-height: 100vh;
  background: var(--bg);
}

.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 8px;
}

.legal-date {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 36px 0 10px;
  color: var(--text);
  font-weight: 700;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

/* ── SUCCESS PAGE ────────────────────────── */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  background: var(--bg);
}

.success-inner { max-width: 460px; }

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(232,82,26,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2rem;
}

.success-inner h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 16px;
}

.success-inner > p {
  margin-bottom: 36px;
  line-height: 1.75;
  font-size: 1rem;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .format-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .format-image {
    order: -1;
    max-height: 320px;
  }
}

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

  .cards-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 100%;
  }

  .footer-top { flex-direction: column; gap: 20px; }
  .footer-bottom { flex-direction: column; }
  .footer-copy { text-align: left; white-space: normal; }

  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-hint { font-size: 0.82rem; }

  .lead-form-inner { padding: 0; }
}

@media (max-width: 480px) {
  .btn { padding: 13px 24px; font-size: 0.93rem; }
  .format-item { gap: 12px; }
}
