/* styles.css */

:root{
  --bg: #0b0f14;
  --bg2: #0f1621;
  --surface: rgba(255,255,255,0.06);
  --surface2: rgba(255,255,255,0.10);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --line: rgba(255,255,255,0.12);
  --shadow: 0 18px 45px rgba(0,0,0,0.35);
  --radius: 18px;

  --accent: #7dd3fc;
  --accent2: #a78bfa;
  --ok: #86efac;

  --container: 1120px;
}

[data-theme="light"]{
  --bg: #f7f7fb;
  --bg2: #ffffff;
  --surface: rgba(2,6,23,0.06);
  --surface2: rgba(2,6,23,0.10);
  --text: rgba(2,6,23,0.92);
  --muted: rgba(2,6,23,0.70);
  --line: rgba(2,6,23,0.12);
  --shadow: 0 18px 45px rgba(2,6,23,0.12);

  --accent: #2563eb;
  --accent2: #7c3aed;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 15% -10%, rgba(125,211,252,0.22), transparent 60%),
    radial-gradient(900px 520px at 88% 10%, rgba(167,139,250,0.20), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  min-height: 100vh;
}

a{ color: inherit; text-decoration: none; }
p{ line-height: 1.65; }
h1,h2,h3{ line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.02em; }
h1{ font-size: clamp(2.6rem, 5vw, 4rem); }
h2{ font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3{ font-size: 1.15rem; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.muted{ color: var(--muted); }

.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 12px;
  z-index: 999;
}
.skip-link:focus{ left: 12px; }

.site-header{
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.brand-mark{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: rgba(0,0,0,0.85);
  box-shadow: var(--shadow);
}
.brand-text{ opacity: 0.92; }

.nav-menu{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-menu a{
  font-size: 0.95rem;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
}
.nav-menu a:hover{
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.theme-toggle:hover{ background: var(--surface2); }
.theme-icon{ font-size: 1.05rem; }
.theme-label{ font-size: 0.95rem; color: var(--muted); }

.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle-line{
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  border-radius: 999px;
  opacity: 0.9;
}
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.hero{
  padding: 30px 0 54px;
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
  padding: 10px 0 26px;
}
.kicker{
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 8px;
}
.lead{
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-cta{
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover{ background: var(--surface2); transform: translateY(-1px); }
.btn.primary{
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: rgba(0,0,0,0.88);
  font-weight: 700;
}
.btn.ghost{
  background: transparent;
}
.btn.small{
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.hero-badges{
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  flex-wrap: wrap;
}
.hero-badges li{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual{
  position: relative;
  min-height: 320px;
}
.glass-card{
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  padding: 18px;
}
.glass-title{
  font-weight: 800;
  margin-bottom: 14px;
}
.glass-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.glass-item{
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
}
.label{
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.value{ font-weight: 700; }

.hero-orb{
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.55;
}
.orb-a{
  width: 220px;
  height: 220px;
  background: rgba(125,211,252,0.45);
  left: -40px;
  top: 40px;
}
.orb-b{
  width: 240px;
  height: 240px;
  background: rgba(167,139,250,0.42);
  right: -60px;
  bottom: -40px;
}

.section{
  padding: 64px 0;
}
.section.alt{
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head{
  max-width: 75ch;
  margin-bottom: 22px;
}
.section-head p{ color: var(--muted); margin: 8px 0 0; }

.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}
.card p{ margin: 10px 0 0; color: var(--muted); }

.checklist{
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li{
  position: relative;
  padding-left: 26px;
  margin: 10px 0;
  color: var(--muted);
}
.checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ok);
  font-weight: 900;
}

.pill-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.pill{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 0.92rem;
}

.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.callout{
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.region-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.region{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.16);
}
.region p{ color: var(--muted); margin: 10px 0 0; }

.note{
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
}

.accordion{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}
.acc-item{
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: transparent;
  color: var(--text);
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.acc-item:hover{ background: rgba(255,255,255,0.04); }
.acc-panel{
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
}
.acc-item[aria-expanded="true"] + .acc-panel{ display: block; }
.acc-icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  flex: none;
}

.contact-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(125,211,252,0.10), rgba(167,139,250,0.10));
  box-shadow: var(--shadow);
}
.contact-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-box{
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  padding: 12px;
  margin-top: 10px;
}

.footer{
  border-top: 1px solid var(--line);
  padding: 26px 0 18px;
}
.footer-inner{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
}
.footer-links{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.footer-links a{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
}
.footer-links a:hover{
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.footer-bottom{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* Modal */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}
.modal[aria-hidden="false"]{ display: block; }
.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
}
.modal-content{
  position: relative;
  max-width: 720px;
  margin: 10vh auto 0;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px;
  width: calc(100% - 26px);
}
.modal-close{
  position: absolute;
  right: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.modal-close:hover{ background: var(--surface2); }

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .region-grid{ grid-template-columns: 1fr 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .nav-toggle{ display: inline-block; }
  .nav-menu{
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border-radius: 18px;
  }
  .nav-menu.is-open{ display: flex; }
  .nav-menu a{ width: 100%; }
}
