/* ==========================================================================
   FamFinance P2P — Landing Page Premium Stylesheet
   Design System: Modern Dark Mode, Ambient Glows, Glassmorphism & High-End UX
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-card-solid: #0f172a;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(16, 185, 129, 0.35);
  --border-glow: rgba(56, 189, 248, 0.25);
  
  /* Text colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-white: #ffffff;
  
  /* Brand Accents */
  --emerald-main: #10b981;
  --emerald-light: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.2);
  --cyan-main: #06b6d4;
  --cyan-light: #38bdf8;
  --cyan-glow: rgba(6, 182, 212, 0.2);
  --indigo-accent: #6366f1;
  --amber-accent: #f59e0b;
  --danger-accent: #ef4444;
  
  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-glow: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  --gradient-emerald-text: linear-gradient(135deg, #34d399 0%, #06b6d4 100%);
  --gradient-card: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  
  /* Layout & Geometry */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-w: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CSS Reset & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

body {
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--bg-dark);
}

/* Ambient Background Lights */
.bg-ambient-lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 550px;
  height: 550px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, transparent 70%);
}

.orb-2 {
  width: 600px;
  height: 600px;
  top: 30%;
  right: -150px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
  animation-duration: 22s;
  animation-delay: -5s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  bottom: 5%;
  left: 20%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  animation-duration: 26s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

/* Subtle Grid Background Pattern */
.bg-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
}

/* Typography & Headings */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-white);
  letter-spacing: -0.025em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Section Common Styling */
section {
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.section-badge.blue {
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan-light);
  border-color: rgba(6, 182, 212, 0.3);
}

.section-badge.purple {
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.3);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: var(--gradient-emerald-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: var(--transition-smooth);
}

.site-nav.scrolled {
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.8rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 6px;
  margin-left: 0.35rem;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-brand);
  color: #070a12;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  transition: var(--transition-fast);
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(16, 185, 129, 0.55);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  max-width: 650px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-pill-badge {
  background: var(--gradient-brand);
  color: #070a12;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.725rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--gradient-brand);
  color: #05140f;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.38);
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 38px rgba(16, 185, 129, 0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(30, 41, 59, 0.7);
  color: var(--text-white);
  border: 1px solid var(--border-subtle);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
  cursor: pointer;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h4 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

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

.phone-frame {
  position: relative;
  border-radius: 42px;
  background: #0f172a;
  padding: 12px;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 45px rgba(16, 185, 129, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #090d16;
  position: relative;
}

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

/* Floating Notification Badges */
.floating-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  z-index: 10;
  animation: floatCard 6s ease-in-out infinite alternate;
}

.card-top-left {
  top: 12%;
  left: -16%;
}

.card-bottom-right {
  bottom: 14%;
  right: -16%;
  animation-delay: -3s;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

.float-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

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

.float-icon.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.float-icon.cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.float-text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-white);
}

.float-text span {
  font-size: 0.75rem;
  color: var(--emerald-light);
}

/* ==========================================================================
   PROBLEM VS SOLUTION / COMPARATIVE MATRIX
   ========================================================================== */
.comparison-section {
  background: linear-gradient(180deg, rgba(7, 10, 18, 0) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(7, 10, 18, 0) 100%);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.compare-card {
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
}

.compare-card.danger {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.compare-card.success {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 20px 45px -10px rgba(16, 185, 129, 0.15);
}

.compare-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.compare-card.danger .compare-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.compare-card.success .compare-badge {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-light);
}

.compare-title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.compare-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.icon-x {
  color: #ef4444;
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.icon-check {
  color: var(--emerald-light);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   FEATURES SHOWCASE (GRID)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

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

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.5rem;
}

.feature-icon-box.cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.25);
}

.feature-icon-box.indigo {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.65;
}

.feature-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   SCREENSHOTS & INTERACTIVE TABS
   ========================================================================== */
.gallery-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(7, 10, 18, 0.8) 100%);
}

.tabs-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn.active, .tab-btn:hover {
  background: rgba(30, 41, 59, 0.9);
  color: var(--text-white);
  border-color: var(--emerald-light);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.2);
}

.tab-btn.active {
  background: var(--gradient-brand);
  color: #05140f;
  font-weight: 800;
}

.gallery-display {
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(16, 185, 129, 0.15);
  background: #090d16;
}

.gallery-view {
  display: none;
}

.gallery-view.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.gallery-view img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-caption {
  padding: 1.5rem 1.75rem;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.gallery-caption h4 {
  font-size: 1.15rem;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.gallery-caption p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  position: relative;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(7, 10, 18, 0) 100%);
}

.contact-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(16, 185, 129, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: rgba(7, 10, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.25rem;
  color: var(--text-white);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--emerald-light);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
  background: rgba(15, 23, 42, 0.9);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: #0f172a;
  color: #fff;
}

.contact-buttons-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-alert {
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  display: none;
  margin-top: 1rem;
  text-align: center;
}

.contact-alert.success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.contact-alert.error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.contact-direct-info {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   HOW IT WORKS (STEP BY STEP)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: #070a12;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   CRYPTOGRAPHY & SECURITY PILLARS
   ========================================================================== */
.security-banner {
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.8) 70%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.sec-pill {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(7, 10, 18, 0.6);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.sec-pill h4 {
  color: var(--emerald-light);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.sec-pill p {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(16, 185, 129, 0.4);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 1.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: none;
  overflow: visible;
  padding-bottom: 1.75rem;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer ul {
  padding-left: 1.35rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.faq-answer ul ul {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  padding-left: 1.25rem;
}

.faq-answer li {
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   DOWNLOAD CTA SECTION
   ========================================================================== */
.cta-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%), #0f172a;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.cta-box h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1.25rem;
}

.cta-box p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem 0;
  background: #05080f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

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

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--emerald-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES & MOBILE PERFECTION
   ========================================================================== */

/* Keyframe for mobile menu opening */
@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet & Intermediate screens (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .card-top-left {
    left: -5%;
  }
  
  .card-bottom-right {
    right: -5%;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  /* Navigation Bar & Mobile Drawer */
  .site-nav {
    padding: 0.75rem 0;
  }

  .btn-nav-cta {
    display: none !important; /* Hide on top bar to avoid squeezing logo and burger */
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
  }

  .site-nav .nav-links {
    display: none;
  }

  .site-nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 10, 18, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1.75rem 1.5rem 2.5rem 1.5rem;
    gap: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    z-index: 99;
    animation: navSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: block;
  }

  .mobile-menu-cta {
    display: block;
    margin-top: 1rem;
    padding-top: 0.5rem;
  }

  .mobile-menu-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }

  /* Section Spacing & Layout */
  section {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.75rem;
  }

  .section-title {
    font-size: clamp(1.85rem, 6.5vw, 2.45rem);
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .hero-pill {
    font-size: 0.775rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.85rem);
    line-height: 1.15;
    margin-bottom: 1.15rem;
  }

  .hero-description {
    font-size: 1.02rem;
    line-height: 1.62;
    margin-bottom: 1.85rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 2rem;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    font-size: 0.98rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding-top: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .stat-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
  }

  .stat-item p {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  /* Phone Mockup Frame */
  .mockup-container {
    max-width: 290px;
    margin: 0 auto;
  }

  .phone-frame {
    border-radius: 34px;
    padding: 8px;
    border-width: 1.5px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.18);
  }

  .phone-screen {
    border-radius: 26px;
  }

  .card-top-left, .card-bottom-right {
    display: none; /* Hide floating badges on mobile */
  }

  /* Comparison Matrix */
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .compare-card {
    padding: 1.85rem 1.35rem;
    border-radius: var(--radius-lg);
  }

  .compare-title {
    font-size: 1.45rem;
  }

  .compare-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .compare-list li {
    font-size: 0.88rem;
    gap: 0.65rem;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-card {
    padding: 1.85rem 1.35rem;
    border-radius: var(--radius-lg);
  }

  .feature-icon-box {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    margin-bottom: 1.15rem;
  }

  .feature-card h3 {
    font-size: 1.15rem;
  }

  .feature-card p {
    font-size: 0.88rem;
  }

  /* Gallery Screenshots Tabs & Display */
  .tabs-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0.25rem 1rem 0.25rem;
    gap: 0.6rem;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .tabs-container::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    scroll-snap-align: center;
    font-size: 0.85rem;
    padding: 0.65rem 1.15rem;
    white-space: nowrap;
  }

  .gallery-display {
    max-width: min(320px, 88vw);
    border-radius: 34px;
    border-width: 2px;
  }

  .gallery-caption {
    padding: 1.25rem 1.25rem;
    gap: 0.65rem;
  }

  .gallery-caption h4 {
    font-size: 1.05rem;
  }

  .gallery-caption p {
    font-size: 0.825rem;
    line-height: 1.5;
  }

  .gallery-caption .section-badge {
    align-self: flex-start;
    margin-bottom: 0;
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
  }

  /* How It Works (Steps) */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .step-card {
    padding: 1.85rem 1.35rem;
    border-radius: var(--radius-lg);
  }

  .step-number {
    font-size: 2.25rem;
    top: 1.15rem;
    right: 1.15rem;
  }

  /* Security Pillars */
  .security-banner {
    padding: 2.25rem 1.35rem;
    border-radius: var(--radius-lg);
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.75rem;
  }

  .sec-pill {
    padding: 1.2rem 1rem;
  }

  .sec-pill h4 {
    font-size: 1.05rem;
  }

  .sec-pill p {
    font-size: 0.825rem;
  }

  /* FAQ Accordion */
  .faq-question {
    padding: 1.15rem 1.25rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1.25rem;
    font-size: 0.9rem;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 1.35rem;
  }

  /* Contact Form & Buttons */
  .contact-card {
    padding: 2rem 1.35rem;
    border-radius: var(--radius-lg);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .contact-buttons-row {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .contact-buttons-row .btn-primary,
  .contact-buttons-row .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  /* Download CTA Box */
  .cta-box {
    padding: 2.75rem 1.35rem;
    border-radius: var(--radius-lg);
  }

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

  .cta-box p {
    font-size: 0.98rem;
    margin-bottom: 1.85rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.35rem;
    font-size: 0.95rem;
  }

  /* Footer */
  .site-footer {
    padding: 3rem 0 2rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand p {
    margin: 0.75rem auto 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  /* Privacy Policy Legal Page */
  .legal-container {
    padding: 5.5rem 1rem 3rem 1rem !important;
  }

  .legal-card {
    padding: 1.85rem 1.25rem !important;
    border-radius: var(--radius-lg) !important;
  }

  .legal-card h1 {
    font-size: 1.75rem !important;
  }
}

/* Narrow SmartPhones (<= 480px, e.g. iPhone SE, Galaxy A series, 360-390px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .brand-logo {
    font-size: 1.15rem;
    gap: 0.65rem;
  }

  .logo-img {
    width: 32px;
    height: 32px;
  }

  .brand-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
  }

  .hero-stats {
    gap: 0.4rem;
  }

  .stat-item h4 {
    font-size: 1.1rem;
  }

  .stat-item p {
    font-size: 0.7rem;
  }

  .mockup-container {
    max-width: 270px;
  }

  .gallery-display {
    max-width: min(290px, 90vw);
  }

  .contact-card {
    padding: 1.75rem 1.15rem;
  }
}

@media (min-width: 769px) { .mobile-menu-cta { display: none !important; } }
