/* ==========================================================================
   Vaultly - Premium Fintech Landing Page Design System
   ========================================================================== */

:root {
  --bg-dark: #08090C;
  --bg-card: rgba(18, 20, 26, 0.75);
  --bg-card-hover: rgba(26, 29, 38, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 229, 153, 0.4);

  /* Brand Accents */
  --primary: #00E599;          /* Emerald Growth */
  --primary-glow: rgba(0, 229, 153, 0.25);
  --secondary: #00D2FF;        /* Electric Cyan */
  --secondary-glow: rgba(0, 210, 255, 0.25);
  --accent-purple: #8B5CF6;    /* Royal Violet */
  --accent-expense: #FF5C5C;   /* Alert Coral */
  
  /* Text */
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-sub: #64748B;
  
  /* Gradients */
  --grad-brand: linear-gradient(135deg, #00E599 0%, #00D2FF 100%);
  --grad-purple: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
  --grad-dark: linear-gradient(180deg, rgba(16, 18, 24, 0.9) 0%, rgba(10, 11, 15, 0.95) 100%);
  --grad-glow: radial-gradient(circle at 50% 0%, rgba(0, 229, 153, 0.15) 0%, rgba(0, 210, 255, 0.05) 45%, transparent 70%);

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-card: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-glass);
  --shadow-glow: 0 10px 30px -5px var(--primary-glow);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img,
picture {
  max-width: 100%;
}

/* Material Icons normalization */
.material-icons-round {
  font-size: inherit;
  line-height: 1;
  vertical-align: middle;
  color: inherit;
  user-select: none;
}


html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-dark);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 229, 153, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 90% 40%, rgba(0, 210, 255, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 10% 70%, rgba(139, 92, 246, 0.08), transparent);
  background-attachment: fixed;
}

/* Ambient Background Grid */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8, 9, 12, 0.75);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

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

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

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.logo-badge img,
.brand-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.nav-brand:hover .logo-badge {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.brand-text {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-text span {
  color: var(--primary);
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--grad-brand);
  color: #050608;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 229, 153, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-glass);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-subtext {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(0, 229, 153, 0.08);
  border: 1px solid rgba(0, 229, 153, 0.25);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 229, 153, 0.1);
}

.pill-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title .gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 600;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-icon {
  color: var(--primary);
}

/* Hero Mockup Showcase */
.hero-mockup-wrapper {
  margin-top: 50px;
  position: relative;
  perspective: 1200px;
}

.hero-mockup-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 
    0 30px 80px -15px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 80px -10px var(--primary-glow);
  background: #0f1118;
  transition: transform 0.4s ease;
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(18, 20, 27, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}

.floating-badge-1 {
  top: 12%;
  left: -20px;
  animation-delay: 0s;
}

.floating-badge-2 {
  bottom: 16%;
  right: -20px;
  animation-delay: 2.5s;
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.badge-icon.emerald {
  background: rgba(0, 229, 153, 0.15);
  color: var(--primary);
}

.badge-icon.cyan {
  background: rgba(0, 210, 255, 0.15);
  color: var(--secondary);
}

.badge-info h4 {
  font-size: 13px;
  font-weight: 700;
}

.badge-info p {
  font-size: 11px;
  color: var(--text-muted);
}

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

/* ==========================================================================
   Interactive Calculator Section
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.calc-slider-wrapper {
  margin-bottom: 36px;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  accent-color: var(--primary);
}

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

.calc-pillar {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.calc-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.calc-pillar.highlight {
  background: rgba(0, 229, 153, 0.04);
  border-color: rgba(0, 229, 153, 0.2);
}

.pillar-pct {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 12px;
}

.pillar-pct.needs { background: rgba(0, 210, 255, 0.15); color: var(--secondary); }
.pillar-pct.wants { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.pillar-pct.savings { background: rgba(0, 229, 153, 0.2); color: var(--primary); }

.pillar-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}

.pillar-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.feature-card:hover::before {
  background: var(--grad-brand);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ==========================================================================
   Deep Dive Split Showcase
   ========================================================================== */
.deep-dive {
  background: linear-gradient(180deg, rgba(16, 18, 24, 0.5) 0%, rgba(8, 9, 12, 0.8) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.deep-dive-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1024 / 675;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8);
}

.deep-dive-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.dive-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dive-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 229, 153, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.dive-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.dive-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Download / QR Showcase Card
   ========================================================================== */
.download-box {
  background: radial-gradient(circle at 50% 0%, rgba(0, 229, 153, 0.12) 0%, rgba(18, 20, 27, 0.95) 70%);
  border: 1px solid rgba(0, 229, 153, 0.25);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  box-shadow: 0 24px 60px -15px rgba(0, 229, 153, 0.15);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.download-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 14px;
}

.download-info p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.download-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.qr-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
}

.qr-code {
  width: 170px;
  height: 170px;
  background: #ffffff;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.qr-caption {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  user-select: none;
}

.faq-icon {
  font-size: 18px;
  transition: transform 0.25s ease;
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-card.active .faq-answer {
  max-height: 250px;
  padding: 0 24px 20px;
}

.faq-card.active .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
  margin-top: 60px;
  background: rgba(6, 7, 9, 0.95);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

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

.footer-link {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--text-sub);
}

/* ==========================================================================
   How It Works (3 Steps)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(16px);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 153, 0.3);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 229, 153, 0.1);
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  position: absolute;
  top: 20px;
  right: 24px;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 229, 153, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 229, 153, 0.2);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .split-layout { grid-template-columns: 1fr; gap: 36px; }
  .download-box { grid-template-columns: 1fr; padding: 36px 24px; text-align: center; }
  .download-buttons { justify-content: center; }
  .calc-grid { grid-template-columns: 1fr; }
  .floating-badge { display: none; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(8, 9, 12, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glass);
    padding: 24px 20px;
    display: none;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }
  
  .nav-menu.active {
    display: flex;
  }

  .nav-menu .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .nav-menu .nav-link {
    font-size: 15px;
    padding: 8px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .nav-brand .brand-text {
    font-size: 19px;
  }

  .nav-brand .logo-badge {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions .btn {
    padding: 7px 12px;
    font-size: 12px;
  }

  /* In navbar, hide the secondary button on mobile so it never overflows */
  .nav-actions .nav-apk-btn {
    display: none;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.15;
  }

  .hero-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .calc-card {
    padding: 24px 16px;
  }

  .download-box {
    padding: 28px 16px;
  }

  .download-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .download-buttons .btn {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .container {
    padding: 0 14px;
  }

  .nav-actions .btn {
    padding: 6px 10px;
    font-size: 11.5px;
  }

  .hero-title {
    font-size: 29px;
  }

  .hero-desc {
    font-size: 13.5px;
  }

  .btn-lg {
    padding: 12px 18px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }

  .nav-brand .brand-text {
    font-size: 18px;
  }

  .hero-title {
    font-size: 26px;
  }

  .nav-actions .btn {
    padding: 5px 8px;
    font-size: 11px;
  }
}
