/* ==========================================================================
   TheGymFlex - Futuristic Next-Gen SaaS Design System
   ========================================================================== */

* {
  box-sizing: border-box;
}

:root {
  /* Futuristic Obsidian Dark Palette */
  --bg-canvas: #06080f;
  --bg-subtle: #090d16;
  --bg-card: rgba(13, 20, 34, 0.75);
  --bg-card-hover: rgba(19, 29, 49, 0.85);
  --bg-card-solid: #0d1422;
  --surface-glass: rgba(13, 20, 34, 0.82);

  /* Borders & Glows */
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-bright: rgba(255, 255, 255, 0.18);
  --border-neon: rgba(16, 185, 129, 0.45);
  --border-cyan: rgba(6, 182, 212, 0.45);
  --glow-emerald: 0 0 35px -5px rgba(16, 185, 129, 0.35);
  --glow-cyan: 0 0 35px -5px rgba(6, 182, 212, 0.35);

  /* Typography Colors */
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-heading: #ffffff;

  /* Accent Colors */
  --primary: #10b981;
  --primary-light: #34d399;
  --primary-dark: #059669;
  --primary-glow: rgba(16, 185, 129, 0.25);
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --indigo: #6366f1;
  --rose: #f43f5e;
  --amber: #f59e0b;

  /* Fonts */
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-canvas);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  background-color: var(--bg-canvas);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 15% 70%, rgba(99, 102, 241, 0.06) 0%, transparent 45%),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 32px 32px;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

button, input, textarea, select {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.04em;
  color: var(--text-heading);
}

p {
  margin: 0;
  color: var(--text-muted);
}

/* ==========================================================================
   Layout & Container Utilities
   ========================================================================== */

.container {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(1.25rem, 4vw, 2.5rem) !important;
  padding-right: clamp(1.25rem, 4vw, 2.5rem) !important;
  box-sizing: border-box !important;
}

.section {
  position: relative;
  padding: 6.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.8) 0%, rgba(6, 8, 15, 0.95) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.narrow-copy {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section-head {
  margin-bottom: 3.5rem;
  text-align: center;
}

.section-head.narrow {
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.section-head h2 {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
}

/* ==========================================================================
   Futuristic Cyber Badges & Section Tags
   ========================================================================== */

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 0 20px -3px rgba(16, 185, 129, 0.25);
  backdrop-filter: blur(8px);
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse-beacon 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.section-tag.alt {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 0 20px -3px rgba(255, 255, 255, 0.1);
}

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

.challenge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1rem;
  border-radius: 9999px;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fda4af;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.challenge-tag::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f43f5e;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

/* ==========================================================================
   Header & Navigation (Floating Glass Navbar)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 8, 15, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  transition: all 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 6, 12, 0.94);
  border-bottom-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8), 0 0 25px -5px rgba(16, 185, 129, 0.15);
}

.nav-shell,
.site-header .nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(1.25rem, 4vw, 2.5rem) !important;
  padding-right: clamp(1.25rem, 4vw, 2.5rem) !important;
  box-sizing: border-box !important;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-wordmark,
.site-header .brand-mark img,
.site-footer .brand-mark img {
  display: block;
  height: 2.85rem;
  width: auto;
  max-width: min(220px, 40vw);
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(16, 185, 129, 0.15));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand:hover .brand-wordmark,
.brand:hover .brand-mark img {
  transform: scale(1.02);
  filter: drop-shadow(0 4px 20px rgba(16, 185, 129, 0.35));
}

.site-header .brand-mark,
.site-footer .brand-mark {
  width: auto;
  height: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
}

.nav-link {
  padding: 0.55rem 1.05rem;
  border-radius: 9999px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 15px -3px rgba(16, 185, 129, 0.3);
}

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

/* ==========================================================================
   Futuristic Buttons & CTAs
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Shimmer Sheen Animation on Buttons */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: 0.6s ease;
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-bright);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(16, 185, 129, 0.5);
  color: #34d399;
  box-shadow: 0 0 20px -3px rgba(16, 185, 129, 0.2);
}

.trial-dot {
  position: relative;
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: trial-dot-core 1.5s ease-in-out infinite;
}

.trial-dot::after {
  content: "";
  position: absolute;
  inset: -0.25rem;
  border: 1px solid rgba(52, 211, 153, 0.8);
  border-radius: inherit;
  animation: trial-dot-halo 1.5s ease-out infinite;
}

@keyframes trial-dot-core {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.85); }
}

@keyframes trial-dot-halo {
  0% { opacity: 0.9; transform: scale(0.6); }
  75%, 100% { opacity: 0; transform: scale(2); }
}

/* ==========================================================================
   Mobile Navigation Drawer
   ========================================================================== */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-bright);
}

.mobile-menu-btn span {
  display: block;
  background: #ffffff;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hidden {
  display: none !important;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 49;
  transition: opacity 0.25s ease;
}

.mobile-backdrop.hidden,
#mobileBackdrop.hidden {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

@media (min-width: 993px) {
  .mobile-menu-btn,
  .mobile-backdrop,
  .mobile-drawer,
  #mobileBackdrop,
  #mobileDrawer {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background: #090d16;
  border-right: 1px solid var(--border);
  padding: 1.5rem;
  transform: translateX(-110%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 60;
  overflow-y: auto;
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.close-menu {
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-menu:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.mobile-nav {
  display: grid;
  gap: 0.5rem;
}

.mobile-nav a {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 600;
  transition: all 0.2s ease;
}

.mobile-nav a:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.mobile-cta {
  margin-top: 1.5rem;
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
}

.home-page .hero {
  display: block;
  min-height: auto;
  padding: 5rem 0 4.5rem;
  background: transparent;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3.5rem;
}

.hero-copy {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-copy h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 40%, #cbd5e1 80%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.5));
}

.hero-copy .lead {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  max-width: 720px;
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 2.25rem;
}

.trust-points {
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
}

.trust-points li {
  position: relative;
  padding-left: 1.25rem;
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.trust-points li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
}

/* ==========================================================================
   Hero Visual & Realistic Laptop Mockup with Ambient Halo
   ========================================================================== */

.hero-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.laptop-mockup {
  position: relative;
  width: min(100%, 720px);
  margin-left: auto;
  margin-right: auto;
  transform-origin: center;
  perspective: 1400px;
  animation: dashboard-arrive 1100ms cubic-bezier(.16, 1, .3, 1) both,
    dashboard-float 7s 1100ms ease-in-out infinite;
}

/* Ambient Backlight Aura Behind Laptop */
.laptop-mockup::before {
  content: "";
  position: absolute;
  inset: -15% -20% 0 -20%;
  background: radial-gradient(ellipse at 50% 30%, rgba(16, 185, 129, 0.28) 0%, rgba(6, 182, 212, 0.18) 40%, transparent 70%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

/* Display Lid / Screen Casing */
.laptop-lid {
  position: relative;
  background: #0f1217;
  border: 1px solid #333a45;
  border-radius: 18px 18px 0 0;
  padding: 11px 11px 13px 11px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1.5px 0.5px rgba(255, 255, 255, 0.35),
    0 0 0 1px #07090c,
    0 35px 80px -15px rgba(0, 0, 0, 0.85);
  z-index: 2;
  transform-style: preserve-3d;
}

.laptop-camera {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
}

.camera-lens {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #000;
  border: 0.5px solid #2a2a2a;
  box-shadow: inset 0 0 1px rgba(0, 160, 255, 0.8);
}

.camera-sensor {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #0a101d;
}

.laptop-screen {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.laptop-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px 6px 0 0;
}

.screen-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 28%, transparent 55%);
  pointer-events: none;
  z-index: 5;
}

.laptop-hinge {
  position: relative;
  width: 16%;
  height: 5px;
  margin: 0 auto;
  background: linear-gradient(180deg, #11141a 0%, #1c222c 50%, #0e1117 100%);
  border-radius: 1px 1px 0 0;
  z-index: 1;
}

.laptop-base {
  position: relative;
  left: -3%;
  width: 106%;
  height: 12px;
  margin-top: -1px;
  background: linear-gradient(180deg, #64748b 0%, #475569 22%, #334155 55%, #1e293b 85%, #0f172a 100%);
  border-radius: 0 0 10px 10px / 0 0 16px 16px;
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.65),
    inset 0 -1px 1px rgba(0, 0, 0, 0.8),
    0 1px 2px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.laptop-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #334155 0%, #64748b 12%, #cbd5e1 30%, #ffffff 50%, #cbd5e1 70%, #64748b 88%, #334155 100%);
}

.laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 15%;
  max-width: 80px;
  height: 4px;
  background: linear-gradient(180deg, #090b0e 0%, #1e2530 100%);
  border-radius: 0 0 5px 5px;
  box-shadow:
    inset 0 1px 1.5px rgba(0, 0, 0, 0.95),
    0 0.5px 0 rgba(255, 255, 255, 0.4);
}

.laptop-shadows {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  pointer-events: none;
  z-index: 1;
}

.contact-shadow {
  width: 95%;
  height: 8px;
  margin: -2px auto 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 80%);
  filter: blur(2px);
}

.ambient-shadow {
  width: 90%;
  height: 38px;
  margin: -4px auto 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 75%);
  filter: blur(14px);
}

.brand-glow {
  width: 75%;
  height: 40px;
  margin: -32px auto 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.35) 0%, rgba(6, 182, 212, 0.15) 50%, transparent 75%);
  filter: blur(22px);
}

/* ==========================================================================
   Card Grids & Glass Bento Architecture
   ========================================================================== */

.card-grid, .feature-grid, .benefit-grid, .security-grid, .steps-grid, .showcase-grid, .pricing-grid {
  display: grid;
  gap: 1.5rem;
}

.pain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.security-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Universal Glass Card Styling */
.info-card,
.feature-card,
.step-card,
.security-card,
.pricing-card,
.showcase-item,
.benefit-item {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.info-card:hover,
.feature-card:hover,
.step-card:hover,
.security-card:hover,
.pricing-card:hover,
.benefit-item:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-neon);
  box-shadow: var(--glow-emerald), 0 30px 60px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Subtle laser border shine on cards */
.feature-card::before,
.info-card::before,
.security-card::before,
.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before,
.info-card:hover::before,
.security-card:hover::before,
.step-card:hover::before {
  opacity: 1;
}

/* Interactive Cursor Spotlight Glow */
.info-card::after,
.feature-card::after,
.step-card::after,
.security-card::after,
.pricing-card::after,
.showcase-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(450px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(16, 185, 129, 0.1), transparent 45%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.info-card:hover::after,
.feature-card:hover::after,
.step-card:hover::after,
.security-card:hover::after,
.pricing-card:hover::after,
.showcase-item:hover::after {
  opacity: 1;
}

.pain-grid .info-card::after {
  background: radial-gradient(450px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(244, 63, 94, 0.1), transparent 45%);
}

.info-card h3,
.feature-card h3,
.step-card h3,
.security-card h3,
.showcase-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.info-card p,
.feature-card p,
.step-card p,
.security-card p,
.showcase-item p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.94rem;
}

/* Pain / Challenge Cards - High Tech Crimson Tone */
.pain-grid .info-card {
  background: rgba(20, 13, 20, 0.7);
  border-color: rgba(244, 63, 94, 0.2);
}

.pain-grid .info-card:hover {
  background: rgba(30, 16, 26, 0.85);
  border-color: rgba(244, 63, 94, 0.5);
  box-shadow: 0 0 35px -5px rgba(244, 63, 94, 0.3), 0 30px 60px -15px rgba(0, 0, 0, 0.7);
}

.pain-grid .info-card:hover::before {
  background: linear-gradient(90deg, transparent, rgba(244, 63, 94, 0.8), transparent);
  opacity: 1;
}

/* ==========================================================================
   Icon Wrappers with Glowing Tints
   ========================================================================== */

.icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover .icon-wrap,
.info-card:hover .icon-wrap {
  transform: scale(1.08);
}

.icon-wrap svg {
  width: 1.45rem;
  height: 1.45rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-wrap.green {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px -3px rgba(16, 185, 129, 0.25);
}

.icon-wrap.blue {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 20px -3px rgba(6, 182, 212, 0.25);
}

.icon-wrap.orange {
  background: rgba(249, 115, 22, 0.12);
  color: #fb923c;
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 0 20px -3px rgba(249, 115, 22, 0.25);
}

.icon-wrap.purple {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 20px -3px rgba(168, 85, 247, 0.25);
}

.icon-wrap.teal {
  background: rgba(20, 184, 166, 0.12);
  color: #2dd4bf;
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: 0 0 20px -3px rgba(20, 184, 166, 0.25);
}

.icon-wrap.amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 20px -3px rgba(245, 158, 11, 0.25);
}

.icon-wrap.indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 20px -3px rgba(99, 102, 241, 0.25);
}

.icon-wrap.gray {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 0 20px -3px rgba(148, 163, 184, 0.25);
}

/* ==========================================================================
   Product Showcase - High-Tech App/Browser Frames
   ========================================================================== */

.showcase-item {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 24px;
}

.showcase-window {
  position: relative;
  background: #090e18;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.showcase-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.window-dot.red { background: #f43f5e; box-shadow: 0 0 6px rgba(244, 63, 94, 0.5); }
.window-dot.amber { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.5); }
.window-dot.green { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.5); }

.window-bar {
  margin-left: 0.5rem;
  height: 14px;
  width: 140px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.showcase-window img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.showcase-item:hover .showcase-window img {
  transform: scale(1.02);
}

.showcase-body {
  padding: 1.75rem;
}

.showcase-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

/* ==========================================================================
   Step Workflow (How it works)
   ========================================================================== */

.step-card {
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px -3px rgba(16, 185, 129, 0.35);
}

/* ==========================================================================
   Pricing Cards
   ========================================================================== */

.pricing-compact {
  display: flex;
  justify-content: center;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(16, 26, 44, 0.95) 0%, rgba(10, 16, 28, 0.95) 100%);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 50px -10px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
}

.pricing-label {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.pricing-card h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.85rem;
  color: var(--text-muted);
}

.pricing-card li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #34d399;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-shell {
  max-width: 880px;
  margin: 0 auto;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  transition: all 0.25s ease;
}

.faq-list details:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
}

.faq-list details[open] {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 30px -5px rgba(16, 185, 129, 0.2);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #34d399;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: rgba(16, 185, 129, 0.2);
}

.faq-list p {
  margin-top: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA Band (Command Center Look)
   ========================================================================== */

.cta-band {
  background: transparent;
  padding: 5rem 0;
}

.cta-card,
.cta-band .flex {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 26, 44, 0.95) 0%, rgba(8, 12, 22, 0.98) 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  border-radius: clamp(18px, 3vw, 28px) !important;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem) !important;
  box-shadow: 0 0 60px -10px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  overflow: hidden;
}

.cta-card::before,
.cta-band .flex::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card h2,
.cta-band h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #ffffff;
}

/* ==========================================================================
   Universal Site Footer (Exact Match Across All Pages)
   ========================================================================== */

.site-footer {
  background: #04060b !important;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5rem 0 2.5rem;
  width: 100%;
}

.site-footer .footer-container,
.site-footer .container {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(1.25rem, 4vw, 2.5rem) !important;
  padding-right: clamp(1.25rem, 4vw, 2.5rem) !important;
  box-sizing: border-box !important;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 2.5rem;
}

.site-footer .footer-brand-col .brand-mark img,
.site-footer .footer-brand img {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: 220px;
  filter: drop-shadow(0 4px 16px rgba(16, 185, 129, 0.15));
}

.site-footer .footer-desc {
  margin-top: 1.1rem;
  max-width: 320px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #94a3b8;
}

.site-footer .footer-nav-col h3 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.site-footer .footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.site-footer .footer-nav-col a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.site-footer .footer-nav-col a:hover {
  color: #ffffff;
}

.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  font-size: 0.88rem;
  color: #94a3b8;
}

.site-footer .footer-copyright {
  color: #94a3b8;
}

.site-footer .footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-footer .footer-bottom-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.site-footer .footer-bottom-links a:hover {
  color: #ffffff;
}

@media (max-width: 992px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   Sub-Pages (Features, Pricing, About, Security, Contact, Legal)
   ========================================================================== */

.page-hero {
  padding: 5.5rem 0 3.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.12) 0%, transparent 65%),
    linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.page-hero h1,
.page-hero.compact h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .page-hero h1,
  .page-hero.compact h1 {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.page-hero p {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 680px;
  margin-inline: auto;
}

.info-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.two-col h2, .info-panel h2, .legal-page h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #ffffff;
}

.two-col p, .legal-page p, .info-panel p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.legal-page h2 {
  margin-top: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: #e2e8f0;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #34d399;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
}

/* ==========================================================================
   Contact Form (Futuristic Glass)
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.5rem;
  align-items: start;
}

.demo-form {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-bright);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.demo-form label {
  display: grid;
  gap: 0.55rem;
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.demo-form input,
.demo-form textarea,
.demo-form select {
  width: 100%;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: rgba(6, 9, 16, 0.7);
  color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-form input:focus,
.demo-form textarea:focus,
.demo-form select:focus {
  border-color: #34d399;
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25), 0 0 20px -3px rgba(16, 185, 129, 0.3);
}

.demo-form .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

.demo-form .consent-label input {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  accent-color: #10b981;
}

.demo-form .consent-label a {
  color: #34d399;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.form-status.info {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #22d3ee;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.form-status.error {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fda4af;
}

.contact-panel {
  min-height: 100%;
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
}

/* ==========================================================================
   Motion & Animation System
   ========================================================================== */

/* Safe default: all content is 100% visible and sharp by default */
.scroll-reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Smooth reveal ONLY for offscreen cards when motion-ready is initialized */
.motion-ready .scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: none;
  transition: opacity 450ms cubic-bezier(.16, 1, .3, 1),
    transform 450ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready .scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: none;
}

@keyframes hero-copy-arrive {
  from { opacity: 0; transform: translate3d(0, 32px, 0); filter: blur(8px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

@keyframes dashboard-arrive {
  0% { opacity: 0; transform: translateY(28px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  .primary-nav,
  .nav-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .security-grid,
  .steps-grid,
  .benefit-grid,
  .showcase-grid,
  .pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }
  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .nav-shell,
  .site-header .nav-shell {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .site-footer .footer-container,
  .site-footer .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .pain-grid,
  .feature-grid,
  .security-grid,
  .steps-grid,
  .benefit-grid,
  .field-grid,
  .showcase-grid,
  .pricing-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .info-panel {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }
  .demo-form {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }
  .button-row {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .laptop-lid {
    padding: 7px 7px 9px 7px;
    border-radius: 12px 12px 0 0;
  }
  .laptop-camera {
    top: 2px;
  }
  .camera-lens {
    width: 4px;
    height: 4px;
  }
  .camera-sensor {
    width: 1.5px;
    height: 1.5px;
  }
  .laptop-base {
    height: 9px;
    border-radius: 0 0 7px 7px / 0 0 11px 11px;
  }
  .laptop-notch {
    height: 3px;
    max-width: 55px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-reveal,
  .motion-ready .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}



/* ==========================================================================
   Compliance & Legal Page Enhancements
   ========================================================================== */

.legal-page h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #e2e8f0;
}

.legal-page ul,
.legal-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: #94a3b8;
  line-height: 1.8;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

.legal-page li strong,
.legal-page p strong {
  color: #f1f5f9;
}

.legal-page a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.legal-page a:hover {
  color: #6ee7b7;
}

.legal-notice-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  backdrop-filter: blur(12px);
}

.legal-notice-box.warning {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.3);
  border-left-color: #f59e0b;
}

.legal-notice-box.info {
  background: rgba(6, 182, 212, 0.06);
  border-color: rgba(6, 182, 212, 0.3);
  border-left-color: #06b6d4;
}

.legal-notice-box h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-notice-box p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(13, 20, 34, 0.6);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  min-width: 540px;
}

.legal-table th,
.legal-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-table th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  color: #ffffff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table td {
  color: #94a3b8;
}

.legal-table td strong {
  color: #e2e8f0;
}

.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.legal-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legal-meta-bar strong {
  color: #e2e8f0;
}

.nav-login-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  border-radius: 9999px;
  font-weight: 600;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-login-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
}

.footer-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 1rem;
}

.footer-payment-badge svg {
  width: 14px;
  height: 14px;
  color: #34d399;
  flex-shrink: 0;
}

.pricing-tax-notice {
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.pricing-tax-notice span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
}

/* ==========================================================================
   Blog & Resource Hub Styling (SEO & Human-Written UI)
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Featured Blog Hero */
.blog-featured-card {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(13, 20, 34, 0.9) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 24px;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6), 0 0 40px -10px rgba(16, 185, 129, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.7), 0 0 50px -5px rgba(16, 185, 129, 0.25);
}

@media (max-width: 960px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.blog-featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin: 0.85rem 0 1rem;
}

.blog-featured-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 1.75rem;
}

/* Fixed Actions Row for Featured Card (Button and Author clean layout) */
.blog-featured-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.blog-featured-preview {
  position: relative;
  background: rgba(4, 6, 11, 0.75);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.blog-featured-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-featured-preview-caption {
  padding: 1.25rem 1.4rem;
}

/* Universal Blog Card */
.blog-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 30px -10px rgba(16, 185, 129, 0.2);
}

.blog-card-media {
  position: relative;
  width: 100%;
  height: 195px;
  background: #090e19;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.06);
}

.blog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 14, 25, 0.15) 0%, rgba(9, 14, 25, 0.9) 100%);
  pointer-events: none;
}

.blog-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(4, 6, 11, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  z-index: 2;
}

.blog-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

.blog-meta-dot {
  width: 4px;
  height: 4px;
  background: #475569;
  border-radius: 50%;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: #34d399;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.blog-author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #047857);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.blog-author-info {
  font-size: 0.8rem;
  line-height: 1.3;
}

.blog-author-name {
  color: #e2e8f0;
  font-weight: 600;
}

.blog-author-role {
  color: #64748b;
  font-size: 0.72rem;
}

.blog-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #34d399;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.blog-read-btn:hover {
  color: #6ee7b7;
  transform: translateX(3px);
}

/* Category Filter Bar */
.category-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.filter-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

/* Centered Bottom CTA Section (Fixed Pure CSS) */
.blog-cta-band {
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.6) 0%, rgba(16, 185, 129, 0.06) 100%);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
  text-align: center;
  width: 100%;
}

.blog-cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 1.15rem 0 0.85rem;
  line-height: 1.25;
  text-align: center;
}

.blog-cta-desc {
  font-size: 1.02rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 auto 2rem;
  text-align: center;
  max-width: 580px;
}

.blog-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Article Reader Modal */
.article-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  overflow-y: auto;
}

.article-modal.active {
  display: flex !important;
}

.article-dialog {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  background: #080d1a;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 24px;
  padding: clamp(1.75rem, 5vw, 3.25rem);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(16, 185, 129, 0.15);
}

.article-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.article-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  transform: rotate(90deg);
}

.article-prose {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-prose h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.25;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.article-prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  border-left: 3px solid #10b981;
  padding-left: 0.85rem;
}

.article-prose h3 {
  font-size: 1.18rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 1.65rem;
  margin-bottom: 0.65rem;
}

.article-prose p {
  margin-bottom: 1.35rem;
}

.article-prose ul, .article-prose ol {
  margin: 1rem 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.article-prose li {
  line-height: 1.6;
}

/* In-Article Figures */
.article-figure {
  margin: 2rem 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: #04060b;
}

.article-figure img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.article-figure figcaption {
  padding: 0.85rem 1.25rem;
  font-size: 0.85rem;
  color: #94a3b8;
  background: rgba(13, 20, 34, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-takeaway-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.article-takeaway-box h4 {
  color: #34d399;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(4, 6, 11, 0.85));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.article-cta-box h3 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.article-cta-box p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

/* Mobile Fine-Tuning for Blog & Modal (< 640px) */
@media (max-width: 640px) {
  .blog-featured-card {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
    margin-bottom: 2.5rem;
  }
  .blog-featured-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .blog-featured-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .blog-card-body {
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .category-filter-bar {
    gap: 0.5rem;
    margin-bottom: 1.75rem;
  }
  .filter-btn {
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
  }
  .blog-cta-band {
    padding: 3.5rem 0;
  }
  .blog-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .article-modal {
    padding: 0.5rem;
  }
  .article-dialog {
    padding: 2.75rem 1.15rem 1.5rem;
    border-radius: 16px;
    max-height: 94vh;
  }
  .article-close-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
  .article-prose {
    font-size: 0.98rem;
    line-height: 1.7;
  }
  .article-prose h1 {
    font-size: 1.45rem;
    line-height: 1.3;
  }
  .article-prose h2 {
    font-size: 1.2rem;
    margin-top: 1.75rem;
  }
  .article-takeaway-box {
    padding: 1.15rem;
  }
  .article-cta-box {
    padding: 1.75rem 1.25rem;
  }
}
