/* ═══════════════════════════════════════════════════════════
   KavinAI Technologies — Premium Stylesheet
   Author: KavinAI Technologies
   ═══════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Colors */
  --clr-bg:          #080808;
  --clr-bg-2:        #0f0f0f;
  --clr-bg-3:        #141414;
  --clr-bg-4:        #1a1a1a;
  --clr-surface:     rgba(255,255,255,0.03);
  --clr-surface-2:   rgba(255,255,255,0.06);
  --clr-border:      rgba(255,255,255,0.08);
  --clr-border-2:    rgba(255,255,255,0.12);

  --clr-white:       #ffffff;
  --clr-off-white:   #f0f0f0;
  --clr-grey-100:    #d0d0d0;
  --clr-grey-200:    #a0a0a0;
  --clr-grey-300:    #707070;
  --clr-grey-400:    #404040;
  --clr-grey-500:    #282828;

  --clr-accent:      #c8c8c8;
  --clr-accent-dim:  rgba(200,200,200,0.15);

  /* Typography */
  --font-display:    'Syne', sans-serif;
  --font-body:       'Inter', sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  10rem;

  /* Layout */
  --max-w:     1200px;
  --nav-h:     72px;

  /* Transitions */
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:       cubic-bezier(0.4, 0, 1, 1);
  --ease-out:      cubic-bezier(0, 0, 0.2, 1);
  --duration-fast: 200ms;
  --duration-med:  400ms;
  --duration-slow: 700ms;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-grey-100);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-grey-400); border-radius: 2px; }

/* ── SELECTION ──────────────────────────────────────────────── */
::selection {
  background: rgba(255,255,255,0.15);
  color: var(--clr-white);
}

/* ── FOCUS VISIBLE ──────────────────────────────────────────── */
:focus-visible {
  outline: 1.5px solid rgba(255,255,255,0.4);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── LAYOUT UTILITIES ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ── CUSTOM CURSOR ──────────────────────────────────────────── */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
              border-color 0.25s, opacity 0.2s;
  opacity: 0;
}

.cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--clr-white);
  border-radius: 50%;
  opacity: 0;
}

.cursor.visible, .cursor-dot.visible { opacity: 1; }

.cursor.hovered {
  width: 56px;
  height: 56px;
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}

@media (hover: none) {
  .cursor, .cursor-dot { display: none; }
}

/* ── PRELOADER ──────────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--clr-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.preloader-logo {
  width: 56px;
  height: 56px;
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-k {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

.preloader-bar {
  width: 120px;
  height: 1px;
  background: var(--clr-border);
  border-radius: 1px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  width: 0%;
  background: var(--clr-grey-100);
  border-radius: 1px;
  transition: width 0.05s linear;
}

.preloader-text {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-grey-300);
  font-weight: 400;
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--clr-border);
}

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
  transform: translateY(-8px);
}

.logo-mark {
  flex-shrink: 0;
}

.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.logo-wordmark {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-white);
  letter-spacing: -0.01em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  opacity: 0;
  transform: translateY(-8px);
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--clr-grey-200);
  letter-spacing: 0.01em;
  transition: color var(--duration-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--clr-white);
  transition: width var(--duration-med) var(--ease);
}

.nav-link:hover {
  color: var(--clr-white);
}

.nav-link:hover::after { width: 100%; }

/* Nav CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--clr-white);
  background: var(--clr-surface);
  transition: background var(--duration-med) var(--ease),
              border-color var(--duration-med) var(--ease),
              transform var(--duration-fast);
}

.nav-cta:hover {
  background: var(--clr-surface-2);
  border-color: var(--clr-border-2);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1100;
}

.ham-line {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--clr-white);
  border-radius: 1px;
  transition: transform var(--duration-med) var(--ease),
              opacity var(--duration-fast);
  transform-origin: center;
}

.hamburger.active .ham-line:first-child {
  transform: translateY(3px) rotate(45deg);
}
.hamburger.active .ham-line:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  color: var(--clr-grey-300);
  transition: color var(--duration-med) var(--ease);
  letter-spacing: -0.02em;
}

.mobile-link:hover { color: var(--clr-white); }

.mobile-cta {
  font-size: clamp(1rem, 4vw, 1.4rem) !important;
  padding: 0.6rem 2rem;
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-full);
  color: var(--clr-white) !important;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--duration-med) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

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

.btn-primary {
  background: var(--clr-white);
  color: var(--clr-bg);
  border: 1px solid var(--clr-white);
}

.btn-primary:hover {
  background: var(--clr-off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-grey-200);
  border: 1px solid var(--clr-border-2);
}

.btn-ghost:hover {
  color: var(--clr-white);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn-large {
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--duration-med) var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ── SECTION SHARED STYLES ──────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-2xl);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-grey-300);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* ── SCROLL ANIMATIONS ──────────────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.in-view,
.reveal-left.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── ████ HERO SECTION ████ ─────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--clr-bg);
}

/* Canvas particles */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Dot grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%,
    rgba(0,0,0,0.5) 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%,
    rgba(0,0,0,0.5) 0%, transparent 100%);
}

/* Radial glow from center */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle,
    rgba(200,200,200,0.04) 0%,
    rgba(120,120,120,0.02) 40%,
    transparent 70%);
  pointer-events: none;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-lg);
  max-width: 780px;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  background: var(--clr-surface);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-grey-200);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  background: var(--clr-grey-300);
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

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

/* Hero title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 10vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--clr-white);
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(50px);
}

.title-line--alt {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.35);
}

/* Hero subtitle */
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 300;
  color: var(--clr-grey-200);
  line-height: 1.5;
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(20px);
}

.hero-sub-em {
  color: var(--clr-grey-100);
  font-weight: 400;
}

/* Hero actions */
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
  transform: translateY(20px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  z-index: 2;
  opacity: 0;
  cursor: pointer;
  transition: opacity var(--duration-slow) var(--ease);
}

.scroll-indicator.visible { opacity: 1; }

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--clr-border);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.scroll-thumb {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--clr-grey-300));
  border-radius: 1px;
  animation: scroll-tick 2.2s ease-in-out infinite;
}

@keyframes scroll-tick {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

.scroll-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-grey-400);
  font-weight: 400;
}

/* ── ████ ABOUT SECTION ████ ────────────────────────────────── */
.about {
  padding: var(--space-3xl) 0;
  background: var(--clr-bg);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-border), transparent);
}

.about-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* Stats column */
.about-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: sticky;
  top: calc(var(--nav-h) + var(--space-lg));
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-grey-300);
  font-weight: 400;
}

.stat-divider {
  width: 24px;
  height: 1px;
  background: var(--clr-border);
}

/* Text content */
.about-content {
  padding-top: 2px;
}

.about-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: var(--clr-grey-100);
  line-height: 1.75;
  margin-bottom: var(--space-md);
  max-width: 620px;
}

.about-text--secondary {
  color: var(--clr-grey-200);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
}

/* Pillars */
.pillars {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--clr-border);
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  transition: background var(--duration-med) var(--ease),
              border-color var(--duration-med) var(--ease);
  cursor: default;
}

.pillar:hover {
  background: var(--clr-surface);
  border-color: var(--clr-border);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-grey-200);
}

.pillar-icon svg {
  width: 16px;
  height: 16px;
}

.pillar-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-white);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.pillar-desc {
  font-size: 0.78rem;
  color: var(--clr-grey-300);
  font-weight: 400;
}

/* ── ████ PRODUCTS SECTION ████ ─────────────────────────────── */
.products {
  padding: var(--space-3xl) 0;
  background: var(--clr-bg-2);
  position: relative;
}

.products::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-border), transparent);
}

.products-grid {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Product Card */
.product-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-3);
  overflow: hidden;
  transition: transform var(--duration-med) var(--ease),
              border-color var(--duration-med) var(--ease);
  cursor: default;
}

.product-card:not(.product-card--placeholder):hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
}

.product-card:not(.product-card--placeholder):hover .card-glow {
  opacity: 1;
}

/* Animated border glow */
.card-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 30%,
    rgba(200,200,200,0.25) 50%,
    transparent 70%
  );
  opacity: 0;
  z-index: 0;
  transition: opacity 0.4s var(--ease);
  animation: spin-glow 4s linear infinite;
}

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

@keyframes spin-glow {
  to { --angle: 360deg; }
}

.card-inner {
  position: relative;
  z-index: 1;
  padding: var(--space-lg);
  background: var(--clr-bg-3);
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  height: 100%;
}

/* Card header */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.product-icon svg {
  width: 100%;
  height: 100%;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.badge--soon {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--clr-grey-200);
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clr-grey-300);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

/* Card body */
.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--clr-grey-200);
  line-height: 1.65;
  font-weight: 300;
}

/* Tags */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
  font-size: 0.68rem;
  color: var(--clr-grey-300);
  font-weight: 400;
  letter-spacing: 0.02em;
  background: var(--clr-surface);
}

/* Card footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--clr-border);
}

.card-status {
  font-size: 0.72rem;
  color: var(--clr-grey-400);
  letter-spacing: 0.05em;
}

.card-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-grey-300);
  transition: all var(--duration-med) var(--ease);
  opacity: 0.5;
}

.product-card:hover .card-arrow {
  opacity: 1;
  border-color: rgba(255,255,255,0.2);
  color: var(--clr-white);
  transform: rotate(45deg);
}

.card-arrow svg { width: 14px; height: 14px; }

/* Product Preview Image */
.card-preview {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  position: relative;
  background: var(--clr-bg);
}

.card-preview-inner {
  position: relative;
  overflow: hidden;
}

.card-preview-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-md) - 1px);
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
  filter: brightness(0.9) saturate(0.85);
  max-height: 220px;
  object-fit: cover;
  object-position: top;
}

.product-card:hover .card-preview-img {
  transform: scale(1.03);
  filter: brightness(1) saturate(1);
}

.card-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.7) 0%,
    rgba(8,8,8,0.1) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: var(--space-sm);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  border-radius: calc(var(--radius-md) - 1px);
}

.product-card:hover .card-preview-overlay {
  opacity: 1;
}

.preview-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-grey-200);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Featured card — centered single card styling */
.product-card--featured {
  width: 100%;
  max-width: 780px;
}

/* More to be unveiled styling */
.products-unveil {
  text-align: center;
  margin-top: var(--space-xl);
}

.unveil-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-grey-300);
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-sm);
  opacity: 0.6;
}

.unveil-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: var(--clr-border-2);
}

/* ── ████ DEVELOPER SECTION ████ ────────────────────────────── */
.developer {
  padding: var(--space-3xl) 0;
  background: var(--clr-bg);
  position: relative;
}

.developer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-border), transparent);
}

.developer-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* Developer image */
.developer-image-wrap {
  position: sticky;
  top: calc(var(--nav-h) + var(--space-lg));
}

.developer-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.developer-photo-container {
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-3);
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.developer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
  filter: brightness(0.85) saturate(0.9);
  display: block;
}

.developer-image:hover .developer-photo {
  transform: scale(1.04);
  filter: brightness(1) saturate(1.05);
}

/* Floating badge */
.dev-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: rgba(20,20,20,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-lg);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.dev-badge.visible {
  opacity: 1;
  transform: translateY(0);
}

.dev-badge-icon { font-size: 1rem; }

.dev-badge-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-white);
  letter-spacing: -0.01em;
}

.dev-badge-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--clr-grey-300);
  margin-top: 1px;
}

/* Bio */
.developer-bio {
  padding-top: 4px;
}

.bio-name-wrap {
  margin-bottom: var(--space-lg);
}

.bio-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.bio-role {
  font-size: 0.82rem;
  color: var(--clr-grey-300);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.bio-text {
  border: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.bio-text p {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 300;
  color: var(--clr-grey-100);
  line-height: 1.75;
}

.bio-text strong {
  font-weight: 600;
  color: var(--clr-white);
}

/* Timeline */
.bio-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--clr-border);
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  transition: background var(--duration-med) var(--ease),
              border-color var(--duration-med) var(--ease);
}

.timeline-item:hover {
  background: var(--clr-surface);
  border-color: var(--clr-border);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-grey-300);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.timeline-event {
  font-size: 0.82rem;
  color: var(--clr-grey-200);
  font-weight: 400;
  line-height: 1.4;
}

/* ── ████ CTA BANNER ████ ───────────────────────────────────── */
.cta-banner {
  padding: var(--space-3xl) 0;
  background: var(--clr-bg-2);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-border), transparent);
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
    rgba(200,200,200,0.03) 0%,
    transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-grey-300);
  margin-bottom: var(--space-sm);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--space-md);
}

.cta-sub {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--clr-grey-200);
  font-weight: 300;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: var(--space-xl);
}

/* ── ████ FOOTER ████ ───────────────────────────────────────── */
.footer {
  background: var(--clr-bg);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--clr-border);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-sm);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-white);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--clr-grey-300);
  line-height: 1.5;
  font-weight: 300;
}

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

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-grey-300);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-link {
  font-size: 0.82rem;
  color: var(--clr-grey-300);
  transition: color var(--duration-fast);
  font-weight: 400;
}

.footer-link:hover { color: var(--clr-white); }

.footer-col--support {
  max-width: 180px;
}

.footer-donation {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-donation-text {
  font-size: 0.78rem;
  color: var(--clr-grey-200);
  line-height: 1.5;
  font-weight: 300;
}

.footer-qr-link {
  display: inline-block;
  align-self: flex-start;
}

.footer-qr-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-3);
  overflow: hidden;
  padding: 6px;
  transition: border-color var(--duration-med) var(--ease),
              transform var(--duration-med) var(--ease),
              box-shadow var(--duration-med) var(--ease);
}

.footer-qr-wrapper:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.footer-qr-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 6px);
  display: block;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--clr-border);
  margin-bottom: var(--space-lg);
}

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

.footer-copy,
.footer-made {
  font-size: 0.75rem;
  color: var(--clr-grey-400);
  font-weight: 400;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-stats {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .stat-divider { display: none; }

  .developer-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .developer-image-wrap {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }

  .dev-badge {
    right: 0;
  }
}

@media (max-width: 768px) {
  :root { --space-3xl: 6rem; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .hero-content {
    padding: 0 var(--space-md);
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-xs);
    width: 100%;
    max-width: 280px;
  }

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

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

  .footer-top {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: var(--space-xl) var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }

  .bio-timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-sm); }

  .hero-content {
    padding: 0 var(--space-sm);
  }

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

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

/* ── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-thumb { animation: none; }
  .eyebrow-dot  { animation: none; }
  .badge-dot    { animation: none; }
}
