/* ==========================================================================
   Harborline Interactive — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Dancing+Script:wght@400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   1.  CSS Custom Properties
    -------------------------------------------------------------------------- */
:root {
  /* Colours */
  --color-bg: #07070d;
  --color-bg-alt: #0b0b14;
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-hover: rgba(255, 255, 255, 0.06);
  --color-surface-glass: rgba(255, 255, 255, 0.04);
  --color-surface-glass-strong: rgba(255, 255, 255, 0.07);
  --color-border: rgba(255, 255, 255, 0.07);
  --color-border-hover: rgba(255, 255, 255, 0.14);
  --color-border-subtle: rgba(255, 255, 255, 0.04);
  --color-text-primary: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.65);
  --color-text-tertiary: rgba(255, 255, 255, 0.35);
  --color-accent: #6366f1;
  --color-accent-light: #818cf8;
  --color-accent-dark: #4f46e5;
  --color-cyan: #06b6d4;
  --color-cyan-light: #22d3ee;
  --color-gradient-1: linear-gradient(135deg, #6366f1, #06b6d4);
  --color-gradient-2: linear-gradient(135deg, #4f46e5, #0891b2);
  --color-gradient-text: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --color-gradient-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.08));
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --nav-height: 4rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.12);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-nav: 200;
  --z-overlay: 300;
  --z-modal: 400;
}

/* --------------------------------------------------------------------------
   2.  Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text-primary);
  line-height: var(--leading-normal);
  overflow-x: hidden;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  line-height: var(--leading-tight);
}

p {
  overflow-wrap: break-word;
}

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

/* Selection */
::selection {
  background: rgba(99, 102, 241, 0.3);
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   3.  Typography
   -------------------------------------------------------------------------- */
.heading-1 {
  font-size: clamp(2.25rem, 5vw, var(--text-7xl));
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}

.heading-2 {
  font-size: clamp(1.75rem, 3.5vw, var(--text-5xl));
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}

.heading-3 {
  font-size: clamp(1.25rem, 2.5vw, var(--text-3xl));
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
}

.heading-4 {
  font-size: clamp(1.125rem, 1.5vw, var(--text-xl));
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
}

.body-large {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

.body-regular {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

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

.text-accent {
  color: var(--color-accent-light);
}

.text-small {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

/* --------------------------------------------------------------------------
   4.  Layout & Grid
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-24) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

/* --------------------------------------------------------------------------
   5.  Navigation — Premium Glass Bar
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  background: rgba(7, 7, 13, 0.55);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: var(--transition-base);
}

.nav.scrolled {
  background: rgba(7, 7, 13, 0.88);
  border-bottom-color: var(--color-border-hover);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  flex-shrink: 0;
}

.nav-logo-img {
  display: block;
  height: 30px;
  width: auto;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-links a {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  position: relative;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--color-gradient-1);
  border-radius: var(--radius-full);
  opacity: 0.8;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-border-hover);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-icon-hamburger,
.nav-icon-close {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Mobile menu */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(7, 7, 13, 0.96);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: var(--space-5);
    gap: var(--space-1);
    transform: translateY(-110%);
    opacity: 0;
    transition: var(--transition-base);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    width: 100%;
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-base);
  }

  .nav-links a.active::after {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6.  Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-height) var(--space-6) var(--space-16);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.hero-gradient-1 {
  top: -200px;
  right: -200px;
  background: #6366f1;
  animation: float-slow 20s ease-in-out infinite;
}

.hero-gradient-2 {
  bottom: -300px;
  left: -200px;
  background: #06b6d4;
  animation: float-slow 25s ease-in-out infinite reverse;
}

.hero-gradient-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #8b5cf6;
  opacity: 0.08;
  animation: float-slow 30s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  animation: hero-fade-in 1s ease-out forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-accent-light);
  margin-bottom: var(--space-8);
  animation: hero-slide-up 0.8s 0.2s ease-out both;
}

.hero h1,
#introduction .heading-2 {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
}

#introduction .heading-2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  margin-bottom: var(--space-3);
  animation: hero-slide-up 0.8s 0.3s ease-out both;
}

.hero p {
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto var(--space-6);
  animation: hero-slide-up 0.8s 0.4s ease-out both;
}



.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: hero-slide-up 0.8s 0.5s ease-out both;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  animation: hero-fade-in 1s 1.5s both;
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-tertiary);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.hero-scroll a:hover {
  color: var(--color-text-secondary);
}

.scroll-indicator {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-text-tertiary), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   7.  Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  transition: var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-gradient-1);
  color: white;
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.25);
}

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

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

.btn-secondary:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}

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

.btn-ghost:hover {
  color: var(--color-text-primary);
  background: var(--color-surface);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   8.  Glass Card — Premium
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--color-surface-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: var(--color-surface-glass-strong);
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.glass-card-compact {
  padding: var(--space-6);
}

.glass-card-floating {
  box-shadow: var(--shadow-md);
}

.glass-card-floating:hover {
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* --------------------------------------------------------------------------
   9.  Product Cards — Refined with Banner Backgrounds
   -------------------------------------------------------------------------- */
.product-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding: var(--space-10);
  border-radius: 20px;
  background: var(--color-surface-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg);
  background: var(--color-surface-glass-strong);
}

.product-card-info {
  position: relative;
  z-index: 1;
}

.product-card-info h3 {
  margin-bottom: var(--space-3);
}

.product-card-info > p {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.product-features {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.product-features li:hover {
  background: rgba(255, 255, 255, 0.03);
}

.product-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.8;
}

.product-card-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.04));
  border: 1px solid var(--color-border-subtle);
}

/* Banner background system */
.product-card-banner {
  position: relative;
  overflow: hidden;
}

.product-banner-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.product-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 7, 13, 0.1) 0%,
    transparent 50%,
    rgba(7, 7, 13, 0.05) 100%
  );
}

/* Products page — banner screenshot card */
.product-screenshot-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  margin-bottom: var(--space-10);
}

.product-screenshot-card .product-card-banner {
  position: relative;
}



/* --------------------------------------------------------------------------
   10.  Feature Grid — Refined (Products page)
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.feature-item {
  padding: var(--space-6) var(--space-8);
  border-radius: 18px;
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-item:hover {
  background: var(--color-surface-glass-strong);
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
  transition: transform var(--transition-fast);
}

.feature-item:hover .feature-icon {
  transform: scale(1.05);
}

.feature-icon-primary {
  background: rgba(99, 102, 241, 0.12);
  color: var(--color-accent-light);
}

.feature-icon-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: var(--color-cyan-light);
}

.feature-item h4 {
  margin-bottom: var(--space-2);
  font-size: var(--text-base);
  color: var(--color-text-primary);
}

.feature-item p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   11.  About Page
   -------------------------------------------------------------------------- */
.about-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-20)) 0 var(--space-16);
  text-align: center;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

.about-content p {
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.about-founder {
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: var(--space-10);
  text-align: center;
  transition: all var(--transition-base);
}

.about-founder:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.about-founder-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto var(--space-5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.about-founder h3 {
  margin-bottom: var(--space-1);
}

.about-founder .founder-title {
  color: var(--color-text-tertiary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.about-founder .founder-bio {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.stat-item {
  text-align: center;
  padding: var(--space-6);
  border-radius: 16px;
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.stat-item:hover {
  border-color: var(--color-border-hover);
  background: var(--color-surface-glass-strong);
  transform: translateY(-1px);
}

.stat-number {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

/* --------------------------------------------------------------------------
   12.  Products Page
   -------------------------------------------------------------------------- */
.product-page-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-20)) 0 var(--space-16);
  text-align: center;
  overflow: hidden;
}

.product-full {
  padding: var(--space-16) 0;
}

.product-full:nth-child(even) {
  background: var(--color-bg-alt);
}

.product-full-header {
  text-align: center;
  max-width: 100%;
  margin: 0 auto var(--space-12);
}

.product-full-header h2 {
  margin-bottom: var(--space-4);
}

.product-full-header p {
  font-size: clamp(0.875rem, 1.1vw, 0.9375rem);
  max-width: 100%;
}

.product-full-header .product-icon-large {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

/* --------------------------------------------------------------------------
   13.  Contact Page
   -------------------------------------------------------------------------- */
.contact-section {
  padding: calc(var(--nav-height) + var(--space-20)) 0 var(--space-16);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

.contact-info-card {
  padding: var(--space-8);
  border-radius: 20px;
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  margin-bottom: var(--space-6);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent-light);
}

.contact-item-label {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-1);
}

.contact-item-value {
  font-size: var(--text-base);
  color: var(--color-text-primary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   14.  Policy Pages
   -------------------------------------------------------------------------- */
.policy-page {
  padding: calc(var(--nav-height) + var(--space-20)) 0 var(--space-16);
}

.policy-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.policy-header h1 {
  margin-bottom: var(--space-3);
}

.policy-header p {
  color: var(--color-text-tertiary);
  font-size: var(--text-sm);
}

.policy-content {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.policy-content section {
  margin-bottom: var(--space-10);
}

.policy-content h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}

.policy-content h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text-primary);
}

.policy-content p {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.policy-content ul {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.policy-content ul li {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2);
  list-style: disc;
}

.policy-content ul li::marker {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   15.  Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand .nav-logo-img {
  height: 28px;
}

.footer-brand p {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  max-width: 320px;
  line-height: var(--leading-relaxed);
}

.footer-links h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  transition: var(--transition-fast);
  width: fit-content;
}

.footer-links a:hover {
  color: var(--color-text-primary);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

/* --------------------------------------------------------------------------
   16.  Reveal Animations (Intersection Observer)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.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.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* --------------------------------------------------------------------------
   17.  Keyframes
   -------------------------------------------------------------------------- */
@keyframes hero-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hero-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.1); }
  50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.2); }
}

/* --------------------------------------------------------------------------
   18.  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;
}

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   19.  Responsive (Tablet & Desktop)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

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

  .stat-item {
    padding: var(--space-8) var(--space-6);
  }

  .stat-number {
    font-size: var(--text-4xl);
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .product-card {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: var(--space-12);
  }

  .product-card:nth-child(even) .product-card-visual {
    order: -1;
  }

  .product-card-info > p {
    font-size: var(--text-base);
  }

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

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

  .about-founder {
    padding: var(--space-12);
  }
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

  .feature-item {
    padding: var(--space-8) var(--space-10);
  }

  .glass-card {
    padding: var(--space-10);
  }

  .product-full {
    padding: var(--space-20) 0;
  }

  .policy-content p {
    font-size: var(--text-base);
  }
}

/* --------------------------------------------------------------------------
    20.  Mobile Optimizations (< 640px)
    -------------------------------------------------------------------------- */
@media (max-width: 639px) {
  .container {
    padding: 0 var(--space-4);
  }

  .nav-inner {
    padding: 0 var(--space-4);
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section-header {
    margin-bottom: var(--space-8);
  }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + var(--space-8)) var(--space-4) var(--space-12);
  }

  .hero h1 {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .hero p {
    font-size: 0.875rem;
    margin-bottom: var(--space-6);
  }

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

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

  .hero-scroll {
    display: none;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: var(--space-1) var(--space-3);
    margin-bottom: var(--space-5);
  }

  .product-card {
    padding: var(--space-5);
    gap: var(--space-5);
    border-radius: 16px;
  }

  .glass-card {
    padding: var(--space-5) !important;
  }

  .feature-item {
    padding: var(--space-4) var(--space-5);
  }

  .about-founder {
    padding: var(--space-5);
  }

  .about-stats {
    gap: var(--space-2);
  }

  .stat-item {
    padding: var(--space-3) var(--space-2);
    border-radius: 12px;
  }

  .stat-number {
    font-size: var(--text-xl);
    margin-bottom: 0;
  }

  .stat-label {
    font-size: 0.6875rem;
  }

  .contact-info-card {
    padding: var(--space-5);
  }

  .contact-section {
    padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-12);
  }

  .product-full {
    padding: var(--space-8) 0;
  }

  .product-full-header {
    margin-bottom: var(--space-6);
  }

  .about-hero {
    padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-8);
  }

  .product-page-hero {
    padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-8);
  }

  .policy-page {
    padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-12);
  }

  .about-grid {
    gap: var(--space-6);
  }

  .contact-grid {
    gap: var(--space-6);
  }

  .footer {
    padding: var(--space-8) 0 var(--space-5);
  }

  .footer-grid {
    gap: var(--space-6);
  }

  .footer-brand p {
    font-size: 0.8125rem;
  }

  .heading-1 {
    font-size: clamp(1.625rem, 7vw, 2rem);
  }

  .heading-2 {
    font-size: clamp(1.375rem, 5vw, 1.625rem);
  }

  #introduction .heading-2 {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-size: clamp(1.75rem, 6vw, 2rem);
  }

  .heading-3 {
    font-size: clamp(1.125rem, 4vw, 1.375rem);
  }

  .heading-4 {
    font-size: 1rem;
  }

  .hide-mobile {
    display: none;
  }

  p,
  .body-regular {
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.65;
  }

  .about-founder {
    text-align: left;
  }

  .about-founder h3,
  .about-founder .founder-title {
    text-align: center;
  }

  .about-stats,
  .stat-item {
    text-align: center;
  }

  .section-header p,
  .product-full-header p,
  .about-hero p,
  .product-page-hero p {
    max-width: 100%;
  }

  .text-center p {
    text-align: left;
  }

  .body-large {
    font-size: 0.9375rem;
  }

  .feature-item p,
  .text-small {
    font-size: 0.8125rem;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-3);
  }

  .feature-item h4 {
    font-size: 0.9375rem;
  }

  .policy-content h2 {
    font-size: var(--text-xl);
  }

  .policy-content h3 {
    font-size: var(--text-base);
  }

  .contact-item {
    padding: var(--space-3) 0;
  }

  .contact-item-value {
    font-size: 0.875rem;
  }

  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: 0.875rem;
  }

  .glass-card.text-center {
    padding: var(--space-5) !important;
  }

  .glass-card[style*="max-width"] {
    max-width: 100% !important;
  }

  .about-content h2 {
    font-size: 1.25rem;
  }

  .about-content h3 {
    font-size: 1.125rem;
  }

  .about-content p {
    font-size: 0.8125rem;
  }
}

/* --------------------------------------------------------------------------
    21.  404 Page
    -------------------------------------------------------------------------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6);
}

.error-page h1 {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.error-page p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}
