/* ============================================================
   Loan Manager 360 — Premium Fintech Landing Page Stylesheet
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* ============================================================
   DESIGN TOKENS — Light Theme (Default)
   ============================================================ */
:root,
[data-theme="light"] {
  /* Backgrounds */
  --bg-primary: #F8F8F6;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFAFA;
  --bg-elevated: #FFFFFF;
  --bg-trust: #F1F1EF;
  --bg-stats: #111827;
  --bg-cta: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --bg-footer: #111827;
  --bg-navbar: rgba(248, 248, 246, 0.8);
  --bg-navbar-scrolled: rgba(255, 255, 255, 0.95);
  --bg-mobile-menu: rgba(255, 255, 255, 0.98);

  /* Borders */
  --border-color: #E5E5E3;
  --border-color-light: #F0F0EE;
  --border-color-hover: #D1D1CF;

  /* Text */
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-tertiary: #9CA3AF;
  --text-inverse: #FFFFFF;

  /* Accent — Indigo */
  --accent: #4F46E5;
  --accent-hover: #4338CA;
  --accent-light: #EEF2FF;
  --accent-subtle: rgba(79, 70, 229, 0.08);

  /* Accent — Extended Palette */
  --accent-green: #10B981;
  --accent-green-light: #ECFDF5;
  --accent-amber: #F59E0B;
  --accent-amber-light: #FFFBEB;
  --accent-pink: #EC4899;
  --accent-pink-light: #FDF2F8;
  --accent-blue: #3B82F6;
  --accent-blue-light: #EFF6FF;
  --accent-purple: #8B5CF6;
  --accent-purple-light: #F5F3FF;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 12px 24px -4px rgba(0, 0, 0, 0.1), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
  --shadow-navbar: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-floating: 0 8px 30px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Scrollbar */
  --scrollbar-bg: #F0F0EE;
  --scrollbar-thumb: #D1D1CF;

  /* Stats text (light theme = white text on dark bg) */
  --stat-number-color: #FFFFFF;
  --stat-label-color: rgba(255, 255, 255, 0.7);
  --stat-divider-color: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   DESIGN TOKENS — Dark Theme
   ============================================================ */
[data-theme="dark"] {
  /* Backgrounds */
  --bg-primary: #0C0D12;
  --bg-secondary: #16171F;
  --bg-card: #16171F;
  --bg-card-hover: #1C1D27;
  --bg-elevated: #1C1D27;
  --bg-trust: #12131A;
  --bg-stats: #16171F;
  --bg-cta: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --bg-footer: #0A0B0F;
  --bg-navbar: rgba(12, 13, 18, 0.8);
  --bg-navbar-scrolled: rgba(22, 23, 31, 0.95);
  --bg-mobile-menu: rgba(12, 13, 18, 0.98);

  /* Borders */
  --border-color: #2A2B35;
  --border-color-light: #1E1F28;
  --border-color-hover: #3A3B48;

  /* Text */
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-tertiary: #6B7280;
  --text-inverse: #111827;

  /* Accent adjustments */
  --accent-light: rgba(79, 70, 229, 0.15);
  --accent-subtle: rgba(79, 70, 229, 0.12);
  --accent-green-light: rgba(16, 185, 129, 0.12);
  --accent-amber-light: rgba(245, 158, 11, 0.12);
  --accent-pink-light: rgba(236, 72, 153, 0.12);
  --accent-blue-light: rgba(59, 130, 246, 0.12);
  --accent-purple-light: rgba(139, 92, 246, 0.12);

  /* Shadows — darker, higher opacity */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.35), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-card-hover: 0 12px 24px -4px rgba(0, 0, 0, 0.45), 0 4px 8px -2px rgba(0, 0, 0, 0.2);
  --shadow-navbar: 0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-floating: 0 8px 30px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);

  /* Scrollbar */
  --scrollbar-bg: #16171F;
  --scrollbar-thumb: #3A3B48;

  /* Stats (dark theme = accent-tinted text on dark bg) */
  --stat-number-color: var(--accent);
  --stat-label-color: var(--text-secondary);
  --stat-divider-color: rgba(255, 255, 255, 0.06);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-color-hover);
}

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

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
}

/* ============================================================
   TEXT GRADIENT
   ============================================================ */
.text-gradient {
  background: linear-gradient(135deg, #4F46E5, #7C3AED, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: var(--bg-navbar);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: var(--bg-navbar-scrolled);
  box-shadow: var(--shadow-navbar);
  border-bottom: 1px solid var(--border-color-light);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
}

.navbar-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.navbar-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: color var(--transition);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--accent);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--border-color-hover);
  color: var(--text-primary);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

[data-theme="light"] .moon-icon {
  display: none;
}

[data-theme="dark"] .sun-icon {
  display: none;
}

[data-theme="light"] .sun-icon {
  display: block;
}

[data-theme="dark"] .moon-icon {
  display: block;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--border-color-hover);
  background: var(--bg-card-hover);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(3.5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-3.5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--bg-mobile-menu);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 12px 24px;
  transition: color var(--transition);
}

.mobile-menu-link:hover {
  color: var(--accent);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  background: var(--bg-primary);
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-green-light);
  color: var(--accent-green);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  width: fit-content;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 16px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-mockup {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-floating);
  z-index: 2;
  font-size: 14px;
  animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
  top: 10%;
  right: -30px;
}

.floating-card-2 {
  bottom: 15%;
  left: -20px;
  animation-delay: -3s;
}

.floating-card .card-label {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.floating-card .card-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.floating-card .card-icon {
  font-size: 18px;
  margin-right: 4px;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  padding: 40px 0;
  background: var(--bg-trust);
  border-top: 1px solid var(--border-color-light);
  border-bottom: 1px solid var(--border-color-light);
}

.trust-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 500;
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.7;
  transition: opacity var(--transition);
}

.trust-logo-item:hover {
  opacity: 1;
}

.trust-logo-item svg {
  width: 20px;
  height: 20px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  background: var(--accent);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-color-hover);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

/* Feature card top-bar color variants */
.feature-card:has(.feature-icon.indigo)::before {
  background: var(--accent);
}

.feature-card:has(.feature-icon.purple)::before {
  background: var(--accent-purple);
}

.feature-card:has(.feature-icon.blue)::before {
  background: var(--accent-blue);
}

.feature-card:has(.feature-icon.emerald)::before {
  background: var(--accent-green);
}

.feature-card:has(.feature-icon.pink)::before {
  background: var(--accent-pink);
}

.feature-card:has(.feature-icon.amber)::before {
  background: var(--accent-amber);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.feature-icon.indigo {
  background: var(--accent-light);
  color: var(--accent);
}

.feature-icon.purple {
  background: var(--accent-purple-light);
  color: var(--accent-purple);
}

.feature-icon.blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}

.feature-icon.emerald {
  background: var(--accent-green-light);
  color: var(--accent-green);
}

.feature-icon.pink {
  background: var(--accent-pink-light);
  color: var(--accent-pink);
}

.feature-icon.amber {
  background: var(--accent-amber-light);
  color: var(--accent-amber);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

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

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  padding: 80px 0;
  background: var(--bg-stats);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--stat-number-color);
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .stat-number {
  background: linear-gradient(135deg, #818CF8 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 15px;
  color: var(--stat-label-color);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  background: var(--stat-divider-color);
  position: absolute;
  top: 10%;
  bottom: 10%;
  right: -16px;
}

.stat-item:last-child .stat-divider {
  display: none;
}

/* ============================================================
   HOW IT WORKS / STEPS
   ============================================================ */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-primary);
  font-weight: 700;
}

.step-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   SCREENSHOTS SHOWCASE
   ============================================================ */
.screenshots-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.screenshot-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all var(--transition);
}

.screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.screenshot-card img {
  width: 100%;
  display: block;
}

.screenshot-label {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.screenshot-label h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.screenshot-label p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 100px 0;
}

.cta-box {
  background: var(--bg-cta);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1), transparent 60%);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-box h2 {
  font-size: 40px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.cta-box .cta-actions,
.cta-box .hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-box .btn-primary {
  background: white;
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-box .btn-primary:hover {
  background: #F3F4F6;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta-box .btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-box .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-footer);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .navbar-logo {
  color: white;
}

.footer-brand .navbar-logo-icon {
  background: var(--accent);
}

.footer-brand p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer-col,
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4,
.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-col a,
.footer-column a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-col a:hover,
.footer-column a:hover {
  color: white;
}

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

.footer-description {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer-socials a:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.footer-socials a svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.35s;
}

.reveal-delay-5 {
  transition-delay: 0.4s;
}

.reveal-delay-6 {
  transition-delay: 0.45s;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

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

/* ============================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .floating-card {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hide stat dividers on tablet — layout shifts */
  .stat-divider {
    display: none;
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .section-title {
    font-size: 34px;
  }

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

  .cta-box {
    padding: 60px 40px;
  }

  .cta-box h2 {
    font-size: 34px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 640px)
   ============================================================ */
@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
  }

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

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero-stats .hero-stat {
    flex-direction: row;
    gap: 12px;
    align-items: center;
  }

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

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

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .section-header {
    margin-bottom: 40px;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-divider {
    display: none;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .screenshots-showcase {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 48px 24px;
  }

  .cta-box h2 {
    font-size: 28px;
  }

  .cta-box p {
    font-size: 16px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .trust-content {
    flex-direction: column;
    gap: 16px;
  }

  .trust-logos {
    gap: 20px;
  }

  .container {
    padding: 0 16px;
  }

  .feature-card {
    padding: 24px;
  }

  .step-card {
    padding: 24px;
  }
}

/* ============================================================
   UTILITY & MISCELLANEOUS
   ============================================================ */

/* Selection highlight */
::selection {
  background: rgba(79, 70, 229, 0.15);
  color: var(--text-primary);
}

/* Focus visible styles for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Smooth image loading */
img {
  transition: opacity var(--transition);
}

/* Screen reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
