/* Fonts loaded via <link preload> in HTML for performance */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --bg: #0a0f1e;
  --bg-elevated: #111827;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-heading: #fff;
  --primary: #2563eb;
  --primary-light: #60a5fa;
  --accent: #3b82f6;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --radius: 12px;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --navbar-bg: rgba(10,15,30,0.6);
  --navbar-scrolled: rgba(10,15,30,0.92);
  --hero-fade: var(--bg);
  --shadow-card: rgba(0,0,0,0.35);
  --shadow-showcase: rgba(0,0,0,0.25);
  --cta-gradient: rgba(37,99,235,0.03);
  --google-btn-bg: rgba(255,255,255,0.04);
  --google-btn-hover: rgba(255,255,255,0.07);
}

[data-theme="light"] {
  --bg: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-card: rgba(0,0,0,0.02);
  --bg-card-hover: rgba(0,0,0,0.04);
  --text: #334155;
  --text-muted: #64748b;
  --text-heading: #0f172a;
  --primary: #2563eb;
  --primary-light: #2563eb;
  --accent: #3b82f6;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.15);
  --navbar-bg: rgba(248,250,252,0.7);
  --navbar-scrolled: rgba(255,255,255,0.92);
  --hero-fade: var(--bg);
  --shadow-card: rgba(0,0,0,0.08);
  --shadow-showcase: rgba(0,0,0,0.08);
  --cta-gradient: rgba(37,99,235,0.04);
  --google-btn-bg: rgba(0,0,0,0.03);
  --google-btn-hover: rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* Accessibility: visible focus outlines */
a:focus-visible, button:focus-visible, summary:focus-visible, details:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip to main content (accessibility) */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--primary); color: #fff;
  padding: 12px 24px; border-radius: 0 0 8px 8px;
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  z-index: 9999; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── Utility ─────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.text-accent {
  color: var(--primary-light);
}
.text-heading {
  color: var(--text-heading);
}

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  color: var(--primary-light);
  letter-spacing: 0.02em;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--primary-light);
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; line-height: 1.2;
  color: var(--text-heading);
}
.section-desc {
  font-size: 16px; color: var(--text-muted);
  max-width: 560px; margin: 0 auto; line-height: 1.75;
}

/* ─── Navbar ──────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: var(--navbar-scrolled);
  box-shadow: 0 1px 30px rgba(0,0,0,0.2);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 36px; width: 36px; border-radius: 10px; }
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s;
  padding: 8px 4px; /* Improve touch target */
}
.nav-links a:hover { color: var(--text-heading); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ─── Theme Toggle ────────────────────── */
.theme-toggle {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg-elevated); border: 1px solid var(--border-hover);
  color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease; position: relative; cursor: pointer; z-index: 10;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--text-heading); border-color: var(--primary); background: var(--bg-card-hover); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ─── Buttons ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; cursor: pointer;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  border: none; transition: all 0.2s ease; text-decoration: none;
  min-height: 44px; /* Minimum touch target */
}
.btn-ghost {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text-heading); border-color: var(--border-hover); background: var(--bg-card-hover); }
.btn-primary {
  background: var(--primary); color: #fff;
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }

/* ─── Mobile menu ─────────────────────── */
.mobile-menu-btn {
  display: none; background: none; border: none; color: var(--text-heading);
  padding: 8px; min-width: 44px; min-height: 44px; /* Touch target */
}
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--navbar-scrolled); backdrop-filter: blur(20px);
  padding: 100px 24px 40px; flex-direction: column; align-items: center; gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text);
  padding: 8px 16px; /* Touch-friendly */
  min-height: 44px; display: flex; align-items: center;
}

/* ─── Hero ────────────────────────────── */
.hero {
  position: relative; padding: 120px 0 48px; text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
/* Subtle grid dot pattern instead of generic radial blob */
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(148,163,184,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-bg::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800; line-height: 1.08;
  color: var(--text-heading);
  margin-bottom: 20px;
}
.hero p {
  font-size: clamp(15px, 1.8vw, 18px); color: var(--text-muted);
  max-width: 580px; margin: 0 auto 36px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-social-proof {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin-top: 24px; flex-wrap: wrap;
}
.hero-social-proof .proof-item {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; color: var(--text-muted);
}
.hero-social-proof .proof-number {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  color: var(--primary);
}
.hero-social-proof .proof-divider {
  width: 1px; height: 24px; background: var(--border);
}
.hero-image {
  margin-top: 60px; position: relative;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px var(--shadow-card);
}
.hero-image img { width: 100%; }
.hero-image::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 70%, var(--bg) 100%);
}

/* ─── Mascot Trio Background ─────────── */
.hero-mascots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
}
[data-theme="light"] .hero-mascots {
  opacity: 0.18;
}
.mascot-doodles {
  opacity: 0.6;
}

/* Each mascot floats on a different phase */
@keyframes mascot-float-1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes mascot-float-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes mascot-float-3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
.mascot-pink {
  animation: mascot-float-1 5s ease-in-out infinite;
}
.mascot-mint {
  animation: mascot-float-2 4.2s ease-in-out infinite;
  animation-delay: -1.5s;
}
.mascot-yellow {
  animation: mascot-float-3 4.8s ease-in-out infinite;
  animation-delay: -3s;
}

/* Hide mascots on small screens where they'd be too cluttered */
@media (max-width: 768px) {
  .hero-mascots { display: none; }
}

/* ─── Belief Statement ────────────────── */
.belief-section { padding: 56px 0; }
.belief-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center;
}
.belief-image {
  position: relative; display: flex; align-items: center; justify-content: center;
}
/* Soft radial glow behind the person */
.belief-blob {
  position: absolute; width: 80%; height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  z-index: 0;
}
.belief-image img {
  position: relative; z-index: 1;
  width: 85%; max-width: 340px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.08));
}
.belief-content { }
.belief-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 800; line-height: 1.35;
  color: var(--text-heading);
  margin: 0 0 20px;
  padding-left: 20px;
  border-left: 3px solid var(--primary);
}
.belief-text {
  font-size: 15px; color: var(--text-muted); line-height: 1.75;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .belief-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .belief-quote { border-left: none; padding-left: 0; border-top: 3px solid var(--primary); padding-top: 16px; }
  .belief-image img { width: 55%; max-width: 260px; }
  .belief-blob { width: 60%; height: 60%; }
}

/* ─── Trusted ─────────────────────────── */
.trusted {
  padding: 36px 0 24px; text-align: center;
  border-bottom: 1px solid var(--border);
}
.trusted p {
  font-family: var(--font-body);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 24px; font-weight: 500;
}
.trusted-logos { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; align-items: center; }
.trusted-logos img {
  height: 80px; width: auto; object-fit: contain;
  filter: grayscale(100%); opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}
.trusted-logos img:hover { filter: grayscale(0%); opacity: 1; }

/* ─── Features ────────────────────────── */
.features { padding: 56px 0; }
.features-header { text-align: center; margin-bottom: 36px; }
.features-header .section-tag { margin-bottom: 14px; }
.features-header .section-desc { margin-top: 14px; }

/* Tool Chaos Strip — recognizable app icons */
.tool-chaos {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; margin-top: 28px; flex-wrap: wrap;
}
.tool-chaos .tool-icon {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0.5; transition: opacity 0.2s;
}
.tool-chaos .tool-icon:hover { opacity: 0.8; }
.tool-chaos .tool-icon svg {
  width: 32px; height: 32px; color: var(--text-muted);
}
.tool-chaos .tool-icon span {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  font-family: var(--font-body);
}
@media (max-width: 768px) {
  .tool-chaos { gap: 20px; }
  .tool-chaos .tool-icon svg { width: 24px; height: 24px; }
  .tool-chaos .tool-icon span { font-size: 10px; }
}

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px;
}
.feature-card {
  padding: 0;
  background: none; border: none;
  position: relative;
}
.feature-card:hover .feature-icon svg {
  transform: scale(1.1);
}
.feature-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  background: none; border-radius: 0;
}
.feature-icon svg { width: 28px; height: 28px; transition: transform 0.2s ease; }
.feature-icon.blue { color: #2563eb; }
.feature-icon.indigo { color: #6366f1; }
.feature-icon.teal { color: #14b8a6; }
.feature-icon.amber { color: #d97706; }
.feature-icon.emerald { color: #10b981; }
.feature-icon.sky { color: #0ea5e9; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text-heading);
}
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* Pain-point card variant */
.feature-card.pain .feature-icon { color: #ef4444; }
.feature-icon.red { color: #ef4444; }

/* Solution card variant — no special styling needed */
.feature-card.solution { }

/* Card label badge — hidden for seamless look */
.card-label { display: none; }

/* Mascot Transition (Pain → Solution) */
.mascot-transition {
  text-align: center; padding: 32px 0;
}
.mascot-intro {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.mascot-characters {
  display: flex; align-items: flex-end; justify-content: center; gap: 12px;
}
.mascot-char {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  animation: mascot-bounce 2.5s ease-in-out infinite;
}
.mascot-char:nth-child(1) { animation-delay: 0s; }
.mascot-char:nth-child(2) { animation-delay: 0.3s; }
.mascot-char:nth-child(3) { animation-delay: 0.6s; }
.mascot-char svg { width: 80px; height: 80px; }
.mascot-name {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.02em;
}
.mascot-speech-block {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.mascot-intro-text {
  font-family: var(--font-body); font-size: 14px; color: var(--text-muted);
}
.mascot-intro-text strong { color: var(--text-heading); }
.mascot-group, .mascot-cta {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.mascot-mini {
  width: 120px; height: 100px;
  animation: mascot-bounce 2s ease-in-out infinite;
}
.mascot-speech {
  position: relative;
  background: var(--bg-card, #fff); border: 1px solid var(--border);
  border-radius: 20px; padding: 12px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.mascot-speech::before {
  content: ''; position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-bottom: 8px solid var(--border);
}
.mascot-speech::after {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 7px solid transparent; border-right: 7px solid transparent;
  border-bottom: 7px solid var(--bg-card, #fff);
}
.mascot-speech span {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--text-heading);
}
.mascot-cta { margin-bottom: 20px; }
@keyframes mascot-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 768px) {
  .mascot-char svg { width: 56px; height: 56px; }
  .mascot-name { font-size: 10px; }
  .mascot-speech span { font-size: 13px; }
}

/* ─── Showcase ────────────────────────── */
.showcase { padding: 56px 0; }
.showcase-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  margin-bottom: 40px;
}
.showcase-block:nth-child(even) { direction: rtl; }
.showcase-block:nth-child(even) > * { direction: ltr; }
.showcase-content .section-tag { margin-bottom: 14px; }
.showcase-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px); font-weight: 800;
  line-height: 1.2; margin-bottom: 14px; color: var(--text-heading);
}
.showcase-content p { color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; font-size: 15px; }
.showcase-visual {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2px; overflow: hidden;
  box-shadow: 0 16px 48px var(--shadow-showcase);
}
.showcase-visual img { border-radius: 14px; width: 100%; }
.showcase-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.showcase-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-muted);
}
.showcase-list li::before {
  content: '✓'; display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 6px;
  background: rgba(37,99,235,0.1); color: var(--primary-light);
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}

/* Callout Bubbles on Screenshots */
.showcase-visual { position: relative; }
.callout {
  position: absolute; z-index: 2;
  padding: 8px 14px; border-radius: 10px;
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  color: #fff; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  animation: callout-float 3s ease-in-out infinite;
}
.callout::after {
  content: ''; position: absolute;
  width: 0; height: 0;
  border: 6px solid transparent;
}
.callout-blue { background: #2563eb; }
.callout-green { background: #16a34a; }
.callout-pink { background: #db2777; }
.callout-amber { background: #d97706; }
.callout-purple { background: #7c3aed; }
.callout-1 { top: 15%; left: -10px; }
.callout-1::after { right: -10px; top: 50%; transform: translateY(-50%); border-left-color: inherit; }
.callout-2 { top: 45%; right: -10px; }
.callout-2::after { left: -10px; top: 50%; transform: translateY(-50%); border-right-color: inherit; }
.callout-3 { bottom: 20%; left: 10%; }
.callout-3::after { top: -10px; left: 20px; border-bottom-color: inherit; }
.callout-4 { top: 10%; right: 10%; }
.callout-4::after { bottom: -10px; right: 20px; border-top-color: inherit; }
@keyframes callout-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (max-width: 768px) {
  .callout { display: none; }
}

/* ─── Stats ───────────────────────────── */
.stats {
  padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 44px); font-weight: 800;
  color: var(--primary-light);
}
.stat-item p { font-size: 13px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ─── Pricing ─────────────────────────── */
.pricing { padding: 56px 0; }
.pricing-header { text-align: center; margin-bottom: 36px; }
.pricing-header .section-desc { margin-top: 14px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; position: relative;
  transition: all 0.25s ease;
  display: flex; flex-direction: column;
}
.price-card.popular {
  border-color: rgba(37,99,235,0.3);
  background: rgba(37,99,235,0.04);
}
.price-card.popular::before {
  content: 'Populer'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 6px;
  background: var(--primary); color: #fff;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.price-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--text-heading); }
.price-card .price-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.price-amount {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 800; margin-bottom: 4px; color: var(--text-heading);
}
.price-amount span { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.price-period { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.price-features { list-style: none; margin-bottom: 20px; display: flex; flex-direction: column; gap: 0; }
.price-features li { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.price-features li::before {
  content: '✓'; color: var(--primary-light); font-weight: 700; font-size: 12px;
}
.price-card .btn { width: 100%; margin-top: auto; }

/* ─── CTA ─────────────────────────────── */
.cta {
  padding: 48px 0; text-align: center; position: relative;
  background: linear-gradient(180deg, transparent 0%, var(--cta-gradient) 50%, transparent 100%);
}
.cta .container { position: relative; z-index: 1; }
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 44px); font-weight: 800;
  line-height: 1.15; margin-bottom: 14px; color: var(--text-heading);
}
.cta p { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Sign-In Section ─────────────────── */
.signin-section { padding: 80px 0; }
.signin-card {
  max-width: 420px; margin: 0 auto;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px;
  box-shadow: 0 16px 48px var(--shadow-showcase);
  text-align: center; position: relative; overflow: hidden;
}
.signin-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--primary);
}
.signin-card .logo-wrap { margin-bottom: 20px; }
.signin-card .logo-wrap img { width: 52px; height: 52px; border-radius: 12px; margin: 0 auto; }
.signin-card h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800; margin-bottom: 6px; color: var(--text-heading);
}
.signin-card .subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

.btn-google {
  width: 100%; padding: 12px; border-radius: 8px;
  background: var(--google-btn-bg); border: 1px solid var(--border);
  color: var(--text); font-size: 14px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.2s;
}
.btn-google:hover { background: var(--google-btn-hover); border-color: var(--border-hover); }
.btn-google svg { width: 18px; height: 18px; }
.signin-footer { margin-top: 20px; font-size: 13px; color: var(--text-muted); }
.signin-footer a { color: var(--primary-light); font-weight: 600; }
.signin-footer a:hover { text-decoration: underline; }
.signin-links {
  margin-top: 16px; display: flex; justify-content: center; gap: 24px;
  font-size: 13px;
}
.signin-links a { color: var(--text-muted); transition: color 0.2s; }
.signin-links a:hover { color: var(--text-heading); }

/* ─── Footer ──────────────────────────── */
.mobile-daftar-btn { margin-top: 16px; }
.btn-starter { background: #16a34a; border-color: #16a34a; }
.btn-starter:hover { background: #15803d; }
.btn-enterprise { background: #334155; border-color: #334155; }
.btn-enterprise:hover { background: #1e293b; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.social-icon {
  color: var(--text-muted); transition: color 0.2s;
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; /* Touch target */
  border-radius: 8px;
}
.social-icon:hover { color: var(--text-heading); }
.footer-domains { font-size: 12px; color: var(--text-muted); }
.faq-grid { max-width: 800px; margin: 0 auto; }
.footer {
  padding: 40px 0 24px; border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 36px;
  margin-bottom: 32px;
}
.footer-brand img { height: 36px; width: 36px; border-radius: 10px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 260px; }
.footer-heading, .footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--text);
  display: block;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text-muted);
  margin-bottom: 4px; transition: color 0.2s;
  padding: 6px 0; /* Increase touch target height */
}
.footer-col a:hover { color: var(--text-heading); }
.footer-bottom {
  padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted);
}

/* ─── Animations ──────────────────────── */
.fade-up {
  opacity: 0.3; transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Transition delay utilities (replace inline styles) */
.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.1s; }
.delay-3 { transition-delay: 0.15s; }
.delay-4 { transition-delay: 0.2s; }
.delay-5 { transition-delay: 0.25s; }
.delay-6 { transition-delay: 0.3s; }
.delay-7 { transition-delay: 0.35s; }
.delay-8 { transition-delay: 0.4s; }
.delay-9 { transition-delay: 0.45s; }
.delay-10 { transition-delay: 0.5s; }
.delay-11 { transition-delay: 0.55s; }

/* All-feature name (semantic replacement for h4) */
.all-feature-name {
  display: block;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

/* Article card title (dynamically generated) */
.article-card-title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px;
  line-height: 1.4; color: var(--text-heading);
  margin-bottom: 6px;
}

/* Articles "see more" button container */
.articles-more {
  display: none; text-align: center; margin-top: 32px;
}

/* ─── Responsive ──────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-block { grid-template-columns: 1fr; gap: 40px; }
  .showcase-block:nth-child(even) { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* Navbar */
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-actions .btn-ghost,
  .nav-actions .btn-primary { display: none; }
  .nav-actions { gap: 8px; }

  /* Hero */
  .hero { padding: 100px 0 32px; }
  .hero h1 { font-size: clamp(28px, 7vw, 40px); margin-bottom: 14px; }
  .hero p { font-size: 14px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 10px; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .hero-social-proof { gap: 12px; margin-top: 20px; }
  .hero-social-proof .proof-item { font-size: 12px; gap: 6px; }
  .hero-social-proof .proof-number { font-size: 16px; }
  .hero-social-proof .proof-divider { height: 20px; }
  .hero-image { margin-top: 36px; border-radius: 12px; }

  /* Sections */
  .section-title { font-size: clamp(22px, 5vw, 32px); }
  .section-desc { font-size: 14px; }
  .features { padding: 40px 0; }
  .features-header { margin-bottom: 24px; }

  /* Feature Cards — 1 column on mobile */
  .features-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Showcase */
  .showcase { padding: 40px 0; }
  .showcase-block { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .showcase-block:nth-child(even) { direction: ltr; }
  .showcase-content h2 { font-size: clamp(20px, 5vw, 28px); }
  .showcase-content p { font-size: 14px; }

  /* Stats */
  .stats { padding: 32px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-number { font-size: clamp(24px, 6vw, 36px); }

  /* Pricing */
  .pricing { padding: 40px 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; gap: 16px; }
  .price-amount { font-size: 28px; }

  /* CTA */
  .cta { padding: 36px 0; }
  .cta h2 { font-size: clamp(22px, 5vw, 32px); }
  .cta p { font-size: 14px; }
  .cta-actions { flex-direction: column; align-items: center; gap: 10px; }
  .cta-actions .btn { width: 100%; max-width: 320px; }

  /* Belief */
  .belief-section { padding: 36px 0; }

  /* Trusted */
  .trusted-logos { gap: 24px; }
  .trusted-logos img { height: 48px; }

  /* All Features */
  .all-features-grid { grid-template-columns: 1fr; }

  /* Articles */
  .articles-section { padding: 40px 0; }
  .articles-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }

  /* Footer */
  .footer { padding: 32px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* FAQ */
  .faq-item summary { padding: 14px 16px; font-size: 14px; }
  .faq-item p { padding: 0 16px 16px; font-size: 13px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 13px; }
  .hero-social-proof { flex-wrap: wrap; justify-content: center; }
  .hero-social-proof .proof-divider:last-of-type { display: none; }
  .hero-social-proof .proof-item { font-size: 11px; }
  .hero-social-proof .proof-number { font-size: 15px; }
  .section-title { font-size: 22px; }
  .section-desc { font-size: 13px; }
  .all-features-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 16px; }
  .stat-number { font-size: 24px; }
  .price-amount { font-size: 24px; }
  .tool-chaos { gap: 16px; }
  .mascot-char svg { width: 48px; height: 48px; }
  .mascot-speech span { font-size: 12px; }
  .showcase-content h2 { font-size: 20px; }
  .signup-modal { padding: 28px 20px; }
  .trusted-logos img { height: 36px; }
  .trusted-logos { gap: 16px; }
}

/* ═══ SIGNUP MODAL ═══ */
.signup-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 24px;
}
.signup-modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
.signup-modal {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 16px; max-width: 440px; width: 100%;
  padding: 40px 32px; position: relative; text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.signup-modal-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  color: var(--text-muted); font-size: 24px; cursor: pointer; line-height: 1;
}
.signup-modal-close:hover { color: var(--text-heading); }
.signup-modal-icon { margin-bottom: 16px; color: var(--primary); }
.signup-modal h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 8px;
}
.signup-modal > p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
.signup-modal-perks {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 16px; text-align: left; margin-bottom: 24px; font-size: 0.85rem; color: var(--text);
}
.signup-modal-perks li { padding-left: 0; }
.signup-modal-actions { display: flex; flex-direction: column; gap: 10px; }
.signup-modal-actions .btn { width: 100%; justify-content: center; font-size: 0.9rem; padding: 12px 20px; }
.signup-modal-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 16px; }
.signup-modal-note a { color: var(--primary); text-decoration: underline; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ═══ ALL FEATURES GRID ═══ */
.all-features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 36px; margin-top: 36px;
}
.all-feature-item {
  padding: 0;
  background: none; border: none;
}
.all-feature-item:hover .all-feature-icon svg { transform: scale(1.1); }
.all-feature-icon {
  width: 32px; height: 32px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 12px;
  background: none; border-radius: 0;
}
.all-feature-icon svg { width: 26px; height: 26px; transition: transform 0.2s ease; }
.all-feature-icon.blue { color: #2563eb; }
.all-feature-icon.teal { color: #14b8a6; }
.all-feature-icon.indigo { color: #6366f1; }
.all-feature-icon.amber { color: #d97706; }
.all-feature-icon.emerald { color: #10b981; }
.all-feature-icon.sky { color: #0ea5e9; }
.all-feature-icon.red { color: #ef4444; }
.all-feature-item h4 {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 6px;
}
.all-feature-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ═══ ARTICLES ═══ */
.articles-section { padding: 56px 0; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.article-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.3s ease; cursor: pointer; text-decoration: none; color: inherit;
}
.article-card:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-3px); }
.article-card-img { width: 100%; height: 180px; object-fit: cover; }
.article-card-body { padding: 20px; }
.article-card-category {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--primary); margin-bottom: 8px;
}
.article-card-title {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  color: var(--text-heading); margin-bottom: 8px; line-height: 1.4;
}
.article-card-excerpt { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.article-card-meta { font-size: 0.75rem; color: var(--text-muted); }
.article-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 1rem; grid-column: 1 / -1; }

@media (max-width: 1024px) {
  .all-features-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .all-features-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .signup-modal-perks { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .all-features-grid { grid-template-columns: 1fr; }
}

/* ─── FAQ ────────────────────────────── */
.faq-grid { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg-card); overflow: hidden;
  transition: all 0.2s ease;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item[open] { border-color: var(--primary); background: var(--bg-card-hover); }
.faq-item summary {
  padding: 20px 24px; cursor: pointer; font-weight: 600;
  font-family: var(--font-display); font-size: 15px;
  color: var(--text-heading); list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 20px; font-weight: 400;
  color: var(--text-muted); transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; color: var(--primary); }
.faq-item p {
  padding: 0 24px 20px; font-size: 14px; line-height: 1.7;
  color: var(--text); margin: 0;
}

/* ═══ INSIGHT PAGE ═══ */
.insight-page {
  padding: 100px 0 60px;
  min-height: 100vh;
}
.insight-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

/* ─── Sidebar ─────────────────────────── */
.insight-sidebar {
  position: sticky;
  top: 100px;
}
.insight-sidebar-header {
  margin-bottom: 24px;
}
.insight-sidebar-header h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 4px;
}
.insight-sidebar-header p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.insight-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.insight-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid transparent;
  user-select: none;
}
.insight-cat-item:hover {
  background: var(--bg-card-hover);
  color: var(--text-heading);
  border-color: var(--border);
}
.insight-cat-item.active {
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  border-color: rgba(37,99,235,0.15);
  font-weight: 600;
}
.insight-cat-item .cat-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.insight-cat-item .cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}
.insight-cat-item.active .cat-dot {
  opacity: 1;
  background: var(--primary);
}
.insight-cat-count {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text-muted);
  min-width: 24px;
  text-align: center;
}
.insight-cat-item.active .insight-cat-count {
  background: rgba(37,99,235,0.12);
  color: var(--primary);
}

/* ─── Main Content ────────────────────── */
.insight-main {
  min-width: 0;
}

/* Featured Article */
.insight-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.insight-featured:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--shadow-card);
}
.insight-featured-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.insight-featured-body {
  padding: 28px 28px 28px 0;
}
.insight-featured-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(37,99,235,0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.insight-featured-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-heading);
  margin-bottom: 10px;
}
.insight-featured-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-featured-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.insight-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

/* Filter Header */
.insight-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.insight-filter-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
}
.insight-filter-count {
  font-size: 13px;
  color: var(--text-muted);
}

/* Article Grid */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.insight-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow-card);
}
.insight-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.insight-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.insight-card-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 8px;
}
.insight-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.insight-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
}

/* ─── Popular Section ─────────────────── */
.insight-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.insight-section-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-heading);
}
.insight-section-header .section-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  flex-shrink: 0;
}
.insight-popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.insight-popular-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  align-items: start;
}
.insight-popular-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.insight-popular-rank {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  min-width: 28px;
}
.insight-popular-card:nth-child(1) .insight-popular-rank { opacity: 0.7; }
.insight-popular-card:nth-child(2) .insight-popular-rank { opacity: 0.5; }
.insight-popular-card:nth-child(3) .insight-popular-rank { opacity: 0.4; }
.insight-popular-info {
  min-width: 0;
}
.insight-popular-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 4px;
}
.insight-popular-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-popular-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* ─── Others Section ──────────────────── */
.insight-others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ─── Empty State ─────────────────────── */
.insight-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}
.insight-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}
.insight-empty p {
  font-size: 15px;
  margin-bottom: 4px;
}
.insight-empty span {
  font-size: 13px;
  opacity: 0.7;
}

/* ─── Responsive ──────────────────────── */
@media (max-width: 1024px) {
  .insight-layout {
    grid-template-columns: 220px 1fr;
    gap: 28px;
  }
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insight-popular-grid {
    grid-template-columns: 1fr 1fr;
  }
  .insight-others-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .insight-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .insight-sidebar {
    position: static;
  }
  .insight-cat-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .insight-cat-item {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 13px;
  }
  .insight-featured {
    grid-template-columns: 1fr;
  }
  .insight-featured-img {
    height: 200px;
  }
  .insight-featured-body {
    padding: 20px;
  }
  .insight-grid {
    grid-template-columns: 1fr;
  }
  .insight-popular-grid {
    grid-template-columns: 1fr;
  }
  .insight-others-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══ HARGA PAGE ═══ */

/* -- Pain Opener -- */
.harga-pain {
  padding: 140px 24px 60px;
}
.harga-pain-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.harga-pain-content {}
.harga-pain-content h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  line-height: 1.15; color: var(--text-heading); margin-bottom: 20px;
}
.harga-pain-content p {
  font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px;
}
.harga-pain-content p strong { color: var(--text-heading); }
.harga-pain-img {
  display: flex; align-items: center; justify-content: center;
}
.harga-pain-img img {
  width: 90%; max-width: 400px; border-radius: 16px;
  object-fit: cover;
}

/* -- Data Section -- */
.harga-data {
  padding: 64px 24px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
}
.harga-data-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.harga-data h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; line-height: 1.2;
  margin-bottom: 16px;
}
.harga-data .data-desc {
  font-size: 15px; opacity: 0.85; line-height: 1.7;
}
.stat-bubbles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.stat-bubble {
  background: rgba(255,255,255,0.95); color: #1e293b;
  border-radius: 16px; padding: 24px 20px; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.stat-bubble:hover { transform: translateY(-4px); }
.stat-bubble .stat-num {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: #1e3a8a;
  display: block; margin-bottom: 4px;
}
.stat-bubble .stat-label {
  font-size: 13px; color: #64748b; line-height: 1.5;
}

/* -- Competitor VS -- */
.harga-vs {
  padding: 64px 24px;
}
.harga-vs-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center;
  max-width: 1000px; margin: 0 auto;
}
.vs-side {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; text-align: center;
}
.vs-side h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; color: var(--text-heading); margin-bottom: 12px;
}
.vs-side .vs-price {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 6px;
}
.vs-side .vs-note {
  font-size: 13px; color: var(--text-muted);
}
.vs-tool-logos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-bottom: 16px;
}
.vs-tool-logo {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin: 0 auto;
}
.vs-badge {
  width: 60px; height: 60px; border-radius: 50%;
  background: #ef4444; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px; font-weight: 800;
  box-shadow: 0 4px 16px rgba(239,68,68,0.3);
  flex-shrink: 0;
}
.vs-left .vs-price { color: var(--text-heading); }
.vs-right { background: #fef3c7; border-color: #fbbf24; }
.vs-right .vs-price { color: #92400e; }
[data-theme="light"] .vs-right { background: #fef3c7; }

/* -- NexFlow Value -- */
.harga-value {
  padding: 64px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.harga-value-inner {
  max-width: 1100px; margin: 0 auto; text-align: center;
}
.harga-value h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 38px); font-weight: 800;
  color: var(--text-heading); margin-bottom: 8px;
}
.harga-value .value-sub {
  font-size: 15px; color: var(--text-muted); margin-bottom: 32px;
}
.feature-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 36px;
}
.feature-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px;
  background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.15);
  font-size: 13px; font-weight: 600; color: var(--primary);
  font-family: var(--font-display);
}
.feature-badge::before {
  content: '✅'; font-size: 14px;
}
.value-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 800px; margin: 0 auto;
}
.value-compare-left, .value-compare-right {
  border-radius: 16px; padding: 28px; text-align: center;
}
.value-compare-left {
  background: var(--bg-elevated); border: 1px solid var(--border);
}
.value-compare-right {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff; border: 1px solid transparent;
}
.value-compare h4 {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  margin-bottom: 12px;
}
.value-compare-left h4 { color: var(--text-muted); }
.value-compare-right h4 { color: rgba(255,255,255,0.7); }
.value-stack {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px;
}
.value-stack-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; border-radius: 8px;
  background: var(--bg-card); font-size: 13px;
}
.value-stack-item .tool-name { color: var(--text-muted); }
.value-stack-item .tool-price {
  font-family: var(--font-display); font-weight: 700; color: var(--text-heading);
}
.value-total {
  font-family: var(--font-display); font-size: 14px; color: var(--text-muted);
}
.value-total strong { color: var(--text-heading); font-size: 18px; }
.value-nexflow-price {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  margin: 12px 0 4px;
}
.value-nexflow-note {
  font-size: 14px; opacity: 0.8;
}
.value-nexflow-sub {
  font-size: 12px; opacity: 0.6; margin-top: 4px;
}

/* -- Pricing Cards Section -- */
.harga-plans {
  padding: 64px 24px;
}
.harga-plans-inner {
  max-width: 1100px; margin: 0 auto;
}
.harga-plans-header {
  text-align: center; margin-bottom: 36px;
}
.harga-plans-header h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; color: var(--text-heading);
  margin-bottom: 8px;
}
.harga-plans-header p {
  font-size: 15px; color: var(--text-muted);
}

/* Billing Toggle */
.billing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 36px;
}
.billing-toggle span {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s;
}
.billing-toggle span.active { color: var(--text-heading); font-weight: 600; }
.toggle-switch {
  width: 48px; height: 26px; border-radius: 13px;
  background: var(--border); position: relative; cursor: pointer;
  transition: background 0.3s; border: none;
}
.toggle-switch.active { background: var(--primary); }
.toggle-switch::after {
  content: ''; position: absolute;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px;
  transition: transform 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-switch.active::after { transform: translateX(22px); }
.billing-save {
  font-size: 11px; font-weight: 700; color: #fff;
  background: #16a34a; padding: 3px 8px; border-radius: 4px;
  font-family: var(--font-display);
}

/* Pricing Grid */
.harga-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.harga-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; position: relative;
  display: flex; flex-direction: column;
  transition: all 0.3s;
}
.harga-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.harga-card.featured {
  border-color: rgba(37,99,235,0.35);
  background: rgba(37,99,235,0.04);
  box-shadow: 0 8px 32px rgba(37,99,235,0.1);
}
.harga-card.featured::before {
  content: '⭐ POPULER'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 16px; border-radius: 20px;
  font-family: var(--font-display); letter-spacing: 0.04em;
}
.harga-card-top {
  height: 3px; border-radius: 2px; margin-bottom: 20px;
}
.harga-card h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 4px;
}
.harga-card .card-desc {
  font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5;
}
.harga-card .card-price {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800; color: var(--text-heading);
  margin-bottom: 2px; transition: all 0.3s;
}
.harga-card .card-price span {
  font-size: 14px; font-weight: 400; color: var(--text-muted);
}
.harga-card .card-period {
  font-size: 12px; color: var(--text-muted); margin-bottom: 20px;
}
.harga-card ul {
  list-style: none; margin-bottom: 24px; flex: 1;
}
.harga-card li {
  font-size: 14px; color: var(--text); padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.harga-card li::before {
  content: '✓'; color: var(--primary); font-weight: 700; font-size: 13px;
}
.harga-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* -- Trust Strip -- */
.harga-trust {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.harga-trust-inner {
  max-width: 1000px; margin: 0 auto;
  text-align: center;
}
.harga-trust h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; color: var(--text-heading);
  margin-bottom: 24px;
}
.trust-items {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 12px;
}
.trust-item .trust-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(37,99,235,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.trust-item p {
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
}

/* -- Harga FAQ -- */
.harga-faq {
  padding: 64px 24px;
}
.harga-faq-inner {
  max-width: 720px; margin: 0 auto;
}
.harga-faq h2 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700; color: var(--text-heading);
  text-align: center; margin-bottom: 28px;
}

/* -- Harga CTA Bottom -- */
.harga-cta {
  padding: 56px 24px; text-align: center;
  background: linear-gradient(180deg, transparent 0%, var(--cta-gradient) 50%, transparent 100%);
}
.harga-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px); font-weight: 800;
  color: var(--text-heading); margin-bottom: 12px;
}
.harga-cta p {
  font-size: 15px; color: var(--text-muted); margin-bottom: 28px;
  max-width: 460px; margin-left: auto; margin-right: auto;
}
.harga-cta-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* Harga Responsive */
@media (max-width: 1024px) {
  .harga-vs-inner { grid-template-columns: 1fr; gap: 20px; }
  .vs-badge { margin: 0 auto; }
  .value-compare { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .harga-pain { padding: 110px 16px 40px; }
  .harga-pain-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .harga-pain-img { order: -1; }
  .harga-pain-img img { width: 60%; max-width: 240px; }
  .harga-data { padding: 40px 16px; }
  .harga-data-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .stat-bubbles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .harga-vs { padding: 40px 16px; }
  .harga-vs-inner { grid-template-columns: 1fr; }
  .harga-value { padding: 40px 16px; }
  .feature-badges { gap: 8px; }
  .feature-badge { font-size: 12px; padding: 6px 12px; }
  .harga-plans { padding: 40px 16px; }
  .harga-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .harga-trust { padding: 36px 16px; }
  .trust-items { grid-template-columns: 1fr 1fr; gap: 12px; }
  .harga-faq { padding: 40px 16px; }
  .harga-cta { padding: 40px 16px; }
  .harga-cta-actions { flex-direction: column; align-items: center; }
  .harga-cta-actions .btn { width: 100%; max-width: 320px; }
}
@media (max-width: 480px) {
  .stat-bubbles { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: 1fr; }
  .harga-pain-content h1 { font-size: 24px; }
}

/* ─── Cookie Notice Banner ────────────── */
.cookie-notice {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  padding: 0 24px 24px;
  pointer-events: none;
  transform: translateY(100%);
  animation: cookie-slide-up 0.5s ease-out 1s forwards;
}
.cookie-notice.hidden { display: none; }
.cookie-notice-inner {
  pointer-events: auto;
  max-width: 540px; margin: 0 auto;
  background: var(--bg-elevated, #111827);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 16px;
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.04) inset;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
[data-theme="light"] .cookie-notice-inner {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.06) inset;
}
.cookie-notice-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37,99,235,0.1); border-radius: 10px;
  font-size: 22px;
}
.cookie-notice-text {
  flex: 1; font-size: 13px; line-height: 1.5;
  color: var(--text-muted, #94a3b8);
}
.cookie-notice-text a {
  color: var(--primary-light, #60a5fa); text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-notice-text a:hover { opacity: 0.8; }
.cookie-notice-btn {
  flex-shrink: 0;
  padding: 10px 20px; border-radius: 10px; border: none;
  background: var(--primary, #2563eb); color: #fff;
  font-family: var(--font-display, sans-serif);
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.cookie-notice-btn:hover { background: #1d4ed8; transform: translateY(-1px); }
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 480px) {
  .cookie-notice { padding: 0 12px 12px; }
  .cookie-notice-inner { flex-direction: column; text-align: center; gap: 12px; padding: 16px; }
  .cookie-notice-icon { margin: 0 auto; }
}
