/* ==========================================================================
   Pera Track - Glassmorphism Landing Page Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand & Color Palette */
  --primary-blue: #50a4f3;
  --primary-blue-dark: #1b6fd6;
  --primary-blue-light: #8ec5fc;
  --accent-green: #10b981;
  --accent-green-light: #34d399;
  --accent-purple: #a855f7;
  --accent-gold: #f59e0b;
  --accent-rose: #f43f5e;

  --bg-dark: #070b15;
  --bg-card-dark: rgba(15, 23, 42, 0.65);

  /* Glassmorphism Design Tokens */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.12);
  --glass-bg-active: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-glow: rgba(80, 164, 243, 0.45);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glass-inner-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
  --glass-blur: blur(20px) saturate(190%);

  /* Text Tokens */
  --text-main: #ffffff;
  --text-sub: rgba(255, 255, 255, 0.78);
  --text-muted: rgba(255, 255, 255, 0.5);

  /* Layout */
  --max-width: 1240px;
  --header-height: 80px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 9999px;

  /* Transitions */
  --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Global Reset & Base Setup --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(at 0% 0%, rgba(27, 111, 214, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(147, 51, 234, 0.12) 0px, transparent 50%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(7, 11, 21, 0.8);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  border: 2px solid rgba(7, 11, 21, 0.8);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(80, 164, 243, 0.5);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
  outline: none;
  border: none;
}

/* --- Ambient Glowing Orbs Background Effect --- */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: orbFloat 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-blue) 0%, rgba(27,111,214,0.3) 100%);
  top: -100px;
  left: -100px;
  animation-duration: 18s;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-purple) 0%, rgba(147,51,234,0.2) 100%);
  top: 40%;
  right: -100px;
  animation-duration: 22s;
  animation-delay: -5s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-green) 0%, rgba(16,185,129,0.2) 100%);
  bottom: 10%;
  left: 15%;
  animation-duration: 25s;
  animation-delay: -10s;
}

.orb-4 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--accent-gold) 0%, rgba(245,158,11,0.25) 100%);
  top: 15%;
  left: 45%;
  animation-duration: 16s;
  animation-delay: -3s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 70px) scale(0.95); }
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --- Reusable Glassmorphism Components --- */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inner-shadow);
  border-radius: var(--radius-lg);
  transition: transform var(--tr-normal), border-color var(--tr-normal), box-shadow var(--tr-normal), background var(--tr-normal);
}

.glass-panel-hover:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-glow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(80, 164, 243, 0.25);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-blue-light) 50%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-accent {
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, #a78bfa 50%, var(--accent-green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass Buttons */
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--tr-fast);
  position: relative;
  overflow: hidden;
}

.btn-glass-primary {
  background: linear-gradient(135deg, rgba(80, 164, 243, 0.9) 0%, rgba(27, 111, 214, 0.9) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(27, 111, 214, 0.4), var(--glass-inner-shadow);
}

.btn-glass-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg) translateY(-100%);
  transition: transform 0.6s ease;
}

.btn-glass-primary:hover::before {
  transform: rotate(45deg) translateY(100%);
}

.btn-glass-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(27, 111, 214, 0.6), 0 0 25px rgba(80, 164, 243, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-glass-secondary {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.btn-glass-secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4), 0 0 15px rgba(80, 164, 243, 0.3);
}

/* Badge Pill */
.badge-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-blue-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* --- Navigation Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: all var(--tr-normal);
}

.header.scrolled {
  background: rgba(7, 11, 21, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.logo-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(80, 164, 243, 0.4), var(--glass-inner-shadow);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-sub);
  transition: color var(--tr-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition: width var(--tr-fast);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.12;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-sub);
  max-width: 580px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 15px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-sub);
  font-weight: 500;
}

.highlight-item i {
  color: var(--primary-blue-light);
  font-size: 1.1rem;
}

/* --- Hero Visual Showcase & Floating Glass Elements --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.phone-mockup-frame {
  width: 310px;
  height: 620px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 48px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(80, 164, 243, 0.3), inset 0 0 2px rgba(255, 255, 255, 0.5);
  padding: 12px;
  position: relative;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease-out;
}

.phone-mockup-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0d1527;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-notch {
  width: 100px;
  height: 20px;
  background: #000;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* Mockup Content Styling */
.app-header-mock {
  padding: 32px 16px 16px;
  background: linear-gradient(180deg, rgba(27, 111, 214, 0.4) 0%, rgba(13, 21, 39, 0) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-title-mock {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.mock-stat-card {
  margin: 0 16px 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
}

.mock-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mock-stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-green-light);
  margin-top: 2px;
}

.mock-tx-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.mock-tx-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.8rem;
}

.mock-tx-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.mock-badge-green { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.mock-badge-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

/* Animated Floating Elements */
.floating-glass-card {
  position: absolute;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 20;
  animation: float 6s infinite ease-in-out;
}

.fc-1 {
  top: 12%;
  left: -40px;
  animation-delay: 0s;
}

.fc-2 {
  bottom: 22%;
  right: -30px;
  animation-delay: -2s;
}

.fc-3 {
  bottom: 5%;
  left: -20px;
  animation-delay: -4s;
}

.fc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.fc-icon-green {
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.fc-icon-blue {
  background: rgba(80, 164, 243, 0.25);
  color: #8ec5fc;
  border: 1px solid rgba(142, 197, 252, 0.4);
}

.fc-icon-purple {
  background: rgba(168, 85, 247, 0.25);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.4);
}

.fc-text strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
}

.fc-text span {
  font-size: 0.78rem;
  color: var(--text-sub);
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* --- Section Title & Headers --- */
.section-padding {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 55px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 12px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-sub);
}

/* --- Interactive Live Fee Calculator Widget --- */
.calculator-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group-glass {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group-glass label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-sub);
}

.input-field-glass {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all var(--tr-fast);
}

.input-field-glass:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-blue);
  box-shadow: 0 0 15px rgba(80, 164, 243, 0.3);
}

.type-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.type-btn {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-sub);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.type-btn.active {
  background: rgba(80, 164, 243, 0.25);
  border-color: var(--primary-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(80, 164, 243, 0.3);
}

.calc-results-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-sub);
}

.calc-row-total {
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.calc-val-highlight {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-green-light);
}

/* --- Feature Cards Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(80, 164, 243, 0.2) 0%, rgba(27, 111, 214, 0.05) 100%);
  border: 1px solid rgba(80, 164, 243, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-blue-light);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* --- Supported E-Wallets Badge Grid --- */
.wallets-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 950px;
  margin: 0 auto;
}

.wallet-badge {
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--tr-fast);
}

.wallet-badge:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--primary-blue);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.wallet-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

/* --- App Statistics Stats Bar --- */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 35px 20px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-sub);
  font-weight: 500;
}

/* --- Download CTA Section --- */
.download-cta-panel {
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(27, 111, 214, 0.25) 0%, rgba(147, 51, 234, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.download-cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.download-cta-sub {
  font-size: 1.1rem;
  color: var(--text-sub);
  max-width: 600px;
  margin: 0 auto 35px;
}

.download-buttons-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.version-info {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* --- FAQ Glass Accordion --- */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
  cursor: pointer;
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--primary-blue-light);
  transition: transform var(--tr-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-body {
  max-height: 200px;
  padding-bottom: 20px;
}

/* --- Footer Section --- */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-sub);
  font-size: 0.92rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-sub);
  font-size: 0.9rem;
  transition: color var(--tr-fast);
}

.footer-col a:hover {
  color: var(--primary-blue-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Glass Download Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--tr-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-glass {
  width: 90%;
  max-width: 500px;
  padding: 36px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--tr-normal);
  text-align: center;
}

.modal-overlay.active .modal-glass {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-highlights {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .stats-panel {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .fc-1, .fc-2, .fc-3 {
    display: none; /* Hide floating badges on smaller screens for cleaner view */
  }
  .download-cta-panel {
    padding: 35px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
