:root {
  --bg: #07101b;
  --bg-soft: #0c1724;
  --surface: rgba(255, 255, 255, .055);
  --surface-2: rgba(255, 255, 255, .08);
  --line: rgba(255,255,255,.11);
  --text: #f5f8fb;
  --muted: #aab8c7;
  --accent: #59d2bc;
  --accent-strong: #36bfa8;
  --accent-2: #79a8ff;
  --max: 1160px;
  --radius: 28px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -5%, rgba(89,210,188,.09), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(121,168,255,.08), transparent 30%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7,16,27,.76);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 820;
  letter-spacing: -.02em;
  margin-right: auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent), #2aa893);
  color: #07101b;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(89,210,188,.22);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a,
.studio-link,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  transition: color .2s ease;
}

.nav-links a:hover,
.studio-link:hover,
.footer-links a:hover { color: var(--text); }

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

.lang-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  min-width: 44px;
  height: 36px;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 820px;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
  padding: 95px 0 115px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(35px);
}

.orb-a {
  width: 430px;
  height: 430px;
  right: -180px;
  top: 100px;
  background: rgba(89,210,188,.12);
}

.orb-b {
  width: 380px;
  height: 380px;
  left: -220px;
  bottom: 20px;
  background: rgba(121,168,255,.1);
}

.badge,
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 850;
}

.badge {
  color: #a9f2e5;
  border: 1px solid rgba(89,210,188,.2);
  background: rgba(89,210,188,.07);
  padding: 8px 11px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.eyebrow {
  color: var(--accent);
  margin-bottom: 18px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(54px, 6.8vw, 88px);
  line-height: .98;
  letter-spacing: -.055em;
  margin-bottom: 28px;
  max-width: 780px;
}

h2 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: -.045em;
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  letter-spacing: -.025em;
  margin-bottom: 10px;
}

.hero-lead,
.section-heading p,
.shared-copy > p,
.status-card p,
.contact-card p {
  color: var(--muted);
  font-size: 18px;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.button-primary {
  background: var(--text);
  color: #07101b;
}

.button-secondary {
  background: var(--surface);
  border: 1px solid var(--line);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 26px;
}

.hero-visual {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}

.phone {
  position: absolute;
  width: min(315px, 78vw);
  aspect-ratio: 9/18.8;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(150deg, rgba(255,255,255,.27), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 45px 90px rgba(0,0,0,.43);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 40px;
  background: #09121d;
}

.phone-front {
  transform: translate(52px, 8px) rotate(2deg);
  z-index: 2;
}

.phone-back {
  transform: translate(-105px, 45px) scale(.88) rotate(-7deg);
  opacity: .63;
  filter: saturate(.82);
}

.phone-notch {
  position: absolute;
  width: 105px;
  height: 25px;
  border-radius: 20px;
  background: #03070c;
  left: 50%;
  top: 17px;
  transform: translateX(-50%);
  z-index: 5;
}

.phone-screen {
  position: relative;
  z-index: 2;
  height: 100%;
  overflow: hidden;
  border-radius: 37px;
  padding: 72px 22px 24px;
  background:
    radial-gradient(circle at 80% 5%, rgba(89,210,188,.11), transparent 30%),
    linear-gradient(180deg, #0f1b2a 0%, #0b1521 100%);
}

.screen-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  color: #91e7d8;
  margin-bottom: 14px;
}

.trip-hero {
  padding: 23px 18px;
  border-radius: 23px;
  background:
    linear-gradient(150deg, rgba(121,168,255,.18), rgba(89,210,188,.08)),
    rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
}

.trip-kicker {
  color: #b6c4d2;
  font-size: 9px;
  letter-spacing: .12em;
  margin-bottom: 7px;
}

.trip-title {
  font-size: 29px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -.04em;
}

.trip-sub {
  color: var(--muted);
  font-size: 11px;
  margin-top: 8px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 12px;
}

.dash-card {
  min-height: 102px;
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);
}

.dash-card strong,
.dash-card small {
  display: block;
}

.dash-card strong {
  font-size: 17px;
  margin-top: 8px;
}

.dash-card small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 1px;
}

.dash-icon { font-size: 16px; }

.next-card,
.progress-card,
.list-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);
}

.next-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border-radius: 18px;
  margin-top: 10px;
}

.next-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(89,210,188,.65);
}

.next-card small,
.next-card strong {
  display: block;
}

.next-card small {
  color: var(--muted);
  font-size: 9px;
}

.next-card strong {
  font-size: 11px;
  margin-top: 2px;
}

.muted-screen { padding-top: 78px; }

.small-title {
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 850;
  margin-bottom: 18px;
}

.progress-card {
  padding: 16px;
  border-radius: 18px;
  margin-bottom: 11px;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 9px;
}

.progress {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.07);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--accent);
}

.list-card {
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

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

.feature-card {
  min-height: 245px;
  padding: 27px;
  border-radius: 23px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 14px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(89,210,188,.09);
  border: 1px solid rgba(89,210,188,.12);
  margin-bottom: 23px;
}

.shared-section {
  background: rgba(255,255,255,.022);
  border-top: 1px solid rgba(255,255,255,.055);
  border-bottom: 1px solid rgba(255,255,255,.055);
}

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

.shared-points {
  margin-top: 35px;
}

.shared-points > div {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.shared-points > div:last-child {
  border-bottom: 1px solid var(--line);
}

.shared-points > div > span {
  font-size: 11px;
  color: var(--accent);
  font-weight: 850;
}

.shared-points p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.shared-points strong { color: var(--text); }

.shared-panel {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 0%, rgba(121,168,255,.10), transparent 35%),
    var(--surface);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.panel-head small,
.panel-head strong { display: block; }

.panel-head small {
  color: var(--muted);
  font-size: 11px;
}

.panel-head strong {
  font-size: 20px;
  margin-top: 4px;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-left: -7px;
  border: 2px solid #0c1724;
  background: linear-gradient(145deg, #7086a1, #3d5066);
  font-size: 10px;
  font-weight: 800;
}

.avatars span:first-child { margin-left: 0; }

.expense-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 24px 0;
}

.expense-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(89,210,188,.08);
}

.expense-main strong,
.expense-main small {
  display: block;
}

.expense-main small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}

.split-box {
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  padding: 17px;
}

.split-box > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.split-line {
  display: flex;
  gap: 4px;
  margin: 13px 0 9px;
}

.split-line span {
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.split-box small {
  color: var(--muted);
}

.status-section { padding-top: 90px; }

.status-card {
  padding: clamp(30px, 5vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 10%, rgba(89,210,188,.10), transparent 30%),
    linear-gradient(140deg, rgba(121,168,255,.07), rgba(255,255,255,.035));
}

.status-card > div:first-child {
  max-width: 720px;
}

.status-side {
  min-width: 220px;
  display: grid;
  gap: 16px;
}

.status-pill {
  padding: 11px 13px;
  border-radius: 999px;
  background: rgba(89,210,188,.07);
  border: 1px solid rgba(89,210,188,.15);
  color: #a9f2e5;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 7px;
  box-shadow: 0 0 16px rgba(89,210,188,.65);
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: clamp(30px, 5vw, 54px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.contact-card h2 {
  margin-bottom: 10px;
}

.contact-card p { margin-bottom: 0; }

.contact-email {
  text-decoration: none;
  white-space: nowrap;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--text);
  color: #07101b;
  font-weight: 800;
}

.site-footer {
  padding: 30px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.footer-row a {
  text-decoration: none;
}

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

/* Legal page */
.legal-page main {
  padding: 90px 0 120px;
}

.legal-wrap {
  max-width: 800px;
}

.legal-wrap h1 {
  font-size: clamp(44px, 6vw, 70px);
  margin-bottom: 15px;
}

.legal-meta {
  color: var(--muted);
  margin-bottom: 46px;
}

.legal-wrap h2 {
  font-size: 26px;
  letter-spacing: -.02em;
  margin-top: 42px;
  margin-bottom: 12px;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
}

.legal-wrap a {
  color: var(--text);
}

@media (max-width: 980px) {
  .hero-grid,
  .shared-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual { min-height: 570px; }
  .hero-grid { gap: 20px; }
  .shared-grid { gap: 42px; }
}

@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav { height: 68px; }
  .nav-links, .studio-link { display: none; }
  .hero { min-height: auto; }
  .hero-grid { padding: 72px 0 80px; }
  .hero-visual { min-height: 520px; }
  .phone-front { transform: translate(35px, 0) scale(.92) rotate(2deg); }
  .phone-back { transform: translate(-75px, 45px) scale(.78) rotate(-7deg); }
  .section { padding: 80px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .status-card,
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .status-side {
    width: 100%;
  }
  .contact-email {
    white-space: normal;
    word-break: break-all;
  }
  .footer-row {
    flex-direction: column;
  }
  .hero-lead,
  .section-heading p,
  .shared-copy > p,
  .status-card p,
  .contact-card p {
    font-size: 16px;
  }
}
