/* ============================================================
   SOT Landing Widgets — CSS
   Semua rule di-scope dalam .sot-root supaya tidak sentuh
   widget/tema lain.
   ============================================================ */

.sot-root {
  --ink: #0B0B0B;
  --cream: #F5F1E6;
  --yellow: #FFD100;
  --red: #E10600;
  --grey: #9A9A9A;
  --card: #151515;
  --line: #2A2A2A;
  background: var(--ink);
  color: var(--cream);
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* Latar page gelap — tema Astra letak latar cerah pada body.
   Kita paksa gelap hanya pada page yang ada widget SOT (body:has). */
body:has(.sot-root),
body:has(.sot-root) .site,
body:has(.sot-root) #content,
body:has(.sot-root) .ast-container,
body:has(.sot-root) .entry-content {
  background-color: #0B0B0B;
}
/* Fallback untuk pelayar tanpa :has() */
.sot-root {
  margin: 0;
  width: 100%;
  max-width: 100%;
}

/* Sembunyikan media kosong (video 404) supaya tak nampak kotak pecah */
.sot-hero-media:empty { display: none; }
.sot-hero-media video:not([src]):not(:has(source[src])) { display: none; }

.sot-root *,
.sot-root *::before,
.sot-root *::after { box-sizing: border-box; }

.sot-root p { margin: 0 0 14px; }

/* ---------- TIPOGRAFI ---------- */
/* Anton = display. JANGAN paksa weight 800 (Anton cuma ada 400). */
.sot-root h1,
.sot-root h2,
.sot-root h3,
.sot-root .sot-hero-title,
.sot-root .sot-sec-title,
.sot-root .sot-cta-title,
.sot-root .sot-stat-n {
  font-family: 'Anton', Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  line-height: .95;
  color: #fff;
  margin: 0 0 22px;
}

/* ---- SAiz lalai (kalau Elementor belum tulis CSS) ---- */
.sot-root .sot-hero-title { font-size: clamp(46px, 8.2vw, 104px); }
.sot-root .sot-sec-title  { font-size: clamp(32px, 5.6vw, 68px); }
.sot-root .sot-cta-title  { font-size: clamp(30px, 5.6vw, 68px); }
.sot-root .sot-stat-n     { font-size: clamp(34px, 4vw, 56px); }

.sot-root h3.sot-card-title {
  font-family: 'Lexend', sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -.3px;
  line-height: 1.3;
  margin: 10px 0 8px;
}

/* ---------- LAYOUT ---------- */
.sot-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- GRID PATTERN latar ---------- */
.sot-root::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.027) 1px, transparent 1px);
  background-size: 48px 48px;
}

.sot-root > section { position: relative; z-index: 1; }

/* ============================================================
   1. HERO
   ============================================================ */
.sot-hero { position: relative; overflow: hidden; }

/* radial glow */
.sot-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -25%;
  width: 70%;
  height: 150%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(255,209,0,.11), transparent 65%);
}

.sot-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.sot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,209,0,.45);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  margin-bottom: 26px;
}

.sot-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

/* OUTLINE TEXT — effect utama
   PENTING: -webkit-text-fill-color mesti ditulis SELEPAS color,
   dan `!important` diperlukan kerana tema Astra + widget Elementor
   boleh tulis warna pejal pada h1/span dan mengalahkan `color: transparent`. */
.sot-root .sot-hero-outline {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: 2px var(--yellow) !important;
  text-stroke: 2px var(--yellow) !important;
}

.sot-hero-accent { color: var(--yellow); }

.sot-hero-lead {
  color: var(--grey);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  margin-bottom: 32px;
}

.sot-hero-lead strong { color: #fff; }

.sot-hero-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,209,0,.35);
  background: #0F0F0F;
  aspect-ratio: 4 / 5;
}

.sot-hero-media video,
.sot-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sot-nametag {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 9px 20px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ---------- BUTANG ---------- */
.sot-btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sot-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,209,0,.3);
  color: var(--ink);
}

.sot-arrow { display: inline-block; transition: transform .2s ease; }
.sot-btn:hover .sot-arrow { transform: translateX(4px); }

/* ============================================================
   2. STAT BAND
   ============================================================ */
.sot-stats { background: var(--yellow); }

.sot-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.sot-stat-n {
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -1px;
}

.sot-stat-l {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #1E1810;
  margin-top: 6px;
}

/* ============================================================
   3. SECTION
   ============================================================ */
.sot-sec { position: relative; }

.sot-eyebrow {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sot-yellow { color: var(--yellow); }

.sot-p-big {
  color: var(--cream);
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.35;
  margin-bottom: 8px;
}

.sot-p-big p { color: var(--cream); margin: 0 0 8px; }

.sot-p-muted {
  color: var(--grey);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
}

.sot-p-muted p { color: var(--grey); }

.sot-p-quote {
  color: var(--cream);
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 600;
  margin: 6px 0 26px;
}

.sot-p-quote p { color: var(--cream); }

.sot-legal {
  color: #6A6A6A;
  font-size: 12px;
  line-height: 1.7;
  max-width: 760px;
  margin: 24px auto 0;
}

/* ============================================================
   4. KAD
   ============================================================ */
.sot-cards {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.sot-cols-2 { grid-template-columns: repeat(2, 1fr); }
.sot-cols-3 { grid-template-columns: repeat(3, 1fr); }
.sot-cols-4 { grid-template-columns: repeat(4, 1fr); }

.sot-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.sot-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,209,0,.5);
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}

.sot-card-icon {
  color: var(--yellow);
  line-height: 0;
  margin-bottom: 6px;
}

.sot-card-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--yellow);
}

.sot-card-icon i {
  font-size: 32px;
  color: var(--yellow);
}

.sot-card-desc {
  color: var(--grey);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================================
   5. BEHAVIOUR
   ============================================================ */
.sot-beh {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.sot-beh-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: transform .25s ease, border-color .25s ease;
}

.sot-beh-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,209,0,.45);
}

.sot-beh-from {
  color: var(--grey);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.sot-beh-arw { color: var(--grey); font-size: 20px; margin: 10px 0; }

.sot-beh-to {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
}

/* ============================================================
   6. STATEMENT (Real Talk / Soalan)
   ============================================================ */
.sot-stmt { position: relative; }

.sot-stmt-lead {
  color: var(--grey);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  margin-bottom: 26px;
}

.sot-stmt-lead p { color: var(--grey); }

.sot-stmt-headline {
  margin-top: 8px;
  font-size: clamp(32px, 5.6vw, 68px);
}

/* ============================================================
   7. CTA / CLOSING
   ============================================================ */
.sot-cta { position: relative; }

/* Latar lalai — kalau Elementor belum tulis CSS.
   Widget CTA ada control bg_color (default #E10600 untuk "coming soon").
   Widget kedua (closing) patut set #0B0B0B dalam panel. */
.sot-cta { background-color: #E10600; }

.sot-cta-body {
  color: var(--cream);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  margin-bottom: 30px;
}

.sot-cta-body p { color: var(--cream); }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 860px) {
  .sot-hero { padding: 64px 0 56px !important; }
  .sot-hero::after { display: none; }
  .sot-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .sot-hero-media { aspect-ratio: 1 / 1; order: -1; }
  .sot-cards,
  .sot-beh { grid-template-columns: 1fr !important; }
  .sot-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .sot-hero-outline { -webkit-text-stroke-width: 1.4px; }
  .sot-root .sot-hero-title,
  .sot-root .sot-sec-title,
  .sot-root .sot-cta-title { letter-spacing: -.8px; }
}

@media (max-width: 480px) {
  .sot-wrap { padding: 0 18px; }
}

/* ============================================================
   FONT FAMILY — satu class per font (font stack SEBENAR)
   Dropdown Elementor tetapkan class ini; JANGAN guna
   'font-family: {{VALUE}}' kerana ia tulis kunci option, bukan nama font.
   ============================================================ */
.sot-ff-anton      { font-family: 'Anton', Impact, sans-serif !important; font-weight: 400 !important; }
.sot-ff-inter      { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important; }
.sot-ff-lexend     { font-family: 'Lexend', sans-serif !important; }
.sot-ff-bebas      { font-family: 'Bebas Neue', Impact, sans-serif !important; font-weight: 400 !important; }
.sot-ff-oswald     { font-family: 'Oswald', sans-serif !important; }
.sot-ff-montserrat { font-family: 'Montserrat', sans-serif !important; }
.sot-ff-poppins    { font-family: 'Poppins', sans-serif !important; }
.sot-ff-roboto     { font-family: 'Roboto', sans-serif !important; }
.sot-ff-archivo    { font-family: 'Archivo Black', sans-serif !important; }
.sot-ff-inherit    { font-family: inherit !important; }

/* Bila font BUKAN Anton, jangan paksa uppercase/letter-spacing display */
.sot-root .sot-ff-inter .sot-hero-title,
.sot-root .sot-ff-inter .sot-sec-title,
.sot-root .sot-ff-inter .sot-stmt-headline,
.sot-root .sot-ff-inter .sot-cta-title,
.sot-root .sot-ff-montserrat .sot-hero-title,
.sot-root .sot-ff-montserrat .sot-sec-title,
.sot-root .sot-ff-montserrat .sot-stmt-headline,
.sot-root .sot-ff-montserrat .sot-cta-title,
.sot-root .sot-ff-poppins .sot-hero-title,
.sot-root .sot-ff-poppins .sot-sec-title,
.sot-root .sot-ff-poppins .sot-stmt-headline,
.sot-root .sot-ff-poppins .sot-cta-title,
.sot-root .sot-ff-roboto .sot-hero-title,
.sot-root .sot-ff-roboto .sot-sec-title,
.sot-root .sot-ff-roboto .sot-stmt-headline,
.sot-root .sot-ff-roboto .sot-cta-title {
  letter-spacing: -0.5px !important;
  line-height: 1.05 !important;
}
