/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #d0d0e0;
  line-height: 1.6;
  background: #0f0e2a;
}
a { color: inherit; text-decoration: none; }
a.btn-primary, a.btn-cari, a.btn-wa { color: #fff; }
a.btn-outline { color: #c98aff; }
a.btn-outline:hover { color: #fff; }
img, svg { max-width: 100%; height: auto; }

/* ── Layout ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt {
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(130,58,188,0.1) 0%, transparent 70%),
    #16143a;
}

/* ── Typography ── */
h1, h2, h3 { font-family: 'DM Sans', 'Roboto', sans-serif; }
h1 { font-size: 3rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
h2 { font-size: 2rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: #fff; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.35; color: #fff; }
.subhead { font-size: 1.25rem; color: #a0a0c0; line-height: 1.5; }
.label {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 8px;
  background: linear-gradient(90deg, #f77f00, #ED45BE, #823ABC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,14,42,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}
nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.nav-logo .nav-icon-wrap { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.nav-logo .nav-icon-wrap img { width: 22px; height: 22px; }
.nav-logo .nav-name {
  background: linear-gradient(135deg, #f77f00 0%, #ED45BE 50%, #823ABC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo .nav-subtitle { font-size: 0.8rem; font-weight: 400; color: #6a6a8a; transition: color 0.2s; }
.nav-logo a.nav-subtitle:hover { color: #c98aff; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 0.9rem; color: #a0a0c0; transition: color 0.2s; }
.nav-links a:hover { color: #c98aff; }
.nav-links a.btn-primary, .nav-links a.btn-cari, .nav-links a.btn-wa { color: #fff; }

/* ── Language Dropdown ── */
.lang-dropdown { position: relative; cursor: pointer; }
.lang-dropdown .lang-current {
  font-size: 0.9rem; color: #a0a0c0; transition: color 0.2s;
  display: flex; align-items: center; gap: 4px;
}
.lang-dropdown:hover .lang-current { color: #c98aff; }
.lang-dropdown .lang-menu {
  display: none; position: absolute; top: 100%; right: 0;
  min-width: 120px; background: transparent; border: none;
  border-radius: 0; box-shadow: none; z-index: 200;
  padding-top: 8px; margin-top: 0;
}
.lang-dropdown:hover .lang-menu { display: block; }
.lang-menu-inner {
  background: #1a1940; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.4); overflow: hidden;
}
.lang-menu a {
  display: block; padding: 10px 16px; font-size: 0.9rem; color: #a0a0c0;
  transition: background 0.15s, color 0.15s;
}
.lang-menu a:hover { background: rgba(130,58,188,0.15); color: #c98aff; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-size: 1rem; font-weight: 600;
  transition: all 0.2s;
  border: none; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #823ABC 0%, #ED45BE 100%);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(130,58,188,0.4), 0 0 40px rgba(237,69,190,0.15);
}
.btn-outline {
  background: rgba(130,58,188,0.08); color: #e0c0ff;
  border: 2px solid rgba(200,138,255,0.4);
}
.btn-outline:hover { background: rgba(130,58,188,0.2); color: #fff; border-color: #c98aff; }
.btn-cari { background: linear-gradient(135deg, #823ABC 0%, #ED45BE 100%); color: #fff; }
.btn-cari:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(130,58,188,0.4), 0 0 40px rgba(237,69,190,0.15);
}
.btn-wa { background: linear-gradient(135deg, #25D366 0%, #40a0e6 100%); color: #fff; }
.btn-wa:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 40px rgba(64,160,230,0.15);
}

/* ── Hero ── */
.hero {
  padding: 100px 0 80px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(130,58,188,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 60%, rgba(247,127,0,0.08) 0%, transparent 70%),
    #0f0e2a;
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text { max-width: 520px; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(237,69,190,0.12);
  color: #e880d0;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(237,69,190,0.25);
}
.hero-text h1 { margin-bottom: 20px; }
.hero-text h1 .neon {
  background: linear-gradient(135deg, #f77f00 0%, #ED45BE 50%, #823ABC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text .subhead { margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  display: flex; justify-content: center;
  position: relative;
}
.hero-visual img {
  width: 300px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
  border-radius: 40px;
}

/* ── Problem ── */
.problem { text-align: center; }
.problem h2 { margin-bottom: 16px; }
.problem .subhead { max-width: 640px; margin: 0 auto 48px; }
.pain-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pain-card {
  padding: 32px 24px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  text-align: left;
}
.pain-card .icon { font-size: 2rem; margin-bottom: 12px; }
.pain-card h3 { margin-bottom: 8px; }
.pain-card p { color: #8888a8; font-size: 0.95rem; }

/* ── Features ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.feature-row:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.04); }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-text .label { margin-bottom: 8px; }
.feature-text h2 { margin-bottom: 12px; }
.feature-text p { color: #8888a8; margin-bottom: 16px; }
.feature-list { list-style: none; }
.feature-list li { padding: 4px 0; color: #a0a0c0; }
.feature-list li::before { content: "\2713  "; color: #ED45BE; font-weight: 700; }
.feature-visual {
  display: flex;
  justify-content: center;
}
.feature-visual img {
  width: 280px;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.3));
  border-radius: 40px;
}

/* ── Stacked Mockups ── */
.mockup-stack {
  position: relative;
  width: 420px;
  height: 520px;
  margin: 0 auto;
}
.mockup-stack img {
  position: absolute;
  width: 240px;
  border-radius: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.mockup-stack .mockup-back {
  top: 30px;
  right: 0;
  transform: rotate(2deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 1;
}
.mockup-stack .mockup-front {
  top: 0;
  left: 0;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  z-index: 2;
}
.mockup-stack:hover .mockup-front {
  transform: translate(-8px, -4px);
}
.mockup-stack:hover .mockup-back {
  transform: rotate(3deg) translate(8px, 4px);
}

/* ── Feature Categories ── */
.feature-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.category-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.category-card:hover {
  box-shadow: 0 8px 32px rgba(130,58,188,0.2);
  border-color: rgba(130,58,188,0.3);
}
.category-card.cat-finance {
  background: linear-gradient(145deg, rgba(247,127,0,0.14) 0%, rgba(247,127,0,0.06) 40%, #1a1940 100%);
}
.category-card.cat-calendar {
  background: linear-gradient(145deg, rgba(220,60,60,0.16) 0%, rgba(220,60,60,0.06) 40%, #1a1940 100%);
}
.category-card .cat-icon { font-size: 2rem; margin-bottom: 12px; }
.category-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.category-card p { color: #8888a8; font-size: 0.95rem; margin-bottom: 16px; }
.category-card ul { list-style: none; }
.category-card ul li { padding: 3px 0; color: #a0a0c0; font-size: 0.9rem; }
.category-card ul li::before { content: "\2192  "; color: #ED45BE; font-weight: 600; }
.coming-soon-pill {
  display: inline-block;
  padding: 1px 8px;
  background: rgba(237,69,190,0.12);
  color: #ED45BE;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  vertical-align: middle;
  margin-left: 4px;
}

/* ── How It Works ── */
.how-it-works { text-align: center; }
.how-it-works h2 { margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { text-align: center; }
.step-number {
  width: 48px; height: 48px;
  background: linear-gradient(235deg, #f77f00 0%, #ED45BE 50%, #823ABC 100%);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(237,69,190,0.3);
}
.step h3 { margin-bottom: 8px; }
.step p { color: #8888a8; font-size: 0.95rem; }

/* ── Social Proof / Quote ── */
.quote-section { text-align: center; }
.quote {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.35rem;
  font-style: italic;
  color: #a0a0c0;
  line-height: 1.6;
}
.quote-attr { margin-top: 16px; font-size: 0.95rem; color: #6a6a8a; font-style: normal; }

/* ── CTA ── */
.cta {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(130,58,188,0.1) 0%, transparent 70%),
    #13122e;
  padding: 80px 0;
}
.cta h2 { margin-bottom: 16px; }
.cta p { color: #8888a8; font-size: 1.15rem; margin-bottom: 32px; }
.cta .btn-wa, .cta .btn-primary { font-size: 1.1rem; padding: 16px 36px; }

/* ── Footer ── */
footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #6a6a8a;
  font-size: 0.85rem;
}
footer .container { display: flex; justify-content: space-between; align-items: center; }
footer a { color: #c98aff; }

/* ── Homepage Hero ── */
.home-hero {
  padding: 120px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 40%, rgba(130,58,188,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 30% 70%, rgba(247,127,0,0.06) 0%, transparent 70%),
    #0f0e2a;
}
.home-hero h1 { font-size: 3.5rem; margin-bottom: 16px; }
.home-hero h1 .neon {
  background: linear-gradient(135deg, #f77f00 0%, #ED45BE 50%, #823ABC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-hero .tagline {
  font-size: 1.35rem;
  color: #a0a0c0;
  max-width: 600px;
  margin: 0 auto 12px;
  line-height: 1.5;
}
.home-hero .origin {
  font-size: 1rem;
  color: #6a6a8a;
  margin-bottom: 40px;
}

/* Homepage-specific overrides */
.home-page .nav-links a { color: #a0a0c0; }
.home-page .nav-links a:hover { color: #c98aff; }
.home-page .label {
  background: linear-gradient(90deg, #f77f00, #e8a000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Product Cards ── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.product-card {
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.15);
}
.product-card.card-cari {
  background: linear-gradient(160deg, rgba(130,58,188,0.12) 0%, rgba(237,69,190,0.08) 40%, #1a1940 100%);
}
.product-card.card-bajanbot {
  background: linear-gradient(160deg, rgba(37,211,102,0.12) 0%, rgba(40,160,230,0.08) 40%, #1a1940 100%);
}
.product-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}
.product-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.product-card.card-cari .product-name {
  background: linear-gradient(135deg, #ED45BE 0%, #823ABC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.product-card.card-bajanbot .product-name {
  background: linear-gradient(135deg, #25D366 0%, #40a0e6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.product-tagline {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.product-card.card-cari .product-tagline {
  color: #ED45BE;
}
.product-card.card-bajanbot .product-tagline {
  background: linear-gradient(135deg, #25D366 0%, #40a0e6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.product-desc {
  font-size: 0.95rem;
  color: #8888a8;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}
.product-card .btn { align-self: flex-start; }

/* ── Principles ── */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.principle {
  padding: 32px 24px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.principle h3 { margin-bottom: 12px; font-size: 1.15rem; }
.principle p { color: #8888a8; font-size: 0.95rem; }

/* ── BajanBot Page ── */
.bb-page .nav-logo .bb-name {
  background: linear-gradient(135deg, #25D366 0%, #40a0e6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bb-label {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 8px;
  background: linear-gradient(90deg, #25D366, #40a0e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bb-neon {
  background: linear-gradient(135deg, #25D366 0%, #40a0e6 60%, #823ABC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bb-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(37,211,102,0.12);
  color: #25D366;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(37,211,102,0.3);
  box-shadow: 0 0 20px rgba(37,211,102,0.1);
}
.bb-outline {
  background: linear-gradient(135deg, #25D366 0%, #40a0e6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-color: rgba(64,160,230,0.4);
}
.bb-outline:hover {
  background: rgba(37,211,102,0.15);
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #fff;
  background-clip: unset;
  color: #fff;
  border-color: #40a0e6;
}

/* BajanBot Hero */
.bb-hero {
  padding: 120px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 40%, rgba(37,211,102,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 70% 60%, rgba(64,160,230,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 30% 70%, rgba(130,58,188,0.06) 0%, transparent 70%),
    #0f0e2a;
}
.bb-hero h1 { font-size: 3.5rem; margin-bottom: 20px; }
.bb-hero .subhead { max-width: 600px; margin: 0 auto 32px; }

/* BajanBot Feature Grid */
/* BajanBot Category Cards */
.category-card.cat-bb-grocery {
  background: linear-gradient(145deg, rgba(37,211,102,0.14) 0%, rgba(37,211,102,0.06) 40%, #1a1940 100%);
}
.category-card.cat-bb-gov {
  background: linear-gradient(145deg, rgba(64,160,230,0.14) 0%, rgba(64,160,230,0.06) 40%, #1a1940 100%);
}
.category-card.cat-bb-travel {
  background: linear-gradient(145deg, rgba(37,211,102,0.10) 0%, rgba(64,160,230,0.10) 40%, #1a1940 100%);
}
.category-card.cat-bb-cropover {
  background: linear-gradient(145deg, rgba(255,200,50,0.14) 0%, rgba(37,211,102,0.06) 40%, #1a1940 100%);
}

/* BajanBot overrides for shared feature components */
.bb-page .feature-list li::before { color: #25D366; }
.bb-page .category-card ul li::before { color: #25D366; }

/* BajanBot Glow Cards */
.bb-glow-card {
  border-color: rgba(37,211,102,0.1);
  transition: all 0.3s ease;
}
.bb-glow-card:hover {
  border-color: rgba(37,211,102,0.25);
  box-shadow: 0 0 24px rgba(37,211,102,0.08);
}

/* BajanBot Steps */
.bb-step {
  background: linear-gradient(235deg, #25D366 0%, #40a0e6 100%);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

/* BajanBot CTA */
.bb-cta {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(37,211,102,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(64,160,230,0.05) 0%, transparent 70%),
    #13122e;
  padding: 80px 0;
}
.bb-cta h2 { margin-bottom: 16px; }
.bb-cta p { color: #8888a8; font-size: 1.15rem; margin-bottom: 32px; }
.bb-cta .btn-wa { font-size: 1.1rem; padding: 16px 36px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.5rem; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual img { width: 240px; }
  .pain-points { grid-template-columns: 1fr; }
  .feature-categories { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; text-align: center; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-visual { order: 2; }
  .feature-list { display: inline-block; text-align: left; }
  .feature-visual img { width: 240px; }
  .mockup-stack { width: 280px; height: 440px; }
  .mockup-stack img { width: 220px; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .home-hero h1 { font-size: 2.5rem; }
  .products-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
}
