/* ===================================================================
   BATIKU LANDING PAGE - MODERN WHITE / LIGHT THEME
   Palette: Pure White (#FFFFFF), Off-White (#F8FAFC), Deep Navy (#0B234F),
            Electric Teal (#0D9488), Emerald (#059669), Amber Gold (#D97706)
   Typography: Plus Jakarta Sans
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-muted: #F1F5F9;
  --border-card: #E2E8F0;
  --border-hover: #CBD5E1;
  --border-glow: rgba(13, 148, 136, 0.25);

  --primary: #0D9488;
  --primary-dark: #0F766E;
  --primary-light: #14B8A6;
  --primary-soft: #F0FDFA;
  --primary-glow: rgba(13, 148, 136, 0.2);

  --accent-gold: #D97706;
  --accent-gold-bg: #FEF3C7;
  --accent-gold-glow: rgba(217, 119, 6, 0.2);
  --accent-emerald: #059669;
  --accent-emerald-bg: #ECFDF5;
  --accent-red: #DC2626;
  --brand-navy: #0B234F;

  --text-main: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 8px 30px rgba(13, 148, 136, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Gradients & Glows (Soft Pastels on White) */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
  filter: blur(80px);
}

.ambient-glow-2 {
  position: absolute;
  top: 35%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, transparent 70%);
  filter: blur(90px);
}

.ambient-glow-3 {
  position: absolute;
  bottom: 5%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.05) 0%, transparent 70%);
  filter: blur(80px);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===================================================================
   HEADER & NAVBAR (CLEAN WHITE GLASS)
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0D9488, #0284C7);
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text h1 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--brand-navy);
}

.brand-text p {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0284C7);
  color: white;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-muted);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--accent-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.w-full {
  width: 100% !important;
}

.mobile-menu-cta {
  display: none;
}

.menu-toggle {
  display: none;
  background: var(--bg-muted);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.menu-toggle:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-color: var(--primary);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.btn-cta-main {
  font-size: 1.05rem;
  padding: 14px 32px;
}

.btn-cta-sub {
  font-size: 1.05rem;
  padding: 14px 28px;
}

/* ===================================================================
   HERO SECTION (WHITE / LIGHT)
   =================================================================== */
.hero-section {
  padding: 70px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  border: 1px solid #99F6E4;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-content h2 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 20px;
}

.hero-content h2 .gradient-text {
  background: linear-gradient(135deg, #0D9488 0%, #0284C7 60%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-card);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.trust-item .check-icon {
  color: var(--accent-emerald);
  font-size: 1rem;
  font-weight: 800;
}

/* Hero Visual / Mockup Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-container {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.mockup-main-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12), 0 0 30px rgba(13, 148, 136, 0.15);
  border: 1px solid var(--border-card);
  display: block;
}

/* Floating Badges on Mockup */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite alternate;
}

.floating-top-left {
  top: 12%;
  left: -10%;
}

.floating-bottom-right {
  bottom: 8%;
  right: -8%;
  animation-delay: -2s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.icon-teal { background: #CCFBF1; color: var(--primary-dark); }
.icon-gold { background: #FEF3C7; color: var(--accent-gold); }

.card-info .label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.card-info .value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

/* ===================================================================
   INTERACTIVE AI SIMULATOR (WHITE CHAT CONTAINER)
   =================================================================== */
.section-ai-sim {
  padding: 80px 0;
  background: #F1F5F9;
}

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

.section-tag {
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.ai-simulator-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-card);
}

.sim-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0284C7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
}

.sim-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
}

.sim-status {
  font-size: 0.75rem;
  color: var(--accent-emerald);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
}

.sim-audio-btn {
  background: var(--bg-muted);
  border: 1px solid var(--border-card);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.sim-audio-btn:hover {
  background: var(--primary-soft);
  border-color: #99F6E4;
}

.sim-chat-area {
  padding: 24px;
  height: 330px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #F8FAFC;
}

.chat-bubble {
  max-width: 82%;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  position: relative;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-top-left-radius: 4px;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #0B234F, #0E367A);
  border: 1px solid #0B234F;
  border-top-right-radius: 4px;
  color: white;
  box-shadow: 0 4px 12px rgba(11, 35, 79, 0.15);
}

.chat-bubble .voice-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.chat-bubble .action-badge {
  display: inline-block;
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 8px;
}

.sim-prompt-chips {
  padding: 12px 24px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-card);
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.prompt-chip {
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.prompt-chip:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-color: var(--primary);
}

.sim-input-bar {
  padding: 14px 20px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-input-box {
  flex: 1;
  background: #F1F5F9;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.sim-input-box:focus {
  background: #FFFFFF;
  border-color: var(--primary);
}

.sim-mic-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0284C7);
  border: none;
  color: white;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: var(--transition);
}

.sim-mic-btn:hover {
  transform: scale(1.06);
}

.sim-mic-btn.recording {
  background: var(--accent-red);
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.4);
  animation: pulse-red 1.2s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ===================================================================
   FEATURE CARDS GRID (WHITE SURFACES)
   =================================================================== */
.section-features {
  padding: 90px 0;
  background: #FFFFFF;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.feature-card:hover {
  background: #FFFFFF;
  border-color: #99F6E4;
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-soft);
  border: 1px solid #CCFBF1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   INTERACTIVE PO PROFIT CALCULATOR (LIGHT THEME)
   =================================================================== */
.section-calculator {
  padding: 90px 0;
  background: #F8FAFC;
}

.calc-box {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.input-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.input-group label span {
  color: var(--primary-dark);
  font-weight: 700;
}

.range-slider {
  width: 100%;
  accent-color: var(--primary);
  height: 6px;
  border-radius: 3px;
  background: #E2E8F0;
  outline: none;
}

.calc-results {
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-card);
  font-size: 0.9rem;
}

.result-item.highlight {
  border-bottom: none;
  padding-top: 18px;
}

.result-item.highlight .val {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.result-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.result-val {
  font-weight: 700;
  color: var(--text-main);
}

/* ===================================================================
   PROMOTIONAL MEDIA GALLERY
   =================================================================== */
.section-gallery {
  padding: 90px 0;
  background: #FFFFFF;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: #99F6E4;
  box-shadow: var(--shadow-lg);
}

.gallery-img-wrap {
  width: 100%;
  background: #F1F5F9;
  position: relative;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.03);
}

.gallery-info {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gallery-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.gallery-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ===================================================================
   FAQ SECTION (CLEAN ACCORDION)
   =================================================================== */
.section-faq {
  padding: 80px 0 100px;
  background: #F8FAFC;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-toggle {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  display: none;
}

.faq-item.active {
  border-color: #99F6E4;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ===================================================================
   CALL TO ACTION & FOOTER
   =================================================================== */
.section-cta {
  padding: 80px 0;
  position: relative;
  background: #FFFFFF;
}

.cta-box {
  background: linear-gradient(135deg, #0B234F 0%, #0E367A 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(11, 35, 79, 0.25);
  color: white;
}

.cta-box h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: white;
}

.cta-box p {
  font-size: 1.15rem;
  color: #E2E8F0;
  max-width: 620px;
  margin: 0 auto 36px;
}

.cta-box .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-box .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
}

.site-footer {
  border-top: 1px solid var(--border-card);
  padding: 40px 0;
  background: #FFFFFF;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

/* ===================================================================
   RESPONSIVE BREAKPOINTS (MOBILE-FIRST OPTIMIZATIONS)
   =================================================================== */

/* Tablet & Smaller Desktops */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust-badges {
    justify-content: center;
  }
  .features-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-box {
    grid-template-columns: 1fr;
  }
}

/* Tablets & Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .navbar {
    height: 70px;
  }

  /* Hide secondary button in navbar to prevent crowding */
  .nav-btn-demo {
    display: none !important;
  }

  /* Compact primary button on mobile navbar */
  .nav-btn-download {
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 8px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  /* Mobile Slide-down Navigation Drawer */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-card);
    padding: 20px 24px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    gap: 12px;
    z-index: 99;
  }

  .nav-links.is-open {
    display: flex;
    animation: menuSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-links li a {
    display: block;
    padding: 12px 16px;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    transition: var(--transition);
  }

  .nav-links li a:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
  }

  .mobile-menu-cta {
    display: block;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-card);
  }

  /* Hero Typography & Spacing */
  .hero-content h2 {
    font-size: 2.2rem;
    line-height: 1.25;
  }

  .hero-desc {
    font-size: 0.98rem;
    padding: 0 8px;
  }

  /* Prevent hero mockup badges from overflowing or overlapping */
  .mockup-container {
    max-width: 380px;
    margin: 0 auto;
    position: relative;
  }

  .floating-card {
    position: static;
    animation: none;
    margin: 12px auto 0;
    max-width: 320px;
    width: 100%;
    justify-content: center;
  }

  /* Grids & Cards */
  .features-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }

  .calc-box {
    padding: 24px 20px;
  }
}

/* Mobile Phones (<= 640px) */
@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  /* Hero Action Buttons - Clean Full Width Stack (NO OVERLAPPING!) */
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  /* Hero Trust Badges */
  .hero-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .trust-item {
    font-size: 0.85rem;
  }

  /* Sections Spacing */
  .section-ai-sim, .section-features, .section-calculator, .section-gallery, .section-faq {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* AI Simulator Mobile Refinements */
  .sim-header {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .sim-audio-btn {
    margin-left: auto;
  }

  .sim-chat-area {
    height: 280px;
    padding: 16px 14px;
    gap: 12px;
  }

  .chat-bubble {
    max-width: 90%;
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .sim-prompt-chips {
    padding: 10px 14px;
    gap: 8px;
  }

  .prompt-chip {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .sim-input-bar {
    padding: 10px 14px;
    gap: 8px;
  }

  .sim-input-box {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  /* Calculator Mobile Refinements */
  .calc-box {
    padding: 20px 16px;
  }

  .result-item.highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .result-item.highlight .val {
    font-size: 1.5rem;
  }

  /* Bottom CTA Banner Mobile - Clean Full Width Stack */
  .section-cta {
    padding: 50px 0;
  }

  .cta-box {
    padding: 36px 20px;
  }

  .cta-box h2 {
    font-size: 1.6rem;
  }

  .cta-box p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
  }

  .cta-actions .btn {
    width: 100%;
    font-size: 0.95rem !important;
    padding: 14px 20px !important;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Extra Small Phones (<= 400px) */
@media (max-width: 400px) {
  .brand-text h1 {
    font-size: 1.15rem;
  }

  .brand-text p {
    display: none;
  }

  .logo-badge {
    width: 36px;
    height: 36px;
  }

  .hero-content h2 {
    font-size: 1.85rem;
  }
}

@keyframes menuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
