/* ==========================================================================
   POWERLIFT INDONESIA - Premium Adjustable Dumbbells Store
   Compliant with Google Ads, Indonesian Consumer Law (UU PK / UU PDP), & SNI
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  --bg-dark: #090b10;
  --bg-card: #121620;
  --bg-card-hover: #191f2e;
  --bg-surface: #161b26;
  --border-color: rgba(255, 255, 255, 0.09);
  --border-highlight: rgba(245, 158, 11, 0.45);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-primary: #f59e0b; /* Amber Gold */
  --accent-secondary: #ea580c; /* Deep Orange */
  --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  --emerald: #10b981;
  --blue-trust: #3b82f6;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-lg: 0 20px 45px -15px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.22);
  --container: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #111827 0%, #1e293b 50%, #111827 100%);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  padding: 9px 0;
  color: var(--text-muted);
}

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

.top-badges {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #e2e8f0;
}

.top-badge-item span.dot {
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 16, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: grid;
  place-items: center;
  color: #090b10;
  font-weight: 900;
  box-shadow: var(--shadow-glow);
}

.logo span.sub {
  font-size: 0.7rem;
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--accent-primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #090b10;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.42);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  background: rgba(245, 158, 11, 0.08);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: 10px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 76px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.14), transparent 42%),
    radial-gradient(circle at 15% 75%, rgba(59, 130, 246, 0.09), transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.75rem);
  font-weight: 800;
  margin-bottom: 20px;
}

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

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-price-box {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 24px;
  background: rgba(18, 22, 32, 0.9);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-primary);
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  max-width: 540px;
}

.price-current {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-primary);
}

.price-old {
  font-size: 0.95rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

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

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--border-color);
}

.metric-card strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  color: var(--text-main);
}

.metric-card span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
}

.hero-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  background: rgba(12, 16, 23, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-highlight);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.floating-badge.top-left {
  top: 20px;
  left: 20px;
}

.floating-badge.bottom-right {
  bottom: 20px;
  right: 20px;
}

.floating-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.floating-badge span {
  font-size: 0.78rem;
  color: var(--accent-primary);
  font-weight: 600;
}

/* Section Layout */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  margin-bottom: 14px;
}

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

/* Feature Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.35);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: grid;
  place-items: center;
  color: var(--accent-primary);
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

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

/* INTERACTIVE WIDGET 1: Virtual Dial Weight Selector */
.interactive-lab {
  background: linear-gradient(145deg, #131824 0%, #0d111a 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow-lg);
}

.dial-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.weight-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.weight-btn {
  padding: 12px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.weight-btn:hover {
  border-color: var(--accent-primary);
}

.weight-btn.active {
  background: var(--accent-gradient);
  color: #090b10;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.plate-visualizer {
  background: #090b10;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.dumbbell-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 120px;
  margin-bottom: 18px;
}

.plate {
  width: 14px;
  background: #262f40;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.plate.p1 { height: 108px; }
.plate.p2 { height: 96px; }
.plate.p3 { height: 86px; }
.plate.p4 { height: 76px; }
.plate.p5 { height: 66px; }

.plate.engaged {
  background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.45);
  border-color: #fbbf24;
}

.handle-bar {
  width: 90px;
  height: 22px;
  background: repeating-linear-gradient(
    45deg,
    #475569,
    #475569 4px,
    #334155 4px,
    #334155 8px
  );
  border-radius: 3px;
  border-top: 2px solid #94a3b8;
  border-bottom: 2px solid #1e293b;
}

.dial-output-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: 10px;
  text-align: left;
}

.stat-pill span {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.stat-pill strong {
  font-size: 1.05rem;
  color: var(--text-main);
}

/* Certificates & Compliance Section */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-card {
  background: linear-gradient(180deg, rgba(18, 22, 32, 0.95) 0%, rgba(11, 14, 21, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
}

.cert-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.cert-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.cert-meta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: monospace;
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.specs-table th,
.specs-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.specs-table th {
  color: var(--text-muted);
  font-weight: 600;
  width: 38%;
  background: rgba(255, 255, 255, 0.02);
}

.specs-table td {
  color: var(--text-main);
  font-weight: 500;
}

/* Order Page / Lead Form Styles */
.order-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.lead-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 15px 18px;
  background: #090b10;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.form-helper {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  cursor: pointer;
}

.consent-label input {
  margin-top: 4px;
  accent-color: var(--accent-primary);
}

/* Routine Generator Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 34px;
}

.tab-btn {
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--accent-gradient);
  color: #090b10;
  border-color: transparent;
}

/* Legal Document Styling */
.legal-container {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.legal-container h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.legal-container h2 {
  font-size: 1.35rem;
  margin: 30px 0 12px;
  color: var(--accent-primary);
}

.legal-container p,
.legal-container li {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.96rem;
}

.legal-container ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

/* Footer */
.site-footer {
  background: #06070b;
  border-top: 1px solid var(--border-color);
  padding: 72px 0 36px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.disclaimer-box {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Cookie Banner & Modal (Google Consent Mode v2 + UU PDP Indonesia) */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 980px;
  margin: 0 auto;
  background: rgba(15, 19, 29, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  z-index: 999;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
  display: none;
}

.cookie-banner.show {
  display: block;
}

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

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

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

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-prefs-panel {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cookie-prefs-panel.open {
  display: grid;
}

.cookie-toggle {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid,
  .dial-grid,
  .grid-2,
  .order-wrapper {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #0d111a;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .grid-3,
  .cert-grid,
  .footer-grid,
  .cookie-prefs-panel.open {
    grid-template-columns: 1fr;
  }
  .weight-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-image-card img {
    height: 360px;
  }
  .interactive-lab,
  .lead-form-card,
  .legal-container {
    padding: 24px;
  }
}
