/* ====== BASE ====== */
:root {
  --bg: #020617;
  --bg-soft: #02091f;
  --bg-soft-2: #0b1120;
  --accent: #4f46e5;
  --accent-2: #22c55e;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148,163,184,0.25);
  --radius-lg: 1.5rem;
  --radius-xl: 1.75rem;
  --shadow-card: 0 22px 40px rgba(15,23,42,0.85);
  --shadow-soft: 0 18px 30px rgba(15,23,42,0.8);
  --transition: 0.24s ease-out;
}

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

html, body {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #111827, #020617);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-muted {
  background: radial-gradient(circle at top right, #020617, #020617 60%);
}

.section-cta {
  padding: 4rem 0 4.5rem;
}

/* ====== NAVBAR ====== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.95), rgba(15,23,42,0.8), transparent);
  border-bottom: 1px solid rgba(148,163,184,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(249,115,22,0.6), 0 16px 40px rgba(0,0,0,0.8);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  font-size: 1.05rem;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
  transition: color var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width var(--transition);
}

.nav-links a:hover {
  color: #f9fafb;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(129,140,248,0.7);
  background: radial-gradient(circle at top left, #312e81, #111827);
  box-shadow: 0 18px 32px rgba(15,23,42,0.9);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.26rem;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle-line {
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* ====== HERO ====== */
.hero {
  padding-top: 4rem;
}

.hero-inner {
  display: grid;
  gap: 3.2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(129,140,248,0.7);
  background: radial-gradient(circle at left, #4f46e5, #111827);
  color: #e0f2fe;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.3vw, 3.1rem);
  line-height: 1.1;
  margin-top: 1.2rem;
  margin-bottom: 0.9rem;
}

.hero .accent {
  background: linear-gradient(90deg, #f97316, #facc15);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 34rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-metrics {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-metrics strong {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #facc15);
  border-color: rgba(248,181,0,0.9);
  color: #0b1120;
  box-shadow: 0 20px 40px rgba(248,150,30,0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 50px rgba(248,150,30,0.65);
}

.btn-ghost {
  background: rgba(15,23,42,0.75);
  border-color: rgba(148,163,184,0.5);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(15,23,42,0.95);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148,163,184,0.7);
  color: var(--text);
}

.btn-outline:hover {
  border-color: #f97316;
  background: rgba(15,23,42,0.95);
}

.btn-lg {
  padding: 0.9rem 1.7rem;
}

/* Hero card */
.hero-card {
  position: relative;
}

.hero-preview {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, rgba(248,150,30,0.35), transparent), #020617;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hero-preview-header {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(148,163,184,0.2);
  background: linear-gradient(to right, #111827, #020617);
}

.hero-preview-header .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(148,163,184,0.7);
}

.hero-preview-body {
  padding: 1.4rem 1.6rem 1.1rem;
}

.hero-preview-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.hero-preview-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.hero-preview-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.hero-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-preview-tags span {
  font-size: 0.75rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(248,181,0,0.7);
  background: rgba(15,23,42,0.9);
}

.hero-preview-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.6rem 1.1rem;
  border-top: 1px solid rgba(148,163,184,0.2);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #facc15);
}

.hero-preview-name {
  font-size: 0.86rem;
}

.hero-preview-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-floating-card {
  position: absolute;
  right: -0.6rem;
  bottom: -1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #f97316, #f97316, #b45309);
  color: #fff7ed;
  font-size: 0.8rem;
  box-shadow: 0 20px 40px rgba(194,65,12,0.8);
  max-width: 230px;
}

.hero-floating-card a {
  color: #fff7ed;
  font-size: 0.78rem;
  text-decoration: underline;
}

/* ====== SECTION HEADER ====== */
.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.6rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* ====== GRID & CARDS ====== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, #020617, #020617);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.4rem 1.3rem;
  position: relative;
  overflow: hidden;
}

.product-card .pill {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-list {
  margin: 1rem 0 1.2rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.88rem;
}

.price-main {
  font-weight: 700;
}

.price-strike {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(148,163,184,0.7);
}

.pill-rose {
  background: rgba(244,63,94,0.16);
  border-color: rgba(248,113,113,0.7);
}

.pill-sky {
  background: rgba(56,189,248,0.16);
  border-color: rgba(59,130,246,0.8);
}

.pill-amber {
  background: rgba(245,158,11,0.17);
  border-color: rgba(251,191,36,0.8);
}

/* Benefits */
.benefits {
  gap: 1.7rem;
}

.benefit h3 {
  margin-bottom: 0.35rem;
}

.benefit p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Steps */
.steps {
  list-style: none;
  max-width: 40rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148,163,184,0.25);
  background: rgba(15,23,42,0.9);
}

.step-number {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: rgba(248,150,30,0.2);
  color: #fed7aa;
}

/* Testimoni */
.testimonial-card {
  font-size: 0.9rem;
}

.testimonial-text {
  margin-bottom: 0.7rem;
}

.testimonial-name {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* Accordion */
.accordion {
  max-width: 40rem;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.accordion-item {
  border-radius: 1rem;
  border: 1px solid rgba(148,163,184,0.3);
  overflow: hidden;
  background: rgba(15,23,42,0.96);
}

.accordion-header {
  width: 100%;
  padding: 0.9rem 1rem;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  cursor: pointer;
}

.accordion-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding-inline: 1rem;
  transition: max-height var(--transition), padding-bottom var(--transition);
}

.accordion-body p {
  font-size: 0.87rem;
  color: var(--text-muted);
  padding-bottom: 0.85rem;
}

/* CTA */
.cta-inner {
  border-radius: 1.8rem;
  border: 1px solid rgba(248,181,0,0.8);
  padding: 2rem 2.2rem;
  display: flex;
  gap: 1.8rem;
  align-items: center;
  justify-content: space-between;
  background: radial-gradient(circle at top left, #111827, #020617);
  box-shadow: 0 24px 48px rgba(15,23,42,1);
}

.cta-inner p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(148,163,184,0.25);
  padding: 1.4rem 0;
  background: #020617;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}

/* Scroll animation */
[data-animate] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
    order: -1;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-actions {
    align-items: flex-start;
  }
}

@media (max-width: 800px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    padding: 0.7rem 1.2rem 1rem;
    background: rgba(15,23,42,0.98);
    border-bottom: 1px solid rgba(148,163,184,0.3);
    transform-origin: top;
    transform: scaleY(0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-links.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }
  .hero {
    padding-top: 3.4rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-floating-card {
    position: static;
    margin-top: 1rem;
  }
  .cta-inner {
    padding: 1.6rem 1.5rem;
  }
  .footer-inner {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}
