:root {
  --bg: #070e1b;
  --panel: rgba(18, 30, 53, 0.72);
  --text: #e8f0ff;
  --muted: #9fb2d4;
  --brand: #58a7ff;
  --brand2: #5fe4f5;
  --border: rgba(162, 188, 227, 0.2);
  --shadow: rgba(3, 7, 17, 0.45);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, #17345f 0%, transparent 35%), linear-gradient(180deg, #060b16, #0b1425 35%, #0f1d34);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('/public/ocean-yacht-bg.svg') center/cover no-repeat;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
  animation: groundPan 28s linear infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(circle at 15% 30%, rgba(88, 167, 255, 0.16), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(95, 228, 245, 0.14), transparent 40%),
    radial-gradient(circle at 65% 80%, rgba(88, 167, 255, 0.12), transparent 38%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
  animation: ambientDrift 20s ease-in-out infinite alternate;
}
.container { width: min(1120px, 92%); margin: 0 auto; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 18px 40px var(--shadow); backdrop-filter: blur(10px); }
.section { margin: 56px 0; }
h1,h2,h3 { line-height: 1.1; margin: 0 0 12px; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
.btn { display:inline-block;padding:12px 18px;border-radius:12px;font-weight:700;border:1px solid var(--border); }
.btn-primary { background: linear-gradient(90deg, var(--brand), var(--brand2)); color:#031326; border:none; }
.btn-secondary { background: rgba(255,255,255,.04); }
.header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--border); background: rgba(4,9,19,.75); backdrop-filter: blur(10px); }
.header-inner { display:flex;justify-content:space-between;align-items:center;padding:14px 0; }
.brand { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: .3px; }
.brand-logo {
  display: block;
  width: clamp(170px, 22vw, 250px);
  height: auto;
}
.nav-desktop { display:flex; gap: 20px; }
.nav-group { position: relative; padding-bottom: 14px; }
.nav-group button { background: transparent; color: var(--text); border: 0; cursor: pointer; }
.dropdown { position:absolute; top:calc(100% - 4px); left:0; width: 220px; padding: 10px; display:none; }
.nav-group:hover .dropdown, .nav-group.open .dropdown, .nav-group:focus-within .dropdown { display:block; }
.dropdown a { display:block; padding:8px; border-radius:8px; }
.dropdown a:hover { background: rgba(255,255,255,.08); }
.menu-toggle { display:none; background:none; color:var(--text); border:1px solid var(--border); border-radius:10px; padding:8px 10px; }
.mobile-menu { position: fixed; inset: 12px; z-index: 30; padding: 18px; display:none; }
.mobile-menu.open { display:block; }
.grid-2 { display:grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.grid-3 { display:grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.grid-4 { display:grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.pill { border:1px solid var(--border); padding:8px 14px; border-radius:999px; background:rgba(255,255,255,.03); }
input,textarea,select { width:100%; background:rgba(255,255,255,.03); border:1px solid var(--border); color:var(--text); border-radius:10px; padding:10px; }
.faq-item { margin-bottom:10px; padding: 14px; }
.faq-item button { width:100%; display:flex; justify-content:space-between; background:none; border:none; color:var(--text); font-size:16px; cursor:pointer; }
.faq-content { display:none; padding-top:8px; }
.faq-item.open .faq-content { display:block; }
.tabs { display:flex; flex-wrap:wrap; gap:8px; }
.tab { border:1px solid var(--border); border-radius:999px; padding:8px 12px; cursor:pointer; background:rgba(255,255,255,.03); }
.tab.active { background: rgba(95,228,245,.2); }
.modal { position: fixed; right: 20px; top: 90px; width: min(420px, calc(100% - 40px)); padding:16px; display:none; }
.modal.open { display:block; }
.footer { margin-top:72px; border-top:1px solid var(--border); padding: 36px 0; }
.cols { display:grid; grid-template-columns: 1.2fr repeat(3,1fr); gap:20px; }
.small { font-size: 14px; }
@media (max-width: 900px){
  .grid-2,.grid-3,.grid-4,.cols { grid-template-columns: 1fr; }
  .nav-desktop { display:none; }
  .menu-toggle { display:block; }
}
:focus-visible { outline: 2px solid var(--brand2); outline-offset:2px; }

@keyframes groundPan {
  0% { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(0, -2%, 0); }
}

@keyframes ambientDrift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.85; }
  100% { transform: translate3d(2%, 1.5%, 0) scale(1.05); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none; }
}
