/* ==============================================================================
   LeBro.site — Official Stylesheet v2.0.0
   Modern, High-Craft, Mobile-First Web Experience
   Tailored for Local Business Card Websites in Mārupes Novads
   Theme: Follows OS system preference (prefers-color-scheme)
   ============================================================================== */

/* --- Light Theme (Default / :root) --- */
:root {
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-focus: #0284c7;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --primary: #0284c7;
  --primary-glow: rgba(2, 132, 199, 0.2);
  --secondary: #7c3aed;
  --secondary-glow: rgba(124, 58, 237, 0.2);
  --accent: #059669;
  --accent-glow: rgba(5, 150, 105, 0.2);
  --warning: #f59e0b;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.2);
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1160px;
}

/* --- OS System Dark Mode (auto-applied via media query) --- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-main: #0b0f19;
    --bg-card: rgba(17, 24, 39, 0.85);
    --bg-card-hover: rgba(31, 41, 55, 0.95);
    --bg-glass: rgba(15, 23, 42, 0.7);
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-focus: #06b6d4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --primary: #06b6d4;
    --primary-glow: rgba(6, 182, 212, 0.35);
    --secondary: #8b5cf6;
    --secondary-glow: rgba(139, 92, 246, 0.35);
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 35px var(--primary-glow);
  }
}

/* --- Manual Light Theme Override (user toggle) --- */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-focus: #0284c7;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --primary: #0284c7;
  --primary-glow: rgba(2, 132, 199, 0.2);
  --secondary: #7c3aed;
  --secondary-glow: rgba(124, 58, 237, 0.2);
  --accent: #059669;
  --accent-glow: rgba(5, 150, 105, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.2);
}

/* --- Manual Dark Theme Override (user toggle) --- */
[data-theme="dark"] {
  --bg-main: #0b0f19;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(31, 41, 55, 0.95);
  --bg-glass: rgba(15, 23, 42, 0.7);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-focus: #06b6d4;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #06b6d4;
  --primary-glow: rgba(6, 182, 212, 0.35);
  --secondary: #8b5cf6;
  --secondary-glow: rgba(139, 92, 246, 0.35);
  --accent: #10b981;
  --accent-glow: rgba(16, 185, 129, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px var(--primary-glow);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  padding-bottom: 72px; /* Space for Mobile Quick Bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* Decorative Background Glows */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  transition: opacity 0.5s ease;
}

.glow-1 {
  width: 380px;
  height: 380px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-2 {
  width: 440px;
  height: 440px;
  top: 35%;
  right: -100px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

.glow-3 {
  width: 400px;
  height: 400px;
  bottom: 5%;
  left: 15%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.2;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #38bdf8 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(6, 182, 212, 0.12);
  color: var(--primary);
  border: 1px solid rgba(6, 182, 212, 0.3);
  margin-bottom: 1rem;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--primary-glow);
  color: #fff;
  font-size: 1.1rem;
}

.brand-badge {
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-left: 0.25rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

@media (min-width: 880px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Control Buttons (Lang, Theme) */
.btn-icon-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-icon-switch:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-icon-switch:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

/* Primary Button Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  min-height: 48px; /* Touch target accessibility */
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-whatsapp {
  background: #25d366;
  color: #0b0f19;
  border-color: #25d366;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
}

/* Hero Section */
.hero {
  padding: 3rem 0 4rem;
}

@media (min-width: 992px) {
  .hero {
    padding: 4.5rem 0 5.5rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-icon {
  color: var(--accent);
}

/* Interactive Live Mockup Device */
.phone-mockup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px;
}

.mockup-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.mockup-tab-btn {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 42px;
}

.mockup-tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 10px var(--primary-glow);
}

.phone-device {
  width: 100%;
  max-width: 320px;
  height: 580px;
  background: #0f172a;
  border-radius: 44px;
  border: 8px solid #334155;
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px var(--primary-glow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #000;
  border-radius: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.island-camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1e293b;
}

.phone-screen {
  flex: 1;
  background: #0b0f19;
  overflow-y: auto;
  padding: 38px 14px 14px;
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: #f8fafc;
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

.preview-card {
  background: #1e293b;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.75rem;
}

.preview-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: #334155;
}

.preview-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.preview-tagline {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.preview-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  margin-bottom: 0.85rem;
}

.preview-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.preview-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.preview-btn-call {
  background: #0284c7;
  color: #fff;
}

.preview-btn-wa {
  background: #25d366;
  color: #0b0f19;
}

.preview-btn-waze {
  background: #3b82f6;
  color: #fff;
}

.preview-info-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: left;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.preview-info-row:last-child {
  margin-bottom: 0;
}

/* Sections Styling */
.section {
  padding: 4.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Cards & Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Story Section — Bruno & Leo */
.story-wrapper {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.06), rgba(139, 92, 246, 0.06));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
}

@media (min-width: 768px) {
  .story-wrapper {
    padding: 3.5rem;
  }
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.founders-duo {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  width: 160px;
}

.founder-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.founder-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.founder-age {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.founder-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.story-highlight-quote {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
}

/* Speed / Comparison Metric */
.comparison-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  margin-top: 2rem;
}

.speed-bar-row {
  margin-bottom: 1.5rem;
}

.speed-bar-row:last-child {
  margin-bottom: 0;
}

.speed-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.speed-track {
  height: 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.speed-fill-fast {
  height: 100%;
  width: 98%;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  border-radius: 7px;
}

.speed-fill-slow {
  height: 100%;
  width: 25%;
  background: #ef4444;
  border-radius: 7px;
}

/* Interactive Calculator */
.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .calc-wrapper {
    padding: 3rem;
  }
}

.calc-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .calc-options-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.calc-option-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-option-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.calc-option-card.selected {
  border-color: var(--primary);
  background: rgba(6, 182, 212, 0.08);
}

.calc-option-card input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  cursor: pointer;
  accent-color: var(--primary);
  margin-top: 2px;
}

.calc-option-info {
  flex: 1;
}

.calc-option-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  display: flex;
  justify-content: space-between;
}

.calc-option-price {
  color: var(--primary);
  font-weight: 800;
}

.calc-option-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.calc-section-divider {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 0.75rem 0 0.25rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.5rem;
}

.calc-total-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .calc-total-box {
    flex-direction: row;
    justify-content: space-between;
  }
}

.calc-sum-wrap {
  text-align: center;
}

@media (min-width: 640px) {
  .calc-sum-wrap {
    text-align: left;
  }
}

.calc-sum-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.calc-sum-val {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* FAQ Accordion */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: var(--primary);
}

.faq-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  min-height: 52px;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
  color: var(--primary);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-body {
  display: block;
}

/* Contact & Action Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-wrap {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Mobile Sticky Bottom Quick Action Bar (Thumb-friendly) */
.mobile-quick-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.6rem 0.75rem;
  padding-bottom: max(0.6rem, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .mobile-quick-bar {
    display: none;
  }
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  min-height: 48px;
  min-width: 70px;
}

.quick-action-btn.btn-call {
  color: #38bdf8;
}

.quick-action-btn.btn-wa-highlight {
  background: #25d366;
  color: #0b0f19;
  border-radius: var(--radius-md);
  font-weight: 800;
  padding: 0.4rem 1rem;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4);
}

.quick-icon {
  font-size: 1.25rem;
  line-height: 1;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Portfolio & MVP Showcase Styles
   ========================================================================== */
.portfolio-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  margin-top: 1.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.portfolio-client-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.mvp-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mvp-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.mvp-icon {
  font-size: 1.25rem;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  line-height: 1;
}

.mvp-feature-item strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 0.2rem;
}

.mvp-feature-item p {
  color: var(--text-muted);
  margin: 0;
}

.portfolio-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.portfolio-preview-box {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid rgba(201, 168, 76, 0.4);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.preview-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: #10b981; }

.browser-url {
  font-size: 0.75rem;
  color: #64748b;
  margin-left: 0.5rem;
  font-family: monospace;
  font-weight: 600;
}

.preview-hero-thumb {
  padding: 2.2rem 1.5rem;
  text-align: center;
  background: radial-gradient(circle at center, #fbf7ee 0%, #f1ebe1 100%);
  position: relative;
  border-bottom: 1px solid #e8e0d0;
}

.preview-overlay {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1.5px solid rgba(201, 168, 76, 0.4);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 8px 24px rgba(139, 34, 82, 0.08);
}

.preview-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 1rem 0.5rem;
  background: #ffffff;
  text-align: center;
  border-top: 1px solid #f1f5f9;
}

.preview-stat strong {
  display: block;
  color: #8B2252;
  font-size: 1.15rem;
  font-weight: 800;
}

.preview-stat span {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.btn-header-cta {
  display: none;
}
@media (min-width: 920px) {
  .btn-header-cta {
    display: inline-flex;
    animation: pulseGlow 3s infinite;
  }
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

