/* -------------------------------------------------------------
   RapidoPay Product Platform — Bright, High-Energy Luminous UI
   Rapido InfraTel LLP · Architecting Digital Bharat
-------------------------------------------------------------- */

:root {
  /* Bright, High-Energy Color Palette */
  --bg-base: #F8FAFC;
  --bg-mesh-1: #FFFBEB;
  --bg-mesh-2: #EFF6FF;
  --bg-mesh-3: #FDF2F8;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --border-card: rgba(255, 255, 255, 0.9);
  --border-subtle: rgba(226, 232, 240, 0.8);
  --border-accent: rgba(245, 158, 11, 0.45);
  
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  
  /* Luminous Vibrant Accents */
  --accent-gold: #D97706;
  --accent-amber: #F59E0B;
  --accent-sun: #FBBF24;
  --accent-cyan: #0284C7;
  --accent-electric: #2563EB;
  --accent-green: #059669;
  --accent-red: #E11D48;
  --accent-purple: #7C3AED;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 0 16px rgba(245, 158, 11, 0.12);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 0 32px rgba(245, 158, 11, 0.2);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.35);
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: #F8FAFC;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* -------------------------------------------------------------
   1. Dynamic Animated Fluid Mesh Background & Canvas
-------------------------------------------------------------- */
#canvasContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: 
    radial-gradient(at 0% 0%, rgba(254, 243, 199, 0.7) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(224, 231, 255, 0.7) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(253, 230, 238, 0.7) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(224, 242, 254, 0.7) 0px, transparent 50%),
    #F8FAFC;
  background-size: 200% 200%;
  animation: fluidGradient 18s ease-in-out infinite alternate;
}

@keyframes fluidGradient {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 100%; }
}

#bgCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: auto;
}

/* Floating 3D Shapes in Background */
.floating-shapes-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.55;
  animation: floatMorph 14s ease-in-out infinite alternate;
  will-change: transform;
}

.blob-1 {
  top: 8%;
  left: 5%;
  width: 380px;
  height: 380px;
  background: linear-gradient(135deg, #FDE68A, #F59E0B);
  animation-duration: 16s;
}

.blob-2 {
  top: 45%;
  right: 5%;
  width: 440px;
  height: 440px;
  background: linear-gradient(135deg, #BAE6FD, #60A5FA);
  animation-duration: 20s;
  animation-delay: -4s;
}

.blob-3 {
  bottom: 10%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #FBCFE8, #F472B6);
  animation-duration: 18s;
  animation-delay: -8s;
}

@keyframes floatMorph {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
  50% { transform: translate3d(40px, -35px, 0) scale(1.08) rotate(90deg); border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%; }
  100% { transform: translate3d(-30px, 45px, 0) scale(0.95) rotate(180deg); border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; }
}

/* Floating Geometric Clay Glyphs */
.clay-glyph {
  position: absolute;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(254, 243, 199, 0.6));
  box-shadow: 12px 12px 28px rgba(217, 119, 6, 0.12), -12px -12px 28px rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.95);
  animation: gentleBob 6s ease-in-out infinite alternate;
}

@keyframes gentleBob {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-24px) rotate(8deg); }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------------------------------
   2. Header & Controls
-------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
}

.top-bar {
  background: rgba(255, 251, 235, 0.9);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
  font-size: 12px;
  color: var(--text-secondary);
  padding: 6px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 11px;
}

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

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

.brand-logo img {
  height: 40px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-name .rapido {
  color: #D97706;
}

.brand-name .pay {
  color: #0F172A;
}

sup.trademark, sup {
  font-size: 0.55em;
  vertical-align: 0.45em;
  line-height: 0;
  margin-left: 0.05em;
  font-weight: 700;
}

.brand-name sup {
  font-size: 0.55em;
  vertical-align: 0.45em;
  line-height: 0;
  margin-left: 0.05em;
  font-weight: 700;
  color: #D97706;
}

.brand-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  font-weight: 700;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  padding: 6px 10px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #D97706;
  background: rgba(254, 243, 199, 0.6);
}

/* Dropdown Submenu for About Us */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-toggle .chevron {
  font-size: 11px;
  transition: transform 0.25s ease;
  display: inline-block;
  margin-left: 2px;
}

.nav-dropdown:hover .dropdown-toggle .chevron,
.nav-dropdown.dropdown-active .dropdown-toggle .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  min-width: 230px;
  padding: 8px;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  z-index: 1000;
  text-align: left;
}

/* Open on pointer hover on desktop */
@media (min-width: 901px) {
  .nav-dropdown:hover > .dropdown-menu,
  .nav-dropdown:focus-within > .dropdown-menu {
    display: block !important;
    animation: dropdownFadeIn 0.2s ease forwards;
  }
}

/* Open when active via click (mobile and touch) */
.nav-dropdown.dropdown-active > .dropdown-menu {
  display: block !important;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.dropdown-menu a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(254, 243, 199, 0.85);
  color: #D97706;
}

.top-contact-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.top-contact-link:hover {
  color: #B45309;
  text-decoration: underline;
}

/* Motion Toggle Button - hidden as animations run permanently */
.motion-toggle-btn {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #F59E0B, #EA580C);
  color: #FFF;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  background: #FFFFFF;
  border-color: rgba(203, 213, 225, 0.8);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #F8FAFC;
  border-color: var(--accent-amber);
  transform: translateY(-2px);
}

.btn-outline-gold {
  border: 1.5px solid #D97706;
  color: #D97706;
  background: rgba(254, 243, 199, 0.5);
}

.btn-outline-gold:hover {
  background: #D97706;
  color: #FFF;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 26px;
  cursor: pointer;
}

/* -------------------------------------------------------------
   3. Hero Section (Bright, Glassmorphism, Engaging)
-------------------------------------------------------------- */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  color: #B45309;
  font-weight: 700;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero h1 span.gradient-gold {
  background: linear-gradient(135deg, #EA580C, #D97706, #CA8A04);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

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

.trust-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding-top: 20px;
}

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

.trust-item svg {
  color: var(--accent-green);
}

/* Phone Mockup Card (Bright Glassmorphism) */
.phone-mockup-wrap {
  position: relative;
}

.phone-mockup {
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.15), var(--shadow-glow);
  position: relative;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.phone-screen {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-radius: 24px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* -------------------------------------------------------------
   4. Section & Cards (Glassmorphism & High Readability)
-------------------------------------------------------------- */
.section {
  padding: 80px 0;
  position: relative;
}

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

.section-tag {
  color: #D97706;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

/* Cards Grid */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 32px 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

/* -------------------------------------------------------------
   5. Interactive Live Simulator (High Energy & Engaging)
-------------------------------------------------------------- */
.simulator-box {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.sim-input-group {
  margin-bottom: 20px;
}

.sim-input-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.sim-input-group select,
.sim-input-group input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(203, 213, 225, 0.8);
  background: #FFFFFF;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  font-weight: 600;
  transition: var(--transition);
}

.sim-input-group select:focus,
.sim-input-group input:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.sim-result-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.threat-gauge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 800;
  font-size: 13px;
}

.threat-safe {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.threat-danger {
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  color: #9F1239;
}

/* -------------------------------------------------------------
   6. Underwriting Calculator
-------------------------------------------------------------- */
.calc-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.slider-container {
  margin: 28px 0;
}

.slider-container input[type="range"] {
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: #E2E8F0;
  outline: none;
  accent-color: #D97706;
  cursor: pointer;
}

.calc-output-stat {
  font-size: 38px;
  font-weight: 900;
  color: #D97706;
}

/* -------------------------------------------------------------
   7. Guarantee Banner & Tables
-------------------------------------------------------------- */
.guarantee-banner {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.8) 0%, rgba(224, 242, 254, 0.8) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
}

.spec-table th,
.spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  font-size: 14px;
}

.spec-table th {
  background: #F8FAFC;
  color: var(--text-primary);
  font-weight: 800;
}

/* -------------------------------------------------------------
   8. Footer
-------------------------------------------------------------- */
.site-footer {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 64px 0 32px;
  font-size: 14px;
  backdrop-filter: blur(16px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 800;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

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

/* Reduced Motion Override */
body.reduced-motion #canvasContainer,
body.reduced-motion .shape-blob,
body.reduced-motion .clay-glyph {
  animation: none !important;
  transition: none !important;
}

/* -------------------------------------------------------------
   9. Application Showcase & Motivation Section
-------------------------------------------------------------- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: stretch;
  margin-top: 40px;
}

.app-device-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.app-device-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-amber);
}

.device-frame-wrap {
  position: relative;
  margin: 0 auto 24px;
  width: 100%;
  max-width: 320px;
}

.phone-screen-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 4px solid #0F172A;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
  display: block;
}

.screen-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.badge-threat {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-reward {
  background: rgba(245, 158, 11, 0.15);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

/* Download Center Box */
.download-box {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.75), rgba(224, 242, 254, 0.75));
  border: 2px solid rgba(245, 158, 11, 0.4);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  margin-top: 48px;
  text-align: center;
}

.download-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 20px;
}

.app-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.app-badge-btn:hover {
  transform: translateY(-2px);
  background: #1E293B;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.3);
}

.apk-badge-btn {
  background: linear-gradient(135deg, #F59E0B, #EA580C);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.apk-badge-btn:hover {
  background: linear-gradient(135deg, #D97706, #C2410C);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.55);
}

.qr-download-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------------------------------------------
   10. 100% Comprehensive Responsiveness
-------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    padding: 20px 24px 28px;
    border-bottom: 2px solid var(--border-accent);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown .dropdown-menu {
    position: static !important;
    display: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    background: #F8FAFC !important;
    margin-top: 6px !important;
    padding: 6px !important;
    border-radius: 10px !important;
    width: 100% !important;
  }

  .nav-dropdown.dropdown-active .dropdown-menu {
    display: block !important;
  }

  .mobile-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.25;
  }

  .section {
    padding: 48px 0;
  }
}

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

  .nav-container {
    height: 64px;
  }

  .brand-logo img {
    height: 34px;
  }

  .brand-name {
    font-size: 19px;
  }

  .hero {
    padding: 36px 0 48px;
  }

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

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

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

  .cards-grid-4 {
    grid-template-columns: 1fr;
  }

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

  .download-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .download-cta-row a {
    width: 100%;
    justify-content: center;
  }

  .qr-download-wrap {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 17px;
  }
  .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}
