/* ================================================================
   OceanSphere Service — Digital Product Studio
   Design system, distinct from OceanSphere Consulting (maritime)
   Built for clarity, trust, modern tech credibility
   ================================================================ */

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

:root {
  /* ---- INK PALETTE (modern tech, not navy/gold) ---- */
  --ink-950: #09090f;
  --ink-900: #0f1020;
  --ink-850: #151628;
  --ink-800: #1a1c30;
  --ink-700: #2a2d45;
  --ink-600: #3d4160;
  --ink-500: #6b6f89;
  --ink-400: #9196ae;
  --ink-300: #c0c4d4;
  --ink-200: #dde0ea;
  --ink-100: #eef0f6;
  --ink-50: #f7f8fc;
  --white: #ffffff;

  /* ---- ACCENT ---- */
  --accent: #6366f1;           /* indigo — primary */
  --accent-bright: #818cf8;
  --accent-dark: #4f46e5;
  --accent-glow: rgba(99, 102, 241, 0.35);
  --accent-soft: rgba(99, 102, 241, 0.08);

  --accent-2: #22d3ee;          /* cyan — secondary for highlights */
  --accent-2-glow: rgba(34, 211, 238, 0.4);

  --success: #10b981;
  --warn: #f59e0b;

  /* ---- SEMANTIC (light mode default) ---- */
  --bg: var(--white);
  --bg-soft: var(--ink-50);
  --bg-card: var(--white);
  --bg-elevated: var(--white);
  --text: var(--ink-900);
  --text-mid: var(--ink-500);
  --text-dim: var(--ink-400);
  --line: var(--ink-200);
  --line-strong: var(--ink-300);

  /* ---- LAYOUT ---- */
  --container-max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-pad: clamp(80px, 11vw, 160px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* ---- MOTION ---- */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.18s var(--ease);
  --t-base: 0.35s var(--ease);
  --t-slow: 0.7s var(--ease);

  /* ---- SHADOWS (soft, modern) ---- */
  --shadow-sm: 0 1px 2px rgba(15, 16, 32, 0.05), 0 1px 3px rgba(15, 16, 32, 0.04);
  --shadow: 0 4px 12px rgba(15, 16, 32, 0.06), 0 2px 6px rgba(15, 16, 32, 0.04);
  --shadow-lg: 0 20px 50px -10px rgba(15, 16, 32, 0.18), 0 10px 20px -5px rgba(15, 16, 32, 0.08);
  --shadow-glow: 0 20px 60px -10px var(--accent-glow);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: 'kern', 'liga', 'calt', 'ss01';
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--white); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 6.2vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h4 {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
}

p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.72;
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-mid);
  max-width: 62ch;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  padding: 6px 14px;
  background: var(--accent-soft);
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* ---- LAYOUT ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.section-sm {
  padding: clamp(60px, 8vw, 100px) 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(50px, 7vw, 90px);
  text-align: center;
}

.section-head h2 { margin-bottom: 20px; }
.section-head p { font-size: 1.15rem; }

.section-dark {
  background: var(--ink-950);
  color: var(--ink-100);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }

.section-dark p { color: var(--ink-400); }

.section-soft {
  background: var(--bg-soft);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink-950);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px -6px var(--accent-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -6px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--ink-950);
  color: var(--white);
  border-color: var(--ink-950);
}

.section-dark .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-dark .btn-ghost:hover {
  background: var(--white);
  color: var(--ink-950);
  border-color: var(--white);
}

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

.btn-arrow::after {
  content: '→';
  transition: transform var(--t-fast);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(1.5) blur(18px);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-base);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
  color: var(--text);
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px -2px var(--accent-glow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  padding: 10px 16px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 999px;
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text);
  background: var(--bg-soft);
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border var(--t-fast), color var(--t-fast);
}

.lang-switch:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.lang-switch-current {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--t-fast);
}

.lang-switch-wrap { position: relative; }

.lang-switch-wrap.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  text-align: left;
}

.lang-dropdown button:hover { background: var(--bg-soft); }
.lang-dropdown button.active { color: var(--accent); font-weight: 600; }

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-burger span::before,
.nav-burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-burger { display: flex; }
  .nav.mobile-open .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .nav.mobile-open .nav-menu a {
    padding: 14px 16px;
    font-size: 1rem;
  }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0 clamp(80px, 10vw, 120px);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--accent-soft) 0%, transparent 60%),
    var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black 40%, transparent 80%);
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin: 22px 0 28px;
}

.hero-sub {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-trust {
  margin-top: 70px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.hero-trust-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 18px;
  width: 100%;
  text-align: center;
}

.hero-trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.hero-trust-items span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-items span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- CARDS ---- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(34, 211, 238, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
  color: var(--accent);
  border: 1px solid rgba(99, 102, 241, 0.18);
}

.card h3 { margin-bottom: 12px; }

.card p { font-size: 0.98rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--t-fast);
}

.card-link:hover { gap: 10px; }

/* ---- PRODUCT CARD (large, with status + screenshot placeholder) ---- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.product-card.reverse { grid-template-columns: 1fr 1.1fr; }
.product-card.reverse .product-card-media { order: -1; }

@media (max-width: 820px) {
  .product-card,
  .product-card.reverse { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .product-card.reverse .product-card-media { order: 0; }
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  margin-bottom: 20px;
}

.product-status-live {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.product-status-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.product-status-beta {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warn);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.product-status-coming {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.product-card h3 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 16px;
}

.product-card p {
  font-size: 1.02rem;
  margin-bottom: 22px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.product-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.product-card-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--ink-900) 0%, var(--ink-800) 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink-800);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(34, 211, 238, 0.18) 0%, transparent 50%);
}

.product-card-media-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--ink-300);
  padding: 24px;
}

.product-card-media-inner .mark {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  display: block;
}

.product-card-media-inner .label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-400);
}

/* ---- STATS / PROOF ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.stat {
  padding: 36px 28px;
  text-align: center;
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--line);
}

@media (max-width: 700px) {
  .stat + .stat::before { display: none; }
}

.stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ---- APPROACH / PRINCIPLES ---- */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

.principle {
  background: var(--bg-card);
  padding: 40px 32px;
}

.principle-num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.principle h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.principle p {
  font-size: 0.95rem;
  color: var(--text-mid);
}

/* ---- TEAM ---- */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.team-member {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color var(--t-base), transform var(--t-base);
}

.team-member:hover { border-color: var(--accent); transform: translateY(-3px); }

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.team-member h3 { font-size: 1.25rem; margin-bottom: 6px; }
.team-role {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.team-member p {
  font-size: 0.97rem;
  color: var(--text-mid);
}

/* ---- CTA BLOCK ---- */
.cta-block {
  background: linear-gradient(135deg, var(--ink-950) 0%, var(--ink-900) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(50px, 8vw, 100px) clamp(32px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 30% 20%, rgba(99, 102, 241, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 70% 80%, rgba(34, 211, 238, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-block-content {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}

.cta-block h2 { color: var(--white); margin-bottom: 18px; }
.cta-block p { color: var(--ink-300); font-size: 1.12rem; margin-bottom: 36px; }

.cta-block .btn-accent {
  background: var(--white);
  color: var(--ink-950);
  box-shadow: 0 20px 40px -10px rgba(255, 255, 255, 0.25);
}
.cta-block .btn-accent:hover {
  background: var(--accent-bright);
  color: var(--white);
}

/* ---- CONTACT ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 820px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-info h3 { margin-bottom: 18px; }
.contact-info p { margin-bottom: 20px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.96rem;
  color: var(--text-mid);
}

.contact-item strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}

.contact-item a { color: var(--accent); font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 18px;
}

.form label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 0.98rem;
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.form textarea { resize: vertical; min-height: 140px; }

.form-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 14px;
  line-height: 1.55;
}

/* ---- LEGAL PAGES (Impressum, Privacy) ---- */
.legal {
  padding: clamp(60px, 9vw, 120px) 0;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.legal .last-updated {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 1.45rem;
  margin: 44px 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.legal h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.legal h3 { font-size: 1.1rem; margin: 24px 0 10px; }

.legal p,
.legal li {
  color: var(--text-mid);
  font-size: 0.97rem;
  line-height: 1.72;
  margin-bottom: 12px;
}

.legal ul,
.legal ol {
  padding-left: 22px;
  margin-bottom: 16px;
  list-style: disc;
}

.legal ol { list-style: decimal; }

.legal strong { color: var(--text); font-weight: 600; }

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal .placeholder {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  color: var(--warn);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9em;
  font-weight: 600;
  border: 1px dashed rgba(245, 158, 11, 0.3);
}

.legal-contact-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
}

.legal-contact-box p { margin-bottom: 4px; }

/* ---- FOOTER ---- */
.footer {
  background: var(--ink-950);
  color: var(--ink-400);
  padding: 80px 0 30px;
}

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

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 800;
  color: var(--white);
  font-size: 1.08rem;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-400);
  max-width: 340px;
  margin-bottom: 20px;
}

.footer-entity {
  font-size: 0.78rem;
  color: var(--ink-500);
  line-height: 1.65;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer ul { display: flex; flex-direction: column; gap: 10px; }

.footer ul a {
  font-size: 0.93rem;
  color: var(--ink-400);
  transition: color var(--t-fast);
}

.footer ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--ink-500);
}

.footer-bottom a { color: var(--ink-400); transition: color var(--t-fast); }
.footer-bottom a:hover { color: var(--white); }

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* ---- I18N ---- */
[data-lang] { display: none; }
html[lang="en"] [data-lang="en"],
html[lang="pl"] [data-lang="pl"],
html[lang="de"] [data-lang="de"] { display: inline; }

/* block-level overrides */
h1 [data-lang], h2 [data-lang], h3 [data-lang], h4 [data-lang],
p [data-lang], li [data-lang], a [data-lang], button [data-lang],
span [data-lang], strong [data-lang] { display: none; }

html[lang="en"] [data-lang="en"],
html[lang="pl"] [data-lang="pl"],
html[lang="de"] [data-lang="de"] { display: inline; }

/* ---- MISC UTILITIES ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

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

/* ---- FOCUS VISIBLE ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ================================================================
   HIGH-END VISUAL UPGRADES — v2
   Aurora, bento, mockups, tilt, counter, marquee, FAQ, timeline...
   ================================================================ */

/* ---------- 1. SCROLL PROGRESS BAR ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  z-index: 200;
  transition: width 0.08s linear;
  box-shadow: 0 0 12px var(--accent-glow);
  pointer-events: none;
}

/* ---------- 2. NOISE / GRAIN TEXTURE OVERLAY ---------- */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1;
}

/* ---------- 3. AURORA / MESH GRADIENT HERO ---------- */
.hero-aurora {
  position: relative;
  padding: clamp(100px, 13vw, 180px) 0 clamp(80px, 10vw, 140px);
  background: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-aurora-bg {
  position: absolute;
  inset: -40%;
  z-index: 0;
  filter: blur(80px) saturate(1.4);
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  opacity: 0.55;
  will-change: transform;
}

.aurora-blob-1 {
  width: 60%;
  aspect-ratio: 1;
  top: 5%;
  left: 5%;
  background: radial-gradient(circle, #818cf8 0%, transparent 70%);
  animation: aurora-float-1 22s ease-in-out infinite;
}

.aurora-blob-2 {
  width: 55%;
  aspect-ratio: 1;
  top: 0;
  right: 0;
  background: radial-gradient(circle, #22d3ee 0%, transparent 70%);
  animation: aurora-float-2 28s ease-in-out infinite;
}

.aurora-blob-3 {
  width: 50%;
  aspect-ratio: 1;
  bottom: 0;
  left: 25%;
  background: radial-gradient(circle, #c4b5fd 0%, transparent 70%);
  animation: aurora-float-3 32s ease-in-out infinite;
}

.aurora-blob-4 {
  width: 45%;
  aspect-ratio: 1;
  bottom: 10%;
  right: 15%;
  background: radial-gradient(circle, #67e8f9 0%, transparent 70%);
  animation: aurora-float-4 26s ease-in-out infinite;
}

@keyframes aurora-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(8%, -6%) scale(1.1); }
  66% { transform: translate(-4%, 8%) scale(0.95); }
}
@keyframes aurora-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10%, 10%) scale(1.15); }
}
@keyframes aurora-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(6%, -8%) scale(1.05); }
  70% { transform: translate(-8%, 4%) scale(0.9); }
}
@keyframes aurora-float-4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8%, -6%) scale(1.1); }
}

.hero-aurora-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 16, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 16, 32, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
  z-index: 1;
  pointer-events: none;
}

.hero-aurora .container {
  position: relative;
  z-index: 3;
}

/* ---------- 4. GLOW CURSOR FOLLOWER ---------- */
.glow-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
  mix-blend-mode: multiply;
}

@media (hover: hover) and (pointer: fine) {
  body:hover > .glow-cursor { opacity: 1; }
}

/* ---------- 5. ANIMATED GRADIENT BORDER (rotating conic) ---------- */
.btn-glow {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle, 0deg), var(--accent), var(--accent-2), var(--accent-bright), var(--accent));
  z-index: -1;
  animation: rotate-conic 4s linear infinite;
  filter: blur(0);
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ink-950);
  z-index: -1;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotate-conic {
  from { --angle: 0deg; }
  to { --angle: 360deg; }
}

/* Fallback for browsers without @property */
@supports not (background: conic-gradient(from 0deg, red, blue)) {
  .btn-glow::before { display: none; }
}

/* ---------- 6. BENTO GRID ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

.bento-cell {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  isolation: isolate;
}

.bento-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 50%), var(--accent-soft) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
  z-index: 0;
}

.bento-cell:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.bento-cell:hover::before { opacity: 1; }

.bento-cell > * { position: relative; z-index: 1; }

.bento-cell .bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(34, 211, 238, 0.06) 100%);
  border: 1px solid rgba(99, 102, 241, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: auto;
}

.bento-cell .bento-icon svg { width: 22px; height: 22px; }

.bento-cell h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.bento-cell p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--text-mid);
}

/* Bento layout patterns */
.bento-w2 { grid-column: span 2; }
.bento-w3 { grid-column: span 3; }
.bento-w4 { grid-column: span 4; }
.bento-w6 { grid-column: span 6; }
.bento-h2 { grid-row: span 2; }

@media (max-width: 1100px) {
  .bento-w2 { grid-column: span 2; }
  .bento-w3 { grid-column: span 4; }
  .bento-w4 { grid-column: span 4; }
  .bento-w6 { grid-column: span 4; }
}
@media (max-width: 700px) {
  .bento-w2,
  .bento-w3,
  .bento-w4,
  .bento-w6 { grid-column: span 2; }
  .bento-h2 { grid-row: span 1; }
}

/* Featured bento with gradient hero */
.bento-cell-feature {
  background: linear-gradient(135deg, var(--ink-950) 0%, var(--ink-800) 100%);
  color: var(--white);
  border-color: var(--ink-700);
  position: relative;
}
.bento-cell-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(34, 211, 238, 0.25) 0%, transparent 50%);
  z-index: 0;
}
.bento-cell-feature > * { position: relative; z-index: 2; }
.bento-cell-feature h3 { color: var(--white); font-size: 1.5rem; }
.bento-cell-feature p { color: var(--ink-300); }
.bento-cell-feature .bento-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--accent-bright);
}

/* ---------- 7. 3D TILT CARDS ---------- */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
  will-change: transform;
}

.tilt-inner {
  transform: translateZ(20px);
  transform-style: preserve-3d;
}

/* ---------- 8. ANIMATED COUNTER (tabular nums) ---------- */
.counter {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* ---------- 9. SVG DASHBOARD MOCKUP STYLES ---------- */
.mockup {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #0d0f1c 0%, #161a2e 100%);
  border: 1px solid var(--ink-800);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 30px 80px -20px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  aspect-ratio: 4 / 3;
  isolation: isolate;
}

.mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(99, 102, 241, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 100%, rgba(34, 211, 238, 0.12) 0%, transparent 60%);
  z-index: 0;
}

.mockup-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mockup-titlebar {
  height: 28px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  flex-shrink: 0;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-url {
  margin-left: 14px;
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0;
}

.mockup-body {
  flex: 1;
  padding: 16px;
  display: flex;
  gap: 12px;
  min-height: 0;
}

.mockup svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- 10. TECH STACK MARQUEE ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 32px 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
  align-items: center;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity var(--t-fast), color var(--t-fast);
}

.marquee-item:hover {
  opacity: 1;
  color: var(--text);
}

.marquee-item svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent);
}

.marquee-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
  flex-shrink: 0;
}

/* ---------- 11. FAQ ACCORDION ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 6px 20px -8px var(--accent-glow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--t-fast);
}

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

.faq-item summary:hover { color: var(--accent); }

.faq-item summary::after {
  content: '';
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t-base);
  flex-shrink: 0;
  margin-top: -4px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-item-body {
  padding: 0 28px 26px;
  font-size: 0.97rem;
  line-height: 1.72;
  color: var(--text-mid);
}

.faq-item-body p { margin-bottom: 10px; font-size: 0.97rem; }
.faq-item-body p:last-child { margin-bottom: 0; }

/* ---------- 12. PROCESS TIMELINE ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; }
}

.timeline-step {
  position: relative;
  padding: 0 18px;
  counter-increment: step;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--line-strong) 100%);
  z-index: 0;
}

.timeline-step:last-child::before { display: none; }

@media (max-width: 900px) {
  .timeline-step::before {
    top: 44px;
    left: 21px;
    right: auto;
    width: 2px;
    height: calc(100% - 22px);
    background: linear-gradient(180deg, var(--accent) 0%, var(--line-strong) 100%);
  }
  .timeline-step { padding: 0 0 36px 64px; }
}

.timeline-num {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent);
  margin: 0 auto 22px;
  box-shadow: 0 0 0 6px var(--white), 0 4px 14px -2px var(--accent-glow);
}

@media (max-width: 900px) {
  .timeline-num {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }
}

.timeline-step h3 {
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 10px;
}

.timeline-step p {
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-mid);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .timeline-step h3,
  .timeline-step p { text-align: left; }
}

/* ---------- 13. CUSTOM SVG LOGO MARK + ANIMATION ---------- */
.logo-svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-svg circle,
.logo-svg path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: logo-draw 1.5s var(--ease) forwards;
}

.logo-svg path:nth-child(2) { animation-delay: 0.3s; }
.logo-svg path:nth-child(3) { animation-delay: 0.6s; }

@keyframes logo-draw {
  to { stroke-dashoffset: 0; }
}

/* ---------- 14. PAGE-LOAD REVEAL ---------- */
.page-fade {
  animation: page-fade-in 0.8s var(--ease);
}

@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 15. UPGRADED BUTTONS ---------- */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  transition: left 0.6s var(--ease);
}

.btn-shimmer:hover::after { left: 100%; }

/* ---------- 16. TRUST BADGE / LIVE STATUS CARD ---------- */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.live-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color var(--t-base), transform var(--t-base);
}

.live-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
  flex-shrink: 0;
}

.live-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--success);
  animation: live-pulse 2.4s ease-in-out infinite;
  opacity: 0;
}

@keyframes live-pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

.live-card-content { flex: 1; min-width: 0; }

.live-card-domain {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-card-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.live-card-arrow {
  color: var(--text-dim);
  transition: color var(--t-fast), transform var(--t-fast);
}

.live-card:hover .live-card-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ---------- 17. SECTION HEAD VARIANTS ---------- */
.section-head-left {
  text-align: left;
  margin-bottom: clamp(40px, 6vw, 70px);
  max-width: 720px;
}

/* ---------- 18. UPDATED HERO TYPOGRAPHY ---------- */
.hero h1 .gradient-text-2 {
  background: linear-gradient(135deg, #818cf8 0%, #22d3ee 50%, #818cf8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  animation: gradient-pan 6s linear infinite;
}

@keyframes gradient-pan {
  to { background-position: 200% center; }
}

/* ---------- 19. SIDE BADGES ---------- */
.eyebrow-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow-icon::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- 20. ENHANCED PRODUCT CARD WITH MOCKUP ---------- */
.product-card .product-card-media {
  background: transparent;
  border: none;
  padding: 0;
  aspect-ratio: 4 / 3;
  align-items: stretch;
  justify-content: stretch;
}

.product-card .product-card-media .mockup {
  width: 100%;
  height: 100%;
}

/* ---------- 21. NAV LOGO MARK UPGRADE ---------- */
.nav-logo-mark {
  position: relative;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  overflow: hidden;
}

.nav-logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}

.nav-logo:hover .nav-logo-mark::before {
  transform: translateX(100%);
}

/* ---------- 22. STATS UPGRADE ---------- */
.stats {
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(34, 211, 238, 0.02) 100%),
    var(--bg-card);
  border: 1px solid var(--line);
}

.stat {
  position: relative;
}

.stat::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  transition: width 0.4s var(--ease);
}

.stat:hover::after { width: 60%; }

/* ---------- 23. REDUCED MOTION OVERRIDES ---------- */
@media (prefers-reduced-motion: reduce) {
  .aurora-blob,
  .marquee-track,
  .live-dot::before,
  .gradient-text-2,
  .btn-glow::before {
    animation: none !important;
  }
  .glow-cursor { display: none !important; }
}

/* ---------- 24. UTILITY: HIDE ON MOBILE ---------- */
@media (max-width: 700px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 701px) {
  .hide-desktop { display: none !important; }
}

