/* =========================
   ORDIN — Shared styles (Homepage + Pricing)
   - Dark homepage layout (hero/cards/footer)
   - Solid mega menu background (NOT transparent)
   - Deel-like pricing (sky hero + cream section + tabs + white cards)
========================= */

:root{
  /* ----- DARK THEME (SITE) ----- */
  --bg0:#06110C;
  --bg1:#0A241A;

  --ink:#EAF2EE;
  --muted:#AFC1B7;
  --line:rgba(255,255,255,.10);

  --card:#0B1511;
  --card2:#0E1C16;

  --green:#0F8A5F;
  --green2:#18B37A;
  --greenSoft:#123026;

  --shadow:0 18px 50px rgba(0,0,0,.35);
  --radius:18px;

  /* ----- PRICING (LIGHT / DEEL-LIKE) ----- */
  --p-sky:#BFDDF7;
  --p-sky2:#A8D0F4;
  --p-cream:#F5EFE6;
  --p-card:#FFFFFF;
  --p-ink:#0B1220;
  --p-muted:#4A5C71;
  --p-line:rgba(11,18,32,.10);

  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--ink);
  background:
    radial-gradient(1200px 720px at 18% -10%, rgba(24,179,122,.22), transparent 62%),
    radial-gradient(950px 600px at 84% 12%, rgba(15,138,95,.18), transparent 58%),
    linear-gradient(180deg, #0C2A1E 0%, var(--bg0) 65%, #05100B 100%);
}

a{color:inherit;text-decoration:none}
.container{max-width:1180px;margin:0 auto;padding:0 18px}

/* =========================
   TOP STRIP
========================= */
.topstrip{
  background:linear-gradient(90deg, rgba(15,138,95,.28), rgba(255,255,255,.02));
  border-bottom:1px solid var(--line);
}
.topstrip__inner{padding:10px 0}
.topstrip__items{
  display:flex;gap:12px;align-items:center;flex-wrap:wrap;
  font-weight:850;color:rgba(234,242,238,.92);
}
.dot{opacity:.55}

/* =========================
   NAV
========================= */
.nav{
  position:sticky;top:0;z-index:60;
  background:linear-gradient(180deg, rgba(6,18,13,.90), rgba(6,18,13,.78));
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}
.nav__inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:14px 0;
}
.brand{display:flex;align-items:center;gap:10px;font-weight:950}
.brand__mark{
  width:44px;height:44px;border-radius:14px;display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(24,179,122,.22), rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.12);
}
.brand__text{opacity:.95}

.nav__links{display:flex;gap:18px;align-items:center}
.nav__item{position:relative}
.nav__link{
  background:transparent;border:0;color:rgba(234,242,238,.86);
  font-weight:850;cursor:pointer;font-size:15px;
  padding:10px 10px;border-radius:999px;
}
.nav__link:hover{background:rgba(255,255,255,.06);color:rgba(234,242,238,.98)}
.nav__link.is-active{background:rgba(255,255,255,.06)}
.caret{opacity:.65;font-size:12px;margin-left:4px}
.nav__actions{display:flex;gap:10px;align-items:center}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 14px;border-radius:999px;
  font-weight:900;border:1px solid rgba(255,255,255,.14);
}
.btn-ghost{background:rgba(255,255,255,.04);color:rgba(234,242,238,.92)}
.btn-ghost:hover{background:rgba(255,255,255,.07)}
.btn-primary{
  border-color:rgba(24,179,122,.35);
  background:linear-gradient(90deg,var(--green),var(--green2));
  color:#04110B;
}
.btn-primary:hover{filter:brightness(1.03)}
.btn-soft{
  border-color:rgba(24,179,122,.22);
  background:linear-gradient(180deg, rgba(18,48,38,.92), rgba(18,48,38,.72));
  color:rgba(234,242,238,.96);
}
.btn-soft:hover{border-color:rgba(24,179,122,.35)}
.btn-lg{padding:12px 16px}

/* Pricing cards CTA */
.btn-black{
  border:0;
  background:#0B0F14;
  color:#fff;
  padding:12px 16px;
  border-radius:999px;
  font-weight:900;
}
.btn-black:hover{filter:brightness(1.03)}
.btn-wide{width:100%}

/* =========================
   MEGA MENU (SOLID, NOT TRANSPARENT)
========================= */
.mega{display:none;position:absolute;left:0;right:0;top:100%;padding:12px 0}
.mega.is-open{display:block}
.mega__panel{
  position:relative;
  border:1px solid rgba(255,255,255,.14);

  /* SOLID background (no transparency) */
  background:#0E1C16;

  border-radius:22px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:260px 1fr;
  gap:18px;
  padding:16px;
}
.mega__panel--simple{grid-template-columns:1fr}
.mega__left{display:flex;flex-direction:column;gap:8px}
.mega__tab{
  width:100%;
  text-align:left;
  background:#0B1511;
  border:1px solid rgba(255,255,255,.12);
  color:rgba(234,242,238,.92);
  padding:11px 12px;
  border-radius:14px;
  font-weight:900;
  cursor:pointer;
}
.mega__tab:hover{background:#0D1A14}
.mega__tab.is-active{
  border-color:rgba(24,179,122,.40);
  background:#123026;
}
.mega__cta{margin-top:8px;width:100%}
.mega__right{min-height:220px}
.mega__content{display:none}
.mega__content.is-active{display:block}
.mega__content h3{margin:0 0 6px 0}
.mega__content p{margin:0 0 12px 0;color:rgba(175,193,183,.95);line-height:1.55}
.mega__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tile{
  border:1px solid rgba(255,255,255,.12);
  background:#0B1511;
  border-radius:16px;
  padding:12px;
}
.tile:hover{border-color:rgba(24,179,122,.35)}
.tile__title{font-weight:950;margin-bottom:4px}
.tile__desc{color:rgba(175,193,183,.95);line-height:1.5}
.mega__simple{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.mega__close{
  position:absolute;top:10px;right:10px;
  width:38px;height:38px;border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:#0B1511;
  color:rgba(234,242,238,.95);
  cursor:pointer;
}
.mega__close:hover{background:#0D1A14}

/* =========================
   HOMEPAGE HERO
========================= */
.hero{
  padding:54px 0 28px;
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(24,179,122,.22), transparent 58%),
    radial-gradient(820px 520px at 78% 18%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, rgba(7,26,20,.45), rgba(7,26,20,.10));
}

/* IMPORTANT: keep the hero in two columns (text left, video right) */
.hero__inner{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:22px;
  align-items:center;
}
.hero__left{min-width:0}
.hero__right{min-width:0}

.hero__title{
  margin:0 0 12px 0;
  font-size:56px;
  line-height:1.02;
  letter-spacing:-1px;
}
.hero__sub{
  margin:0 0 18px 0;
  max-width:680px;
  color:rgba(175,193,183,.95);
  line-height:1.7;
  font-weight:650;
}
.hero__actions{display:flex;gap:12px;flex-wrap:wrap}

/* Dynamic word pill */
.dyn{
  display:inline-block;
  padding:6px 12px;
  margin-right:8px;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(24,179,122,.20), rgba(255,255,255,.04));
  border:1px solid rgba(24,179,122,.28);
  box-shadow:0 12px 25px rgba(0,0,0,.18);
}

/* Video card (base styling stays here; sizing is finalized at the bottom override) */
.videoCard{
  height:340px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(500px 340px at 30% 30%, rgba(24,179,122,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow:var(--shadow);
  display:grid;
  place-items:center;
}
.videoCard__play{
  width:64px;height:64px;border-radius:999px;
  border:1px solid rgba(24,179,122,.32);
  background:linear-gradient(90deg,var(--green),var(--green2));
  color:#04110B;
  font-weight:950;
  cursor:pointer;
}

/* =========================
   SECTIONS + CARDS
========================= */
.section{padding:34px 0}
.section--light{
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  border-top:1px solid rgba(255,255,255,.06);
}
.section__head h2{
  margin:0 0 8px 0;
  font-size:30px;
  letter-spacing:-.4px;
}
.section__head p{
  margin:0 0 18px 0;
  color:rgba(175,193,183,.95);
  line-height:1.7;
  font-weight:650;
  max-width:820px;
}
.cards{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:14px;
}
.card{
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius:18px;
  padding:14px;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
}
.card:hover{border-color:rgba(24,179,122,.30)}
.card__top{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.card__icon{font-size:20px;opacity:.95}
.card__title{font-weight:950}
.card__desc{color:rgba(175,193,183,.95);line-height:1.55;font-weight:650}

/* =========================
   FOOTER
========================= */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:26px 0 38px;
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.10));
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  align-items:flex-start;
}
.brand--small .brand__mark{width:40px;height:40px;border-radius:14px}
.muted{color:rgba(175,193,183,.90);line-height:1.6}
.footer__links{display:flex;gap:14px;flex-wrap:wrap}
.footer__links a{color:rgba(234,242,238,.86);font-weight:800}
.footer__links a:hover{color:#fff}

/* =========================
   PRICING — Deel-like layout (RESTORED)
========================= */
.pricingHero{
  padding:54px 0 30px;
  color:var(--p-ink);
  background:
    radial-gradient(1000px 520px at 22% 8%, rgba(255,255,255,.60), transparent 60%),
    radial-gradient(900px 500px at 82% 18%, rgba(255,255,255,.55), transparent 55%),
    linear-gradient(180deg, var(--p-sky2), var(--p-sky));
  border-bottom:1px solid rgba(0,0,0,.06);
}
.pricingHero__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.pricingHero__title{
  margin:0 0 10px 0;
  font-size:54px;
  letter-spacing:-1px;
  line-height:1.02;
}
.pricingHero__sub{
  margin:0;
  max-width:820px;
  color:rgba(11,18,32,.70);
  line-height:1.6;
  font-weight:650;
}

/* Size selector */
.sizeBox{
  margin-top:18px;
  background:rgba(255,255,255,.35);
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:14px 14px 12px;
  max-width:860px;
  width:100%;
}
.sizeBox__label{
  font-weight:900;
  color:rgba(11,18,32,.78);
  margin-bottom:10px;
}
.sizeBox__pills{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.sizePill{
  border:1px solid rgba(11,18,32,.12);
  background:rgba(255,255,255,.55);
  color:rgba(11,18,32,.80);
  font-weight:850;
  padding:9px 12px;
  border-radius:999px;
  cursor:pointer;
}
.sizePill:hover{background:rgba(255,255,255,.75)}
.sizePill.is-active{
  background:#fff;
  border-color:rgba(11,18,32,.16);
}

/* Tabs row */
.pricingTabs{
  margin-top:18px;
  display:flex;
  gap:34px;
  justify-content:center;
  flex-wrap:wrap;
}
.pricingTab{
  background:transparent;
  border:0;
  cursor:pointer;
  padding:10px 8px 14px;
  border-bottom:3px solid transparent;
  opacity:.80;
}
.pricingTab__ico{display:block;font-size:24px;margin-bottom:6px}
.pricingTab__text{font-weight:900;color:rgba(11,18,32,.85)}
.pricingTab:hover{opacity:1}
.pricingTab.is-active{
  opacity:1;
  border-bottom-color:rgba(11,18,32,.55);
}

/* Cream body */
.pricingBody{
  background:var(--p-cream);
  padding:26px 0 68px;
}
.pricingPanel{display:none}
.pricingPanel.is-active{display:block}

/* Cards grid */
.pricingGrid{
  max-width:1040px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  align-items:stretch;
}

/* Cards */
.priceCard{
  background:var(--p-card);
  border:1px solid var(--p-line);
  border-radius:18px;
  box-shadow:0 18px 40px rgba(11,18,32,.10);
  padding:18px;
  display:flex;
  flex-direction:column;
  min-height:430px;
}
.priceCard__head h3{margin:0 0 6px 0;color:var(--p-ink);font-size:18px}
.priceCard__head p{margin:0;color:rgba(11,18,32,.68);line-height:1.55}
.priceCard__price{margin:16px 0 14px}
.priceCard__small{font-weight:900;color:rgba(11,18,32,.55);font-size:12px;text-transform:uppercase;letter-spacing:.6px}
.priceCard__big{
  margin-top:6px;
  font-size:42px;
  font-weight:950;
  letter-spacing:-.6px;
  color:var(--p-ink);
}
.priceCard__big span{
  font-size:14px;
  font-weight:800;
  color:rgba(11,18,32,.60);
  margin-left:8px;
}
.priceCard__cta{
  margin-top:auto;
  padding-top:14px;
}
.priceCard__list{
  margin:14px 0 0;
  padding-left:18px;
  color:rgba(11,18,32,.72);
  line-height:1.6;
  font-weight:650;
}
.priceCard__list li{margin:6px 0}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px){
  .hero__title{font-size:46px}
  .pricingHero__title{font-size:44px}
  .cards{grid-template-columns:repeat(3, minmax(0, 1fr))}
}
@media (max-width: 980px){
  .hero__inner{grid-template-columns:1fr;gap:16px}
  .videoCard{height:300px}
  .pricingGrid{grid-template-columns:1fr 1fr}
}
@media (max-width: 560px){
  .hero__title{font-size:36px}
  .pricingHero__title{font-size:34px}
  .pricingGrid{grid-template-columns:1fr}
}
@media (max-width: 520px){
  .nav__links{display:none}
}

/* =========================================================
   FINAL OVERRIDES (safe at bottom)
   - Brightness lift
   - Video card: keep premium styling + proper sizing/crop
========================================================= */

/* Slightly brighter overall page (keeps same theme) */
body{
  background:
    radial-gradient(1200px 720px at 18% -10%, rgba(24,179,122,.28), transparent 62%),
    radial-gradient(950px 600px at 84% 12%, rgba(15,138,95,.22), transparent 58%),
    linear-gradient(180deg, #0E2F22 0%, #071A12 65%, #06140E 100%);
}

/* Improve readability slightly */
.hero__sub,
.section__head p,
.card__desc{
  color: rgba(255,255,255,.82);
}

/* Final video card sizing + crop (while preserving your premium card styling) */
.videoCard{
  position:relative;
  width:100%;
  max-width:520px;         /* controls frame width */
  aspect-ratio:16 / 9;     /* keeps nice preview shape */
  height:auto;             /* important: don't force old height */
  border-radius:24px;
  overflow:hidden;

  /* keep your original premium styling */
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(500px 340px at 30% 30%, rgba(24,179,122,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow:var(--shadow);
}

.videoCard__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}

/* keep play button centered over the video */
.videoCard__play{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  z-index:3;
}

/* Hide the very top strip (as requested) */
.topstrip { display:none !important; }

/* Make the section green lighter at top and darker at bottom */
.section--light{
  background: linear-gradient(
    180deg,
    rgba(24,179,122,.12) 0%,
    rgba(6,17,12,.55) 100%
  ) !important;
}

/* Prevent the big empty gap: auto-fit cards nicely into rows */
.cards{
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
}

/* ============================= */
/* Video polish – smaller dot + play icon */
/* ============================= */

/* Subtle premium dot overlay (small + soft). If you don't want any dot at all, set opacity:0 */
.videoCard::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:14px;
  height:14px;
  border-radius:999px;
  transform:translate(-50%,-50%);
  background:rgba(24,179,122,.35);
  filter:blur(.2px);
  opacity:.18;  /* small + soft */
  pointer-events:none;
  z-index:2;
}

/* Smaller, cleaner play button (and only show when JS adds .is-visible) */
.videoCard__play{
  width:52px;
  height:52px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.50);
  backdrop-filter: blur(6px);
  box-shadow:0 10px 24px rgba(0,0,0,.35);
  display:grid;
  place-items:center;

  /* default hidden (autoplay success = hidden) */
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease, background .25s ease;
}

/* Visible state (autoplay blocked / paused) */
.videoCard__play.is-visible{
  opacity:1;
  pointer-events:auto;
}

/* Play triangle */
.videoCard__play::before{
  content:"";
  display:block;
  width:0;height:0;
  border-left:12px solid rgba(255,255,255,.92);
  border-top:8px solid transparent;
  border-bottom:8px solid transparent;
  margin-left:2px;
}

/* Hover polish */
.videoCard__play.is-visible:hover{
  transform:translate(-50%,-50%) scale(1.06);
  background:rgba(0,0,0,.62);
}
