/* ================================================================
   MASRI.CLOUD — GLOBAL DESIGN SYSTEM
   Aesthetic: Cosmic Intelligence — Dark Luxury + Aurora Motion
   Author: Masri.Cloud
   ================================================================ */

/* ── FONTS ── */
@font-face {
  font-family: 'Masri Cloud';
  src: url('/app/font/font2/fonts/MasriCloud-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Masri Cloud';
  src: url('/app/font/font2/fonts/MasriCloud-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Masri Mono';
  src: url('/app/font/font3/fonts/MasriMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Masri Mono';
  src: url('/app/font/font3/fonts/MasriMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Font Four';
  src: url('/app/font/font4/fonts/FontFour-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Font Four';
  src: url('/app/font/font4/fonts/FontFour-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Font Five';
  src: url('/app/font/font5/fonts/FontFive-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Font Five';
  src: url('/app/font/font5/fonts/FontFive-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Font Six';
  src: url('/app/font/font6/fonts/FontSix-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Font Six';
  src: url('/app/font/font6/fonts/FontSix-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── DESIGN TOKENS ── */
:root {
  --bg:          #050810;
  --bg-2:        #080d1a;
  --bg-3:        #0c1220;
  --surface:     rgba(255,255,255,0.04);
  --surface-2:   rgba(255,255,255,0.07);
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.14);
  --text:        #f0f4ff;
  --text-2:      #94a3b8;
  --text-3:      #64748b;
  --aurora-1:    #2563eb;
  --aurora-2:    #7c3aed;
  --aurora-3:    #0ea5e9;
  --aurora-4:    #06b6d4;
  --primary:     #3b82f6;
  --primary-glow: rgba(59,130,246,0.35);
  --accent:      #67e8f9;
  --accent-warm: #a78bfa;
  --font-display: 'Masri Cloud', 'Syne', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-mono:    'Masri Mono', 'JetBrains Mono', ui-monospace, monospace;
  --font-script:  'Font Four', 'Segoe Print', 'Bradley Hand', cursive;
  --font-quote:   'Font Five', 'Georgia', serif;
  --font-future:  'Font Six', 'Inter', sans-serif;
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 48px;
  --gap-xl: 80px;
  --gap-2xl:120px;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(59,130,246,0.2);
  --shadow-card: 0 20px 60px rgba(0,0,0,0.5);
  --ease: cubic-bezier(0.16,1,0.3,1);
  --ease-out: cubic-bezier(0.0,0,0.2,1);
  --t-fast: 0.15s;
  --t-mid:  0.3s;
  --t-slow: 0.6s;
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --bg:        #f8faff;
  --bg-2:      #f0f4ff;
  --bg-3:      #e8eeff;
  --surface:   rgba(0,0,0,0.03);
  --surface-2: rgba(0,0,0,0.06);
  --border:    rgba(0,0,0,0.08);
  --border-2:  rgba(0,0,0,0.14);
  --text:      #0f172a;
  --text-2:    #475569;
  --text-3:    #94a3b8;
  --shadow-card: 0 20px 60px rgba(0,0,0,0.1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; font-size: 16px; overflow-x: hidden; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; max-width: 100%; transition: background var(--t-mid) var(--ease), color var(--t-mid) var(--ease); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: var(--r-full); }

/* ── AURORA BACKGROUND MESH ── */
.aurora-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.aurora-mesh::before,
.aurora-mesh::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: drift 20s ease-in-out infinite alternate;
}
.aurora-mesh::before {
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, var(--aurora-1), transparent 70%);
  top: -20%; left: -10%;
}
.aurora-mesh::after {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--aurora-2), transparent 70%);
  bottom: -20%; right: -10%;
  animation-delay: -10s;
  animation-direction: alternate-reverse;
}
[data-theme="light"] .aurora-mesh::before,
[data-theme="light"] .aurora-mesh::after { opacity: 0.06; }

@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(5%,3%) scale(1.05); }
  100% { transform: translate(-3%,5%) scale(0.97); }
}

/* ── CONTAINER ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1400px; }

/* ── SECTION ── */
.section { position: relative; padding: var(--gap-xl) 0; z-index: 1; }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xs);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--gap-sm);
}
.section__label::before { content: ''; display: inline-block; width: 20px; height: 2px; background: var(--accent); }
.section__title { font-family: var(--font-display); font-size: clamp(28px, 5vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: var(--gap-sm); }
.section__desc { font-size: 17px; color: var(--text-2); max-width: 560px; line-height: 1.7; }
.section__head { margin-bottom: var(--gap-lg); }

/* ── NAVBAR ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 0;
  transition: background var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.nav.scrolled {
  background: rgba(5,8,16,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .nav.scrolled { background: rgba(248,250,255,0.85); }

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
  overflow: visible;
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link { padding: 8px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; color: var(--text-2); transition: color var(--t-fast), background var(--t-fast); }
.nav__link:hover { color: var(--text); background: var(--surface-2); }
.nav__link.active { color: var(--text); }

.nav__actions { display: flex; align-items: center; gap: var(--gap-xs); flex-shrink: 0; }

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); font-size: 16px;
  transition: all var(--t-fast); cursor: pointer;
}
.theme-toggle:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }

/* ── HAMBURGER ── */
.nav__hamburger {
  display: none;           /* desktop: hidden */
  flex-direction: column;
  gap: 5px;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.14);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 10001;
}
.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
  pointer-events: none;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
/* Default: hidden, full screen overlay wrapper */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
}
.nav__mobile.open {
  display: block;
}

/* Overlay blur */
.mobile__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Panel geser dari kanan */
.mobile__panel {
  position: absolute;
  top: 0; right: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  padding: 80px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.nav__mobile.open .mobile__panel {
  transform: translateX(0);
}
.mobile__panel a {
  display: block;
  padding: 12px 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: all 0.15s;
  text-decoration: none;
}
.mobile__panel a:hover { color: var(--text); background: var(--surface); }
.mobile__divider { height: 1px; background: var(--border); margin: 8px 0; }
.mobile__cta {
  background: var(--primary) !important;
  color: #fff !important;
  text-align: center;
  border-radius: var(--r-md) !important;
  padding: 12px !important;
  font-weight: 600;
  margin-top: 8px;
}
.mobile__lang { display: flex; gap: 16px; font-size: 14px; font-weight: 600; margin-top: 8px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  cursor: pointer; transition: all var(--t-mid) var(--ease);
  white-space: nowrap; border: 1px solid transparent;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 0 0 0 var(--primary-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--primary-glow); background: #4f8ffc; }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--border-2); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn--outline:hover { background: var(--surface); border-color: var(--primary); color: var(--primary); }
.btn--lg { padding: 16px 32px; font-size: 16px; border-radius: var(--r-lg); }
.btn--gradient { background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2)); color: #fff; border: none; position: relative; overflow: hidden; }
.btn--gradient::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1)); opacity: 0; transition: opacity var(--t-fast); }
.btn--gradient:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,99,235,0.4); }
.btn--gradient:hover::after { opacity: 1; }

/* ── CARDS ── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--gap-md); transition: all var(--t-mid) var(--ease); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, rgba(255,255,255,0.02)); pointer-events: none; }
.card:hover { border-color: var(--border-2); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card__icon { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: var(--gap-sm); }
.card__title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card__desc { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── GRID LAYOUTS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-sm); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-md); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap-sm); }

/* ── BADGE ── */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; }
.badge--blue  { background: rgba(59,130,246,0.15);  color: #60a5fa; border: 1px solid rgba(59,130,246,0.2); }
.badge--green { background: rgba(16,185,129,0.12);  color: #34d399; border: 1px solid rgba(16,185,129,0.2); }
.badge--purple{ background: rgba(139,92,246,0.12);  color: #a78bfa; border: 1px solid rgba(139,92,246,0.2); }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: var(--gap-lg) 0; }

/* ── HERO SECTION ── */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 80px; position: relative; overflow: hidden; width: 100%; max-width: 100vw; }
.hero__inner { z-index: 2; position: relative; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-full); font-size: 12px; color: var(--text-2);
  letter-spacing: 0.01em;
  margin-bottom: var(--gap-sm);
  animation: fadeUp 0.8s var(--ease) forwards; opacity: 0;
}
.hero__eyebrow .dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-3), var(--aurora-2));
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 13ch;
  margin-bottom: var(--gap-sm);
  word-break: break-word;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}
.hero__title .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 50%, var(--primary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__title .type-system {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.36em;
  letter-spacing: 0.18em;
  line-height: 1.1;
  color: var(--text-2);
}
.hero__title .type-accent {
  display: inline-block;
  font-family: var(--font-future);
  letter-spacing: -0.08em;
}
.hero__desc {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text-2);
  max-width: 500px;
  line-height: 1.68;
  margin-bottom: var(--gap-md);
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--gap-sm); margin-bottom: var(--gap-lg); opacity: 0; animation: fadeUp 0.8s var(--ease) 0.3s forwards; position: relative; z-index: 2; }
.hero__social-proof { display: flex; align-items: center; gap: var(--gap-sm); opacity: 0; animation: fadeUp 0.8s var(--ease) 0.4s forwards; position: relative; z-index: 2; }
.hero__avatars { display: flex; }
.hero__avatars img, .hero__avatar-placeholder {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg);
  margin-left: -10px; object-fit: cover;
  background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: white; font-weight: 600;
}
.hero__avatars .hero__avatar-placeholder:first-child { margin-left: 0; }
.hero__proof-text { font-size: 13px; color: var(--text-2); }
.hero__proof-text strong { color: var(--text); }

.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: var(--gap-lg); align-items: center; }
.hero__grid > * { min-width: 0; max-width: 100%; }

.hero__visual { position: relative; height: 420px; opacity: 0; animation: fadeIn 1s var(--ease) 0.5s forwards; }
.hero__float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--gap-sm);
  backdrop-filter: blur(20px); box-shadow: var(--shadow-card); max-width: 90vw;
}
.hero__float-card--main { width: 250px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: floatMain 6s ease-in-out infinite; }
.hero__float-card--stat { width: 150px; padding: 14px; }
.hero__float-card--tl { top: 8%; left: 5%; animation: floatAlt 7s ease-in-out infinite; }
.hero__float-card--br { bottom: 10%; right: 5%; animation: floatAlt 8s ease-in-out infinite reverse; }
.hero__float-card--tr { top: 15%; right: 8%; width: 170px; animation: floatMain 9s ease-in-out infinite 2s; }
.stat-value { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--text); }
.stat-label { font-size: 11px; color: var(--text-2); margin-top: 2px; line-height: 1.35; }

@keyframes floatMain { 0%,100% { transform: translate(-50%,-50%) translateY(0); } 50% { transform: translate(-50%,-50%) translateY(-12px); } }
@keyframes floatAlt  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fadeUp    { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn    { from { opacity: 0; } to { opacity: 1; } }

/* ── STATS BAR ── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  position: relative; z-index: 1; /* JANGAN z-index negatif */
}
.stat-item { background: var(--bg); padding: var(--gap-md); text-align: center; transition: background var(--t-fast); }
.stat-item:hover { background: var(--surface); }
.stat-item__num {
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-item__label { font-size: 13px; color: var(--text-2); margin-top: 4px; }

.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--gap-md); text-align: center; transition: all var(--t-mid) var(--ease); position: relative; overflow: hidden; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--primary); }
.product-card__tag {
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 8px; padding: 4px 8px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02);
  color: var(--text-2); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  font-family: var(--font-mono);
}
.product-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.product-card--mono h3 { font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.product-card--script h3 { font-family: var(--font-script); font-size: 26px; letter-spacing: -0.04em; }
.product-card--future h3 { font-family: var(--font-future); font-size: 22px; letter-spacing: -0.04em; }
.product-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: var(--gap-sm); }
.product-card__status { display: inline-block; padding: 6px 12px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; }

.philosophy-flow { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: var(--gap-md); }
.flow-item { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 140px; }
.flow-item--script .flow-text { font-family: var(--font-script); font-size: clamp(1.7rem, 2.5vw, 2.6rem); }
.flow-item--mono .flow-text { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; }
.flow-item--display .flow-text { font-family: var(--font-display); letter-spacing: 0.09em; font-size: 0.85rem; text-transform: uppercase; }
.flow-item--future .flow-text { font-family: var(--font-future); font-size: clamp(1.1rem, 1.7vw, 1.5rem); letter-spacing: -0.04em; }
.flow-item .flow-icon { font-size: 28px; }
.flow-arrow { font-size: 36px; color: var(--text-3); }

.ecosystem-signature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 18px;
  color: var(--text-2);
}
.ecosystem-signature__item {
  display: inline-block;
}
.ecosystem-signature__item--mono {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}
.ecosystem-signature__item--script {
  font-family: var(--font-script);
  font-size: clamp(1.3rem, 2vw, 2rem);
  color: #d8d8ff;
}
.ecosystem-signature__item--future {
  font-family: var(--font-future);
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  letter-spacing: -0.05em;
  color: #8ae6ff;
}
.ecosystem-signature__sep {
  font-family: var(--font-display);
  color: var(--text-3);
  font-size: 1.1rem;
}

/* ── FEATURES SECTION ── */
.feature-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--gap-lg); align-items: start; }
.feature-list { display: flex; flex-direction: column; gap: var(--gap-sm); }
.feature-item { padding: var(--gap-md); border-radius: var(--r-md); border: 1px solid transparent; cursor: pointer; transition: all var(--t-mid) var(--ease); }
.feature-item:hover, .feature-item.active { background: var(--surface); border-color: var(--border); }
.feature-item.active { border-color: rgba(59,130,246,0.3); }
.feature-item__icon { font-size: 24px; margin-bottom: 8px; }
.feature-item__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.feature-item__desc { font-size: 14px; color: var(--text-2); }
.feature-panel { border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface); overflow: hidden; min-height: 420px; display: flex; align-items: center; justify-content: center; padding: var(--gap-lg); position: relative; }
.feature-panel__content { text-align: center; }
.feature-panel__emoji { font-size: 64px; margin-bottom: var(--gap-sm); display: block; }
.feature-panel__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.feature-panel__desc { font-size: 15px; color: var(--text-2); max-width: 320px; margin: 0 auto; }


/* ── ECOSYSTEM HOMEPAGE SECTIONS ── */
.ecosystem-section { background: linear-gradient(180deg, rgba(8,13,26,0.75), rgba(5,8,16,0.92)); }
.ecosystem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-sm); position: relative; }
.ecosystem-grid::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 54px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103,232,249,0.28), rgba(167,139,250,0.32), transparent);
  pointer-events: none;
}
.ecosystem-card {
  min-height: 360px; padding: var(--gap-md); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.028));
  border: 1px solid rgba(255,255,255,0.1); position: relative; overflow: hidden;
  box-shadow: 0 18px 54px rgba(0,0,0,0.28); transition: transform var(--t-mid) var(--ease), border-color var(--t-mid), box-shadow var(--t-mid);
}
.ecosystem-card::before {
  content: ''; position: absolute; inset: -1px;
  background: radial-gradient(circle at 20% 0%, rgba(103,232,249,0.14), transparent 36%), radial-gradient(circle at 80% 20%, rgba(124,58,237,0.12), transparent 38%);
  pointer-events: none;
}
.ecosystem-card:hover { transform: translateY(-6px); border-color: rgba(103,232,249,0.28); box-shadow: 0 28px 70px rgba(0,0,0,0.42), 0 0 34px rgba(59,130,246,0.12); }
.ecosystem-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--gap-md); position: relative; z-index: 1; }
.ecosystem-card__icon { width: 48px; height: 48px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; background: rgba(103,232,249,0.09); border: 1px solid rgba(103,232,249,0.22); font-size: 24px; }
.ecosystem-card__pulse { width: 10px; height: 10px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 6px rgba(52,211,153,0.12), 0 0 22px rgba(52,211,153,0.6); }
.ecosystem-card h3 { font-family: var(--font-display); font-size: 20px; line-height: 1.2; margin-bottom: 10px; position: relative; z-index: 1; }
.ecosystem-card p { color: var(--text-2); font-size: 14px; line-height: 1.65; margin-bottom: var(--gap-sm); position: relative; z-index: 1; }
.ecosystem-tags { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.ecosystem-tags span { font-size: 11px; color: #b7c7e6; border: 1px solid rgba(255,255,255,0.1); background: rgba(5,8,16,0.52); border-radius: var(--r-full); padding: 5px 9px; }
.platform-status { padding-top: 0; }
.status-panel {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--gap-lg); align-items: center;
  border: 1px solid rgba(103,232,249,0.16); border-radius: var(--r-xl); padding: var(--gap-lg);
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.045), rgba(124,58,237,0.08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 70px rgba(0,0,0,0.25);
}
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.status-item { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px; border-radius: var(--r-md); background: rgba(5,8,16,0.45); border: 1px solid rgba(255,255,255,0.08); color: var(--text-2); font-size: 14px; }
.status-item span { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(52,211,153,0.14); color: #34d399; flex-shrink: 0; }
.featured-apps { background: rgba(255,255,255,0.01); }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-sm); }
.app-card {
  display: flex; flex-direction: column; gap: 10px; min-height: 190px; padding: var(--gap-md);
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border);
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid), background var(--t-mid), box-shadow var(--t-mid);
}
.app-card:hover { transform: translateY(-5px); background: var(--surface-2); border-color: rgba(103,232,249,0.28); box-shadow: var(--shadow-md); }
.app-card span { font-size: 28px; width: 44px; height: 44px; border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.08); }
.app-card strong { font-family: var(--font-display); font-size: 17px; line-height: 1.2; }
.app-card small { color: var(--text-2); line-height: 1.55; font-size: 13px; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-sm); align-items: start; }
.price-card { border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface); padding: var(--gap-md) var(--gap-md) var(--gap-lg); position: relative; transition: all var(--t-mid) var(--ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.price-card--featured { background: linear-gradient(180deg, rgba(59,130,246,0.08) 0%, var(--surface) 100%); border-color: rgba(59,130,246,0.3); box-shadow: 0 0 40px rgba(59,130,246,0.1); }
.price-card__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.price-card__tier { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin-bottom: var(--gap-sm); }
.price-card__amount { font-family: var(--font-display); font-size: 42px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }
.price-card__period { font-size: 13px; color: var(--text-3); margin-bottom: var(--gap-md); }
.price-card__desc { font-size: 14px; color: var(--text-2); margin-bottom: var(--gap-md); padding-bottom: var(--gap-md); border-bottom: 1px solid var(--border); }
.price-card__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--gap-md); }
.price-card__feature { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.price-card__feature .check { width: 20px; height: 20px; border-radius: 50%; background: rgba(16,185,129,0.15); color: #34d399; display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }

/* ── TESTIMONIALS ── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-sm); }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--gap-md); transition: all var(--t-mid) var(--ease); }
.testimonial-card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-md); }
.testimonial-card__stars { color: #fbbf24; font-size: 13px; margin-bottom: var(--gap-sm); letter-spacing: 2px; }
.testimonial-card__text { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: var(--gap-sm); }
.testimonial-card__author { display: flex; align-items: center; gap: 10px; }
.testimonial-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--aurora-1), var(--aurora-3)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: white; flex-shrink: 0; }
.testimonial-card__name { font-weight: 600; font-size: 14px; }
.testimonial-card__role { font-size: 12px; color: var(--text-3); }

/* ── FAQ / ACCORDION ── */
.accordion { display: flex; flex-direction: column; gap: 2px; }
.accordion__item { border-radius: var(--r-md); border: 1px solid var(--border); overflow: hidden; transition: border-color var(--t-fast); }
.accordion__item.open { border-color: var(--border-2); }
.accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gap-md); background: var(--surface); font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--text); text-align: left; cursor: pointer; transition: background var(--t-fast); }
.accordion__trigger:hover { background: var(--surface-2); }
.accordion__icon { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; transition: transform var(--t-mid) var(--ease); }
.accordion__item.open .accordion__icon { transform: rotate(45deg); }
.accordion__body { max-height: 0; overflow: hidden; transition: max-height var(--t-slow) var(--ease); }
.accordion__item.open .accordion__body { max-height: 200px; }
.accordion__content { padding: var(--gap-sm) var(--gap-md) var(--gap-md); font-size: 14px; color: var(--text-2); line-height: 1.7; border-top: 1px solid var(--border); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── FLOATING WA BUTTON ── */
.wa-btn { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: white; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 8px 24px rgba(37,211,102,0.4); z-index: 800; transition: all var(--t-mid) var(--ease); }
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }

/* ── FOOTER ── */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: var(--gap-xl) 0 var(--gap-lg); }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--gap-lg); margin-bottom: var(--gap-xl); }
.footer__brand { max-width: 280px; }
.footer__logo { font-family: var(--font-display); font-size: 22px; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent-warm)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: var(--gap-sm); }
.footer__tagline { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: var(--gap-md); }
.footer__col-title { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--gap-sm); }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link { font-size: 14px; color: var(--text-2); transition: color var(--t-fast); }
.footer__link:hover { color: var(--text); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: var(--gap-md); border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }
.footer__social { display: flex; align-items: center; gap: var(--gap-xs); }
.footer__social-link { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--text-2); transition: all var(--t-fast); }
.footer__social-link:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-gradient { background: linear-gradient(135deg, var(--accent), var(--accent-warm)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-sm { margin-top: var(--gap-sm); } .mt-md { margin-top: var(--gap-md); } .mt-lg { margin-top: var(--gap-lg); }
.mb-sm { margin-bottom: var(--gap-sm); } .mb-md { margin-bottom: var(--gap-md); } .mb-lg { margin-bottom: var(--gap-lg); }

/* ── BACK TO TOP ── */
#backToTop {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 8000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#backToTop:hover { transform: scale(1.1); }

/* ── Z-INDEX HIERARCHY ── */
.nav      { z-index: 9000 !important; }
#aiBtn    { z-index: 9999 !important; }
#aiPanel  { z-index: 9998 !important; }
#backToTop{ z-index: 99999 !important; }

/* ── RESPONSIVE: TABLET ── */
@media (max-width: 1024px) {
  .hero__grid        { grid-template-columns: 1fr; }
  .hero__visual      { display: none; }
  .feature-grid      { grid-template-columns: 1fr; }
  .feature-panel     { min-height: 300px; }
  .pricing-grid      { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .ecosystem-grid    { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-grid::before { display: none; }
  .status-panel      { grid-template-columns: 1fr; }
  .app-grid          { grid-template-columns: repeat(2, 1fr); }
  .footer__grid      { grid-template-columns: repeat(2, 1fr); }
  .stats-bar         { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid  { grid-template-columns: repeat(2, 1fr); }
}

/* ── RESPONSIVE: MOBILE ── */
@media (max-width: 768px) {
  :root { --gap-xl: 60px; --gap-2xl: 80px; }

  /* Nav */
  .nav__links              { display: none !important; }
  .nav__hamburger          { display: flex !important; }  /* tampilkan hamburger */
  .nav__actions .btn--ghost,
  .nav__actions .btn--primary { display: none !important; }

  /* Grids */
  .grid-3, .grid-2         { grid-template-columns: 1fr; }
  .testimonial-grid        { grid-template-columns: 1fr; }
  .ecosystem-grid          { grid-template-columns: 1fr; }
  .status-grid             { grid-template-columns: 1fr; }
  .app-grid                { grid-template-columns: 1fr; }
  .footer__grid            { grid-template-columns: 1fr; }
  .footer__bottom          { flex-direction: column; gap: var(--gap-sm); text-align: center; }

  /* Hero */
  .hero__title             { letter-spacing: -0.02em; }
  .hero__float-card        { display: none !important; }
}

@media (max-width: 480px) {
  .container               { padding: 0 16px; }
  .stats-bar               { grid-template-columns: repeat(2, 1fr); }
  .hero__cta               { flex-direction: column; }
  .hero__cta .btn          { width: 100%; }
  .hero__title             { font-size: 26px !important; max-width: none; line-height: 1.12; }
  .section__title          { font-size: 24px; line-height: 1.15; }
  .section__desc           { font-size: 15px; line-height: 1.6; }
  .price-card__tier        { font-size: 12px; }
  .price-card__amount      { font-size: 34px; }
  .price-card              { padding: 20px 16px 24px; }
  .price-card__period      { font-size: 12px; }
  .price-card__feature     { font-size: 13px; }
  .btn                     { padding: 14px; font-size: 14px; }
  .wa-btn                  { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
.dragon-btn {
  position: fixed;
  bottom: 20px;
  left: 20px; /* 🔥 pindah ke kiri */
  z-index: 8000;
  padding: 10px 16px;
  border-radius: 20px;
  background: #111;
  color: #00ffcc;
  border: 1px solid #00ffcc;
}

/* canvas layer */
#dragonCanvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#dragonChat {
  position: fixed;
  bottom: 80px;
  left: 20px;
  z-index: 9999;
}
@media (max-width: 768px) {
  #dragonToggle {
    display: none !important;
  }
}
/* ================================================================
   CINEMATIC CANVAS — Background layer
   z-index: -2 (under aurora-mesh -1, under dragon 1)
   ================================================================ */
#cinematicCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  /* opacity diatur via JS setelah gambar load */
}

/* Pastikan dragon canvas selalu di atas */
#dragonCanvas {
  z-index: 1 !important;
}

/* Optional: overlay gelap ringan agar teks tetap terbaca
   saat gambar cinematic aktif */
.cinematic-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(5, 8, 16, 0.72); /* sesuaikan opacity sesuai selera */
  pointer-events: none;
}

/* MITRA MODE */
.mitra-btn {
  position: fixed;
  bottom: 70px;
  left: 16px;
  z-index: 8001;

  font-size: 12px;
  padding: 10px 14px;
}

@media (max-width: 768px) {
  .mitra-btn {
    bottom: 80px;
    left: 12px;
  }
}
.mitra-btn:hover { background:rgba(103,232,249,.08);border-color:#67e8f9;box-shadow:0 0 18px rgba(103,232,249,.25);transform:translateY(-1px); }
.mitra-btn--active { background:rgba(103,232,249,.1);border-color:#67e8f9;color:#fff;animation:mitraPulse 2.5s ease-in-out infinite; }
@keyframes mitraPulse { 0%,100%{box-shadow:0 0 15px rgba(103,232,249,.25)}50%{box-shadow:0 0 25px rgba(103,232,249,.45)} }

@media(max-width:768px){#mitraToggle{display:none!important}}
/* ── TAMBAHKAN ke bagian bawah style.css ── */

.mitra-btn {
  position: fixed;
  bottom: 62px;
  left: 20px;
  z-index: 8001;
  padding: 10px 16px;
  border-radius: 20px;
  background: #0a0f1e;
  color: #67e8f9;
  border: 1px solid rgba(103,232,249,0.5);
  cursor: pointer;
  font-family: var(--font-body, sans-serif);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.mitra-btn:hover {
  background: rgba(103,232,249,0.08);
  border-color: #67e8f9;
  box-shadow: 0 0 16px rgba(103,232,249,0.25);
}
.mitra-btn--active {
  background: rgba(103,232,249,0.1);
  color: #fff;
  animation: mitraPulse 2.5s ease-in-out infinite;
}
@keyframes mitraPulse {
  0%,100% { box-shadow: 0 0 12px rgba(103,232,249,0.2); }
  50%      { box-shadow: 0 0 24px rgba(103,232,249,0.5); }
}

@media (max-width:768px) { #mitraToggle { display:none !important; } }
/* ========================= */
/* MITRA SPIRAL BACKGROUND */
/* ========================= */
.stats-wrapper {
  overflow: visible; /* 🔥 penting */
}

.mitra-spiral {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px; /* 🔥 BATAS AREA */
  z-index: 1;
  pointer-events: none;
}

.mitra-spiral canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.stats-bar {
  display: flex;
  justify-content: center;  /* 🔥 isi di tengah */
  align-items: center;
  gap: 40px;
  padding: 20px 40px;
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.1);
  background: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}
.container > .mitra-spiral {
  z-index: 1;
}
/* ========================= */
/* MASCOT INTERAKTIF */
/* ========================= */
#mascot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  width: 80px;
  height: 80px;
will-change: transform;
  transform: translateZ(0);
}

#mascot img,
#mascot video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.social-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; }
.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0; /* 🔥 penting biar tidak gepeng */
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 🔥 ini kunci */
  object-position: center; /* 🔥 biar wajah center */
  display: block;
}
.testimonial-card__avatar {
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.1);
}
.testimonial-card__avatar img {
  object-fit: cover;
  object-position: 50% 20%; /* 🔥 sedikit naik, fokus wajah */
}

/* ================================================================
   NEW ECOSYSTEM, PHILOSOPHY, WHY CHOOSE & ROADMAP SECTIONS
   Added by Manus for Masri.Cloud Refactor
   ================================================================ */

/* NEW ECOSYSTEM SECTION */
.ecosystem-products-section { padding: var(--gap-xl) 0; }
.ecosystem-products-section .section__head { margin-bottom: var(--gap-lg); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap-md); }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--gap-md); text-align: center; transition: all var(--t-mid) var(--ease); position: relative; overflow: hidden; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--primary); }
.product-card__tag {
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 8px; padding: 4px 8px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02);
  color: var(--text-2); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  font-family: var(--font-mono);
}
.product-card--mono h3 { font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.product-card--script h3 { font-family: var(--font-script); font-size: 26px; letter-spacing: -0.04em; }
.product-card--future h3 { font-family: var(--font-future); font-size: 22px; letter-spacing: -0.04em; }
.product-card__icon { font-size: 48px; margin-bottom: var(--gap-sm); display: block; }
.product-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.product-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: var(--gap-sm); }
.product-card__status { display: inline-block; padding: 6px 12px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; }
.status-available { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.status-beta { background: rgba(251,191,36,0.15); color: #facc15; border: 1px solid rgba(251,191,36,0.2); }
.status-coming-soon { background: rgba(99,102,241,0.15); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.2); }

/* PHILOSOPHY SECTION */
.philosophy-section { padding: var(--gap-xl) 0; text-align: center; }
.philosophy-section .section__head { margin-bottom: var(--gap-lg); }
.philosophy-flow { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: var(--gap-md); }
.flow-item { display: flex; flex-direction: column; align-items: center; }
.flow-icon { font-size: 48px; margin-bottom: 8px; }
.flow-text { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); }
.flow-arrow { font-size: 36px; color: var(--text-3); }
.philosophy-explanation { max-width: 800px; margin: 0 auto; font-size: 16px; color: var(--text-2); line-height: 1.7; }

/* WHY CHOOSE MASRI.CLOUD SECTION */
.why-choose-section { padding: var(--gap-xl) 0; background: var(--bg-2); }
.why-choose-section .section__head { margin-bottom: var(--gap-lg); }
.why-choose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--gap-md); }
.why-choose-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--gap-md); text-align: center; transition: all var(--t-mid) var(--ease); }
.why-choose-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--accent); }
.why-choose-icon { font-size: 40px; margin-bottom: var(--gap-sm); display: block; }
.why-choose-item h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.why-choose-item p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ROADMAP SECTION */
.roadmap-section { padding: var(--gap-xl) 0; }
.roadmap-section .section__head { margin-bottom: var(--gap-lg); }
.roadmap-timeline { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.timeline-year { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--gap-md); min-width: 280px; flex: 1; }
.timeline-year h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 20px; color: var(--primary); }
.timeline-year ul { list-style: none; padding: 0; margin: 0; }
.timeline-year li { font-size: 15px; color: var(--text-2); margin-bottom: 10px; position: relative; padding-left: 20px; }
.timeline-year li::before { content: '•'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.extension-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      rgba(30,41,59,.95),
      rgba(15,23,42,.98)
    );
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  color: #fff;
  max-width: 900px;
  margin: 40px auto;
}

.extension-icon {
  flex: 0 0 110px;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
}

.extension-icon img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.extension-content {
  flex: 1;
}

.extension-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  opacity: .65;
  margin-bottom: 8px;
}

.extension-content h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.extension-content p {
  margin: 0 0 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
}

.extension-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.extension-features span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  font-size: 13px;
}

.extension-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-extension,
.btn-extension-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.btn-extension {
  background: #fff;
  color: #0f172a;
}

.btn-extension-secondary {
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
}

.extension-content small {
  display: block;
  margin-top: 15px;
  opacity: .45;
}

@media (max-width: 650px) {
  .extension-card {
    flex-direction: column;
    text-align: center;
  }

  .extension-actions {
    justify-content: center;
  }

  .extension-features {
    justify-content: center;
  }
}
