/* ==========================================
   Gaming Vibe Landing Page Design System
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Condensed:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #050811;
  --bg-secondary: #0b1120;
  --bg-card: rgba(13, 22, 45, 0.7);
  --bg-card-hover: rgba(20, 32, 64, 0.85);
  
  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-magenta: #bd00ff;
  --accent-magenta-glow: rgba(189, 0, 255, 0.35);
  --accent-gold: #ff9d00;
  --accent-gold-glow: rgba(255, 157, 0, 0.3);
  
  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-dark: #0f172a;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 240, 255, 0.5);
  
  /* Fonts */
  --font-heading: 'IBM Plex Sans Condensed', sans-serif;
  --font-body: 'IBM Plex Sans Condensed', sans-serif;
  
  /* Shadow & Blur */
  --glass-blur: blur(12px);
  --neon-shadow-cyan: 0 0 15px var(--accent-cyan-glow);
  --neon-shadow-magenta: 0 0 15px var(--accent-magenta-glow);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================
   Reset & Base Styles
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(189, 0, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 2px solid var(--bg-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* ==========================================
   Layout Components
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--accent-cyan);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.05);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ==========================================
   Header & Navigation
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 8, 17, 0.75);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: var(--bg-primary);
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-magenta) 100%);
  color: var(--bg-primary);
  font-weight: 900;
  -webkit-text-fill-color: var(--bg-primary); /* Overwrite logo webkit-clip style */
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--accent-cyan);
  text-shadow: var(--neon-shadow-cyan);
}

.nav-btn {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, rgba(0, 240, 255, 0.7) 100%);
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  box-shadow: var(--neon-shadow-cyan);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--accent-cyan);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
}

.hamburger-lines {
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-lines .line {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 4px;
  background: var(--text-white);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.2s ease-in-out;
}

/* Transform Hamburger to X when active */
.menu-toggle.active .line1 {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .line2 {
  opacity: 0;
}

.menu-toggle.active .line3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-gold);
  border: 1px solid rgba(255, 157, 0, 0.2);
  background: rgba(255, 157, 0, 0.05);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 240, 255, 0.15));
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-magenta) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(189, 0, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-cyan);
  box-shadow: var(--neon-shadow-cyan);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  font-family: var(--font-heading);
  line-height: 1.2;
}

.stat-val span {
  color: var(--accent-cyan);
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  width: 100%;
  aspect-ratio: 4/5;
  max-width: 420px;
  background: var(--bg-card);
  animation: float-hero 6s ease-in-out infinite;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Glowing Aura Orbs behind Image */
.hero-media::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--accent-magenta);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  top: 10%;
  right: 10%;
  z-index: -1;
}

.hero-media::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--accent-cyan);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  bottom: 10%;
  left: 10%;
  z-index: -1;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================
   Interactive Rank & Price Calculator
   ========================================== */
.calc-card {
  background: rgba(13, 22, 45, 0.95);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  max-width: 850px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.calc-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-label {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label-badge {
  background: rgba(255,255,255,0.05);
  color: var(--accent-cyan);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.calc-select-container {
  position: relative;
}

.calc-select {
  width: 100%;
  background: rgba(5, 8, 17, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-white);
  padding: 1.1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 12px;
  appearance: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.calc-select:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: var(--neon-shadow-cyan);
}

.calc-select-container::after {
  content: '▼';
  font-size: 0.75rem;
  color: var(--text-secondary);
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.star-input-group {
  display: flex;
  gap: 0.5rem;
  background: rgba(5, 8, 17, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.4rem;
  align-items: center;
}

.star-btn {
  width: 3.5rem;
  height: 3.2rem;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.03);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.star-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
}

.star-val-display {
  flex: 1;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
}

.calc-summary {
  background: rgba(5, 8, 17, 0.5);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.summary-row.total {
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  color: var(--text-white);
}

.summary-row.total .total-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  line-height: 1;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.calc-note {
  font-size: 0.8rem;
  color: var(--accent-gold);
  background: rgba(255, 157, 0, 0.08);
  border: 1px solid rgba(255, 157, 0, 0.15);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.calc-cta {
  width: 100%;
  justify-content: center;
  padding: 1.25rem;
  font-size: 1.15rem;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);
}

.calc-cta:hover {
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.5);
}

/* ==========================================
   Keunggulan (Key Features) Section
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  box-shadow: var(--neon-shadow-cyan);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 15px var(--accent-cyan);
  transform: scale(1.05);
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================
   Layanan (Services) Section
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card.highlighted {
  border-color: var(--accent-magenta);
  box-shadow: 0 10px 30px rgba(189, 0, 255, 0.15);
}

.service-card.highlighted::before {
  content: 'BEST SELLER';
  position: absolute;
  top: 1.25rem;
  right: -2.5rem;
  background: var(--accent-magenta);
  color: var(--text-white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 3rem;
  transform: rotate(45deg);
  letter-spacing: 0.1em;
}

.service-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
}

.service-header {
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.service-price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
  font-family: var(--font-body);
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.service-feature-item svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.service-card.highlighted .service-feature-item svg {
  color: var(--accent-magenta);
}

.service-btn {
  width: 100%;
  padding: 0.85rem;
}

/* ==========================================
   Cara Order (How to Order) Section
   ========================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  text-align: center;
  transition: var(--transition-smooth);
}

.step-number {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

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

.step-title {
  font-size: 1.25rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==========================================
   Testimonial Section
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
}

.testi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan) 30%, var(--accent-magenta) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-white);
}

.user-name {
  font-weight: 600;
  font-size: 1rem;
}

.user-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.testi-stars {
  display: flex;
  color: var(--accent-gold);
  gap: 0.1rem;
}

.testi-content {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.testi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-icon {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 1.25rem 1.5rem;
  border-top-color: var(--border-color);
}

/* ==========================================
   CTA Footer Panel & Footer
   ========================================== */
.cta-panel {
  background: linear-gradient(135deg, rgba(13, 22, 45, 0.9) 0%, rgba(5, 8, 17, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  margin-bottom: 5rem;
}

.cta-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-panel h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-panel h2 span {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-panel p {
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}

.cta-panel .btn {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.footer {
  background: #02040a;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about .logo {
  margin-bottom: 1.25rem;
}

.footer-about p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: rgba(0, 240, 255, 0.08);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Floating WA Badge widget */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: #25d366;
  color: white;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}

.floating-wa:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-wa svg {
  width: 1.85rem;
  height: 1.85rem;
  fill: currentColor;
}

/* ==========================================
   Responsive Adaptation (Mobile First overrides)
   ========================================== */

/* Tablet & Mobile Screens */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-description {
    margin: 0 auto 2.5rem;
  }
  
  .hero-stats {
    justify-content: center;
    width: 100%;
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer-about {
    grid-column: span 2;
  }
}

/* Tablet Breakpoint for Navbar */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

/* Mobile Screens (< 480px priority based on PRD) */
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title-wrapper {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: clamp(1.2rem, 5.8vw, 2.2rem);
    white-space: nowrap;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }
  
  .hero {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-description {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .hero-ctas .btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
  }
  
  .hero-stats {
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
  }

  .stat-val {
    font-size: 1.75rem;
  }

  #brand-logo img {
    height: 2.2rem !important;
  }
  
  .calc-card {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .calc-select {
    padding: 0.9rem 1.25rem;
  }

  .star-btn {
    height: 2.8rem;
    width: 3.2rem;
  }

  .calc-summary {
    padding: 1.25rem;
    border-radius: 12px;
    gap: 1.25rem;
  }
  
  .summary-row.total .total-price {
    font-size: 1.8rem;
  }

  .feature-card {
    padding: 1.75rem 1.25rem;
  }

  .service-card {
    padding: 1.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-about {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .floating-wa {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.2rem;
    height: 3.2rem;
  }
}

/* Mobile Menu Panel */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--bg-primary);
  border-left: 1px solid var(--border-color);
  z-index: 1001;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.8);
}

.mobile-menu-panel.active {
  transform: translateX(-125%); /* Moves the panel into view */
}

.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.75rem;
  cursor: pointer;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-white);
}

.mobile-menu-link:hover {
  color: var(--accent-cyan);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
}

.mobile-overlay.active {
  display: block;
}

/* ==========================================
   Motion and Animations (Scroll Reveal & Float)
   ========================================== */

/* Hero Float Animation */
@keyframes float-hero {
  0%, 100% {
    transform: translateY(0) rotate(0.3deg);
  }
  50% {
    transform: translateY(-10px) rotate(-0.3deg);
  }
}

/* Scroll Reveal base style */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered transition delays for lists */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ==========================================
   Splash Screen / Loader
   ========================================== */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-logo {
  height: 5rem;
  width: auto;
  animation: logo-pulse 1.8s ease-in-out infinite;
}

.loader-bar {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.loader-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  border-radius: 4px;
  position: absolute;
  left: -100%;
  animation: load-progress 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes logo-pulse {
  0%, 100% {
    transform: scale(0.95);
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.2)) drop-shadow(0 0 15px rgba(189, 0, 255, 0.1));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.6)) drop-shadow(0 0 35px rgba(189, 0, 255, 0.4));
  }
}

@keyframes load-progress {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

/* ==========================================
   Hero Intro Animations
   ========================================== */
.hero-tagline,
.hero-title,
.hero-description,
.hero-ctas,
.hero-stats,
.hero-image-wrapper {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.hero-image-wrapper {
  transform: translateY(30px) scale(0.95);
  animation: none; /* Override default animation until loaded */
}

body.loaded .hero-tagline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

body.loaded .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

body.loaded .hero-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

body.loaded .hero-ctas {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

body.loaded .hero-stats {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

body.loaded .hero-image-wrapper {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.3s;
  /* Maintain floating animation after load transition completes */
  animation: float-hero 6s ease-in-out infinite 1.1s;
}

/* ==========================================
   Glowing Aura Orbs Motion
   ========================================== */
.hero-media::before {
  animation: pulse-orb-1 10s ease-in-out infinite;
}

.hero-media::after {
  animation: pulse-orb-2 12s ease-in-out infinite;
}

@keyframes pulse-orb-1 {
  0%, 100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.15) translate(15px, -20px);
    opacity: 0.45;
  }
}

@keyframes pulse-orb-2 {
  0%, 100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2) translate(-20px, 15px);
    opacity: 0.4;
  }
}

/* ==========================================
   WhatsApp Floating Button Ripple
   ========================================== */
.floating-wa::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  opacity: 0.7;
  animation: wa-ripple 2s infinite;
}

@keyframes wa-ripple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ==========================================
   Calculator Price Pop
   ========================================== */
.price-pop {
  animation: price-pop-anim 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes price-pop-anim {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
    text-shadow: 0 0 25px var(--accent-cyan), 0 0 10px var(--accent-cyan);
  }
  100% {
    transform: scale(1);
  }
}

/* ==========================================
   Card Hover Sleek Enhancements
   ========================================== */
.feature-card,
.service-card,
.step-card,
.testimonial-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
              background 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
              border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 240, 255, 0.15), var(--neon-shadow-cyan);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-active);
  box-shadow: 0 12px 30px rgba(0, 240, 255, 0.12), var(--neon-shadow-cyan);
}

.service-card.highlighted:hover {
  border-color: var(--accent-magenta);
  box-shadow: 0 12px 30px rgba(189, 0, 255, 0.25), var(--neon-shadow-magenta);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(189, 0, 255, 0.15), var(--neon-shadow-magenta);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.1);
}

/* ==========================================
   Info Modal Popup
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #090f1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 90%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.05);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
}

.modal-close-btn:hover {
  background: var(--accent-gold);
  color: var(--text-dark);
  box-shadow: 0 0 15px rgba(255, 157, 0, 0.4);
  transform: scale(1.05);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-page-num {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.modal-header h3 {
  font-size: 1.5rem;
  color: var(--text-white);
  font-weight: 700;
}

.modal-subtitle-yellow {
  color: var(--accent-gold);
  font-style: italic;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.modal-body {
  color: var(--text-primary);
  font-size: 0.92rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.modal-section h4 {
  color: var(--text-white);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.modal-section p {
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.modal-section ol {
  padding-left: 1.25rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-section ol li strong {
  color: var(--text-white);
}

.modal-footer-text {
  margin-top: 0.5rem;
  color: var(--text-secondary);
}

.modal-footer-text p {
  margin-bottom: 0.1rem;
}

/* Custom Checkbox */
.modal-footer-action {
  display: flex;
  align-items: center;
}

.modal-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.modal-checkbox-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox {
  position: relative;
  height: 1.25rem;
  width: 1.25rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.modal-checkbox-label:hover input ~ .custom-checkbox {
  border-color: var(--accent-gold);
}

.modal-checkbox-label input:checked ~ .custom-checkbox {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.custom-checkbox:after {
  content: "";
  position: absolute;
  display: none;
}

.modal-checkbox-label input:checked ~ .custom-checkbox:after {
  display: block;
}

.modal-checkbox-label .custom-checkbox:after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--bg-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Scrollbar inside modal */
.modal-card::-webkit-scrollbar {
  width: 6px;
}
.modal-card::-webkit-scrollbar-track {
  background: transparent;
}
.modal-card::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
.modal-card::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

@media (max-width: 600px) {
  .modal-card {
    padding: 2rem 1.25rem;
    width: 95%;
  }
  .modal-header h3 {
    font-size: 1.3rem;
  }
}

/* ==========================================
   Section Background Color Themes (Distinct & Smooth)
   ========================================== */
section {
  position: relative;
  transition: background-color 0.6s ease, background-image 0.6s ease;
  overflow: hidden;
}

/* 1. Beranda (Hero) - Violet/Cyan Theme */
#beranda {
  background-color: #050811;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(189, 0, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* 2. Kalkulator - Cyan-dominant Theme */
#kalkulator {
  background-color: #070d18;
  background-image: radial-gradient(circle at 30% 40%, rgba(0, 240, 255, 0.06) 0%, transparent 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* 3. Keunggulan - Magenta-dominant Theme */
#keunggulan {
  background-color: #0a0713;
  background-image: radial-gradient(circle at 75% 60%, rgba(189, 0, 255, 0.06) 0%, transparent 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* 4. Layanan - Dual Cyan/Magenta Rank Theme */
#layanan {
  background-color: #050b18;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(189, 0, 255, 0.04) 0%, transparent 50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* 5. Cara Order - Gold-dominant Theme */
#cara-order {
  background-color: #0c0b08;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 157, 0, 0.05) 0%, transparent 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* 6. Testimonial - Emerald-dominant Theme */
#testimonial {
  background-color: #04090c;
  background-image: radial-gradient(circle at 20% 80%, rgba(37, 211, 102, 0.05) 0%, transparent 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* 7. FAQ - Slate/Grey-dominant Theme */
#faq {
  background-color: #070912;
  background-image: radial-gradient(circle at 50% 30%, rgba(148, 163, 184, 0.04) 0%, transparent 60%);
}

/* ==========================================
   QRIS & Invoice Payment Flow Styles
   ========================================== */

.calculator-layout-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.calculator-left-col, .calculator-right-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calculator-left-col .calc-card {
  max-width: 100%;
  margin: 0;
}

/* QRIS Box Styling */
.qris-box {
  background: #ffffff;
  color: #0f172a;
  padding: 24px;
  border-radius: 20px;
  border: 2px solid #00FF88;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition-smooth);
}

.qris-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.qris-total-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
}

#qris-total-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #050811;
  font-family: var(--font-heading);
}

.qris-method {
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(5, 8, 17, 0.05);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.qris-image-wrapper {
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.06);
}

.qris-img {
  max-width: 180px;
  height: auto;
}

.qris-svg-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
}

.qris-instruction-text {
  font-size: 0.9rem;
  color: #475569;
  text-align: center;
  line-height: 1.5;
  max-width: 300px;
}

.qris-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #050811 0%, #1e293b 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(5, 8, 17, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
  justify-content: center;
}

.qris-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 8, 17, 0.4);
  background: linear-gradient(135deg, #00FF88 0%, #00f0ff 100%);
  color: #050811;
}

/* Invoice Card Styling */
.invoice-card {
  background: #0B2E1A;
  border-left: 5px solid #00FF88;
  border-top: 1px solid rgba(0, 255, 136, 0.15);
  border-right: 1px solid rgba(0, 255, 136, 0.15);
  border-bottom: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 25px rgba(0, 255, 136, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: var(--transition-smooth);
}

.invoice-card .invoice-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
}

.invoice-title {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #ffffff;
  letter-spacing: 0.02em;
}

.invoice-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.2);
  color: #00FF88;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #00FF88;
  border-radius: 50%;
  box-shadow: 0 0 8px #00FF88;
  animation: status-pulse 1.5s infinite alternate;
}

@keyframes status-pulse {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

.invoice-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.invoice-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: rgba(241, 245, 249, 0.8);
}

.detail-label {
  font-weight: 400;
}

.detail-val {
  font-weight: 600;
  color: #ffffff;
}

.detail-val.status-highlight {
  color: #00FF88;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.detail-val.price-highlight {
  font-size: 1.4rem;
  font-weight: 800;
  color: #00FF88;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.invoice-footer-message {
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.12);
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  text-align: center;
  color: #f1f5f9;
  font-style: italic;
  line-height: 1.4;
}

.invoice-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.invoice-btn-wa {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  width: 100%;
  justify-content: center;
}

.invoice-btn-wa:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.invoice-btn-reset {
  width: 100%;
  justify-content: center;
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.invoice-btn-reset:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-cyan);
  box-shadow: var(--neon-shadow-cyan);
}


/* Custom classes for states */
.calc-summary-card {
  width: 100%;
}

.hidden {
  display: none !important;
}

/* Responsive adjustment for desktop-first layout */
@media (max-width: 992px) {
  .calculator-layout-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================
   QRIS Pop-up Modal Styling
   ========================================== */
.qris-popup-card {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 2px solid #00FF88 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 255, 136, 0.25) !important;
  max-width: 480px;
  padding: 2.5rem 2rem;
}

.qris-popup-card .modal-header h3 {
  color: #0f172a !important;
}

.qris-popup-card .modal-close-btn {
  border-color: #0f172a !important;
  color: #0f172a !important;
}

.qris-popup-card .modal-close-btn:hover {
  background: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(15, 23, 42, 0.3) !important;
}

.qris-popup-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.qris-popup-total {
  text-align: center;
}

.qris-popup-total .total-label {
  font-size: 0.95rem;
  color: #475569;
  display: block;
  margin-bottom: 0.25rem;
}

#qris-popup-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #050811;
  font-family: var(--font-heading);
  line-height: 1.1;
}

.qris-timer-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.qris-popup-buttons {
  display: flex;
  gap: 1rem;
  width: 100%;
  margin-top: 0.5rem;
}

.qris-popup-btn-paid {
  flex: 1.2;
  padding: 0.85rem 1.5rem !important;
  font-size: 1rem !important;
  background: linear-gradient(135deg, #050811 0%, #1e293b 100%) !important;
  color: #ffffff !important;
  justify-content: center;
}

.qris-popup-btn-paid:hover {
  background: linear-gradient(135deg, #00FF88 0%, #00f0ff 100%) !important;
  color: #050811 !important;
  transform: translateY(-2px);
}

.qris-popup-btn-cancel {
  flex: 0.8;
  padding: 0.85rem 1.5rem !important;
  font-size: 1rem !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
  justify-content: center;
  background: transparent !important;
}

.qris-popup-btn-cancel:hover {
  background: rgba(15, 23, 42, 0.05) !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}


