/* ===================================================
   TIGER — main.css  |  Variables · Reset · Typography
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── Light Theme (default) ─────────────────────────── */
:root {
  --c-bg:          #ffffff;
  --c-bg2:         #f5f5f7;
  --c-bg3:         #ebebed;
  --c-surface:     rgba(0,0,0,0.03);
  --c-surface2:    rgba(0,0,0,0.06);
  --c-border:      rgba(0,0,0,0.09);
  --c-border2:     rgba(55,181,168,0.35);

  --c-accent:      #37b5a8;
  --c-accent2:     #2a9e92;
  --c-accent-dim:  rgba(55,181,168,0.1);
  --c-accent-glow: rgba(55,181,168,0.3);

  --c-wa:          #25D366;
  --c-wa-dark:     #1da851;
  --c-wa-dim:      rgba(37,211,102,0.1);

  --c-text:        #1a1a2e;
  --c-text2:       #555571;
  --c-text3:       #9999aa;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.1);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.14);
  --shadow-glow: 0 0 40px rgba(55,181,168,0.18);
  --shadow-wa:   0 4px 20px rgba(37,211,102,0.3);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.07);

  --nav-bg:        rgba(255,255,255,0.9);
  --nav-border:    rgba(0,0,0,0.08);
}

/* ── Dark Theme ────────────────────────────────────── */
[data-theme="dark"] {
  --c-bg:          #050507;
  --c-bg2:         #09090e;
  --c-bg3:         #0e0e16;
  --c-surface:     rgba(255,255,255,0.04);
  --c-surface2:    rgba(255,255,255,0.07);
  --c-border:      rgba(255,255,255,0.08);
  --c-border2:     rgba(55,181,168,0.25);

  --c-text:        #f0f0f8;
  --c-text2:       #9090a8;
  --c-text3:       #50505e;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(55,181,168,0.2);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);

  --nav-bg:        rgba(5,5,7,0.88);
  --nav-border:    rgba(255,255,255,0.07);
}

/* ── Shared ────────────────────────────────────────── */
:root {
  --f-head: 'Poppins', system-ui, sans-serif;
  --f-body: 'Poppins', system-ui, sans-serif;

  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  40px;
  --sp-2xl: 64px;
  --sp-3xl: 96px;

  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  --t-fast: 0.15s ease;
  --t-base: 0.25s cubic-bezier(0.4,0,0.2,1);
  --t-slow: 0.4s cubic-bezier(0.4,0,0.2,1);

  --max-w:  1320px;
  --nav-h:  68px;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-anchor: none; }

body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background var(--t-base), color var(--t-base);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

/* ── Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--c-bg2); }
::-webkit-scrollbar-thumb { background: var(--c-bg3); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--c-accent); }

/* ── Typography ─────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--f-head); line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }

.text-gradient {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--c-accent);
  display: inline-block; margin-bottom: 12px;
}

/* ── Layout ─────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-lg); }
.section { padding: var(--sp-3xl) 0; }
.section-sm { padding: var(--sp-2xl) 0; }
.section-header { text-align: center; margin-bottom: var(--sp-2xl); }
.section-title { font-size: clamp(26px, 3.5vw, 44px); margin-bottom: 12px; }
.section-desc { font-size: 16px; color: var(--c-text2); max-width: 480px; margin: 0 auto; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--c-border), transparent); }

/* ── Glass ──────────────────────────────────────────── */
.glass {
  background: var(--c-surface);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--c-border);
}
.glass-accent {
  background: var(--c-surface);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--c-border2);
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; border: none;
  border-radius: var(--r-full); font-family: var(--f-body);
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: var(--t-base); white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.07); opacity: 0; transition: opacity var(--t-fast); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent2));
  color: #0a2421;
  box-shadow: 0 4px 16px var(--c-accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--c-accent-glow); }

.btn-ghost {
  background: transparent; color: var(--c-text);
  border: 1.5px solid var(--c-border);
}
.btn-ghost:hover { border-color: var(--c-accent); color: var(--c-accent); background: var(--c-accent-dim); }

.btn-wa { background: var(--c-wa); color: #0a2010; box-shadow: var(--shadow-wa); }
.btn-wa:hover { background: var(--c-wa-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.45); }

.btn-wa-outline { background: transparent; color: var(--c-wa); border: 1.5px solid var(--c-wa); }
.btn-wa-outline:hover { background: var(--c-wa-dim); }

.btn-sm  { padding: 8px 16px; font-size: 13px; }
.btn-lg  { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; }

/* ── Badge ──────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--r-full); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.badge .ti { font-size: 13px; }
.badge-accent { background: var(--c-accent-dim); color: var(--c-accent); border: 1px solid rgba(55,181,168,0.3); }
.badge-wa { background: var(--c-wa-dim); color: var(--c-wa); border: 1px solid rgba(37,211,102,0.3); }
.badge-dark { background: var(--c-bg3); color: var(--c-text2); border: 1px solid var(--c-border); }

/* ── Loading / Empty ─────────────────────────────────── */
.loading-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 80px 20px; color: var(--c-text2); }
.spinner { width: 36px; height: 36px; border: 3px solid var(--c-border); border-top-color: var(--c-accent); border-radius: 50%; animation: spin 0.65s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .es-icon { font-size: 56px; opacity: 0.3; margin-bottom: 16px; }
.empty-state .es-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.empty-state .es-desc { font-size: 14px; color: var(--c-text2); }

/* ── Breadcrumb ─────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-text3); flex-wrap: wrap; }
.breadcrumb a { cursor: pointer; transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb .sep { opacity: 0.4; font-size: 10px; }
.breadcrumb .active { color: var(--c-text2); }

/* ── Utilities ──────────────────────────────────────── */
.text-accent { color: var(--c-accent); }
.text-muted  { color: var(--c-text2); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.hidden { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
