/* ============================= */
/* ORVEX DESIGN SYSTEM v1.2      */
/* Tech + Video Hero Background  */
/* Light + Dark Mode             */
/* ============================= */

:root{
  --bg:#F4F6F9;
  --card:#FFFFFF;
  --text:#0A1F44;
  --muted:#6B7280;
  --border:#E4E7EC;

  --brand-blue:#1E88E5;
  --brand-purple:#7B3FE4;
  --brand-green:#00C48C;

  --gradient: linear-gradient(135deg, #1E88E5, #7B3FE4);

  --shadow-soft: 0 12px 30px rgba(16,24,40,.06);
  --shadow-strong: 0 18px 60px rgba(16,24,40,.12);

  --radius:18px;
}

body.dark{
  --bg:#070B14;
  --card:#0E1626;
  --text:#FFFFFF;
  --muted:#9CA3AF;
  --border:#18243a;

  --gradient: linear-gradient(135deg, #22D3EE, #7B3FE4);
}

/* Base */
*{box-sizing:border-box}
body{
  margin:0;
  font-family:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  transition: background .25s ease, color .25s ease;
  overflow-x:hidden;
}
a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:0 20px}

/* ============================= */
/* NAV                           */
/* ============================= */
.nav{
  position:sticky; top:0; z-index:100;
  border-bottom:1px solid var(--border);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
}
body.dark .nav{ background: rgba(14,22,38,.55); }

.nav-inner{
  max-width:1100px;margin:0 auto;padding:14px 20px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;
}
.brand img{height:44px}

.menu{
  display:flex;gap:18px;align-items:center;flex-wrap:wrap;
}
.menu a{
  text-decoration:none;color:var(--muted);
  font-size:14px;font-weight:600;
}
.menu a:hover{color:var(--text)}

/* ============================= */
/* BUTTONS (TECH)                */
/* ============================= */
.btn{
  padding:10px 16px;border-radius:12px;
  text-decoration:none;font-weight:800;font-size:14px;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease, background .18s ease;
  border:1px solid transparent;
  cursor:pointer;user-select:none;
}
.btn-primary{
  background:var(--gradient);
  color:#fff;
  box-shadow: 0 10px 30px rgba(30,136,229,.18);
}
.btn-primary:hover{
  opacity:.95;
  transform: translateY(-1px);
  box-shadow: 0 16px 50px rgba(123,63,228,.22), 0 0 0 3px rgba(30,136,229,.08);
}
.btn-outline{
  background:transparent;
  border-color:var(--border);
  color:var(--text);
}
.btn-outline:hover{
  background:var(--card);
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(30,136,229,.06);
}

/* ============================= */
/* HERO VIDEO BACKGROUND         */
/* ============================= */

.hero2{
  position:relative;
  padding:120px 0 90px;
  overflow:hidden;
  color:#fff;
  isolation:isolate;
}

.hero-video{
  position:absolute;
  top:50%;
  left:50%;
  min-width:100%;
  min-height:100%;
  width:auto;
  height:auto;
  transform:translate(-50%,-50%);
  object-fit:cover;
  z-index:-3;
  filter: brightness(.45) contrast(1.1) saturate(1.1);
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 20%, rgba(0,0,0,.25), rgba(0,0,0,.78)),
    radial-gradient(900px 420px at 20% 10%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(900px 420px at 80% 0%, rgba(123,63,228,.20), transparent 60%);
  z-index:-2;
}

/* Animated grid overlay */
.hero-grid{
  position:absolute;
  inset:-220px;
  background-image:
    linear-gradient(to right, rgba(34,211,238,.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34,211,238,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(800px) rotateX(60deg);
  transform-origin: center top;
  opacity:.28;
  z-index:-1;
  animation: gridMove 14s linear infinite;
  pointer-events:none;
}
@keyframes gridMove{
  0%{ background-position: 0 0, 0 0; }
  100%{ background-position: 0 420px, 0 420px; }
}

/* Scanline subtle */
.scanline{
  position:absolute; left:0; right:0; top:-30%;
  height:220px;
  background: linear-gradient(180deg, transparent, rgba(34,211,238,.10), transparent);
  z-index:-1;
  animation: scan 7.5s ease-in-out infinite;
  opacity:.70;
  pointer-events:none;
}
@keyframes scan{
  0%{ transform: translateY(0); opacity:.05; }
  25%{ opacity:.45; }
  50%{ transform: translateY(120%); opacity:.18; }
  100%{ transform: translateY(240%); opacity:.05; }
}

.hero-wrap{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
  align-items:center;
}

.kicker{
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  padding:8px 10px;border-radius:999px;
  color: rgba(255,255,255,.86);
  font-size:13px;
  backdrop-filter: blur(10px);
}
.kicker-dot{
  width:9px;height:9px;border-radius:99px;
  background: #22D3EE;
  box-shadow: 0 0 18px rgba(34,211,238,.35);
}
.hero-title{
  margin:14px 0 10px;
  font-size:60px;
  line-height:1.04;
  letter-spacing:-1px;
  font-weight:900;
  text-shadow: 0 0 30px rgba(0,0,0,.6);
}
.hero-lead{
  margin:0;
  color: rgba(255,255,255,.85);
  font-size:17px;
  line-height:1.7;
  max-width:640px;
}
.hero-actions{
  margin-top:18px;
  display:flex;gap:12px;flex-wrap:wrap;
}

.badges{ display:flex;flex-wrap:wrap;gap:10px;margin-top:16px; }
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.86);
  font-size:13px;
  backdrop-filter: blur(10px);
}
.dot{ width:10px;height:10px;border-radius:99px;background:#22D3EE; }
.dot.g{ background: #00E0A4; }
.dot.p{ background: #A78BFA; }

/* Ensure outline button readable on hero */
.hero2 .btn-outline{
  border-color: rgba(255,255,255,.30);
  color:#fff;
}
.hero2 .btn-outline:hover{
  background: rgba(255,255,255,.15);
}

/* ============================= */
/* SECTIONS + CARDS              */
/* ============================= */
.section{ padding:72px 0; color: var(--text); }
.section h2{
  text-align:center;
  font-size:30px;
  margin:0 0 14px;
  letter-spacing:-.3px;
}
.section p{
  text-align:center;
  max-width:820px;
  margin:0 auto;
  color:var(--muted);
  line-height:1.7;
}

/* Cards */
.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:32px;
}
.card{
  background: rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius:18px;
  padding:22px;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body.dark .card{ background: rgba(14,22,38,.62); }
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 55px rgba(16,24,40,.14);
  border-color: rgba(34,211,238,.35);
}
.card h4{ margin:0 0 10px; font-size:16px; }
.card p{ margin:0; font-size:14px; color:var(--muted); text-align:left; line-height:1.6; }

/* Chips */
.chips{
  display:flex;flex-wrap:wrap;gap:10px;
  justify-content:center;
  margin-top:18px;
}
.chip{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.75);
  font-size:13px;
  color:var(--muted);
}
body.dark .chip{ background: rgba(14,22,38,.62); }

/* Tabs */
.tabs{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; justify-content:center; }
.tab{
  cursor:pointer;
  border:1px solid var(--border);
  background: rgba(255,255,255,.75);
  padding:10px 12px;
  border-radius:999px;
  font-size:13px;
  color:var(--muted);
  transition:.2s;
  user-select:none;
}
body.dark .tab{ background: rgba(14,22,38,.62); }
.tab.active{
  color:#fff;
  border-color:transparent;
  background: var(--gradient);
  box-shadow: 0 12px 40px rgba(123,63,228,.18);
}

/* FAQ */
.faq{ margin-top:18px; display:grid; gap:12px; }
.faq-item{
  border:1px solid var(--border);
  background: rgba(255,255,255,.85);
  border-radius:16px;
  overflow:hidden;
}
body.dark .faq-item{ background: rgba(14,22,38,.62); }
.faq-q{
  width:100%;
  text-align:left;
  padding:14px;
  background:transparent;
  border:none;
  color:var(--text);
  font-weight:900;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
  padding:0 14px;
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
}
.faq-item.open .faq-a{
  max-height:260px;
  padding-bottom:14px;
}
.chev{
  width:22px;height:22px;border-radius:99px;
  border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  color:var(--muted);
}

/* CTA */
.cta{
  margin-top:40px;
  padding:36px;
  border-radius:22px;
  background: var(--gradient);
  color:#fff;
  text-align:center;
  box-shadow: var(--shadow-strong);
  position:relative;
  overflow:hidden;
}
.cta::after{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(700px 160px at 50% 0, rgba(255,255,255,.20), transparent 60%);
  pointer-events:none;
}
.cta p{ color: rgba(255,255,255,.92); }

/* Footer */
.footer{
  padding:26px 0;
  border-top:1px solid var(--border);
  text-align:center;
  color:var(--muted);
  font-size:13px;
}

/* Reveal */
.reveal{ opacity:0; transform: translateY(14px); transition: .55s ease; }
.reveal.show{ opacity:1; transform: translateY(0); }

/* ============================= */
/* GALLERY PREMIUM               */
/* ============================= */
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:22px;
}
.gcard{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transform: translateZ(0);
}
.gcard img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  transform: scale(1);
  transition: transform .5s ease;
  filter: saturate(1.05) contrast(1.05);
}
.gcard::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.75) 100%);
  opacity:.75;
  transition: opacity .35s ease;
  pointer-events:none;
}
.gmeta{
  position:absolute;
  left:14px; right:14px; bottom:12px;
  color:#fff; z-index:2;
}
.gmeta .gt{ font-weight:900; font-size:14px; margin:0; }
.gmeta .gd{ margin:6px 0 0; opacity:.9; font-size:12px; line-height:1.5; }
.gpill{
  position:absolute; top:12px; left:12px; z-index:2;
  font-size:12px; font-weight:900;
  padding:7px 10px;
  border-radius:999px;
  color:#fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}
.gcard:hover img{ transform: scale(1.09); }
.gcard:hover::after{ opacity:.9; }

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */
@media (max-width: 1000px){
  .hero-title{ font-size:44px; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 720px){
  .grid-4{ grid-template-columns:1fr; }
  .gallery{ grid-template-columns:1fr; }
  .hero-title{ font-size:36px; }
}