/* ============= Design Tokens ============= */
:root {
  --background: 0 0% 100%;
  --foreground: 215 40% 15%;
  --card: 0 0% 100%;
  --primary: 215 85% 35%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 210 90% 55%;
  --primary-deep: 220 80% 22%;
  --secondary: 210 40% 96%;
  --muted: 210 30% 96%;
  --muted-foreground: 215 15% 45%;
  --accent: 152 65% 42%;
  --accent-foreground: 0 0% 100%;
  --accent-soft: 152 70% 95%;
  --border: 214 30% 90%;
  --radius: 0.75rem;

  --gradient-hero: linear-gradient(135deg, hsl(220 80% 22%) 0%, hsl(215 85% 35%) 50%, hsl(210 90% 55%) 100%);
  --gradient-soft: linear-gradient(180deg, hsl(210 40% 98%) 0%, hsl(0 0% 100%) 100%);

  --shadow-soft: 0 4px 20px -4px hsl(215 85% 35% / 0.1);
  --shadow-medium: 0 10px 40px -10px hsl(215 85% 35% / 0.2);
  --shadow-strong: 0 20px 60px -15px hsl(220 80% 22% / 0.3);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============= Reset / Base ============= */
*, *::before, *::after { box-sizing: border-box; }
* { border-color: hsl(var(--border)); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
@media (max-width: 640px) { .container { padding: 0 1rem; } }

/* ============= Buttons ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: calc(var(--radius) - 2px);
  padding: 0.5rem 1rem;
  height: 2.5rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.btn-sm { height: 2.25rem; padding: 0 0.75rem; font-size: 0.8125rem; }
.btn-lg { height: 2.75rem; padding: 0 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-xl { height: 3.25rem; padding: 0 2.25rem; font-size: 1.0625rem; border-radius: var(--radius); }

.btn-hero {
  background: var(--gradient-hero);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-medium);
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: var(--shadow-strong); }

.btn-whatsapp {
  background: hsl(142 70% 45%);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-whatsapp:hover { background: hsl(142 70% 40%); transform: translateY(-2px); box-shadow: var(--shadow-medium); }

.btn-siplah {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: var(--shadow-soft);
}
.btn-siplah:hover { background: hsl(152 65% 36%); transform: translateY(-2px); box-shadow: var(--shadow-medium); }

.btn-light {
  background: hsl(var(--background));
  color: hsl(var(--primary));
}
.btn-light:hover { background: hsl(var(--background) / 0.9); }

/* ============= Navbar ============= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo { width: 2.5rem; height: 2.5rem; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title {
  font-family: "Audiowide", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.025em;
  color: hsl(var(--primary-deep));
}
@media (min-width: 640px) { .brand-title { font-size: 1rem; } }
.brand-sub { font-size: 10px; font-weight: 500; color: hsl(var(--muted-foreground)); }

.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: hsl(var(--foreground) / 0.8); transition: color .2s; }
.nav-links a:hover { color: hsl(var(--primary)); }

.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .ic-close { display: none; }
body.menu-open .nav-toggle .ic-menu { display: none; }
body.menu-open .nav-toggle .ic-close { display: block; }

.nav-mobile {
  display: none;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}
.nav-mobile nav { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 2rem; }
.nav-mobile a {
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.875rem; font-weight: 500;
  color: hsl(var(--foreground) / 0.8);
}
.nav-mobile a:hover { background: hsl(var(--secondary)); }
.nav-mobile .btn { margin-top: 0.5rem; }
body.menu-open .nav-mobile { display: block; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  body.menu-open .nav-mobile { display: none; }
}

/* ============= Hero ============= */
.hero { position: relative; overflow: hidden; background: var(--gradient-soft); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 9999px; filter: blur(64px); }
.blob-1 { top: -6rem; right: -6rem; width: 24rem; height: 24rem; background: hsl(var(--primary-glow) / 0.1); }
.blob-2 { bottom: -6rem; left: -6rem; width: 24rem; height: 24rem; background: hsl(var(--accent) / 0.1); }

.hero-grid {
  display: grid;
  gap: 3rem;
  padding: 4rem 2rem;
}
@media (min-width: 768px) { .hero-grid { padding-top: 6rem; padding-bottom: 6rem; } }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; } }

.hero-copy { display: flex; flex-direction: column; gap: 1.5rem; animation: fadeInUp .6s ease-out; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  width: fit-content;
  border: 1px solid hsl(var(--accent) / 0.3);
  background: hsl(var(--accent-soft));
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  color: hsl(var(--accent));
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(var(--primary-deep));
  line-height: 1.15;
}
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }

.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc { max-width: 36rem; font-size: 1.125rem; color: hsl(var(--muted-foreground)); }

.hero-actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

.hero-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
}
.stat-num { font-size: 1.5rem; font-weight: 700; color: hsl(var(--primary)); }
.stat-lbl { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

.hero-image-wrap { position: relative; }
.hero-image-glow {
  position: absolute; inset: 0; z-index: -1;
  border-radius: 1.5rem;
  background: var(--gradient-hero);
  opacity: 0.1;
  filter: blur(40px);
}
.hero-image {
  overflow: hidden;
  border-radius: 1.5rem;
  background: hsl(var(--background));
  box-shadow: var(--shadow-strong);
  outline: 1px solid hsl(var(--border));
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.hero-floating-card {
  display: none;
  position: absolute;
  bottom: -1.5rem; left: -1.5rem;
  background: hsl(var(--background));
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-medium);
  outline: 1px solid hsl(var(--border));
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 768px) { .hero-floating-card { display: flex; } }
.hfc-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: hsl(var(--accent-soft));
  color: hsl(var(--accent));
  display: inline-flex; align-items: center; justify-content: center;
}
.hfc-title { font-size: 0.875rem; font-weight: 600; }
.hfc-sub { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* ============= Sections ============= */
.section { padding: 5rem 0; }
.section-bg { background: hsl(var(--background)); }
.section-soft { background: var(--gradient-soft); position: relative; overflow: hidden; }

.section-head { max-width: 42rem; margin: 0 auto 3.5rem; text-align: center; }
.eyebrow { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: hsl(var(--accent)); }
.section-head h2 { margin-top: 0.75rem; font-size: 1.875rem; font-weight: 700; color: hsl(var(--primary-deep)); }
@media (min-width: 768px) { .section-head h2 { font-size: 2.25rem; } }
.section-head p { margin-top: 1rem; color: hsl(var(--muted-foreground)); }

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============= Cards ============= */
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.card h3 { font-size: 1.125rem; font-weight: 700; color: hsl(var(--foreground)); margin-bottom: 0.5rem; }
.card-product h3 { font-size: 1.25rem; }
.card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

.card-product:hover { border-color: hsl(var(--primary) / 0.3); }
.card-bg-circle {
  position: absolute; right: -2rem; top: -2rem;
  width: 8rem; height: 8rem;
  border-radius: 9999px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity .5s;
}
.card-product:hover .card-bg-circle { opacity: 0.1; }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.card-icon-grad {
  width: 3.5rem; height: 3.5rem;
  background: var(--gradient-hero);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.25rem;
}
.card-icon-soft {
  width: 3rem; height: 3rem;
  background: hsl(var(--accent-soft));
  color: hsl(var(--accent));
}

.card-link {
  margin-top: 1rem;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--accent));
  opacity: 0;
  transition: opacity .2s;
}
.card-product:hover .card-link { opacity: 1; }

.card-cta {
  background: var(--gradient-hero);
  color: hsl(var(--primary-foreground));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-medium);
  border: none;
  cursor: pointer;
}
.card-cta:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.card-cta-title { font-size: 1.5rem; font-weight: 700; }
.card-cta-desc { margin-top: 0.5rem; font-size: 0.875rem; color: hsl(var(--primary-foreground) / 0.8) !important; }
.card-cta-pill {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: hsl(var(--background) / 0.2);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: transform .2s;
}
.card-cta:hover .card-cta-pill { transform: scale(1.05); }

/* Testimonials */
.card-testimonial { display: flex; flex-direction: column; }
.card-testimonial .quote {
  position: absolute; right: 1.5rem; top: 1.5rem;
  color: hsl(var(--primary) / 0.1);
}
.stars { color: hsl(var(--accent)); margin-bottom: 1rem; letter-spacing: 0.1em; }
.t-text { margin-bottom: 1.5rem; flex: 1; font-size: 0.875rem; color: hsl(var(--foreground) / 0.8) !important; }
.t-foot { display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid hsl(var(--border)); padding-top: 1rem; }
.t-avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: var(--gradient-hero);
  color: hsl(var(--primary-foreground));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 700;
}
.t-name { font-size: 0.875rem; font-weight: 600; }
.t-role { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* ============= CTA ============= */
.cta { position: relative; overflow: hidden; padding: 5rem 0; }
.cta-bg { position: absolute; inset: 0; background: var(--gradient-hero); }
.cta-blobs { position: absolute; inset: 0; opacity: 0.2; }
.blob-3 { top: -8rem; left: -8rem; width: 24rem; height: 24rem; background: hsl(var(--primary-foreground) / 0.2); }
.blob-4 { bottom: -8rem; right: -8rem; width: 24rem; height: 24rem; background: hsl(var(--accent) / 0.3); }
.cta-inner { position: relative; text-align: center; max-width: 48rem; }
.cta-inner h2 {
  font-size: 1.875rem; font-weight: 700;
  color: hsl(var(--primary-foreground));
}
@media (min-width: 768px) { .cta-inner h2 { font-size: 3rem; } }
.cta-inner > p {
  margin: 1.5rem auto 0;
  max-width: 36rem;
  font-size: 1.125rem;
  color: hsl(var(--primary-foreground) / 0.85);
}
.cta-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }
.cta-note { margin-top: 2rem; font-size: 0.875rem; color: hsl(var(--primary-foreground) / 0.7); }

/* ============= Footer ============= */
.footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--primary-deep));
  color: hsl(var(--primary-foreground));
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo {
  width: 3rem; height: 3rem;
  background: hsl(var(--primary-foreground));
  border-radius: 0.5rem;
  padding: 0.375rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand-title { font-family: "Audiowide", sans-serif; font-size: 0.875rem; letter-spacing: 0.025em; }
.footer-brand-sub { font-size: 0.75rem; color: hsl(var(--primary-foreground) / 0.7); }
.footer-desc { font-size: 0.875rem; color: hsl(var(--primary-foreground) / 0.7); }

.footer-h { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: hsl(var(--primary-foreground) / 0.8); }
.footer-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-list svg { margin-top: 0.125rem; color: hsl(var(--accent)); flex-shrink: 0; }
.footer-list a:hover { color: hsl(var(--primary-foreground)); }

.footer-shop {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary-foreground) / 0.1);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color .2s;
}
.footer-shop:hover { background: hsl(var(--primary-foreground) / 0.2); }
.footer-shop-note { margin-top: 0.75rem; font-size: 0.75rem; color: hsl(var(--primary-foreground) / 0.6); }

.footer-bottom {
  border-top: 1px solid hsl(var(--primary-foreground) / 0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--primary-foreground) / 0.6);
}

/* ============= Animations ============= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
