:root{
  --bg: #0b1220;
  --card: #0f1a33;
  --surface: #0d1730;
  --text: #eaf0ff;
  --muted: #b9c6f3;
  --brand: #6aa7ff;
  --brand-2: #66e3c4;
  --border: rgba(255,255,255,.12);
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius: 16px;
  --max: 1120px;
  --focus: 0 0 0 3px rgba(106,167,255,.35);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(106,167,255,.22), transparent 55%),
              radial-gradient(900px 500px at 90% 10%, rgba(102,227,196,.18), transparent 50%),
              var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

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

.skip-link{
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 16px; outline: none; }

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.65);
  border-bottom: 1px solid var(--border);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .3px;
}
.logo{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow);
}

.nav-toggle{
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.nav-toggle:focus{ outline: none; box-shadow: var(--focus); }

.nav-links{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a{
  padding: 10px 12px;
  border-radius: 12px;
}
.nav-links a[aria-current="page"]{
  background: rgba(106,167,255,.16);
  border: 1px solid rgba(106,167,255,.25);
  text-decoration: none;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  font-weight: 650;
}
.btn:hover{ text-decoration: none; background: rgba(255,255,255,.09); }
.btn:focus{ outline: none; box-shadow: var(--focus); }

.btn.primary{
  border: 1px solid rgba(106,167,255,.35);
  background: linear-gradient(135deg, rgba(106,167,255,.25), rgba(102,227,196,.18));
}

.hero{
  padding: 46px 0 26px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start;
}
.kicker{
  color: var(--muted);
  font-weight: 650;
  margin: 0 0 10px;
}
h1{
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}
.lead{
  margin: 0 0 18px;
  color: rgba(234,240,255,.86);
  font-size: 1.05rem;
}
.hero-actions{ display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  padding: 16px;
  box-shadow: var(--shadow);
}
.hero-card h3{ margin: 0 0 10px; }
.badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(234,240,255,.92);
  font-weight: 600;
  font-size: .95rem;
}

.section{
  padding: 26px 0;
}
.section h2{
  margin: 0 0 12px;
  font-size: 1.5rem;
}
.section p{ margin: 0 0 12px; color: rgba(234,240,255,.86); }

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

.card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  padding: 16px;
}
.card h3{ margin: 0 0 8px; }
.card p{ margin: 0; color: rgba(234,240,255,.84); }

.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(234,240,255,.86);
}
.list li{ margin: 6px 0; }

.hr{
  border: none;
  height: 1px;
  background: var(--border);
  margin: 22px 0;
}

.form{
  display: grid;
  gap: 12px;
}
.field{
  display: grid;
  gap: 6px;
}
label{ font-weight: 650; color: rgba(234,240,255,.92); }
input, textarea, select{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 12px 12px;
  font: inherit;
}
textarea{ min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus{
  outline: none;
  box-shadow: var(--focus);
  border-color: rgba(106,167,255,.45);
}

.footer{
  padding: 22px 0 30px;
  border-top: 1px solid var(--border);
  color: rgba(234,240,255,.78);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items: start;
}
.small{ font-size: .95rem; color: rgba(234,240,255,.74); }

.notice{
  border-left: 3px solid rgba(102,227,196,.7);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(102,227,196,.07);
  border: 1px solid rgba(102,227,196,.18);
  color: rgba(234,240,255,.9);
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid.cols-3{ grid-template-columns: 1fr; }
  .grid.cols-2{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }

  .nav-toggle{ display: inline-flex; }
  .nav-links{
    display: none;
    width: 100%;
    padding: 10px 0 0;
  }
  .nav-links.open{ display: flex; }
  .nav{ flex-wrap: wrap; }
}

/* new section */

/* Full-width flex section (edge-to-edge) */
.fullwidth-flex{
  width: 100%;
  padding: 34px 0;
  background: linear-gradient(135deg, rgba(106,167,255,.14), rgba(102,227,196,.10));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Inner wrapper controls max width but still keeps the section full width */
.fullwidth-flex__inner{
  width: min(100% - 32px, var(--max));
  margin: 0 auto;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

/* Left content */
.fullwidth-flex__content{
  flex: 1 1 60%;
  min-width: 260px;
}

/* Right side cards */
.fullwidth-flex__stats{
  flex: 1 1 40%;
  min-width: 260px;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  padding: 14px 16px;
}

.stat-card__num{
  font-size: 1.6rem;
  font-weight: 850;
  letter-spacing: .3px;
}

.stat-card__label{
  color: rgba(234,240,255,.82);
  font-weight: 650;
}

/* Mobile: stack */
@media (max-width: 900px){
  .fullwidth-flex__inner{
    flex-direction: column;
  }
  .fullwidth-flex__stats{
    flex-direction: row;
    flex-wrap: wrap;
  }
  .stat-card{
    flex: 1 1 160px;
  }
}


/* Slider Section */

/* ===== Full-width top slider ===== */
.fw-slider{
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.fw-slider__viewport{
  position: relative;
  width: 100%;
  height: clamp(340px, 52vh, 620px);
  overflow: hidden;
  background: #0a1020;
}

.fw-slider__track{
  height: 100%;
  display: flex;
  transition: transform 520ms ease;
  will-change: transform;
}

.fw-slider__slide{
  position: relative;
  min-width: 100%;
  height: 100%;
  margin: 0;
}

.fw-slider__slide img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

/* Overlay for readability */
.fw-slider__caption{
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 0 20px;
  background: linear-gradient(
    to top,
    rgba(11,18,32,.86),
    rgba(11,18,32,.35),
    rgba(11,18,32,0)
  );
}

.fw-slider__kicker{
  margin: 0 0 6px;
  color: rgba(234,240,255,.85);
  font-weight: 700;
}

.fw-slider__title{
  margin: 0 0 6px;
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.15;
}

.fw-slider__text{
  margin: 0;
  color: rgba(234,240,255,.82);
  max-width: 70ch;
}

/* Arrows */
.fw-slider__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(11,18,32,.55);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
}

.fw-slider__btn:hover{ background: rgba(11,18,32,.68); }
.fw-slider__btn:focus{ outline: none; box-shadow: var(--focus); }

.fw-slider__btn.prev{ left: 14px; }
.fw-slider__btn.next{ right: 14px; }

/* Dots */
.fw-slider__dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 6px 10px;
}

.fw-slider__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.18);
  cursor: pointer;
}

.fw-slider__dot[aria-current="true"]{
  width: 26px;
  background: rgba(106,167,255,.65);
  border-color: rgba(106,167,255,.7);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .fw-slider__track{ transition: none; }
}
