/* ===================================================
   ZEITKAPSEL — Archival Warmth Design System
   =================================================== */

/* === Self-hosted Fonts (GDPR-compliant, no Google connection) === */
/* Figtree — latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Figtree — latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Special Elite — latin-ext */
@font-face {
  font-family: 'Special Elite';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../assets/fonts/special-elite-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Special Elite — latin */
@font-face {
  font-family: 'Special Elite';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../assets/fonts/special-elite-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === Custom Properties === */
:root {
  --color-bg: #0d0b08;
  --color-bg-warm: #13100b;
  --color-surface: #1a1610;
  --color-surface-alt: #1f1a13;
  --color-card: #231e17;
  --color-card-hover: #2a2419;
  --color-border: #3a3228;
  --color-border-light: #4a4035;
  --color-text: #f0ebe4;
  --color-text-secondary: #c8c0b4;
  --color-text-muted: #9e9489;
  --color-accent: #c4956a;
  --color-accent-light: #d4aa7d;
  --color-accent-dim: rgba(196, 149, 106, 0.15);
  --color-gold: #e8c992;
  --color-gold-dim: rgba(232, 201, 146, 0.08);
  --color-green: #7dba6a;

  --font-display: 'Special Elite', 'Courier New', monospace;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1200px;
  --section-padding: 140px 24px;
  --radius: 12px;
  --radius-lg: 20px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

/* === Grain Texture Overlay === */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* === Utility === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-padding);
  position: relative;
}

/* === Typography === */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 400;
  color: var(--color-text);
}

h4 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: 0.01em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: 0.01em; }

p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  line-height: 1.75;
}

a {
  color: var(--color-accent-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-gold);
}

/* === Skip Navigation === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
  color: var(--color-bg);
}

/* === Focus Styles === */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 3px;
  border-radius: 2px;
}

.navbar__cta:focus-visible {
  outline-offset: 4px;
}

.feature__video-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

.navbar__toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* === Scroll Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* === Hexagon Decorations === */
.hexagon {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
  filter: sepia(1) hue-rotate(-10deg) saturate(0.5);
}

.hexagon--hero-left {
  top: 15%;
  left: -5%;
  width: 220px;
}

.hexagon--hero-right {
  top: 8%;
  right: -3%;
  width: 180px;
}

.hexagon--context-right {
  top: -10%;
  right: -5%;
  width: 300px;
}

.hexagon--context-left {
  bottom: -5%;
  left: -3%;
  width: 220px;
}

.hexagon--power-left {
  top: 20%;
  left: -4%;
  width: 240px;
}

.hexagon--tech-right {
  bottom: 10%;
  right: -3%;
  width: 200px;
}

/* === Ruled Line Decorator === */
.ruled-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  margin-bottom: 32px;
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(13, 11, 8, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--color-border);
  padding: 12px 0;
}

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

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__logo-icon {
  width: 32px;
  height: 32px;
}

.navbar__logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.navbar__links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.navbar__links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}

.navbar__links a:hover {
  color: var(--color-text);
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__cta {
  background: var(--color-accent);
  color: var(--color-bg) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.25s, transform 0.25s var(--ease-out);
}

.navbar__cta::after {
  display: none !important;
}

.navbar__cta:hover {
  background: var(--color-accent-light);
  color: var(--color-bg) !important;
  transform: translateY(-1px);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}

.navbar__toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.navbar__toggle.open span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(13, 11, 8, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
  }

  .navbar__links.open {
    display: flex;
  }
}

/* === Hero === */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(196, 149, 106, 0.12) 0%, rgba(232, 201, 146, 0.04) 40%, transparent 70%);
  pointer-events: none;
  animation: heroGlowPulse 6s ease-in-out infinite;
}

@keyframes heroGlowPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.08); }
}

.hero__content {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Hero reveal animation */
.hero__reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.8s var(--ease-out) forwards;
}

.hero__reveal--d1 { animation-delay: 0.15s; }
.hero__reveal--d2 { animation-delay: 0.3s; }
.hero__reveal--d3 { animation-delay: 0.5s; }


@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .hero__glow { animation: none; }
  .hero__search-cursor { animation: none; opacity: 1; }
}

.hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}

.hero__logo {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 50px rgba(196, 149, 106, 0.35));
}

.hero__product-name {
  font-size: clamp(3.6rem, 8vw, 6.5rem);
  color: var(--color-text);
  letter-spacing: 0.02em;
  text-shadow: 0 0 80px rgba(196, 149, 106, 0.15);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.hero__tagline-highlight {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  margin: 0 auto 48px;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 580px;
  color: var(--color-text-muted);
}

/* Search bar */
.hero__search {
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero__search-bar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: 0 0 0 1px rgba(196, 149, 106, 0), 0 24px 80px rgba(0, 0, 0, 0.4);
  transition: border-color 0.4s, box-shadow 0.4s;
  min-height: 68px;
}

.hero__search-bar:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(196, 149, 106, 0.15), 0 24px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(196, 149, 106, 0.06);
}

.hero__search-icon {
  flex-shrink: 0;
  color: var(--color-accent);
  opacity: 0.7;
  margin-top: 3px;
}

.hero__search-typing {
  flex: 1;
  min-width: 0;
  text-align: left;
  line-height: 1.5;
}

.hero__search-text {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: var(--color-text-secondary);
}

.hero__search-cursor {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  background: var(--color-accent);
  vertical-align: text-bottom;
  animation: cursorBlink 0.8s ease-in-out infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero background image */
.hero__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../assets/images/man-working-late.webp') center center / cover no-repeat;
  opacity: 0.12;
  filter: grayscale(0.4) sepia(0.3);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
}

/* === Value Proposition === */
.value-prop {
  padding: 120px 24px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.value-prop__heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  color: var(--color-text);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 400;
  line-height: 1.5;
  font-family: var(--font-display);
}

.value-prop__heading::before,
.value-prop__heading::after {
  display: block;
  color: var(--color-accent);
  font-size: 2rem;
  line-height: 1;
  font-style: normal;
}

.value-prop__heading::before {
  content: '\201C';
  margin-bottom: 12px;
}

.value-prop__heading::after {
  content: '\201D';
  margin-top: 12px;
}

/* === Context Section === */
.context {
  background: var(--color-bg);
  overflow: hidden;
}

.context__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.context__text p {
  font-size: 1.15rem;
  line-height: 1.85;
  margin-bottom: 24px;
}

.context__text p:first-child::first-line {
  color: var(--color-text);
  font-weight: 500;
}

.context__image {
  position: relative;
}

.context__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.context__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(196, 149, 106, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

/* === Features with Video === */
.features {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.features > .container > h2 {
  margin-bottom: 12px;
}

.features > .container > .ruled-line {
  margin-bottom: 72px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 120px;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature--reverse {
  grid-template-columns: 1.3fr 1fr;
}

.feature--reverse .feature__text {
  order: 2;
}

.feature--reverse .feature__video {
  order: 1;
}

.feature__text h3 {
  color: var(--color-text);
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.feature__text h3::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 16px;
}

.feature__text p {
  margin-bottom: 14px;
}

.feature__video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.feature__video:hover {
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--color-accent-dim);
  transform: translateY(-4px);
}

img, video {
  max-width: 100%;
  height: auto;
}

.feature__video-player {
  display: block;
  width: 100%;
}

.feature__video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(196, 149, 106, 0.9);
  border: 2px solid rgba(240, 235, 228, 0.2);
  color: var(--color-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s var(--ease-out), opacity 0.3s;
  backdrop-filter: blur(8px);
}

.feature__video-btn:hover {
  background: rgba(212, 170, 125, 1);
  transform: translate(-50%, -50%) scale(1.08);
}

.feature__video-btn.playing {
  opacity: 0;
  pointer-events: none;
}

.feature__video:hover .feature__video-btn.playing {
  opacity: 0.85;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .feature,
  .feature--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature--reverse .feature__text,
  .feature--reverse .feature__video {
    order: unset;
  }

  .feature {
    margin-bottom: 80px;
  }
}

/* === Power User === */
.poweruser {
  background: var(--color-bg);
  overflow: hidden;
  border-top: 1px solid var(--color-border);
}

.poweruser h2 {
  margin-bottom: 12px;
}

.poweruser__lead {
  font-size: 1.2rem;
  margin-bottom: 56px;
  max-width: 600px;
}

.poweruser__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.poweruser__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}

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

.poweruser__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 3px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-dim);
  border-radius: 10px;
}

.poweruser__item h4 {
  color: var(--color-text);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

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

/* === Technology === */
.technology {
  background: var(--color-surface-alt);
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  position: relative;
}

.technology::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 100%, var(--color-accent-dim) 0%, transparent 60%);
  pointer-events: none;
}

.technology h2 {
  color: var(--color-text);
  margin-bottom: 12px;
}

.technology__lead {
  font-size: 1.2rem;
  margin-bottom: 56px;
  max-width: 700px;
}

.technology__pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.technology__pillar {
  padding: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
  transition: border-color 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.technology__pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.technology__pillar:hover {
  border-color: var(--color-accent);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.technology__pillar:hover::before {
  opacity: 1;
}

.technology__pillar-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold-dim);
  border-radius: 14px;
  border: 1px solid var(--color-border);
}

.technology__pillar h3 {
  color: var(--color-text);
  margin-bottom: 14px;
}

.technology__pillar p {
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* === Footer === */
.footer {
  background: var(--color-surface);
  padding: 72px 24px 28px;
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.footer__logo-icon {
  width: 28px;
  height: 28px;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.footer__tagline {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.footer__links h4,
.footer__contact h4 {
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__links ul {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a,
.footer__contact a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--color-accent-light);
}

.footer__contact p {
  font-size: 0.95rem;
}

.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 16px;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero__brand {
    flex-direction: column;
    gap: 6px;
  }

  .hero__logo {
    width: 44px;
    height: 44px;
  }

  .hero__product-name {
    font-size: 2.2rem;
  }

  .hero__tagline {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .hero__subtitle {
    font-size: 0.88rem;
    margin-bottom: 28px;
    line-height: 1.7;
  }

  .hero__glow {
    width: 400px;
    height: 400px;
    top: -20%;
  }

  .hero__search {
    margin-bottom: 24px;
  }

  .hero__search-bar {
    padding: 14px 18px;
    min-height: 52px;
    gap: 10px;
  }

  .hero__search-text {
    font-size: 0.82rem;
  }

  .hero__search-icon {
    width: 16px;
    height: 16px;
  }

  .value-prop {
    padding: 80px 16px;
  }

  .value-prop__heading {
    font-size: clamp(1.1rem, 4.5vw, 1.6rem);
  }

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

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* === Legal Pages === */
.legal-page {
  padding: 140px 24px 80px;
  min-height: 70vh;
  background: var(--color-bg);
}

.legal-page h1 {
  color: var(--color-text);
  margin-bottom: 12px;
}

.legal-page .ruled-line {
  margin-bottom: 40px;
}

.legal-page h2 {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page p {
  margin-bottom: 16px;
}

.legal-page ul {
  list-style: none;
  margin-bottom: 16px;
  padding-left: 0;
}

.legal-page ul li {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  line-height: 1.75;
  padding: 8px 0 8px 20px;
  position: relative;
}

.legal-page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* === Selection Styling === */
::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--color-border-light);
  border-radius: 4px;
}

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