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

:root {
  --bg: #000000;
  --surface: #111111;
  --text: #f5f5f7;
  --secondary: #b0b0b8;
  --accent: #6a5cff;
  --accent-mid: #8a72ff;
  --accent-light: #b7a8ff;
  --accent-hover: #7d70ff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-h: 52px;
  --header-h-compact: 44px;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .text-reveal, .hero-fade, .reveal-blur { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; filter: none !important; }
  .hero-title-line { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---- GLASS CARD ---- */

.glass-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
}

/* ---- REVEAL ---- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.215,.61,.355,1),
              transform 0.8s cubic-bezier(.215,.61,.355,1);
}

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

/* ---- TEXT REVEAL (H2 from dark to light) ---- */

.text-reveal {
  color: #3a3a3a;
  opacity: 0;
  transform: translateY(28px);
  transition: color 1s cubic-bezier(.215,.61,.355,1),
              opacity 0.8s cubic-bezier(.215,.61,.355,1),
              transform 0.8s cubic-bezier(.215,.61,.355,1);
}

.text-reveal.visible {
  color: var(--text);
  opacity: 1;
  transform: translateY(0);
}

/* ---- LAYOUT ---- */

.container-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */

.btn-primary,
.btn-ghost,
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 980px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 30px;
  border: none;
  gap: 10px;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary.btn-lg {
  font-size: 17px;
  padding: 18px 40px;
}

.btn-glow {
  box-shadow: 0 0 32px rgba(106,92,255,0.3), 0 0 80px rgba(106,92,255,0.1);
}

.btn-glow:hover {
  box-shadow: 0 0 40px rgba(106,92,255,0.45), 0 0 100px rgba(106,92,255,0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-light);
  padding: 14px 30px;
  border: 1.5px solid rgba(255,255,255,.15);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: #fff;
}

.btn-nav {
  background: transparent;
  color: var(--accent-light);
  border: 1px solid rgba(255,255,255,.12);
  padding: 8px 18px;
  font-size: 12px;
}

.btn-nav:hover {
  border-color: var(--accent);
  color: #fff;
}

.btn-glow-sm {
  box-shadow: 0 0 16px rgba(106,92,255,0.2);
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 980px;
  cursor: pointer;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.12);
  padding: 14px 30px;
  transition: background 0.25s, border-color 0.25s;
}

.btn-contact:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,.2);
}

.btn-contact.btn-lg {
  font-size: 17px;
  padding: 18px 36px;
}

/* Nav contacts */
.nav-contacts {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.nav-contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--secondary);
  transition: color 0.2s, background 0.2s;
}

.nav-contact-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

/* ---- HEADER ---- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(0,0,0,.6);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  transition: height 0.35s cubic-bezier(.215,.61,.355,1),
              background 0.35s,
              border-color 0.35s;
}

.site-header.compact {
  height: var(--header-h-compact);
  background: rgba(0,0,0,.82);
  border-bottom-color: rgba(255,255,255,.1);
}

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.02em;
  transition: font-size .3s;
}

.compact .nav-logo { font-size: 18px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  color: var(--secondary);
  text-decoration: none;
  transition: color .2s;
}

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

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.nav-burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  padding: 48px 24px;
  z-index: 99;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.mobile-menu[aria-hidden="false"] { display: flex; }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-menu a {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

/* ---- HERO ---- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 24px) 24px 48px;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 28px;
}

/* H1 — always visible by default (no JS dependency) */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

.hero-title-line {
  display: block;
  font-size: clamp(78px, 11vw, 180px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.07em;
  background: linear-gradient(180deg, #ffffff 0%, #d8d8df 42%, #7b7b86 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.08em;
  opacity: 1;
  transform: none;
}

body.js-ready .hero-title-line {
  opacity: 0;
  transform: translateY(40px) scale(1.06);
}

body.js-ready .hero-title-line.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 1.2s cubic-bezier(.215,.61,.355,1),
              transform 1.2s cubic-bezier(.215,.61,.355,1);
  transition-delay: calc(var(--d) * 0.2s);
}

/* Subtle purple glow behind the title */
.hero-title::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 120px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(106,92,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Hero fade for subtitle, eyebrow, buttons */
.hero-fade {
  opacity: 1;
  transform: none;
}

body.js-ready .hero-fade {
  opacity: 0;
  transform: translateY(20px);
}

body.js-ready .hero-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s cubic-bezier(.215,.61,.355,1),
              transform 0.9s cubic-bezier(.215,.61,.355,1);
  transition-delay: calc(var(--d) * 0.2s);
}

.hero-sub {
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.5;
  color: var(--secondary);
  margin-bottom: 48px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(106,92,255,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .3; }
  50% { opacity: .8; }
}

/* ---- STATEMENT ---- */

.statement {
  padding: 160px 24px;
  text-align: center;
}

.statement h2 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
  margin-bottom: 24px;
}

.statement-text {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: var(--secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* ---- PRODUCT SECTIONS — STICKY STORYTELLING ---- */

.products-wrap {
  position: relative;
}

.ps-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  position: relative;
}

.ps-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.ps-text {
  max-width: 480px;
}

.ps-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.product-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}

.product-desc {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--secondary);
  margin-bottom: 16px;
}

.product-tech {
  font-size: 14px;
  font-weight: 500;
  color: #8f8f98;
  letter-spacing: .04em;
}

/* Mockup depth effect */
.mock-depth {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 1s cubic-bezier(.215,.61,.355,1),
              transform 1s cubic-bezier(.215,.61,.355,1);
}

.mock-depth.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---- MOCKUP: LAPTOP ---- */

.mockup-laptop {
  width: min(100%, 560px);
}

.laptop-screen {
  background: #1a1a1a;
  border-radius: 12px 12px 0 0;
  border: 2px solid #333;
  border-bottom: none;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(106,92,255,0.06), 0 20px 80px rgba(0,0,0,.6);
}

.laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  border-radius: 0 0 8px 8px;
  border: 2px solid #333;
  border-top: 1px solid #444;
  position: relative;
}

.laptop-notch {
  width: 80px;
  height: 4px;
  background: #444;
  border-radius: 0 0 4px 4px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.screen-content {
  width: 100%;
  height: 100%;
  padding: 5%;
}

.screen-web {
  display: flex;
  flex-direction: column;
  gap: 8%;
}

.sw-nav { display: flex; align-items: center; gap: 8%; }
.sw-logo { width: 12%; height: 8px; background: rgba(255,255,255,.5); border-radius: 4px; }
.sw-links { width: 30%; height: 6px; background: rgba(255,255,255,.15); border-radius: 3px; margin-left: auto; }
.sw-btn { width: 14%; height: 16px; background: var(--accent); border-radius: 8px; }
.sw-hero { display: flex; flex-direction: column; align-items: center; gap: 6%; }
.sw-h1 { width: 70%; height: 14px; background: rgba(255,255,255,.6); border-radius: 7px; }
.sw-h1-s { width: 50%; }
.sw-sub { width: 45%; height: 8px; background: rgba(255,255,255,.15); border-radius: 4px; }
.sw-cta { width: 18%; height: 20px; background: var(--accent); border-radius: 10px; margin-top: 4%; }
.sw-cards { display: flex; gap: 4%; padding: 0 5%; }
.sw-card { flex: 1; height: 48px; background: rgba(255,255,255,.04); border-radius: 8px; border: 1px solid rgba(255,255,255,.10); }

/* ---- MOCKUP: PHONE ---- */

.mockup-phone {
  width: min(100%, 260px);
  background: #1a1a1a;
  border-radius: 36px;
  border: 3px solid #333;
  padding: 12px;
  position: relative;
  box-shadow: 0 0 60px rgba(106,92,255,0.06), 0 20px 80px rgba(0,0,0,.6);
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
}

.screen-ios {
  display: flex;
  flex-direction: column;
}

.si-status { height: 44px; flex-shrink: 0; }
.si-header { height: 28px; margin: 0 16px 12px; background: rgba(255,255,255,.4); border-radius: 6px; width: 45%; }
.si-card { margin: 0 16px 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.10); }
.si-card-1 { height: 90px; background: linear-gradient(135deg, rgba(106,92,255,.25), rgba(106,92,255,.05)); }
.si-card-2 { height: 60px; background: rgba(255,255,255,.03); }
.si-list { padding: 8px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.si-row { height: 36px; background: rgba(255,255,255,.03); border-radius: 8px; }
.si-tab-bar { height: 50px; border-top: 1px solid rgba(255,255,255,.10); display: flex; align-items: center; justify-content: space-around; padding: 0 24px; flex-shrink: 0; }
.si-tab-bar span { width: 20px; height: 20px; background: rgba(255,255,255,.1); border-radius: 5px; }
.si-tab-bar span:first-child { background: var(--accent); opacity: .6; }

/* ---- MOCKUP: DASHBOARD ---- */

.mockup-dashboard {
  width: min(100%, 640px);
  background: #0d0d0d;
  border-radius: 12px;
  border: 1.5px solid #2a2a2a;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(106,92,255,0.05), 0 20px 80px rgba(0,0,0,.5);
}

.dash-bar {
  height: 32px;
  background: #161616;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 12px;
}

.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 8px; height: 8px; border-radius: 50%; background: #333; }
.dash-dots span:first-child { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:last-child { background: #28c840; }
.dash-title-bar { width: 120px; height: 10px; background: rgba(255,255,255,.10); border-radius: 5px; margin: 0 auto; }

.dash-ai .dash-body { display: grid; grid-template-columns: 120px 1fr 160px; height: 280px; }
.dash-sidebar { background: rgba(255,255,255,.02); border-right: 1px solid #1a1a1a; padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.ds-item { height: 26px; background: rgba(255,255,255,.03); border-radius: 6px; }
.ds-active { background: rgba(106,92,255,.15); border: 1px solid rgba(106,92,255,.2); }
.dash-main { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.dm-header { height: 18px; width: 50%; background: rgba(255,255,255,.12); border-radius: 4px; }
.dm-chat { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.dm-msg { height: 28px; border-radius: 10px; }
.dm-msg-bot { background: rgba(255,255,255,.05); align-self: flex-start; width: 60%; }
.dm-msg-user { background: rgba(106,92,255,.2); align-self: flex-end; width: 45%; }
.dm-msg-long { height: 44px; width: 70%; }
.dm-input { height: 28px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.10); border-radius: 8px; }
.dash-panel { background: rgba(255,255,255,.02); border-left: 1px solid #1a1a1a; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; }
.dp-title { height: 10px; width: 70%; background: rgba(255,255,255,.10); border-radius: 3px; }
.dp-metric { display: flex; align-items: flex-end; gap: 5px; height: 70px; }
.dp-bar { flex: 1; height: var(--h); background: linear-gradient(to top, var(--accent), rgba(106,92,255,.3)); border-radius: 3px 3px 0 0; }
.dp-stat { height: 22px; background: rgba(255,255,255,.03); border-radius: 6px; }

.dash-analytics .dash-body { padding: 16px; }
.da-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.da-kpi { background: rgba(255,255,255,.03); border-radius: 10px; border: 1px solid rgba(255,255,255,.05); padding: 14px; }
.da-kpi-label { height: 8px; width: 60%; background: rgba(255,255,255,.10); border-radius: 3px; margin-bottom: 8px; }
.da-kpi-val { font-size: 20px; font-weight: 700; color: var(--text); font-family: var(--font); }
.da-kpi-green { color: #30d158; }
.da-chart { grid-column: 1 / -1; background: rgba(255,255,255,.02); border-radius: 10px; border: 1px solid rgba(255,255,255,.04); padding: 14px; height: 120px; }
.da-chart svg { width: 100%; height: 100%; }
.da-table { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 3px; }
.da-row { height: 24px; background: rgba(255,255,255,.025); border-radius: 4px; }
.da-row-h { background: rgba(255,255,255,.05); }

/* ---- SELECTED WORK ---- */

.work-section {
  padding: 160px 24px 120px;
}

.work-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 16px;
}

.work-lead {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: var(--secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}

.work-showcase {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.showcase-item:nth-child(even) {
  direction: rtl;
}

.showcase-item:nth-child(even) > * {
  direction: ltr;
}

.showcase-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.showcase-name {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--text);
}

.showcase-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--secondary);
  margin-top: 4px;
}

.showcase-url {
  font-size: 14px;
  color: #8f8f98;
  margin-top: 4px;
}

.showcase-browser {
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.65);
  position: relative;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
}

.browser-bar span:first-child { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:last-child { background: #28c840; }

.browser-viewport {
  overflow: hidden;
}

.browser-viewport img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* ---- APPROACH ---- */

.approach {
  padding: 160px 24px 120px;
}

.section-giant {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-align: center;
  margin-bottom: 24px;
}

.approach-lead {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: var(--secondary);
  max-width: 640px;
  margin: 0 auto 80px;
  text-align: center;
}

.steps {
  max-width: 720px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.step:first-child { border-top: 1px solid rgba(255,255,255,.10); }
.step-num { font-size: 48px; font-weight: 700; color: rgba(255,255,255,.12); flex-shrink: 0; width: 64px; letter-spacing: -.03em; line-height: 1; }
.step-title { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.step-text { font-size: 16px; line-height: 1.55; color: var(--secondary); }

/* ---- TEAM ---- */

.team-section { padding: 160px 24px 120px; }

.team-lead {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 80px;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.member {
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.member:hover {
  border-color: rgba(106,92,255,.3);
  box-shadow: 0 0 60px rgba(106,92,255,0.1);
}

.member-photo {
  width: 100%;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0;
}

.member-info {
  padding: 32px 28px;
}

.member-name { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.member-role { font-size: 14px; color: var(--accent-light); margin-bottom: 16px; }

.member-bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--secondary);
  margin-bottom: 20px;
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.tags li {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border: 1px solid rgba(106,92,255,.25);
  border-radius: 980px;
  color: var(--accent-light);
}

.certs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.certs li { font-size: 12px; color: #8f8f98; }

/* ---- WHY ---- */

.why-section {
  padding: 200px 24px 160px;
  background: var(--bg);
}

.why-lead {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
  color: var(--secondary);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 100px;
}

.why-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 80px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.principle {
  position: relative;
}

.principle-num {
  display: block;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: rgba(106,92,255,.15);
  margin-bottom: 16px;
}

.principle-title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.principle-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--secondary);
}

.reveal-blur {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(.215,.61,.355,1),
              transform 0.9s cubic-bezier(.215,.61,.355,1),
              filter 0.9s cubic-bezier(.215,.61,.355,1);
  transition-delay: calc(var(--i) * 0.12s);
}

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

/* ---- CTA ---- */

.cta-section {
  padding: 160px 24px;
  text-align: center;
}

.cta-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -.035em;
  margin-bottom: 20px;
}

.cta-text {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: var(--secondary);
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.cta-note {
  margin-top: 20px;
  font-size: 14px;
  color: #8f8f98;
}

.mobile-contacts {
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 280px;
}

/* ---- FOOTER ---- */

.site-footer {
  padding: 32px 24px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo { font-size: 14px; font-weight: 600; color: var(--secondary); }
.footer-links { display: flex; list-style: none; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--secondary); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: #8f8f98; }

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
  .ps-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .ps-text { max-width: 600px; margin: 0 auto; }
  .ps-visual { order: -1; }

  .dash-ai .dash-body { grid-template-columns: 1fr; height: auto; }
  .dash-sidebar, .dash-panel { display: none; }
  .dash-main { min-height: 180px; }
  .da-grid { grid-template-columns: 1fr; }
  .da-kpi-val { font-size: 18px; }
}

@media (max-width: 768px) {
  .nav-links, .nav > .btn-nav, .nav-contacts { display: none; }
  .nav-burger { display: flex; }

  .hero-title-line {
    font-size: clamp(48px, 14vw, 82px);
    line-height: 0.92;
    letter-spacing: -0.055em;
  }

  .cta-buttons { flex-direction: column; align-items: center; }

  .ps-section { padding: 80px 16px; min-height: auto; }

  .mockup-laptop { width: min(100%, 360px); }
  .mockup-phone { width: min(80vw, 240px); }
  .mockup-dashboard { width: 100%; }

  .team-members { grid-template-columns: 1fr; gap: 24px; padding: 0 16px; }

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

  .showcase-item:nth-child(even) {
    direction: ltr;
  }

  .showcase-text { text-align: center; }
  .work-showcase { gap: 80px; padding: 0 16px; }
  .work-section { padding: 100px 20px; }

  .why-principles { grid-template-columns: 1fr; gap: 48px; }
  .principle-num { font-size: 48px; }

  .step { gap: 20px; }
  .step-num { font-size: 36px; width: 48px; }

  .statement,
  .approach,
  .team-section,
  .why-section,
  .cta-section {
    padding: 100px 20px;
  }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title-line { font-size: clamp(42px, 13vw, 60px); }
  .product-title { font-size: clamp(26px, 6vw, 36px); }
  .section-giant { font-size: clamp(28px, 7vw, 40px); }
}
