/* ============================================================
   LAPLAND LOGIC — Design Tokens & Core Styling
   Arctic Aurora Theme (Dark Arctic Navy + Aurora Ice Blue + Frosted Glass)
   ============================================================ */

/* Self-hosted under SIL OFL 1.1; licenses: ../assets/fonts/LICENSE-*.txt */
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/InterVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face { font-family: 'IBM Plex Mono'; src: url('../assets/fonts/IBMPlexMono-Light.woff2') format('woff2'); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../assets/fonts/IBMPlexMono-Regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../assets/fonts/IBMPlexMono-Medium.woff2') format('woff2'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../assets/fonts/IBMPlexMono-SemiBold.woff2') format('woff2'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../assets/fonts/IBMPlexMono-Bold.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* --- Base Palette --- */
  --color-navy:          #0F172A;   /* Deep Arctic Navy */
  --color-navy-deep:     #090D16;   /* Void Arctic Navy */
  --color-anthracite:    #1E293B;   /* Slate Anthracite */
  --color-ice:           #38BDF8;   /* Glacial Ice Blue */
  --color-ice-glow:      rgba(56, 189, 248, 0.4);
  --color-aurora-green:  #34D399;   /* Aurora Mint Green */
  --color-aurora-purple: #818CF8;   /* Aurora Violet */
  --color-frost:         #F8FAFC;   /* Frost White */

  /* --- Expanded Shades --- */
  --color-navy-900:      #0F172A;
  --color-navy-800:      #1E293B;
  --color-navy-700:      #334155;
  --color-navy-600:      #475569;
  --color-navy-500:      #64748B;
  --color-navy-400:      #94A3B8;
  --color-navy-300:      #CBD5E1;
  --color-navy-200:      #E2E8F0;
  --color-navy-100:      #F1F5F9;

  --color-ice-900:       #0C4A6E;
  --color-ice-700:       #0369A1;
  --color-ice-500:       #0EA5E9;
  --color-ice-400:       #38BDF8;
  --color-ice-300:       #7DD3FC;
  --color-ice-200:       #BAE6FD;
  --color-ice-100:       #E0F2FE;

  /* --- Glass & Surface Tokens --- */
  --glass-bg:            rgba(30, 41, 59, 0.7);
  --glass-bg-hover:      rgba(30, 41, 59, 0.85);
  --glass-border:        rgba(255, 255, 255, 0.08);
  --glass-border-glow:   rgba(56, 189, 248, 0.3);
  --glass-blur:          blur(16px);
  --glass-shadow:        0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);

  --color-bg:            var(--color-navy);
  --color-bg-surface:    var(--color-anthracite);
  --color-fg:            var(--color-frost);
  --color-fg-muted:      #94A3B8;
  --color-fg-subtle:     #64748B;
  --color-accent:        var(--color-ice);
  --color-border:        rgba(255, 255, 255, 0.08);

  /* --- Fonts --- */
  --font-sans:           'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:           'IBM Plex Mono', monospace;

  /* --- Easings & Transitions --- */
  --ease-out-cubic:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-default:        cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast:     150ms var(--ease-default);
  --transition-normal:   250ms var(--ease-default);
  --transition-slow:     500ms var(--ease-out-cubic);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-navy-deep);
  color: var(--color-frost);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Aurora Glow Overlay */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 800px;
  background: radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.12) 0%, rgba(129, 140, 248, 0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Aurora Grid Background Pattern */
.bg-aurora-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(56, 189, 248, 0.2), transparent 70%),
    radial-gradient(circle at 80% 60%, rgba(129, 140, 248, 0.08), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(52, 211, 153, 0.05), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS (IntersectionObserver)
   ============================================================ */
.motion-ready .scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out-cubic), transform 0.8s var(--ease-out-cubic);
  will-change: opacity, transform;
}

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

.motion-ready .scroll-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out-cubic), transform 0.8s var(--ease-out-cubic);
  will-change: opacity, transform;
}

.scroll-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.motion-ready .scroll-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out-cubic), transform 0.8s var(--ease-out-cubic);
  will-change: opacity, transform;
}

.scroll-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.motion-ready .scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out-cubic), transform 0.8s var(--ease-out-cubic);
  will-change: opacity, transform;
}

.scroll-reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Delay Classes */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.text-gradient-aurora {
  background: linear-gradient(135deg, #FFFFFF 0%, #38BDF8 50%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-ice {
  background: linear-gradient(135deg, #38BDF8 0%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 300ms ease, box-shadow 300ms ease;
}

nav.scrolled {
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 200ms ease;
}

.nav-logo:hover {
  transform: translateY(-1px);
}

.nav-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.3));
}

.nav-wordmark {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-frost);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-fg-muted);
  text-decoration: none;
  transition: color 150ms ease, text-shadow 150ms ease;
}

.nav-links a:hover {
  color: var(--color-frost);
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.nav-webb-cta {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-border-glow);
  background: rgba(56, 189, 248, 0.08);
  color: var(--color-ice) !important;
}

.nav-webb-cta:hover {
  background: rgba(56, 189, 248, 0.18);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: 12px;
  padding: 4px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--color-fg-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 150ms ease;
}

.lang-btn:hover {
  color: var(--color-frost);
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
  color: var(--color-navy);
  background: var(--color-ice);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-frost);
  cursor: pointer;
  padding: 8px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 250ms var(--ease-out-cubic);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  color: var(--color-navy-deep);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.45);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.6);
  color: var(--color-frost);
  border: 1px solid rgba(56, 189, 248, 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--color-ice);
  color: var(--color-ice);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.15);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 48px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 80%);
  transform: translate3d(0, var(--grid-shift, 0), 0);
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-wrapper {
  position: relative;
  margin-bottom: 32px;
}

.hero-logo-wrapper::after {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  filter: blur(20px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { opacity: 0.5; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.08); }
}

.hero-logo {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
  transform: translate3d(0, var(--emblem-lift, 0), 0) rotate(var(--emblem-turn, 0deg));
  will-change: transform;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-ice);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--color-frost);
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, #38BDF8 0%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-fg-muted);
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   SECTIONS & DIVIDERS
   ============================================================ */
.section {
  padding: 120px 48px;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-ice);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-frost);
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-sub {
  font-size: 18px;
  color: var(--color-fg-muted);
  line-height: 1.65;
  max-width: 740px;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.2), transparent);
  margin: 0 48px;
}

/* ============================================================
   THE LOOM PARADIGM SHIFT
   ============================================================ */
.analogy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.analogy-text p {
  font-size: 18px;
  color: var(--color-fg-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.analogy-text p strong {
  color: var(--color-frost);
  font-weight: 600;
}

.highlight-box {
  border-left: 3px solid var(--color-ice);
  padding: 24px 32px;
  background: rgba(56, 189, 248, 0.04);
  border-radius: 0 12px 12px 0;
  border-top: 1px solid rgba(56, 189, 248, 0.1);
  border-right: 1px solid rgba(56, 189, 248, 0.1);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
  margin: 36px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.highlight-box p {
  font-size: 20px !important;
  color: var(--color-frost) !important;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0;
}

.analogy-visual {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.analogy-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(56, 189, 248, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

.icon-wrapper {
  position: relative;
  z-index: 1;
  color: var(--color-ice);
  display: flex;
  align-items: center;
  gap: 24px;
}

.icon-wrapper i {
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.4));
}

.icon-wrapper .arrow {
  color: var(--color-fg-subtle);
}

/* ============================================================
   LAPLAND LOGIC WEBB & FRIENDLY SCANDINAVIAN / GLASS HYBRID
   ============================================================ */
.webb-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  color: var(--color-ice);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

/* Friendly Light / Glass Hybrid Container Card */
.friendly-container {
  background: rgba(248, 250, 252, 0.96);
  color: #0F172A;
  border-radius: 20px;
  padding: 56px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(56, 189, 248, 0.1);
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

.friendly-container h3, 
.friendly-container h4,
.friendly-container p {
  color: #0F172A;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 32px;
  margin-top: 48px;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 300ms var(--ease-out-cubic), box-shadow 300ms var(--ease-out-cubic), border-color 300ms ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.18);
  border-color: #38BDF8;
}

.pricing-card.featured {
  border: 2px solid #0EA5E9;
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.2);
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
}

.pricing-card .popular-tag {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.pricing-title {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}

.pricing-subtitle {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-amount {
  font-size: 42px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.pricing-amount span {
  font-size: 15px;
  font-weight: 600;
  color: #64748B;
}

.pricing-moms {
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #334155;
  margin-bottom: 14px;
  line-height: 1.45;
}

.pricing-features li i {
  color: #0EA5E9;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 200ms ease;
  cursor: pointer;
}

.pricing-btn-primary {
  background: #0EA5E9;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.pricing-btn-primary:hover {
  background: #0284C7;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.pricing-btn-outline {
  background: #F1F5F9;
  color: #0F172A;
  border: 1px solid #CBD5E1;
}

.pricing-btn-outline:hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* 3-Step Process Cards */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px;
  margin-top: 40px;
}

.process-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.process-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #E0F2FE;
  color: #0369A1;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.process-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* ============================================================
   INTERACTIVE GENERIC INDUSTRY DEMO SHOWCASE
   ============================================================ */
.demo-showcase {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 40px;
  margin-top: 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.demo-disclaimer {
  margin: 0 0 24px;
  color: #475569;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.demo-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  border-bottom: 2px solid #F1F5F9;
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.demo-tab-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 200ms ease;
}

.demo-tab-btn i {
  color: #64748B;
  transition: color 200ms ease;
}

.demo-tab-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
}

.demo-tab-btn.active {
  background: #0EA5E9;
  color: #FFFFFF;
  border-color: #0EA5E9;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.demo-tab-btn.active i {
  color: #FFFFFF;
}

.demo-card-preview {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: stretch;
  opacity: 1;
  transition: opacity 300ms ease, transform 300ms ease;
}

.demo-card-preview.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

/* Interactive Device / Mockup Window */
.mockup-window {
  background: #0F172A;
  border-radius: 16px;
  border: 1px solid #1E293B;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mockup-header {
  background: #1E293B;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #FF5F56; }
.mockup-dot.yellow { background: #FFBD2E; }
.mockup-dot.green { background: #27C93F; }

.mockup-url-bar {
  background: #0F172A;
  border-radius: 6px;
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 260px;
  width: 100%;
}

.mockup-body {
  padding: 24px;
  color: #F8FAFC;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-industry-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translate3d(0, var(--image-shift, 0), 0) scale(1.06);
  clip-path: inset(0 round 10px);
  will-change: transform;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1200;
  width: 100%;
  height: 2px;
  pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--color-ice), var(--color-violet));
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .hero-grid,
  .hero-logo,
  .mockup-industry-image { transform: none; }
  .motion-ready .scroll-reveal,
  .motion-ready .scroll-reveal-left,
  .motion-ready .scroll-reveal-right,
  .motion-ready .scroll-reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.mockup-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #38BDF8;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mockup-title {
  font-size: 22px;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 4px;
}

.mockup-subtitle {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 20px;
}

.mockup-interactive-box {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-left: 4px solid #38BDF8;
  border-radius: 10px;
  padding: 16px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.mockup-action-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 200ms ease;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.mockup-action-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.mockup-feedback-msg {
  margin-top: 10px;
  font-size: 12px;
  color: #34D399;
  text-align: center;
  font-family: var(--font-mono);
  display: none;
}

/* ============================================================
   SERVICES & CAPABILITIES
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 32px;
  margin-top: 56px;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 300ms var(--ease-out-cubic);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-ice), transparent);
  opacity: 0;
  transition: opacity 300ms ease;
}

.feature-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(56, 189, 248, 0.15);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  margin-bottom: 28px;
  color: var(--color-ice);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-frost);
  margin-bottom: 14px;
}

.feature-desc {
  font-size: 15px;
  color: var(--color-fg-muted);
  line-height: 1.65;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(56, 189, 248, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 200px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent 70%);
  pointer-events: none;
}

.contact-email {
  font-family: var(--font-mono);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  color: var(--color-ice);
  margin: 32px 0;
  display: inline-block;
  text-decoration: none;
  padding: 12px 28px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  transition: all 250ms ease;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

.contact-email:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--color-ice);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.pgp-key {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-fg-muted);
  background: rgba(15, 23, 42, 0.8);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  word-break: break-all;
  text-align: left;
  max-width: 480px;
  margin: 0 auto;
}

.pgp-key span {
  color: var(--color-ice);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-navy-deep);
  position: relative;
  z-index: 10;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 28px;
  width: auto;
}

.footer-wordmark {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-frost);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-fg-subtle);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 992px) {
  .analogy-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .demo-card-preview {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  nav {
    padding: 0 24px;
  }

  .section {
    padding: 96px 24px;
  }

  footer {
    padding: 36px 24px;
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  footer div:last-child {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(20px);
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .lang-switcher {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
    justify-content: flex-start;
  }

  .friendly-container {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .pricing-card {
    padding: 32px 20px;
  }

  .demo-showcase {
    padding: 24px 16px;
  }

  .contact-card {
    padding: 40px 24px;
  }

  .hero {
    padding: 120px 20px 80px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

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

  .pricing-amount {
    font-size: 34px;
  }

  .hero-logo {
    width: 110px;
    height: 110px;
  }

  .demo-tabs {
    flex-direction: column;
  }

  .demo-tab-btn {
    width: 100%;
    justify-content: center;
  }
}
