/* Eurodays 90 — landing page styles. Follows .rork/DESIGN.md tokens. */

:root {
  --navy-top: #071A44;
  --navy-bottom: #0B2E77;
  --navy-glow: #003399;
  --card: rgba(14, 42, 99, 0.78);
  --card-solid: #0E2A63;
  --card-raised: #143479;
  --stroke: rgba(51, 85, 184, 0.45);
  --text: #FFFFFF;
  --text-dim: #B8C7EA;
  --accent: #FFCC00;
  --safe: #34C759;
  --warning: #FF9F0A;
  --danger: #FF453A;
  --radius-card: 20px;
  --radius-tile: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background-color: var(--navy-top);
  background-image:
    radial-gradient(900px 480px at 50% -120px, rgba(0, 51, 153, 0.45), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cpath d='M0 -1L.24 -.31.97 -.31.38 .12.59 .81 0 .38-.59 .81-.38 .12-.97 -.31-.24 -.31Z' fill='%23FFCC00' opacity='.07' transform='translate(40 60) scale(11) rotate(12)'/%3E%3Cpath d='M0 -1L.24 -.31.97 -.31.38 .12.59 .81 0 .38-.59 .81-.38 .12-.97 -.31-.24 -.31Z' fill='%23FFCC00' opacity='.05' transform='translate(205 30) scale(8) rotate(-20)'/%3E%3Cpath d='M0 -1L.24 -.31.97 -.31.38 .12.59 .81 0 .38-.59 .81-.38 .12-.97 -.31-.24 -.31Z' fill='%23FFCC00' opacity='.08' transform='translate(300 150) scale(13) rotate(40)'/%3E%3Cpath d='M0 -1L.24 -.31.97 -.31.38 .12.59 .81 0 .38-.59 .81-.38 .12-.97 -.31-.24 -.31Z' fill='%23FFCC00' opacity='.05' transform='translate(90 205) scale(9)'/%3E%3Cpath d='M0 -1L.24 -.31.97 -.31.38 .12.59 .81 0 .38-.59 .81-.38 .12-.97 -.31-.24 -.31Z' fill='%23FFCC00' opacity='.07' transform='translate(250 265) scale(12) rotate(-30)'/%3E%3Cpath d='M0 -1L.24 -.31.97 -.31.38 .12.59 .81 0 .38-.59 .81-.38 .12-.97 -.31-.24 -.31Z' fill='%23FFCC00' opacity='.045' transform='translate(160 125) scale(7) rotate(60)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--navy-top) 0%, var(--navy-bottom) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 26, 68, 0.72);
  border-bottom: 1px solid var(--stroke);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: var(--text);
  text-decoration: none;
}

.brand svg { display: block; }

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

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

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

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--accent);
  color: #1a1600;
  box-shadow: 0 8px 24px rgba(255, 204, 0, 0.25);
}

.btn-primary:hover { box-shadow: 0 10px 30px rgba(255, 204, 0, 0.4); }

.btn-ghost {
  border-color: var(--stroke);
  color: var(--text);
  background: rgba(20, 52, 121, 0.4);
}

.btn-ghost:hover { background: rgba(20, 52, 121, 0.7); }

.btn-disabled {
  opacity: 0.65;
  cursor: default;
  border: 1px dashed var(--stroke);
  background: rgba(20, 52, 121, 0.3);
}

.btn-disabled:active { transform: none; }

.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(20, 52, 121, 0.4);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  font-weight: 800;
}

.hero h1 .num { color: var(--accent); font-variant-numeric: tabular-nums; }

.hero p.lede {
  color: var(--text-dim);
  font-size: 19px;
  max-width: 34em;
  margin-bottom: 32px;
}

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

.trust-line {
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line svg { color: var(--safe); flex: none; }

/* ---------- phone mockups ---------- */

.phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 560px;
}

.phone {
  width: 252px;
  border-radius: 38px;
  border: 1px solid rgba(51, 85, 184, 0.6);
  background: linear-gradient(180deg, #0A2154 0%, #0B2E77 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 0 0 6px #0A1B45;
  padding: 14px 12px 18px;
  position: relative;
}

.phone + .phone { margin-left: -34px; margin-top: 74px; transform: rotate(2.4deg); }
.phone:first-child { transform: rotate(-2.6deg); z-index: 2; }

.phone .notch {
  width: 84px; height: 20px; border-radius: 12px;
  background: #0A1B45; margin: 0 auto 12px;
}

.phone .date { font-size: 12px; color: var(--text-dim); text-align: center; }
.phone .date strong { color: var(--text); display: block; font-size: 14px; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }

.tile {
  background: var(--card-solid);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-tile);
  padding: 12px 10px;
  text-align: center;
}

.tile .label { font-size: 11px; color: var(--text-dim); }

.tile .value {
  font-size: 34px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.tile .value.accent { color: var(--accent); }

.allowance {
  background: var(--card-solid);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-tile);
  padding: 12px;
  margin-bottom: 12px;
}

.allowance .row {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text-dim); margin-bottom: 8px;
}

.bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #0A1B45;
  overflow: hidden;
}

.bar .fill {
  position: absolute; inset: 0 auto 0 0; width: 58%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--safe), var(--warning) 82%, var(--danger) 96%);
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  background: rgba(52, 199, 89, 0.16);
  color: var(--safe);
  border: 1px solid rgba(52, 199, 89, 0.4);
}

.phone .quick {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px;
}

.phone .quick div {
  background: var(--card-solid); border: 1px solid var(--stroke);
  border-radius: 14px; font-size: 10px; color: var(--text-dim);
  text-align: center; padding: 10px 4px;
}

.result-card {
  background: var(--card-solid);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  padding: 14px;
  text-align: center;
  margin: 12px 0;
}

.result-card .cap { font-size: 11px; color: var(--text-dim); margin-bottom: 8px; }

.result-card .big {
  font-size: 22px; font-weight: 800; color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.result-card .sub { font-size: 11px; color: var(--text-dim); margin-top: 4px; }

.ring-wrap { position: relative; width: 108px; height: 108px; margin: 4px auto 8px; }
.ring-wrap .center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.ring-wrap .center strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.ring-wrap .center small { font-size: 9px; color: var(--text-dim); }

.stay-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--card-solid); border: 1px solid var(--stroke);
  border-radius: 14px; padding: 10px 12px; margin-top: 8px; font-size: 11px;
}

.stay-row b { font-size: 12px; }
.stay-row .days { color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---------- rule banner ---------- */

.rule-banner {
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background: rgba(14, 42, 99, 0.5);
  padding: 26px 0;
}

.rule-banner p { text-align: center; color: var(--text-dim); font-size: 16px; }
.rule-banner strong { color: var(--text); }
.rule-banner .num { color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 800; }

/* ---------- features ---------- */

.features { padding: 84px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.4px; }
.section-head p { color: var(--text-dim); margin-top: 12px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.feature:hover {
  transform: translateY(-3px);
  background: rgba(14, 42, 99, 0.95);
  border-color: rgba(51, 85, 184, 0.75);
}

.feature.hero-feature { background: rgba(14, 42, 99, 0.95); border-color: rgba(255, 204, 0, 0.4); }

.feature .icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid rgba(255, 204, 0, 0.35);
  margin-bottom: 16px;
}

.feature .icon svg { color: var(--accent); }

.feature h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.feature p { color: var(--text-dim); font-size: 15px; }

.feature .tag {
  display: inline-block; margin-top: 12px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.5px; text-transform: uppercase;
}

/* ---------- CTA ---------- */

.cta { padding: 24px 0 96px; }

.cta-card {
  text-align: center;
  background:
    radial-gradient(500px 220px at 50% -60px, rgba(0, 51, 153, 0.5), transparent 70%),
    var(--card);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  padding: 64px 28px;
}

.cta-card h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.cta-card p { color: var(--text-dim); max-width: 36em; margin: 14px auto 30px; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.cta-note { margin-top: 16px; font-size: 13px; color: var(--text-dim); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 34px 0;
  background: rgba(7, 26, 68, 0.6);
}

.foot {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  align-items: center; justify-content: space-between;
  font-size: 14px; color: var(--text-dim);
}

.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--text-dim); text-decoration: none; }
.foot-links a:hover { color: var(--accent); }

.disclaimer {
  margin-top: 18px; font-size: 12.5px; color: rgba(184, 199, 234, 0.7); max-width: 60em;
}

/* ---------- legal pages ---------- */

.legal { padding: 72px 0 96px; }

.legal article {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  padding: clamp(28px, 5vw, 56px);
  max-width: 820px;
  margin: 0 auto;
}

.legal h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 6px; }
.legal .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; color: var(--accent); }
.legal p, .legal li { color: var(--text-dim); font-size: 15.5px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); }
.legal a { color: var(--accent); }

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 24px; color: var(--text-dim); text-decoration: none; font-size: 15px;
}
.back-link:hover { color: var(--accent); }

/* ---------- responsive ---------- */

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding: 56px 0 48px; text-align: center; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust-line { justify-content: center; }
  .phones { min-height: 0; margin-top: 36px; }
  .nav-links a:not(.btn) { display: none; }
}

@media (max-width: 560px) {
  .phone { width: 218px; }
  .phone + .phone { margin-left: -60px; margin-top: 56px; }
  .phones { flex-wrap: nowrap; }
  .tile .value { font-size: 27px; }
}
