/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300;400;500;600;700&display=swap');

/* === Base ===================================================== */
:root {
  --bg:#0b0f19;           /* deep navy */
  --panel:#101628;        /* panel surface */
  --card:#0f1426;         /* card surface */
  --text:#eef2ff;         /* primary text */
  --muted:#a8b0c9;        /* secondary text */
  --line:rgba(255,255,255,.08);
  --accent:#7c5cff;       /* violet */
  --accent-2:#00d4ff;     /* cyan */
  --radius:18px;
  --shadow:0 20px 50px rgba(0,0,0,.45);
  --ease:cubic-bezier(.2,.8,.2,1);
}

* {
  box-sizing:border-box
}

html,body {
  height:100%
}

body {
  margin:0;
  color:var(--text);
  background:
    radial-gradient(circle at -10% -10%, rgba(124, 92, 255, 0.2), transparent),
    radial-gradient(circle at 110% 0%, rgba(0,212,255,.12), transparent),
    var(--bg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: 'Lexend Deca', sans-serif;
  line-height:1.55;
}

/* Containers */
.container {
  width:min(1120px,92%);
  margin:0 auto;
  padding:40px 0
}

.section {
  padding:16px 0 8px
}

.section__head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px
}

.page__title {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0px;
  background: linear-gradient(135deg, #c4b7ff, #7c5cff, #00d4ff);
  -webkit-background-clip: text;
  background-clip:text;
  color:transparent;
}

.section__title {
  font-size:clamp(22px,3vw,28px);
  margin-bottom: 25px;
}

/* Links & buttons */
a {
  color:inherit;
  text-decoration:none
}

.link {
  color:#ffffff;
  position:relative;
}

.link::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  height:1px;
  width:100%;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s var(--ease);
}

.link:hover::after {
  transform:scaleX(1)
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0; 
  border-radius:12px;
  padding:12px 18px;
  font-weight:700;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#051126;
  box-shadow:var(--shadow);
  transform:translateZ(0);
  transition:transform .2s var(--ease), filter .2s var(--ease);
}

.btn:hover {
  transform:translateY(-2px)
}

.btn--ghost {
  background:transparent;
  color:#e6efff;
  border:1px solid var(--line);
}

.btn--small {
  padding:8px 12px;
  font-weight:600;
}

.site-header .btn--small {
  color: #fff !important;
}

/* =========================
   Header / Top Navigation
   ========================= */
.site-header{
  height: 70px;
  position: sticky; 
  top: 0; 
  z-index: 40;
  padding: 14px 4%;
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 16px;
  backdrop-filter: blur(10px);
  background: rgba(10,14,28,.55);
  border-bottom: 1px solid var(--line);
}

.logo.flicker {
  font-size: 35px;  
  background: linear-gradient(135deg, #c4b7ff, #7c5cff, #00d4ff);
  -webkit-background-clip: text;
  background-clip:text;
  color:transparent;
}

/* Logo + flicker */
.logo {
  font-weight: 800; 
  letter-spacing: .4px; 
  text-decoration: none; 
  color: var(--text);
  display: inline-block;
}

.flicker {
  animation: logoFlicker 1.2s ease-out 1;
  text-shadow: 0 0 0 rgba(124,92,255,0);
}

@keyframes logoFlicker {
  0%{opacity:.3;text-shadow:0 0 18px rgba(124,92,255,.6),0 0 28px rgba(0,212,255,.35)}
  10%{opacity:1;text-shadow:0 0 0 rgba(0,0,0,0)}
  20%{opacity:.5;text-shadow:0 0 12px rgba(124,92,255,.45)}
  30%{opacity:1;text-shadow:0 0 0 rgba(0,0,0,0)}
  45%{opacity:.6;text-shadow:0 0 14px rgba(0,212,255,.45)}
  60%{opacity:1;text-shadow:0 0 0 rgba(0,0,0,0)}
  100%{opacity:1;text-shadow:none}
}

@media (prefers-reduced-motion: reduce){ .flicker{ animation:none !important; } }

/* Desktop nav (auto-hidden <900px) */
.nav { 
  display:flex; 
  gap:18px; 
  align-items:center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding:8px 10px;
  border-radius:10px;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.nav a:hover, .nav a.active {
  color:#fff;
  background: rgba(255,255,255,.06);
}

/* ========= Toggle button (single source of truth) ========= */
/* Base: hidden by default; media query will show it <900px */
.rmenu-toggle {
  position: fixed;
  top: 12px; 
  right: 12px;
  z-index: 60;
  width: 50px; 
  height: 50px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11,16,32,.55);
  backdrop-filter: blur(8px);
  display: none; /* hidden; media will flip */
  flex-direction: column;
  justify-content: space-evenly;
  place-items: center;
  cursor: pointer;
}

.rmenu-toggle span {
  width: 22px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  display:block;
}

/* ========= Right Drawer ========= */
.rmenu-backdrop {
  position: fixed; 
  inset:0; 
  z-index:58;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
  opacity: 0; 
  pointer-events: none;
  transition: opacity .25s var(--ease);
}

.rmenu {
  position: fixed;
  z-index:59;
  top: var(--header-h);
  right: 0;
  width: min(88vw, 360px);
  padding: 18px 14px;
  background:
    radial-gradient(120% 120% at 110% -20%, rgba(0,212,255,.22), transparent 60%),
    radial-gradient(120% 120% at -20% 110%, rgba(124,92,255,.22), transparent 60%),
    var(--panel);
  border-left: 1px solid var(--line);
  border-radius: 24px 0 0 24px;
  box-shadow: var(--shadow);
  transform: translateX(110%);
  transition: transform .32s var(--ease);
  overflow: hidden;
}

.rmenu-head {
  color: var(--text);
  font-weight: 800;
  letter-spacing: .3px;
  margin: 6px 12px 18px;
  font-size: 20px;
}

.rmenu-list { 
  display:flex;
  flex-direction:column;
  gap:10px;
  padding-right:6px;
}

.rmenu-item {
  display:grid;
  grid-template-columns:24px 1fr;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  color:#cfe0ff;
  border-radius:999px;
  position:relative;
  transition: color .2s var(--ease), background .2s var(--ease), transform .18s var(--ease);
}

.rmenu-item:hover {
  color:#fff;
  background:rgba(255,255,255,.06);
  transform: translateX(-2px);
}

.rmenu-item svg {
  width:22px;
  height:22px;
  fill:currentColor;
  opacity:.9;
}

.rmenu-item.active {
  color:#1c2540;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.1);
}

/* Open states */
.rmenu.show{ transform: translateX(0); }
.menu-open{ overflow:hidden; }
.menu-open .rmenu-backdrop{ opacity:1;pointer-events:auto; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .rmenu, .rmenu-backdrop{ transition:none !important; }
}

/* ========= Breakpoint logic (simple, single breakpoint) ========= */
/* <900px: show toggle, hide desktop links */
@media (max-width: 899px){
  .nav{ display: none !important; }
  .rmenu-toggle{ display: grid !important; }
}

/* ≥900px: show desktop links, hide toggle */
@media (min-width: 900px){
  .nav{ display: flex !important; }
  .rmenu-toggle{ display: none !important; }
}

/* ========= Reveal demo ========= */
.reveal {
  opacity:0;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.reveal.in {
  opacity:1;
  transform:none;
}

/* =========================
   Hero / Home Page
   ========================= */
.hero {
  margin-top: 30px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:center;
  padding:40px;
  border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(180deg, rgba(124,92,255,.10), transparent), var(--panel);
  box-shadow:var(--shadow);
}

.hero__title {
  margin:0 0 8px;
  font-size:clamp(28px,5.2vw,56px);
  letter-spacing:-.02em
}

.grad {
  background: linear-gradient(135deg, #c4b7ff, #7c5cff, #00d4ff);
  -webkit-background-clip: text;
  background-clip:text;
  color:transparent;
}

.hero__subtitle {
  color:var(--muted);
  margin:10px 0 18px;
  max-width:56ch
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 25px;
}

.hero__badges {
  list-style:none;
  padding:0;
  margin:16px 0 0;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:#cfe0ff
}

.hero__visual {
  display:grid; 
  place-items:center
}

.device-frame {
  width:min(520px, 100%);
  border-radius:22px;
  border:1px solid var(--line);
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(0,212,255,.18), transparent 60%),
    radial-gradient(120% 120% at 10% 90%, rgba(124,92,255,.22), transparent 60%),
    linear-gradient(160deg, #0a0f20, #0f1530 60%, #0a0f20);
  box-shadow: var(--shadow);
}

.floaty {
  animation: floaty 6s var(--ease) infinite}
@keyframes floaty {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}

/* ---------- Responsive hero layout ---------- */
@media (max-width: 899px) {
  .hero {
    grid-template-columns: 1fr;          /* stack vertically */
    text-align: center;                  /* center all text */
    padding: 24px;
  }

  .hero__visual {
    order: -1;                           /* move image ABOVE text */
    margin-bottom: 20px;
  }

  .device-frame {
    width: 100%;                         /* full width image */
    max-width: 480px;                    /* optional limit */
    margin: 0 auto;
  }

  .hero__copy {
    margin: 0 auto;
    max-width: 600px;                    /* neat column width */
  }

  .hero__subtitle {
    text-align: center;
    margin: 0 auto 18px;                 /* center description */
  }

  .hero__cta {
    flex-direction: column;              /* stack button + link */
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .hero__cta .btn {
    width: auto;                         /* button fits content */
  }

  .hero__cta .link {
    display: block;                      /* make link its own line */
    margin-top: 4px;
  }

  .hero__badges {
    justify-content: center;
    text-align: center;
  }
}

/* =========================
    Expandable Cards / Grids
   ========================= */

/* Grid */
.ex-grid {
  display: grid;
  gap: 18px;
}

.ex-cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
  .ex-cards-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .ex-cards-3 { grid-template-columns: 1fr; }
}

/* Base card */
.ex-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 18px;
  transition:
    transform 0.26s var(--ease),
    border-color 0.26s var(--ease),
    box-shadow 0.26s var(--ease);
  box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,.25));
  overflow: hidden;
  will-change: auto;
}

.ex-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.14);
}

.ex-card__title { margin: 2px 0 6px; }
.ex-card__desc  { margin: 0 0 10px; color: var(--muted); }
.ex-card__meta  { margin: 0 0 12px; color: var(--muted); }

/* Actions row (Book + Expand/Collapse) — placed at bottom of card */
.ex-card__actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:16px;
}

/* “More” area (hidden by default) */
.ex-card__more {
  display:block;
  max-height:0;
  opacity:0;
  overflow:hidden;
  transition:max-height .35s ease, opacity .35s ease;
  margin-top:8px;
}

.ex-card__media {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:6px 0 10px;
}

.ex-card__media img {
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
}

.ex-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
}

.ex-card__list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  column-gap: 0px;
  align-items: baseline;
  margin: 6px 0;
}

.ex-card__list li span {
  font-weight: 700;
}

.ex-card__list li p {
  margin: 0;
  color: var(--muted);
  text-align: left;
}

/* Optional: stack on very small screens */
@media (max-width: 420px){
  .ex-card__list li { grid-template-columns: 1fr; }
}

/* ---------- HIGHLIGHTED PRIMARY BUTTON ---------- */
.btn--accent{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 16px;
  border-radius:14px;
  border:0;
  font-weight:800;
  color:#0b1020; /* dark text on bright gradient */
  background: linear-gradient(135deg, #7a5cf3 0%, #22d3ee 100%);
  box-shadow: 0 8px 24px rgba(34, 211, 238, .25);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn--accent:hover{ transform: translateY(-2px); filter: brightness(1.05); }
.btn--accent:active{ transform: translateY(0); filter: brightness(.98); }
.btn--accent:focus-visible{ outline:2px solid rgba(255,255,255,.6); outline-offset:3px; }

/* ---------- LINK-STYLE EXPAND BUTTON ---------- */
.ex-card-btn {
  all: unset;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:600;
  color:#fff;
  cursor:pointer;
  position:relative;
  padding:4px 0;
  line-height:1.2;
  transition: color .25s ease;
}

.ex-card-btn__icon {
  width:20px;
  height:20px;
  transform: translateY(1.5px);
  transition: transform .25s ease;
}

/* underline grows left -> right */
.ex-card-btn::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  height:1px;
  width:0;
  background:#fff;
  transition: width .3s ease;
}

.ex-card-btn:hover::after { width:100%; }
.ex-card-btn:hover .ex-card-btn__icon { transform: translateX(3px); }

/* keyboard focus */
.ex-card-btn:focus-visible {
  outline:2px solid rgba(255,255,255,.6);
  outline-offset:3px;
}

/* ---------- SIMPLE POP-UP TRANSITION ---------- */
.ex-overlay {
  position:fixed;
  inset:0;
  z-index:60;
  background:rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  opacity:0;
  pointer-events:none;
  transition: opacity .35s ease;
}

.ex-overlay.is-visible {
  opacity:1;
  pointer-events:auto;
}

.ex-card.is-expanded {
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%) scale(.92);
  opacity:0;
  width:min(900px, 92vw);
  max-height:min(85vh, 900px);
  overflow:auto;
  padding:22px 22px 70px;
  z-index:70;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 30px 120px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.06) inset;
  background: rgb(15, 20, 38);
  transition: transform .32s ease, opacity .32s ease;
}

/* final visible pop-up */
.ex-card.is-expanded.is-pop {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* reveal inner content slightly delayed */
.ex-card.is-expanded .ex-card__more {
  transition: max-height .35s ease .08s, opacity .28s ease .08s;
  max-height:1200px;
  opacity:1;
}

/* Instant close (no fade/ghost) */
.ex-card--noanim,
.ex-card--noanim * { transition: none !important; }
.ex-card--noanim .ex-card__more { max-height: 0 !important; opacity: 0 !important; }

/* Prevent body scroll when a card is open */
body.ex-no-scroll { overflow:hidden; }

/* Utility */
.mt-20 { margin-top:20px; }
.price { font-weight:800; }

/* =========================
    Expandable Cards / Grids
   ========================= */

   /* Default image styling for card */
.ex-card .ex-card-img {
  width: auto;
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background-color: rgba(255,255,255,0.02);
}

/* Expanded: turn the header into a 450px hero area */
.img-card.is-expanded .ex-card__head {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  border-radius: 16px;
  padding: 18px;
}

/* Put the image behind the text, full-bleed, top-aligned */
.img-card.is-expanded .ex-card__head .ex-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
  border: 0;
  margin: 0;
  border-radius: 0;
  background: transparent;
}

/* Gradient overlay for readability */
.img-card.is-expanded .ex-card__head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(11,16,32,.55) 55%,
    rgba(11,16,32,.92) 100%
  );
}

/* Ensure header text stays above image + gradient */
.img-card.is-expanded .ex-card__head > :not(.ex-card-img) {
  position: relative;
  z-index: 2;
  color: #fff;
}


/* =========================
    Simple Cards / Grids
   ========================= */
.grid {
  display:grid;
  gap:18px
}

.cards-3 {
  grid-template-columns:repeat(3,1fr)
}

@media (max-width:960px) {.cards-3{grid-template-columns:1fr 1fr}}
@media (max-width:640px) {.cards-3{grid-template-columns:1fr}}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px 18px 16px;
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}

.card:hover {
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.14)
}

.card h3 {
  margin:2px 0 6px
}

.card p {
  margin:0 0 10px;
  color:var(--muted)
}

.row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}

.price {
  font-weight:800
}

.card--pc .pc-shot {
  width: auto;
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background-color: rgba(255,255,255,0.02); /* subtle contrast backdrop */
}

/* =========================
   FAQ (Accordion
   ========================= */
.faq__list{
  display:grid;
  gap:14px;
}

.faq-item{
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--card);
  box-shadow: 0.1px 0.1px 3px #000000;
  overflow:hidden; /* clip the animated underline + corners */
}

/* Summary row */
.faq-item > summary{
  list-style:none; /* remove default arrow */
  cursor:pointer;
  padding:14px 16px;
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  user-select:none;
  outline:none;
}

/* custom chevron */
.faq-item > summary::after{
  content:"";
  margin-left:auto;
  inline-size:10px;
  block-size:10px;
  border-right:2px solid rgba(255,255,255,.9);
  border-bottom:2px solid rgba(255,255,255,.9);
  transform: rotate(-45deg);
  transition: transform .25s var(--ease, ease);
}

/* underline grow on hover */
.faq-item > summary::before{
  content:"";
  position:absolute; left:16px; right:16px; bottom:10px;
  height:1px; width:0;
  background:rgba(255,255,255,.65);
  transition: width .28s var(--ease, ease);
}
.faq-item > summary:hover::before{ width: calc(100% - 32px); }

/* Content */
.faq-item__content{
  margin-left: 5px;
  color:var(--muted);
  padding:0 16px 14px;
  line-height:1.6;
  opacity:.94;
}

/* Open state */
.faq-item[open] > summary::after{
  transform: rotate(45deg); /* chevron flips */
}
.faq-item[open] > summary::before{
  width:0; /* hide underline when open */
}

/* Focus-visible for keyboard users */
.faq-item > summary:focus-visible{
  box-shadow: 0 0 0 2px rgba(255,255,255,.6) inset, 0 0 0 4px rgba(255,255,255,.15);
  border-radius:14px;
}

/* Subtle hover raise */
.faq-item:hover{
  border-color: rgba(255,255,255,.14);
  transform: translateY(-1px);
  transition: transform .18s var(--ease, ease), border-color .18s var(--ease, ease);
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce){
  .faq-item, .faq-item > summary, .faq-item > summary::after, .faq-item > summary::before{
    transition: none !important;
  }
}

/* =========================
   Reviews / Home Page
   ========================= */
.reviews {
  display:grid;
  gap:16px;
  grid-template-columns: 1fr 2fr auto;
  align-items:center;
  padding:20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel)
}

.reviews__score {
  display:grid;
  place-items:center;
  padding:8px;
  text-align:center
}

.stars {
  letter-spacing:2px
}

.reviews__list {
  display:grid;
  gap:12px
}

.reviews blockquote {
  margin:0;
  padding:0
}

.reviews cite {
  display:block;
  color:var(--muted);
  margin-top:6px;
  font-style:normal
}

@media (max-width:900px) {.reviews{grid-template-columns:1fr}}

/* =========================
   Panles
   ========================= */
   /* Contact Panel / Home Page */
.cta-panel {
  text-align:center;
  padding:30px;
  margin-top: 30px;
  box-shadow: 1px 1px 10px #0000004f;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(0,212,255,.08), transparent), var(--panel)
}

.center {
  text-align:center
}

.mt-20 {
  margin-top:20px
}

/* Windows Licenses / Shop Page */
.winli-panel {
  padding-left:30px;
  padding-right: 30px;
  padding-bottom: 10px;
  margin-top: 30px;
  box-shadow: 1px 1px 10px #0000004f;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(0,212,255,.08), transparent), var(--panel)
}

.winli-panel h2 {
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 10px;
}

.winli-panel p {
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  margin-bottom: 5px;
  color: var(--muted);
}

.winli-panel li {
  margin-left: 30px;
  margin-right: 30px;
  color: var(--muted);

}

/* =========================
   Footer / Bottom Navigation
   ========================= */

.footer-brand-logo {
  font-size: 35px;
  font-weight: 900;
  background: linear-gradient(135deg, #c4b7ff, #7c5cff, #00d4ff);
  -webkit-background-clip: text;
  background-clip:text;
  color:transparent;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 2px 2px 10px #000;
  background:
    radial-gradient(120% 120% at -10% -20%, rgba(124,92,255,.06), transparent 60%),
    radial-gradient(120% 120% at 110% 20%, rgba(0,212,255,.06), transparent 60%),
    rgba(0,0,0,.18);
}

.footer-container {
  max-width: 1120px;
  margin-inline: auto;
  padding: 28px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 28px;
}

/* Columns */
.f-col .f-title {
  font-size: 14px;
  letter-spacing:.6px;
  text-transform: uppercase;
  color:#cfe0ff;
  opacity:.9;
  margin:4px 0 12px;
}
.f-list {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}

.f-list a {
  color: var(--muted);
  text-decoration:none;
  border-radius:10px;
  padding:6px 8px;
  transition: color .2s var(--ease), background .2s var(--ease), transform .18s var(--ease);
}

.f-list a:hover {
  color:#fff;
  background: rgba(255,255,255,.05);
  transform: translateX(2px);
}

/* Brand */
.brand__log {
  font-weight: 900;
  font-size: 20px;
  letter-spacing:.6px;
  color:#fff;
  text-decoration:none;
  display:inline-block;
  padding:6px 10px;
  border-radius:12px;
  background: linear-gradient(135deg, rgba(124,92,255,.14), rgba(0,212,255,.14));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.tiny {
  font-size: 12px;
  color: var(--muted);
}

/* Office */
.office .tiny a { color: inherit; }

/* Newsletter */
.newsletter__form { margin-top: 2px; }
.visually-hidden {
  position:absolute !important;
  height:1px; width:1px;
  overflow:hidden;
  clip:rect(1px,1px,1px,1px);
  white-space:nowrap;
}

.nl-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.nl-icon {
  position:absolute;
  left:10px;
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  opacity:.6;
}

.nl-icon svg { 
  width:18px;
  height:18px;
  fill: currentColor;
  color:#cfe0ff;
}

.newsletter input {
  border: 0;
  background: transparent;
  color: #e9f1ff;
  padding: 10px 44px 10px 34px;
  border-radius: 12px;
  outline: none;
  width: 100%;
}

.newsletter input::placeholder { 
  color: #9bb0d1;
  opacity:.75;
}

.nl-submit{
  border:0;
  background: transparent;
  width: 44px;
  height: 100%;
  display:grid;
  place-items:center;
  border-left: 1px solid var(--line);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  cursor: pointer;
  transition: background .2s var(--ease), transform .18s var(--ease);
}

.nl-submit:hover {
  background: rgba(255,255,255,.06);
  transform: translateX(1px); }
.nl-submit svg {
  width:18px;
  height:18px;
  stroke: currentColor;
  fill:none;
  color:#cfe0ff;
  stroke-width:2;
}

.newsletter .tiny { margin-top:6px; }

/* Socials */
.socials{
  display:flex;
  gap:10px;
  margin-top:12px;
}

.socials a {
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid var(--line);
  color:#cfe0ff; background: rgba(255,255,255,.03);
  transition: background .2s var(--ease), transform .18s var(--ease);
}

.socials a:hover {
  background: rgba(255,255,255,.07);
  transform: translateY(-1px);
}

.socials svg { 
  width:18px;
  height:18px;
  fill: currentColor;
  opacity:.9; }

/* Divider & legal row */
.f-divider{
  grid-column: 1 / -1;
  border:0;
  height:1px;
  background: var(--line);
  margin: 4px 0 0;
}

.f-legal {
  grid-column: 1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top: 14px;
}

.legal-nav {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
 }

.legal-nav a {
  color: var(--muted);
  text-decoration:none;
}

.legal-nav a:hover { color:#fff; }

/* Focus visibility */
.footer-grid a:focus-visible,
.footer-grid button:focus-visible,
.footer-grid input:focus-visible {
  outline: 2px solid #00d4ff;
  outline-offset: 2px;
  border-radius:12px;
}

/* Responsive */
@media (max-width: 1100px){
  .footer-grid{ grid-template-columns: 1fr 1fr; } /* ✨ changed */
}
@media (max-width: 720px){
  .footer-grid{ grid-template-columns: 1fr; }
  .f-legal{ flex-direction: column; gap: 6px; text-align:center; }
}


/* =========================
   Other Element / Search what id does 
   ========================= */

/* Reveal on scroll (via JS toggling .in) */
.reveal {opacity:0;
  transform:translateY(14px);
  transition:opacity .6s var(--ease), transform .6s var(--ease)
}

.reveal.in{opacity:1; transform:none}



