:root {
  /* Palette Moden UI SaaS - Indigo x Oren x Pink (sama dengan /ai/) */
  --bg-main: #0a0a12;
  --bg-card: #14141f;
  --bg-card-hover: #1b1b2a;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(99, 102, 241, 0.35);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;

  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.18);

  --accent: #f97316;
  --accent-light: #fb923c;

  --secondary: #ec4899;
  --secondary-light: #f472b6;

  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.brand-mark .logo-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #4338ca);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark .logo-box i {
  width: 20px;
  height: 20px;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover { color: var(--text-main); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.25s ease;
}

.nav-cta:hover { background: var(--primary-hover); }

.nav-cta i { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle i { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(9, 13, 16, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.nav-open { display: flex; }
  .nav-cta span { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding: 90px 0 70px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  max-width: 760px;
  margin: 0 auto 20px;
  position: relative;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 34px;
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn i { width: 18px; height: 18px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover { border-color: var(--border-active); transform: translateY(-2px); }

/* Section shared */
.section {
  padding: 70px 0;
  border-top: 1px solid var(--border-color);
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 46px;
}

.section-heading .eyebrow { margin-bottom: 16px; }

.section-heading h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
}

.section-heading h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 14px;
}

/* Service teaser card (links to /ai/) */
.service-teaser {
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.08), var(--bg-card));
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.service-teaser-text h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.service-teaser-text p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0;
}

.service-teaser-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.service-teaser-tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Product portfolio cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon i { width: 24px; height: 24px; color: #fff; }

.product-card h3 {
  font-size: 19px;
}

.product-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
  margin: 0;
}

.product-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--success);
  background: var(--success-glow);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 4px;
}

.product-link i { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
  .service-teaser { flex-direction: column; text-align: center; justify-content: center; }
  .service-teaser-tags { justify-content: center; }
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 80px 0;
}

.cta-band h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 16px; }
  .section-heading h2 { font-size: 26px; }
}
