﻿
/* ═══════════════════════════════════════════════════════════════════════════
   REMOTEDESK — Modern Portfolio Website
   Color Theme: Blue (#2563EB) & White with gradients
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────
   ROOT & VARIABLES
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --primary: #2563EB;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary: #0f172a;
  --accent: #06b6d4;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─────────────────────────────────────────────────────────────────────────
   GLOBAL STYLES
   ───────────────────────────────────────────────────────────────────────── */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { font-size: 1rem; color: var(--gray-600); }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* ─────────────────────────────────────────────────────────────────────────
   CONTAINER & LAYOUT
   ───────────────────────────────────────────────────────────────────────── */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}

/* ─────────────────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────────────────── */

.btn-primary, .btn-primary-sm, .btn-outline, .btn-ghost, .btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-primary-sm {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.875rem;
  background: var(--primary);
  color: var(--white);
}

.btn-primary-sm:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-ghost:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
}

/* ─────────────────────────────────────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-2xl);
  margin: 0;
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 1px;
  transition: all var(--transition-base);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .nav-cta {
    display: none;
  }
  
  .nav-hamburger {
    display: flex;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--spacing-lg) var(--spacing-4xl);
  overflow: hidden;
  margin-top: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  0% { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.hero-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: -50px;
  left: -50px;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(30px); }
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.5;
  animation: particleFloat 20s infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--spacing-2xl);
  animation: slideDown 0.8s ease-out;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  color: var(--gray-900);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: var(--spacing-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  margin-bottom: var(--spacing-3xl);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 0.875rem;
  color: var(--gray-600);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-weight: 600;
  color: var(--gray-700);
}

.trust-sep {
  color: var(--gray-300);
}

.hero-screen-wrap {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin-top: var(--spacing-3xl);
}

.hero-screen {
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.screen-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.screen-dot.red { background: #ff5f56; }
.screen-dot.yellow { background: #ffbd2e; }
.screen-dot.green { background: #27c93f; }

.screen-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-left: auto;
}

.screen-body {
  display: flex;
  height: 400px;
}

.screen-sidebar {
  width: 200px;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.ss-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--gray-600);
}

.ss-item.active {
  background: var(--primary);
  color: var(--white);
}

.screen-main {
  flex: 1;
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.screen-desktop {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sd-topbar {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.75rem;
  color: var(--gray-600);
}

.sd-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
}

.sd-dot.live {
  background: #10b981;
  animation: pulse 2s ease-in-out infinite;
}

.sd-content {
  flex: 1;
  padding: var(--spacing-md);
  display: flex;
  gap: var(--spacing-md);
}

.sd-window {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sd-window.small {
  flex: 0 0 200px;
}

.sdw-bar {
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
}

.sdw-body {
  flex: 1;
  padding: var(--spacing-md);
  font-size: 0.75rem;
}

.diag-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.diag-bar {
  flex: 1;
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
}

.diag-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--gray-600);
  font-size: 0.875rem;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--gray-400);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 2px;
  height: 8px;
  background: var(--gray-400);
  border-radius: 1px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

.stat-item,
.feature-card,
.pricing-card,
.testi-card,
.section-header {
  animation: fadeInScale 0.8s ease-out both;
}

.hero-badge,
.hero-title,
.hero-sub,
.hero-actions {
  animation: slideInUp 0.8s ease-out both;
}

.btn-primary:hover {
  animation: shimmer 2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .hero {
    padding: 100px var(--spacing-md) var(--spacing-2xl);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-sub {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-screen {
    display: none;
  }
  
  .hide-mobile {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   STATS BAR
   ───────────────────────────────────────────────────────────────────────── */

.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: var(--spacing-3xl) var(--spacing-lg);
  color: var(--white);
}

.stats-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.stats-inner::-webkit-scrollbar {
  display: none;
}

.stat-item {
  text-align: center;
  min-width: 0;
  flex: 1 1 0;
  padding: 0 var(--spacing-xl);
}

.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-unit {
  display: inline-block;
  font-size: 0.875rem;
  opacity: 0.9;
  margin-left: 4px;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: var(--spacing-sm);
  white-space: nowrap;
}

.stat-divider {
  flex: 0 0 1px;
  align-self: stretch;
  width: 1px;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .stats-inner {
    justify-content: center;
    gap: 0;
  }

  .stat-item {
    flex: 0 0 auto;
    min-width: 140px;
    padding: 0 var(--spacing-lg);
  }

  .stat-divider {
    display: block;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   SECTION HEADERS
   ───────────────────────────────────────────────────────────────────────── */

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-4xl);
}

.section-tag {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.section-header h2 {
  margin-bottom: var(--spacing-lg);
  color: var(--gray-900);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Light variant — for dark/parallax backgrounds */
.section-header.light h2 {
  color: var(--white);
}

.section-header.light p {
  color: rgba(255, 255, 255, 0.75);
}
  /* max-width: 600px;
  margin: 0 auto;
} */

/* ─────────────────────────────────────────────────────────────────────────
   FEATURES SECTION
   ───────────────────────────────────────────────────────────────────────── */

.features {
  padding: var(--spacing-4xl) var(--spacing-lg);
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
}

.feature-card {
  padding: var(--spacing-2xl);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
  transform: translateY(-5px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card-large {
  grid-column: span 2;
}

.fc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--spacing-lg);
  color: var(--primary);
}

.fc-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.inline-icon,
.sidebar-icon,
.team-icon svg,
.feature-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  vertical-align: middle;
}

.sidebar-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
}

.team-icon,
.feature-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--spacing-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.team-icon svg,
.feature-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.feature-card h3 {
  margin-bottom: var(--spacing-md);
  color: var(--gray-900);
}

.feature-card p {
  margin-bottom: var(--spacing-lg);
  color: var(--gray-600);
}

.fc-detail {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.fc-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .feature-card-large {
    grid-column: span 1;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   SECURITY SECTION & PARALLAX
   ───────────────────────────────────────────────────────────────────────── */

.parallax-section {
  position: relative;
  padding: var(--spacing-4xl) var(--spacing-lg);
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  z-index: -1;
}

.security {
  color: var(--white);
}

.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: center;
}

.security-text {
  position: relative;
  z-index: 10;
}

.security-text h2 {
  color: var(--white);
  margin-bottom: var(--spacing-lg);
}

.security-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-2xl);
}

.security-text em {
  color: var(--accent);
  font-style: italic;
}

.security-list {
  list-style: none;
  margin-bottom: var(--spacing-2xl);
}

.security-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
}

.security-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

.security-visual {
  position: relative;
  z-index: 10;
}

.crypto-diagram {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
  align-items: center;
}

.cd-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xl) var(--spacing-2xl);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-weight: 600;
  animation: floatIn 0.8s ease-out;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.cd-node:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
}

.cd-node small {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.cd-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.875rem;
  margin-bottom: var(--spacing-sm);
}

.cd-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  stroke: var(--white);
}

.cd-flow {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  width: 100%;
}

.cd-arrow {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.cd-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 1.4;
}

.cd-label small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

.cd-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  position: relative;
}

.cd-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  animation: pulseTravel 2s linear infinite;
  box-shadow: 0 0 6px var(--accent);
}

@keyframes pulseTravel {
  0%   { left: 0;    opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

.cd-arrow.reverse .cd-pulse {
  left: auto;
  right: 0;
  animation: pulseTravelReverse 2s linear infinite;
}

@keyframes pulseTravelReverse {
  0%   { right: 0;    opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { right: calc(100% - 8px); opacity: 0; }
}

.cd-server {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg) var(--spacing-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  position: relative;
}

.cd-server-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
}

.cd-server-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: rgba(255, 255, 255, 0.7);
}

/* Lock badge overlaid on server icon */
.cd-server-lock {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 50%;
}

.cd-server-lock svg {
  width: 0.75rem;
  height: 0.75rem;
  stroke: #fca5a5;
}

.cd-server span {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
}

.cd-server small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.cd-p2p {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  width: 100%;
}

.cd-p2p-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: rgba(6, 182, 212, 0.15);
  border-radius: 50%;
  flex-shrink: 0;
}

.cd-p2p-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--accent);
}

.cd-p2p-line {
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}

.cd-p2p span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  font-weight: 500;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .security-inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  
  .security-visual {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   HOW IT WORKS SECTION
   ───────────────────────────────────────────────────────────────────────── */

.how-it-works {
  padding: var(--spacing-4xl) var(--spacing-lg);
  background: linear-gradient(135deg, #f0f9ff 0%, var(--white) 100%);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-3xl);
}

.steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), transparent);
  transform: translateX(-50%);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  gap: var(--spacing-2xl);
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
}

.step-content h3 {
  margin-bottom: var(--spacing-md);
  color: var(--gray-900);
}

.step-content p {
  color: var(--gray-600);
}

.step-connector {
  display: none;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }
  
  .steps::before {
    left: 15px;
    width: 2px;
  }
  
  .step {
    padding-left: var(--spacing-2xl);
  }
  
  .step-num {
    position: absolute;
    left: -8px;
    font-size: 1.5rem;
    opacity: 0.3;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   TESTIMONIALS SECTION
   ───────────────────────────────────────────────────────────────────────── */

.testimonials {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
  color: var(--white);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-2xl);
}

.testi-card {
  padding: var(--spacing-2xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.testi-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.testi-stars {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: var(--spacing-lg);
  letter-spacing: 0;
}

.testi-stars svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.testi-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  flex: 1;
  line-height: 1.8;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.testi-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--white);
}

.testi-author strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
}

.testi-author span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   CTA SECTION
   ───────────────────────────────────────────────────────────────────────── */

.cta-section {
  padding: var(--spacing-4xl) var(--spacing-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.cta-card {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-4xl);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-2xl);
  text-align: center;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card .section-tag {
  display: inline-block;
  margin-bottom: var(--spacing-lg);
}

.cta-card h2 {
  margin-bottom: var(--spacing-lg);
  color: var(--gray-900);
}

.cta-card > p:first-of-type {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: var(--spacing-2xl);
}

.cta-downloads {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg) var(--spacing-2xl);
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  color: var(--primary);
  font-weight: 600;
  transition: all var(--transition-base);
  text-decoration: none;
}

.download-btn svg {
  width: 24px;
  height: 24px;
}

.download-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.cta-sub {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.cta-sub a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .cta-card {
    padding: var(--spacing-2xl);
  }
  
  .cta-downloads {
    flex-direction: column;
  }
  
  .download-btn {
    justify-content: center;
    width: 100%;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   PRICING SECTION
   ───────────────────────────────────────────────────────────────────────── */

.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--spacing-lg) var(--spacing-3xl);
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  margin-top: 60px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridShift 20s linear infinite;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.toggle-opt {
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.toggle-opt.active {
  color: var(--primary);
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 28px;
  background: var(--gray-300);
  border-radius: 14px;
  cursor: pointer;
  transition: background var(--transition-base);
}

.toggle-switch.active {
  background: var(--primary);
}

.toggle-thumb {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: left var(--transition-base);
}

.toggle-switch.active .toggle-thumb {
  left: 24px;
}

.save-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  border-radius: 50px;
  font-weight: 700;
  margin-left: 4px;
}

.pricing-section {
  padding: var(--spacing-3xl) var(--spacing-lg);
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-4xl);
}

.pricing-card {
  position: relative;
  padding: var(--spacing-2xl);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.1);
}

.pricing-card-featured {
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.1);
  transform: scale(1.05);
}

.pc-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pc-header {
  margin-bottom: var(--spacing-2xl);
  padding-bottom: var(--spacing-2xl);
  border-bottom: 1px solid var(--gray-200);
}

.pc-plan {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-md);
}

.pc-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--spacing-lg);
}

.pc-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
}

.pc-period {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.pc-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
}

.pc-features {
  list-style: none;
  margin-bottom: var(--spacing-2xl);
  flex: 1;
}

.pc-features li {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  font-size: 0.95rem;
}

.pc-features li:last-child {
  border-bottom: none;
}

.pc-features svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
}

.pc-feat-off svg {
  color: var(--gray-400);
}

.pc-btn {
  display: block;
  padding: var(--spacing-md) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  margin-bottom: var(--spacing-md);
}

.pc-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.pc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.pc-btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.pc-btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.pc-trial {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.faq-section {
  margin-top: var(--spacing-4xl);
  padding-top: var(--spacing-4xl);
  border-top: 2px solid var(--gray-200);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
}

.faq-item {
  padding: var(--spacing-2xl);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.faq-item:hover {
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
  color: var(--gray-900);
  margin-bottom: var(--spacing-md);
}

.faq-item p {
  color: var(--gray-600);
}

/* ─────────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────────── */

.footer {
  background: linear-gradient(135deg, var(--secondary) 0%, #0f172a 100%);
  color: var(--white);
  padding: var(--spacing-4xl) var(--spacing-lg) var(--spacing-lg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--spacing-4xl);
  margin-bottom: var(--spacing-3xl);
  padding-bottom: var(--spacing-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.footer-brand .nav-logo {
  color: var(--white);
  font-size: 1.25rem;
  width: fit-content;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-weight: 700;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-2xl);
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.footer-bottom span {
  display: block;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   UTILITY CLASSES & RESPONSIVE
   ───────────────────────────────────────────────────────────────────────── */

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-gradient { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section { padding: var(--spacing-4xl) var(--spacing-lg); }
.section.alt { background: var(--gray-50); }
.section.dark { background: var(--secondary); color: var(--white); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-md); }
.mt-2 { margin-top: var(--spacing-lg); }
.mt-3 { margin-top: var(--spacing-2xl); }
.mt-4 { margin-top: var(--spacing-3xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-md); }
.mb-2 { margin-bottom: var(--spacing-lg); }
.mb-3 { margin-bottom: var(--spacing-2xl); }
.mb-4 { margin-bottom: var(--spacing-3xl); }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM UPGRADES — Polished Icons, Footer, SEO/AEO, Aesthetics
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────
   POLISHED ICON CONTAINERS
   ───────────────────────────────────────────────────────────────────────── */

.fc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 1rem;
  margin-bottom: var(--spacing-lg);
  color: var(--primary);
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.feature-card:hover .fc-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  transform: scale(1.08) rotate(-2deg);
}

.fc-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke-width: 1.75;
}

/* ─────────────────────────────────────────────────────────────────────────
   PREMIUM FOOTER — Full Unified Design
   ───────────────────────────────────────────────────────────────────────── */

.footer {
  background: #080f1e;
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.6), rgba(6, 182, 212, 0.6), transparent);
}

.footer-top {
  padding: var(--spacing-4xl) var(--spacing-lg) var(--spacing-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.footer-brand-col .nav-logo {
  color: var(--white);
  font-size: 1.2rem;
  width: fit-content;
}

.footer-brand-col .nav-logo span {
  color: var(--white);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--spacing-sm);
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
  text-decoration: none;
}

.footer-social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
}

.footer-nav-col h5 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-lg);
}

.footer-nav-col a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-nav-col a:hover {
  color: var(--white);
}

.footer-bottom-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.03em;
}

.footer-badge-pill svg {
  width: 10px;
  height: 10px;
  color: var(--accent);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.footer-bottom-right a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-right a:hover {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1024px) {
  .footer-top-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--spacing-2xl);
  }
  .footer-tagline { max-width: 100%; }
}

@media (max-width: 768px) {
  .footer-top-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    flex-direction: column;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }
  .footer-bottom-right {
    flex-wrap: wrap;
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .footer-top-inner {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   PREMIUM FEATURE CARD ENHANCEMENTS
   ───────────────────────────────────────────────────────────────────────── */

.feature-card {
  background: linear-gradient(145deg, #ffffff 0%, #fafbff 100%);
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(37, 99, 235, 0.04);
}

.feature-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12), 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-6px);
}

/* ─────────────────────────────────────────────────────────────────────────
   PREMIUM NAV ENHANCEMENTS
   ───────────────────────────────────────────────────────────────────────── */

.nav {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.06);
}

.btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1d4ed8 100%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-primary-sm {
  background: linear-gradient(135deg, #2563EB 0%, #1d4ed8 100%);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-md);
}

/* ─────────────────────────────────────────────────────────────────────────
   SECTION TAG PREMIUM
   ───────────────────────────────────────────────────────────────────────── */

.section-tag {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.06) 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ─────────────────────────────────────────────────────────────────────────
   STATS BAR PREMIUM
   ───────────────────────────────────────────────────────────────────────── */

.stats-bar {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 40%, #0369a1 100%);
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ─────────────────────────────────────────────────────────────────────────
   TESTIMONIAL CARD PREMIUM
   ───────────────────────────────────────────────────────────────────────── */

.testi-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.testi-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.15), 0 20px 40px rgba(0,0,0,0.2);
}

.testi-stars svg {
  fill: #fbbf24;
  stroke: none;
}

/* ─────────────────────────────────────────────────────────────────────────
   HERO PREMIUM ENHANCEMENTS
   ───────────────────────────────────────────────────────────────────────── */

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.gradient-text {
  background: linear-gradient(135deg, #2563EB 0%, #06b6d4 60%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-screen {
  box-shadow: 0 30px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(37, 99, 235, 0.1);
}

/* ─────────────────────────────────────────────────────────────────────────
   PRICING CARD PREMIUM
   ───────────────────────────────────────────────────────────────────────── */

.pricing-card-featured {
  background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.2);
}

/* ─────────────────────────────────────────────────────────────────────────
   DOWNLOAD BUTTON PREMIUM
   ───────────────────────────────────────────────────────────────────────── */

.download-btn {
  background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.download-btn:hover {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* ─────────────────────────────────────────────────────────────────────────
   SECURITY SECTION PREMIUM
   ───────────────────────────────────────────────────────────────────────── */

.security-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.security-list li:last-child {
  border-bottom: none;
}

.security-list svg {
  background: rgba(6, 182, 212, 0.15);
  border-radius: 50%;
  padding: 3px;
  width: 22px;
  height: 22px;
}

/* ─────────────────────────────────────────────────────────────────────────
   STEP NUMBERS PREMIUM
   ───────────────────────────────────────────────────────────────────────── */

.step-num {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.8;
  line-height: 1;
}

/* ─────────────────────────────────────────────────────────────────────────
   CTA CARD PREMIUM
   ───────────────────────────────────────────────────────────────────────── */

.cta-card {
  background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.05);
}

/* ─────────────────────────────────────────────────────────────────────────
   SCHEMA / AEO — FAQ SECTION PREMIUM
   ───────────────────────────────────────────────────────────────────────── */

.faq-item {
  background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid rgba(37, 99, 235, 0.07);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

/* ─────────────────────────────────────────────────────────────────────────
   SMOOTH SCROLL INDICATOR
   ───────────────────────────────────────────────────────────────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  transition: width 0.1s linear;
  width: 0%;
}


/* ─────────────────────────────────────────────────────────────────────────
   FAQ AEO SECTION
   ───────────────────────────────────────────────────────────────────────── */

.faq-aeo {
  padding: var(--spacing-4xl) var(--spacing-lg);
  background: linear-gradient(180deg, var(--white) 0%, #f8faff 100%);
}

.faq-aeo .faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--spacing-xl);
  margin-top: 0;
}

.faq-aeo .faq-item {
  padding: var(--spacing-xl) var(--spacing-2xl);
  background: var(--white);
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: all var(--transition-base);
  position: relative;
}

.faq-aeo .faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.faq-aeo .faq-item:hover::before {
  opacity: 1;
}

.faq-aeo .faq-item:hover {
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.09);
  transform: translateY(-3px);
}

.faq-aeo .faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-md);
  line-height: 1.4;
}

.faq-aeo .faq-item p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}


/* ─────────────────────────────────────────────────────────────────────────
   LEGACY FOOTER OVERRIDES — neutralize old .footer-inner / .footer-bottom
   ───────────────────────────────────────────────────────────────────────── */

/* The new footer uses .footer-top and .footer-bottom-bar instead */
.footer-inner { display: none !important; }
.footer-bottom { display: none !important; }
.footer-brand { display: none !important; }
.footer-links { display: none !important; }
.footer-social { display: none !important; }


/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE OPTIMISATION — Complete responsive overhaul
   Breakpoints: 480px (small phone), 640px (large phone), 768px (tablet)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────
   GLOBAL MOBILE OVERFLOW GUARD
   ───────────────────────────────────────────────────────────────────────── */

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ─────────────────────────────────────────────────────────────────────────
   MOBILE NAV — fully working hamburger menu
   ───────────────────────────────────────────────────────────────────────── */

/* Mobile nav drawer */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xl);
  padding: var(--spacing-4xl) var(--spacing-xl);
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  text-decoration: none;
  transition: color var(--transition-fast);
  text-align: center;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
  color: var(--primary);
}

.nav-mobile-menu .nav-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  width: 100%;
  max-width: 280px;
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--gray-200);
}

.nav-mobile-menu .nav-mobile-cta a {
  font-size: 1rem;
  text-align: center;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-lg);
}

.nav-mobile-close {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
  color: var(--gray-700);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.nav-mobile-close:hover {
  background: var(--gray-100);
}

/* Hamburger animation */
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-inner {
    padding: var(--spacing-md);
  }

  .nav-hamburger {
    display: flex;
    z-index: 1001; /* above the mobile menu */
    position: relative;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   HERO — mobile
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .hero {
    padding: 90px var(--spacing-md) var(--spacing-2xl);
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    letter-spacing: -0.02em;
  }

  .hero-sub {
    font-size: 0.95rem;
    padding: 0 var(--spacing-sm);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-sm);
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    justify-content: center;
    width: 100%;
  }

  .hero-trust {
    font-size: 0.8rem;
  }

  .trust-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
  }

  .hero-scroll-hint {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   STATS BAR — mobile 2×2 grid (all stats visible, no scroll)
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .stats-bar {
    padding: var(--spacing-2xl) var(--spacing-md);
  }

  /* Switch from horizontal flex to 2×2 grid.
     Dividers are set to display:none so they don't occupy grid slots. */
  .stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow-x: visible;
    padding: 0;
    gap: 0;
    justify-items: stretch;
    /* Draw the cross divider lines using a background gradient on the container */
    background:
      linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0.15)) center/1px 100% no-repeat,
      linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0.15)) 50% 50%/100% 1px no-repeat;
  }

  /* Dividers take no space in the grid */
  .stat-divider {
    display: none;
  }

  /* Each of the 4 stat cells */
  .stat-item {
    flex: none;
    width: 100%;
    min-width: 0;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
  }

  .stat-num {
    font-size: 2rem;
  }

  .stat-unit {
    font-size: 0.8rem;
  }

  .stat-label {
    font-size: 0.75rem;
    white-space: normal;
    text-align: center;
    margin-top: 4px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   SECTION SPACING — tighter on mobile
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .section,
  .features,
  .how-it-works,
  .faq-aeo,
  .cta-section,
  .pricing-section {
    padding-top: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
  }

  .parallax-section {
    padding-top: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
  }

  .section-header {
    margin-bottom: var(--spacing-2xl);
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .page-hero {
    padding: 90px var(--spacing-md) var(--spacing-2xl);
    min-height: auto;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   FEATURES GRID — mobile single column
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .feature-card-large {
    grid-column: span 1;
  }

  .feature-card {
    padding: var(--spacing-xl);
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   SECURITY SECTION — mobile
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .security-inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .security-visual {
    display: none;
  }

  .security-text p {
    font-size: 0.95rem;
  }

  .security-list li {
    font-size: 0.9rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   HOW IT WORKS — mobile
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .steps::before {
    display: none;
  }

  .step {
    padding-left: 0;
    gap: var(--spacing-lg);
    flex-direction: column;
  }

  .step-num {
    position: static;
    font-size: 2rem;
    opacity: 0.5;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   TESTIMONIALS — mobile
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .testi-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .testi-card {
    padding: var(--spacing-xl);
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   PRICING — mobile
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  /* Remove scale on featured card — causes overflow on mobile */
  .pricing-card-featured {
    transform: none;
  }

  .pricing-card {
    padding: var(--spacing-xl);
  }
}

@media (max-width: 640px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .faq-aeo .faq-grid {
    grid-template-columns: 1fr;
  }

  .billing-toggle {
    gap: var(--spacing-md);
    font-size: 0.9rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   CTA SECTION — mobile
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .cta-card {
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
  }

  .cta-card h2 {
    font-size: 1.5rem;
  }

  .cta-downloads {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .download-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   FOOTER — mobile
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .footer-top {
    padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-xl);
  }

  .footer-top-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: 100%;
    font-size: 0.85rem;
  }

  .footer-bottom-bar {
    padding: var(--spacing-md);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .footer-bottom-left {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }

  .footer-badges {
    gap: 0.35rem;
  }

  .footer-badge-pill {
    font-size: 0.68rem;
    padding: 2px 8px;
  }

  .footer-bottom-right {
    gap: var(--spacing-md);
    flex-wrap: wrap;
  }
}

@media (max-width: 380px) {
  .footer-top-inner {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   ABOUT / SECURITY / DOCS — inline grid sections on mobile
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  /* Any inline grid: 2-col → 1-col */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr;"] {
    display: block !important;
  }

  /* Inline grid gaps */
  [style*="display: grid"] {
    gap: var(--spacing-xl) !important;
  }

  /* Inline padding overrides for sections */
  .section .container > div[style*="padding: var(--spacing-3xl)"],
  .section .container > div[style*="padding: var(--spacing-2xl)"] {
    padding: var(--spacing-xl) !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   CONTACT FORM — mobile
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  /* Contact page 2-col layout */
  .section .container > div[style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--spacing-2xl) !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   TYPOGRAPHY — small phones
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 380px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.2rem; }

  .btn-primary, .btn-outline {
    font-size: 0.875rem;
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .nav-logo span {
    font-size: 1rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   TOUCH TARGETS — minimum 44px for all interactive elements
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-hamburger {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .btn-primary,
  .btn-outline,
  .btn-ghost,
  .btn-primary-sm,
  .pc-btn,
  .download-btn {
    min-height: 44px;
  }

  .footer-social-btn {
    width: 44px;
    height: 44px;
  }
}
