/* ====================================================
   PhotoAI Group — Stylesheet
   Palette: Purple / Black / White
==================================================== */

:root {
  --bg: #0a0a0f;
  --bg-2: #111118;
  --bg-3: #16161f;
  --surface: #1a1a25;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.55);

  --purple-50: #F5F3FF;
  --purple-300: #C4B5FD;
  --purple-400: #A78BFA;
  --purple-500: #A855F7;
  --purple-600: #9333EA;
  --purple-700: #7E22CE;
  --purple-800: #6D28D9;

  --grad: linear-gradient(135deg, #C4B5FD 0%, #A855F7 45%, #6D28D9 100%);
  --grad-soft: linear-gradient(135deg, rgba(168,85,247,0.18), rgba(109,40,217,0.05));

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-1: 0 10px 30px -10px rgba(168, 85, 247, 0.25);
  --shadow-2: 0 25px 60px -20px rgba(168, 85, 247, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ====================================================
   Background gradient orb
==================================================== */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(168, 85, 247, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(109, 40, 217, 0.2), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 60%, rgba(124, 58, 237, 0.15), transparent 60%),
    var(--bg);
}

/* ====================================================
   Gradient text utility
==================================================== */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ====================================================
   Navigation
==================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.6);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo__mark {
  display: inline-flex;
}

.logo__group {
  font-weight: 400;
  color: var(--purple-300);
}

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__links a {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
}

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

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

.nav__toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ====================================================
   Buttons
==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 0;
  outline: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
  -webkit-font-smoothing: antialiased;
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.4);
}

.btn--lg {
  padding: 15px 30px;
  font-size: 15px;
}

.btn--primary {
  background-image: var(--grad);
  background-color: var(--purple-600); /* fallback so corners never show through */
  color: #fff;
  box-shadow: var(--shadow-1);
}

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

.btn--outline {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--text);
}

.btn--outline:hover {
  box-shadow: inset 0 0 0 1px var(--purple-400);
  background: rgba(168, 85, 247, 0.08);
}

.btn--ghost {
  background: transparent;
  color: var(--text-dim);
}

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

/* ====================================================
   Hero
==================================================== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 980px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  font-size: 13px;
  font-weight: 500;
  color: var(--purple-300);
  margin-bottom: 28px;
}

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-400);
  box-shadow: 0 0 12px var(--purple-400);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

.hero__title {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 36px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: 100%;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__orb {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* ====================================================
   Logo strip
==================================================== */
.strip {
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--line);
}

.strip__title {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.strip__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.strip__logos span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}

.strip__logos span:hover {
  opacity: 1;
  color: var(--text-dim);
}

/* ====================================================
   Sections
==================================================== */
.section {
  padding: 120px 0;
  position: relative;
}

.section--alt {
  background:
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(168, 85, 247, 0.06), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--purple-300);
  font-weight: 600;
  margin-bottom: 20px;
}

.eyebrow--light {
  color: var(--purple-300);
}

.section__title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.section__lede {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto;
}

/* ====================================================
   Grids
==================================================== */
.grid {
  display: grid;
  gap: 24px;
}

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

.card {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: var(--shadow-1);
}

.card__icon {
  font-size: 28px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(168, 85, 247, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--purple-300);
}

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

.card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
}

/* ====================================================
   Products
==================================================== */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: var(--shadow-2);
}

.product__visual {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product__visual--1 {
  background:
    radial-gradient(circle at 30% 30%, rgba(196, 181, 253, 0.5), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(109, 40, 217, 0.6), transparent 50%),
    linear-gradient(135deg, #1a0b2e, #2d1b4e);
}

.product__visual--2 {
  background:
    radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.55), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(135deg, #2b0f4d, #0a0a0f);
}

.product__visual--3 {
  background:
    radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.55), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(196, 181, 253, 0.3), transparent 40%),
    linear-gradient(135deg, #150a26, #2d1b4e);
}

.product__visual--4 {
  background:
    radial-gradient(circle at 60% 30%, rgba(168, 85, 247, 0.45), transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(109, 40, 217, 0.45), transparent 50%),
    linear-gradient(135deg, #0a0a0f, #1f0a3a);
}

.product__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.product__body {
  padding: 32px 32px 36px;
}

.product__body h3 {
  font-size: 28px;
  margin-bottom: 6px;
}

.product__tag {
  color: var(--purple-300);
  font-weight: 500;
  margin-bottom: 14px;
  font-size: 14px;
}

.product__body p {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 20px;
}

.link-arrow {
  color: var(--purple-300);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.link-arrow:hover {
  color: var(--text);
  letter-spacing: 0.02em;
}

/* ====================================================
   Mission
==================================================== */
.mission {
  padding: 140px 0;
  position: relative;
}

.mission__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.mission__title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 16px 0 28px;
  line-height: 1.1;
}

.mission__body {
  color: var(--text-dim);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 760px;
  margin: 0 auto 80px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.value {
  padding: 32px 28px;
  border-top: 1px solid var(--line-strong);
}

.value__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-400);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.value h4 {
  font-size: 19px;
  margin-bottom: 10px;
}

.value p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
}

/* ====================================================
   Team — track-record metric cards
==================================================== */
.team-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: var(--shadow-1);
}

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

.metric-card__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.metric-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.metric-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ====================================================
   Team member cards
==================================================== */
.team-members {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.member-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: var(--shadow-1);
}

.member-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.member-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.member-card:hover .member-card__photo img {
  transform: scale(1.04);
}

.member-card__info {
  padding: 12px 14px 12px;
}

.member-card__info h4 {
  font-size: 14px;
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}

.member-card__role {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.member-card__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: var(--purple-300);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.member-card__linkedin:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: rgba(168, 85, 247, 0.5);
  color: #fff;
}

@media (max-width: 640px) {
  .team-members {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
}

/* ====================================================
   Backer bubble
==================================================== */
.backer-bubble-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.backer-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  background: rgba(26, 26, 37, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.backer-bubble__logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* ====================================================
   Careers CTA
==================================================== */
.careers {
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(168, 85, 247, 0.2), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #1a0b2e 100%);
  text-align: center;
}

.careers__inner {
  max-width: 760px;
  margin: 0 auto;
}

.careers__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 16px 0 24px;
  line-height: 1.1;
}

.careers__body {
  color: var(--text-dim);
  font-size: clamp(16px, 1.3vw, 18px);
  margin-bottom: 28px;
}

/* Open role cards */
.roles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 12px;
  text-align: left;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.role-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px 22px;
  background: rgba(26, 26, 37, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  color: var(--text);
}

.role-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(36, 28, 58, 0.8);
  box-shadow: 0 12px 30px -12px rgba(168, 85, 247, 0.4);
}

.role-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.role-card__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--purple-300);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-card__type {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.role-card h4 {
  font-size: 18px;
  margin: 2px 0 0;
  letter-spacing: -0.01em;
}

.role-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

.role-card__arrow {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-300);
  transition: letter-spacing 0.2s ease;
}

.role-card:hover .role-card__arrow {
  letter-spacing: 0.04em;
  color: var(--text);
}

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

/* Pulsing perks list */
.perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 0 auto 36px;
  padding: 0;
}

.perks li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.perks__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-400);
  box-shadow: 0 0 10px var(--purple-400);
  position: relative;
}

.perks__dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--purple-400);
  opacity: 0.5;
  animation: perks-pulse 2.4s infinite ease-in-out;
}

.perks li:nth-child(2) .perks__dot::after { animation-delay: 0.4s; }
.perks li:nth-child(3) .perks__dot::after { animation-delay: 0.8s; }

@keyframes perks-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(2.2); opacity: 0; }
}


/* ====================================================
   Contact
==================================================== */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__left p {
  color: var(--text-dim);
  font-size: 16px;
  margin: 20px 0 32px;
  max-width: 460px;
}

.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__list li {
  color: var(--text-dim);
  font-size: 15px;
}

.contact__list strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 8px;
}

.contact__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__form span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.contact__form input,
.contact__form textarea {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--text-muted);
}

.contact__success {
  color: var(--purple-300);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

/* ====================================================
   Legal page (Privacy / Terms / etc.)
==================================================== */
.legal {
  padding: 80px 0 120px;
  position: relative;
}

.legal__inner {
  max-width: 820px;
}

.legal__head {
  margin-bottom: 56px;
}

.legal__back {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 24px;
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.legal__back:hover {
  color: var(--purple-300);
}

.legal__title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1.05;
}

.legal__updated {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.legal__body section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.legal__body section:first-child {
  border-top: 0;
  padding-top: 8px;
}

.legal__body h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.legal__body h3 {
  font-size: 17px;
  margin: 22px 0 8px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.legal__body p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal__body ul {
  margin: 6px 0 16px;
  padding-left: 22px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.75;
}

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

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

.legal__callout {
  margin-top: 12px !important;
  padding: 22px 24px;
  background: var(--grad-soft);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-left: 3px solid var(--purple-400);
  border-radius: var(--radius);
  color: var(--text) !important;
  font-size: 15px !important;
}

.legal__callout em {
  color: var(--purple-300);
  font-style: normal;
  font-weight: 600;
}

.legal__inline-link {
  color: var(--purple-300);
  border-bottom: 1px solid rgba(196, 181, 253, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal__inline-link:hover {
  color: var(--text);
  border-color: var(--purple-300);
}

/* ====================================================
   Footer
==================================================== */
.footer {
  background: #08080c;
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer__brand p {
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 16px;
  max-width: 280px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer__cols h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  color: var(--text);
}

.footer__cols a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
}

.footer__cols a:hover {
  color: var(--purple-300);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
}

/* ====================================================
   Reveal animation
==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ====================================================
   Responsive
==================================================== */
@media (max-width: 960px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    gap: 16px;
  }

  .hero__stats,
  .grid--3,
  .team-metrics,
  .values,
  .contact__inner,
  .footer__inner,
  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 56px 0 72px;
  }

  .hero__stats,
  .grid--3,
  .team-metrics,
  .values,
  .contact__inner,
  .footer__inner,
  .footer__cols {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .strip__logos {
    gap: 24px;
  }

  .strip__logos span {
    font-size: 16px;
  }

  .hero__ctas .btn {
    width: 100%;
  }
}
