/* ==============================================
   ВЕТАИ — Ultra-Premium B2B Website
   Design System: White-first, Apple × Stripe × Linear
   ============================================== */

/* ===== CSS Custom Properties ===== */
:root {
  /* Core Colors */
  --white: #FFFFFF;
  --bg-section: #F7F8FA;
  --bg-subtle: #F2F4F7;
  --text-primary: #0F1728;
  --text-secondary: #4B5565;
  --text-tertiary: #7B8497;
  --border-light: #E5E7EB;
  --border-subtle: #F0F1F3;

  /* Accent Colors — used sparingly */
  --accent-primary: #5B3DF5;
  --accent-primary-hover: #4A2DE0;
  --accent-primary-light: rgba(91, 61, 245, 0.08);
  --accent-primary-glow: rgba(91, 61, 245, 0.15);
  --accent-blue: #2F80ED;
  --accent-blue-light: rgba(47, 128, 237, 0.08);
  --accent-green: #16A34A;
  --accent-green-light: rgba(22, 163, 74, 0.08);

  /* Typography */
  --font-heading: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-gap: 140px;
  --container-max: 1320px;
  --container-padding: 40px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-mockup: 0 25px 80px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.1);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 200ms var(--ease-out);
  --transition-base: 350ms var(--ease-out);
  --transition-slow: 600ms var(--ease-out);
}

/* ===== 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;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-primary-hover);
}

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

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

/* ===== Section Spacing ===== */
.section {
  padding: var(--section-gap) 0;
  position: relative;
}

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

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.h1 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.h2 {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.h4 {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.subtitle {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 400;
  max-width: 720px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 1px;
}

.section-header {
  margin-bottom: 64px;
}

.section-header .subtitle {
  margin-top: 20px;
}

.text-center {
  text-align: center;
}

.text-center .subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent-primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(91, 61, 245, 0.25);
}

.btn--primary:hover {
  background: var(--accent-primary-hover);
  box-shadow: 0 8px 28px rgba(91, 61, 245, 0.35);
  transform: translateY(-2px);
  color: var(--white);
}

.btn--secondary {
  background: var(--white);
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn--secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: var(--accent-primary-light);
  transform: translateY(-2px);
}

.btn--large {
  padding: 18px 40px;
  font-size: 16px;
}

.btn--small {
  padding: 10px 20px;
  font-size: 13px;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
  height: 76px;
}

.nav.scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav__logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(13, 27, 62, 0.08);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 251, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
}

.nav__links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(13, 27, 62, 0.08);
}

.nav__links a::after {
  content: none;
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 1px;
  transition: width var(--transition-base);
}

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

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

.nav__cta .btn--small {
  min-width: 172px;
  justify-content: center;
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-primary-glow), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.06), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 64px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-primary-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero__title {
  margin-bottom: 24px;
  max-width: 640px;
  font-size: clamp(38px, 4.4vw, 64px);
  overflow-wrap: normal;
}

.hero__title .accent {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__mobile-visual {
  display: none;
}

.hero__mobile-mockup {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-mockup);
}

.hero__subtitle {
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__deep-link-wrap {
  margin-top: 12px;
  margin-bottom: 4px;
}

.hero__deep-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.hero__deep-link::after {
  content: "↗";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(91, 61, 245, 0.08);
  color: var(--accent-primary);
  font-size: 13px;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.hero__deep-link:hover::after {
  transform: translate(2px, -2px);
  background: rgba(91, 61, 245, 0.14);
}

.hero__tech-callout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 620px;
  margin: 0 0 28px;
}

.hero__tech-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  min-height: 122px;
  padding: 16px;
  border: 1px solid rgba(15, 23, 40, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.96)),
    var(--white);
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(15, 23, 40, 0.12);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.hero__tech-card:hover {
  transform: translateY(-2px);
  color: var(--text-primary);
  box-shadow: 0 22px 46px rgba(15, 23, 40, 0.16);
  border-color: rgba(91, 61, 245, 0.24);
}

.hero__tech-card--light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
}

.hero__tech-card--light:hover {
  color: var(--text-primary);
}

.hero__tech-card span {
  color: var(--accent-primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__tech-card--light span {
  color: var(--accent-primary);
}

.hero__tech-card strong {
  min-width: 0;
  color: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.hero__tech-card small {
  min-width: 0;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hero__tech-card--light small {
  color: var(--text-tertiary);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.hero__trust-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
}

.hero__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.hero__mockup {
  width: min(100%, 620px);
  margin-left: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-mockup);
  transition: transform var(--transition-slow);
}

.hero__mockup:hover {
  transform: scale(1.02) translateY(-4px);
}

/* Floating elements around hero mockup */
.hero__float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

.hero__float--1 {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}

.hero__float--2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 2s;
}

.hero__float--3 {
  bottom: -10px;
  right: 40px;
  animation-delay: 4s;
}

.hero__float-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.hero__float-icon--green {
  background: var(--accent-green-light);
  color: var(--accent-green);
}

.hero__float-icon--blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}

.hero__float-icon--purple {
  background: var(--accent-primary-light);
  color: var(--accent-primary);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== AI Development Platform ===== */
.ai-dev {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  scroll-margin-top: 88px;
  color: var(--white);
  background-color: #0B1220;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
}

.ai-dev::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(91, 61, 245, 0.24), transparent 36%),
    linear-gradient(315deg, rgba(22, 163, 74, 0.16), transparent 42%);
  pointer-events: none;
}

.ai-dev__shell {
  position: relative;
  z-index: 1;
}

.ai-dev__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.ai-dev__content {
  max-width: 650px;
}

.ai-dev__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #A8F0C4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ai-dev__label::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: #A8F0C4;
}

.ai-dev__title {
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: 0;
}

.ai-dev__subtitle {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.7;
}

.ai-dev__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 34px;
}

.ai-dev__metric {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.ai-dev__metric span {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.ai-dev__metric small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.ai-dev__cta .btn--primary {
  background: #A8F0C4;
  color: #08111E;
  box-shadow: 0 12px 32px rgba(168, 240, 196, 0.22);
}

.ai-dev__cta .btn--primary:hover {
  background: #8FE6B4;
  color: #08111E;
  box-shadow: 0 16px 40px rgba(168, 240, 196, 0.28);
}

.ai-dev__cta .btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.ai-dev__cta .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.ai-dev__diagram {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(168, 240, 196, 0.2) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(47, 128, 237, 0.2) 50%, transparent 51%),
    rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.18);
}

.ai-dev__diagram::before,
.ai-dev__diagram::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 240, 196, 0.64), transparent);
  transform: translate(-50%, -50%) rotate(24deg);
}

.ai-dev__diagram::after {
  transform: translate(-50%, -50%) rotate(-24deg);
  background: linear-gradient(90deg, transparent, rgba(47, 128, 237, 0.58), transparent);
}

.ai-dev__hub,
.ai-dev__node {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(11, 18, 32, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.ai-dev__hub {
  left: 50%;
  top: 50%;
  width: 170px;
  height: 170px;
  align-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
  border-color: rgba(168, 240, 196, 0.46);
}

.ai-dev__hub span {
  color: #A8F0C4;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.ai-dev__hub small {
  max-width: 110px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.ai-dev__node {
  width: 152px;
  min-height: 72px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.ai-dev__node span {
  margin-bottom: 6px;
  color: #A8F0C4;
  font-size: 12px;
  font-weight: 800;
}

.ai-dev__node--analyst {
  left: 28px;
  top: 48px;
}

.ai-dev__node--architect {
  right: 28px;
  top: 70px;
}

.ai-dev__node--developer {
  left: 50px;
  bottom: 62px;
}

.ai-dev__node--reviewer {
  right: 42px;
  bottom: 44px;
}

.ai-dev__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.ai-dev-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
}

.ai-dev-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 240, 196, 0.36);
  background: rgba(255, 255, 255, 0.11);
}

.ai-dev-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: rgba(168, 240, 196, 0.12);
  color: #A8F0C4;
}

.ai-dev-card__icon svg {
  width: 24px;
  height: 24px;
}

.ai-dev-card h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.ai-dev-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

.ai-dev__scope {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.ai-dev__scope span {
  flex-shrink: 0;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.ai-dev__scope ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.ai-dev__scope li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

/* ===== AI Development Teaser ===== */
.ai-dev-teaser {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding: 0 0 36px;
  scroll-margin-top: 88px;
}

.ai-dev-teaser__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr) auto;
  gap: 24px;
  align-items: center;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(15, 23, 40, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.96)),
    var(--white);
  box-shadow: 0 18px 54px rgba(15, 23, 40, 0.08);
}

.ai-dev-teaser__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--accent-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ai-dev-teaser__label::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-primary);
}

.ai-dev-teaser h2 {
  min-width: 0;
  max-width: 680px;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.ai-dev-teaser p {
  min-width: 0;
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.ai-dev-teaser__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ai-dev-teaser__metrics span {
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.ai-dev-teaser__metrics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.ai-dev-teaser__actions {
  display: grid;
  grid-template-columns: 1fr;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 216px;
  min-width: 216px;
}

.ai-dev-teaser__actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 46px;
  padding-inline: 18px;
}

.ai-dev-teaser__actions .btn--primary {
  background: var(--accent-primary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(91, 61, 245, 0.22);
}

.ai-dev-teaser__actions .btn--primary:hover {
  background: var(--accent-primary-hover);
  color: var(--white);
}

.ai-dev-teaser__link {
  color: var(--accent-primary);
  border-color: rgba(91, 61, 245, 0.22);
  font-size: 13px;
  font-weight: 800;
}

.ai-dev-teaser__link:hover {
  border-color: var(--accent-primary);
  background: var(--accent-primary-light);
  color: var(--accent-primary-hover);
}

/* ===== AI Development Page ===== */
.ai-dev-page-body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: var(--white);
}

.ai-dev-page-hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 92px;
  color: var(--text-primary);
  background-color: #F7F8FA;
  background-image:
    linear-gradient(rgba(91, 61, 245, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 61, 245, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, rgba(91, 61, 245, 0.08), transparent 44%),
    linear-gradient(315deg, rgba(22, 163, 74, 0.07), transparent 42%);
  background-size: 44px 44px;
}

.ai-dev-page-hero .container,
.ai-dev-page-band .container {
  min-width: 0;
}

.ai-dev-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.72));
  pointer-events: none;
}

.ai-dev-page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 64px;
  align-items: center;
  min-width: 0;
}

.ai-dev-page-hero__content,
.ai-dev-page-hero__visual {
  min-width: 0;
  max-width: 100%;
}

.ai-dev-page-hero__content .btn-group,
.ai-dev-page-hero__content .btn {
  min-width: 0;
  max-width: 100%;
}

.ai-dev-page-hero h1 {
  min-width: 0;
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--text-primary);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.ai-dev-page-hero .hero__subtitle {
  color: var(--text-secondary);
}

.ai-dev-page-hero .btn--secondary {
  background: var(--white);
  color: var(--text-primary);
  border-color: var(--border-light);
}

.ai-dev-page-hero .btn--secondary:hover {
  background: var(--accent-primary-light);
  color: var(--accent-primary);
}

.ai-dev-page-showcase {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin-left: auto;
  padding: 28px 28px 80px;
  border: 1px solid rgba(15, 23, 40, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.96)),
    var(--white);
  box-shadow: 0 28px 84px rgba(15, 23, 40, 0.12);
}

.ai-dev-page-showcase__main {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-mockup);
}

.ai-dev-page-showcase__main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
}

.ai-dev-page-showcase__panel {
  position: absolute;
  z-index: 2;
  width: min(260px, 44%);
  padding: 16px;
  border: 1px solid rgba(15, 23, 40, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(15, 23, 40, 0.12);
}

.ai-dev-page-showcase__panel--top {
  top: 46px;
  right: 10px;
}

.ai-dev-page-showcase__panel--bottom {
  left: 42px;
  bottom: 22px;
}

.ai-dev-page-showcase__panel span,
.ai-dev-page-showcase__panel strong,
.ai-dev-page-showcase__panel small {
  display: block;
}

.ai-dev-page-showcase__panel span {
  margin-bottom: 6px;
  color: var(--accent-primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ai-dev-page-showcase__panel strong {
  margin-bottom: 4px;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.ai-dev-page-showcase__panel small {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.ai-dev-page-graph {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(168, 240, 196, 0.22) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(47, 128, 237, 0.2) 50%, transparent 51%),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.ai-dev-page-graph::before,
.ai-dev-page-graph::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 240, 196, 0.64), transparent);
  transform: translate(-50%, -50%) rotate(26deg);
}

.ai-dev-page-graph::after {
  background: linear-gradient(90deg, transparent, rgba(47, 128, 237, 0.58), transparent);
  transform: translate(-50%, -50%) rotate(-26deg);
}

.ai-dev-page-graph__hub,
.ai-dev-page-graph__node {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.ai-dev-page-graph__hub {
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 176px;
  text-align: center;
  transform: translate(-50%, -50%);
  border-color: rgba(168, 240, 196, 0.48);
}

.ai-dev-page-graph__hub strong {
  color: #A8F0C4;
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.ai-dev-page-graph__hub span {
  max-width: 120px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.ai-dev-page-graph__node {
  min-width: 146px;
  padding: 16px 18px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.ai-dev-page-graph__node--a { left: 28px; top: 54px; }
.ai-dev-page-graph__node--b { right: 34px; top: 78px; }
.ai-dev-page-graph__node--c { left: 52px; bottom: 74px; }
.ai-dev-page-graph__node--d { right: 42px; bottom: 52px; }
.ai-dev-page-graph__node--e { left: 50%; top: 24px; transform: translateX(-50%); }

.ai-dev-page-band {
  padding: 0 0 72px;
  background: var(--bg-section);
}

.ai-dev-page-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 100%;
  padding: 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.ai-dev-page-metrics div {
  min-height: 110px;
  padding: 20px;
  border-radius: 8px;
  background: var(--bg-section);
}

.ai-dev-page-metrics strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.ai-dev-page-metrics span {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.ai-dev-page-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ai-dev-page-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.ai-dev-page-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
}

.ai-dev-page-card__number {
  margin-bottom: 28px;
  color: var(--accent-primary);
  font-size: 13px;
  font-weight: 900;
}

.ai-dev-page-card h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
  font-size: 20px;
  letter-spacing: 0;
}

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

.ai-dev-page-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 64px;
  align-items: start;
}

.ai-dev-page-list {
  display: grid;
  gap: 16px;
}

.ai-dev-page-list div {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
}

.ai-dev-page-list strong,
.ai-dev-page-list span {
  display: block;
}

.ai-dev-page-list strong {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 800;
}

.ai-dev-page-list span {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.ai-dev-page-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.ai-dev-page-services span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
}

.ai-dev-page-body .cta-section {
  background: var(--bg-section);
  padding: 96px 0;
}

.ai-dev-page-body .cta-section::before,
.ai-dev-page-body .cta-section::after {
  content: none;
}

.ai-dev-page-body .cta__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-card-hover);
}

.ai-dev-page-body .cta__inner .h2 {
  color: var(--text-primary);
}

.ai-dev-page-body .cta__inner .subtitle {
  color: var(--text-secondary);
}

.ai-dev-page-body .cta__inner .btn--secondary {
  background: var(--white);
  border-color: var(--border-light);
  color: var(--text-primary);
}

.ai-dev-page-body .cta__inner .btn--secondary:hover {
  background: var(--accent-primary-light);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* ===== FASIE Top Bar ===== */
.fasie-topbar {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a2a52 50%, #0d1b3e 100%);
  position: relative;
  z-index: 1001;
  overflow: hidden;
}

.fasie-topbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fff 0%, #fff 20%, #0074d9 20%, #0074d9 50%, #d62d20 50%, #d62d20 80%, #fff 80%);
}

.fasie-topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.fasie-topbar__link {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-fast);
}

.fasie-topbar__link:hover {
  opacity: 0.9;
}

.fasie-topbar__logo-wrap {
  flex-shrink: 0;
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
}

.fasie-topbar__logo {
  height: 38px;
  width: auto;
}

.fasie-topbar__content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.fasie-topbar__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.01em;
}

.fasie-topbar__text strong {
  color: #fff;
  font-weight: 700;
}

.fasie-topbar__divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.fasie-topbar__grant {
  font-size: 14px;
  font-weight: 700;
  color: #7ca0ff;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.fasie-topbar__arrow {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.fasie-topbar__link:hover .fasie-topbar__arrow {
  color: #fff;
  transform: translate(2px, -2px);
}

/* ===== Social Proof / Trust ===== */
.trust {
  padding: 60px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.trust__item {
  text-align: center;
}

.trust__value {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.trust__label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===== About Platform ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-mockup);
}

.about__visual img {
  width: 100%;
}

.about__text .subtitle {
  margin-top: 20px;
  margin-bottom: 32px;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
}

.about__feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about__feature-icon--purple {
  background: var(--accent-primary-light);
  color: var(--accent-primary);
}

.about__feature-icon--blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}

.about__feature-icon--green {
  background: var(--accent-green-light);
  color: var(--accent-green);
}

.about__feature p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

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

/* ===== Modules Grid ===== */
.modules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.module-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
}

.module-card__icon--purple {
  background: var(--accent-primary-light);
  color: var(--accent-primary);
}

.module-card__icon--blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}

.module-card__icon--green {
  background: var(--accent-green-light);
  color: var(--accent-green);
}

.module-card__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.module-card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.module-card__img {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.module-card__img img {
  width: 100%;
  transition: transform var(--transition-slow);
}

.module-card:hover .module-card__img img {
  transform: scale(1.03);
}

/* ===== Module Cards Large ===== */
.modules__grid-large {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.module-card-large {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.module-card-large:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.module-card-large:nth-child(even) {
  direction: rtl;
}

.module-card-large:nth-child(even) > * {
  direction: ltr;
}

.module-card-large__text {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.module-card-large__img {
  border-left: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.module-card-large:nth-child(even) .module-card-large__img {
  border-left: none;
  border-right: 1px solid var(--border-subtle);
}

.module-card-large__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.module-card-large:hover .module-card-large__img img {
  transform: scale(1.03);
}

/* ===== Product Gallery ===== */
.gallery {
  overflow: hidden;
}

.gallery__slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 20px;
}

.gallery__slider::-webkit-scrollbar {
  display: none;
}

.gallery__slide {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: clamp(300px, 70vw, 900px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-mockup);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.gallery__slide:hover {
  box-shadow: var(--shadow-elevated);
  transform: scale(1.01);
}

.gallery__slide img {
  width: 100%;
  display: block;
}

.gallery__caption {
  padding: 16px 24px;
  background: var(--bg-section);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.gallery__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.gallery__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: var(--white);
  color: var(--text-primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery__btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: var(--accent-primary-light);
}

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

.role-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.role-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.role-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.role-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.role-card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Differentiators ===== */
.diff__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}

.diff__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.diff__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.diff__item-marker {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.diff__item-marker svg {
  width: 16px;
  height: 16px;
  color: var(--accent-primary);
}

.diff__item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.diff__item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Timeline / Implementation ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-blue), var(--accent-green));
  border-radius: 1px;
}

.timeline__step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  position: relative;
}

.timeline__marker {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-primary);
  z-index: 2;
  transition: all var(--transition-base);
}

.timeline__step:hover .timeline__marker {
  background: var(--accent-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(91, 61, 245, 0.3);
}

.timeline__content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ===== Team ===== */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 40px 24px 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

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

.team-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid var(--bg-section);
  position: relative;
}

.team-card__avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-primary-light), var(--accent-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-primary);
}

.team-card__name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-card__role {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===== Team Detailed ===== */
.team-detailed {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-detailed__card {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  padding: 40px 44px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.team-detailed__card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.team-detailed__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--bg-section);
  flex-shrink: 0;
}

.team-detailed__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-detailed__info {
  flex: 1;
}

.team-detailed__name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.team-detailed__position {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 14px;
}

.team-detailed__bio {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 640px;
}

.team-detailed__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

/* ===== Partners ===== */
.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  padding: 28px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 250, 0.96));
  border: 1px solid var(--border-light);
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(91, 61, 245, 0.08), transparent 45%);
  pointer-events: none;
}

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

.partner-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.partner-card__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(15, 23, 40, 0.06);
}

.partner-card__arrow {
  font-size: 18px;
  color: var(--text-tertiary);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.partner-card:hover .partner-card__arrow {
  transform: translate(2px, -2px);
  color: var(--text-primary);
}

.partner-card__logo {
  position: relative;
  z-index: 1;
  min-height: 92px;
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.partner-card__logo--image {
  min-height: 132px;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 22px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(91, 61, 245, 0.08), transparent 42%),
    radial-gradient(circle at bottom right, rgba(47, 128, 237, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 246, 251, 0.96));
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(15, 23, 40, 0.04);
  overflow: hidden;
}

.partner-card__logo--image img {
  display: block;
  max-width: 100%;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  position: relative;
  z-index: 2;
  filter: saturate(1.02) contrast(1.02) drop-shadow(0 6px 18px rgba(15, 23, 40, 0.06));
}

.partner-card__logo--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08) 42%, transparent 60%),
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.85), transparent 34%);
  pointer-events: none;
  z-index: 1;
}

.partner-card__logo--image::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 1;
}

.partner-card__name {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.partner-card__desc {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.partner-card--blue .partner-card__logo { color: #1976b9; }
.partner-card--green .partner-card__logo { color: #15803d; }
.partner-card--red .partner-card__logo { color: #dc2626; }
.partner-card--navy .partner-card__logo { color: #0b2e68; }
.partner-card--teal .partner-card__logo { color: #0f7c82; }
.partner-card--violet .partner-card__logo { color: #3843a5; }

.partner-card--blue .partner-card__logo--image img { max-height: 110px; }
.partner-card--green .partner-card__logo--image img { max-height: 92px; }
.partner-card--red .partner-card__logo--image img { max-height: 104px; }
.partner-card--navy .partner-card__logo--image img { max-height: 98px; }
.partner-card--teal .partner-card__logo--image img { max-height: 48px; }
.partner-card--violet .partner-card__logo--image img { max-height: 88px; }

.partner-card--green .partner-card__logo--image,
.partner-card--red .partner-card__logo--image,
.partner-card--navy .partner-card__logo--image,
.partner-card--violet .partner-card__logo--image {
  background:
    radial-gradient(circle at top left, rgba(91, 61, 245, 0.06), transparent 42%),
    radial-gradient(circle at bottom right, rgba(47, 128, 237, 0.06), transparent 40%),
    linear-gradient(180deg, rgba(252, 253, 255, 0.96), rgba(247, 249, 252, 0.98));
}

/* ===== Press ===== */
.press__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.press-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.96));
  border: 1px solid var(--border-light);
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

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

.press-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.press-card__source {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--accent-primary-light);
  color: var(--accent-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.press-card__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.press-card__title {
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.press-card__excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.press-card__link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

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

.news-card {
  display: flex;
  gap: 24px;
  padding: 32px 36px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.news-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.news-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--bg-section);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.news-card__day {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.news-card__month {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.news-card__content {
  flex: 1;
}

.news-card__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.news-card__tag--product {
  background: var(--accent-primary-light);
  color: var(--accent-primary);
}

.news-card__tag--integration {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}

.news-card__tag--ai {
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent-green);
}

.news-card__tag--event {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
}

.news-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.news-card__excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Final CTA ===== */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #0F1728, #1a1f3a);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 61, 245, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.1), transparent 70%);
  pointer-events: none;
}

.cta__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta__inner .h2 {
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 20px;
}

.cta__inner .subtitle {
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto 40px;
}

.cta__inner .btn--primary {
  box-shadow: 0 6px 24px rgba(91, 61, 245, 0.4);
}

.cta__inner .btn--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.cta__inner .btn--secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.cta-section--mid {
  padding: 92px 0;
}

.cta-section--mid .cta__inner {
  max-width: 980px;
  margin: 0 auto;
}

.cta-section--mid .h2 {
  max-width: 900px;
}

.contact-info {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}

.contact-info p {
  margin: 0;
}

.contact-info strong {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.contact-info a {
  color: var(--white);
}

.contact-info a:hover {
  color: rgba(255, 255, 255, 0.82);
}

/* ===== Footer ===== */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-light);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 320px;
}

.footer__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer__grant {
  margin-bottom: 48px;
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.footer__grant::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d62d20 0%, #d62d20 33%, #0074d9 33%, #0074d9 66%, #d62d20 66%);
}

.footer__grant-link {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-fast);
}

.footer__grant-link:hover {
  opacity: 0.85;
}

.footer__grant-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.footer__grant-logo {
  height: 36px;
  width: auto;
}

.footer__grant-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.footer__grant-text {
  font-size: 15px;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.footer__grant-text strong {
  color: var(--text-primary);
  font-weight: 700;
}

.footer__grant-divider {
  width: 1px;
  height: 20px;
  background: var(--border-light);
  flex-shrink: 0;
}

.footer__grant-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.footer__grant-arrow {
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.footer__grant-link:hover .footer__grant-arrow {
  color: var(--text-primary);
  transform: translate(2px, -2px);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-tertiary);
}

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

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 400ms; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Demo Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 40, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 520px;
  width: 90%;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  box-shadow: var(--shadow-elevated);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-section);
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal__close:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.modal__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal__subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  background: var(--white);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

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

.modal__form .btn {
  margin-top: 8px;
  width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  :root {
    --section-gap: 100px;
    --container-padding: 24px;
  }

  .nav__links {
    gap: 4px;
    padding: 6px;
  }

  .nav__links a {
    min-height: 36px;
    padding: 0 11px;
    font-size: 12px;
  }

  .nav__cta .btn--small {
    min-width: 154px;
    padding: 10px 18px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ai-dev {
    padding: 96px 0;
  }

  .ai-dev__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .ai-dev__content {
    max-width: 760px;
  }

  .ai-dev__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-dev-teaser {
    margin-top: -24px;
  }

  .ai-dev-teaser__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ai-dev-teaser__actions {
    grid-template-columns: repeat(2, minmax(0, 216px));
    align-items: stretch;
    width: 100%;
    max-width: 444px;
    min-width: 0;
  }

  .ai-dev-page-hero {
    padding: 132px 0 72px;
  }

  .ai-dev-page-hero__grid,
  .ai-dev-page-split {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .ai-dev-page-cards,
  .ai-dev-page-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .diff__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .team-detailed__card {
    padding: 32px;
    gap: 28px;
  }

  .team-detailed__avatar {
    width: 100px;
    height: 100px;
  }

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

  .partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .nav__links {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .nav__cta .btn--small {
    display: none;
  }

  .hero {
    padding-top: 100px;
  }

  .hero__float {
    display: none;
  }

  .ai-dev {
    padding: 72px 0;
  }

  .ai-dev__subtitle {
    font-size: 15px;
    line-height: 1.65;
  }

  .ai-dev__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-dev__diagram {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 16px;
  }

  .ai-dev__diagram::before,
  .ai-dev__diagram::after {
    display: none;
  }

  .ai-dev__hub,
  .ai-dev__node {
    position: static;
    width: 100%;
    transform: none;
  }

  .ai-dev__hub {
    height: auto;
    min-height: 126px;
    order: -1;
  }

  .ai-dev__node {
    min-height: 68px;
  }

  .ai-dev__cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ai-dev-card {
    min-height: 0;
    padding: 22px 18px;
  }

  .ai-dev__scope {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .ai-dev-teaser {
    margin-top: 0;
    padding: 28px 0 36px;
    background: var(--bg-section);
  }

  .ai-dev-teaser__inner {
    padding: 20px;
  }

  .ai-dev-teaser__metrics {
    grid-template-columns: 1fr;
  }

  .ai-dev-teaser__metrics span {
    min-height: 0;
  }

  .ai-dev-teaser__actions {
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .ai-dev-teaser__link {
    text-align: center;
  }

  .ai-dev-page-hero {
    padding: 108px 0 56px;
  }

  .ai-dev-page-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ai-dev-page-graph {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 16px;
  }

  .ai-dev-page-graph::before,
  .ai-dev-page-graph::after {
    display: none;
  }

  .ai-dev-page-graph__hub,
  .ai-dev-page-graph__node {
    position: static;
    width: 100%;
    min-width: 0;
    transform: none;
  }

  .ai-dev-page-graph__hub {
    height: auto;
    min-height: 126px;
  }

  .ai-dev-page-band {
    padding-bottom: 48px;
  }

  .ai-dev-page-cards,
  .ai-dev-page-metrics {
    grid-template-columns: 1fr;
  }

  .ai-dev-page-card {
    min-height: 0;
    padding: 22px 18px;
  }

  .ai-dev-page-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ai-dev-page-showcase {
    display: grid;
    gap: 12px;
    max-width: none;
    margin: 0;
    padding: 16px;
  }

  .ai-dev-page-showcase__main img {
    aspect-ratio: 4 / 3;
  }

  .ai-dev-page-showcase__panel {
    position: static;
    width: 100%;
    box-shadow: none;
  }

  .ai-dev-page-body .cta-section {
    padding: 72px 0;
  }

  .ai-dev-page-body .cta__inner {
    padding: 28px 18px;
  }

  .fasie-topbar__text {
    display: none;
  }

  .fasie-topbar__divider {
    display: none;
  }

  .fasie-topbar__logo {
    height: 28px;
  }

  .fasie-topbar__logo-wrap {
    padding: 6px 10px;
  }

  .fasie-topbar__link {
    gap: 16px;
    padding: 14px 0;
  }

  .fasie-topbar__grant {
    font-size: 12px;
    white-space: normal;
  }

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

  .module-card-large {
    grid-template-columns: 1fr;
  }

  .module-card-large:nth-child(even) {
    direction: ltr;
  }

  .module-card-large__text {
    padding: 28px 24px;
  }

  .module-card-large__img {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    max-height: 300px;
  }

  .module-card-large:nth-child(even) .module-card-large__img {
    border-right: none;
    border-top: 1px solid var(--border-subtle);
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .gallery__slide {
    width: 85vw;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }

  .cta-section {
    padding: 80px 0;
  }

  .team-detailed__card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px;
    gap: 20px;
  }

  .team-detailed__avatar {
    width: 90px;
    height: 90px;
  }

  .team-detailed__tags {
    justify-content: center;
  }

  .news-card {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .news-card__date {
    flex-direction: row;
    width: auto;
    height: auto;
    padding: 6px 14px;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .trust__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ai-dev__metrics {
    grid-template-columns: 1fr;
  }

  .ai-dev-page-metrics div {
    min-height: 0;
  }

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

  .timeline__step {
    gap: 20px;
  }

  .timeline__marker {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .timeline::before {
    left: 20px;
  }
}

/* ===== Utility ===== */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-32 { margin-top: 32px; }
.max-w-640 { max-width: 640px; }
.max-w-800 { max-width: 800px; }

/* Mobile responsive styles for footer grant */
@media (max-width: 900px) {
  .footer__grant-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer__grant-divider {
    display: none;
  }
}
@media (max-width: 600px) {
  .footer__grant-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  .footer__grant-logo {
    height: 32px;
  }
  .footer__grant-title {
    white-space: normal;
  }
}

/* ===== History Timeline ===== */
.history-timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.history__intro {
  position: relative;
  z-index: 3;
}

.ht-item {
  display: grid;
  grid-template-columns: 140px 60px 1fr;
  gap: 0;
  position: relative;
  min-height: 80px;
}

.ht-item__left {
  display: flex;
  justify-content: flex-end;
  padding-right: 24px;
  padding-top: 6px;
}

.ht-item__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-align: right;
  line-height: 1.4;
  white-space: nowrap;
}

.ht-item__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ht-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
}

.ht-item__icon svg {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.ht-item__icon--big {
  width: 48px;
  height: 48px;
}

.ht-item__icon--big svg {
  width: 22px;
  height: 22px;
}

.ht-item__line {
  flex: 1;
  width: 2px;
  background: var(--border-light);
  margin: 4px 0;
  min-height: 24px;
}

.ht-item__line--last {
  display: none;
}

.ht-item__right {
  padding: 0 0 48px 24px;
}

.ht-item__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.ht-item__meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ht-item__meta-row .ht-item__tag {
  margin-bottom: 0;
}

.ht-item__tag--research {
  background: rgba(91, 61, 245, 0.08);
  color: var(--accent-primary);
}

.ht-item__tag--event {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.ht-item__tag--partner {
  background: rgba(47, 128, 237, 0.08);
  color: var(--accent-blue);
}

.ht-item__tag--pilot {
  background: rgba(22, 163, 74, 0.08);
  color: var(--accent-green);
}

.ht-item__tag--commercial {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.ht-item__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.ht-item__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 10px;
}

.ht-item__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.ht-item__link:hover {
  gap: 8px;
  color: var(--accent-primary-hover);
}

/* Type-specific icon colors */
.ht-item--research .ht-item__icon {
  border-color: rgba(91, 61, 245, 0.2);
  background: rgba(91, 61, 245, 0.04);
}
.ht-item--research .ht-item__icon svg { color: var(--accent-primary); }
.ht-item--research .ht-item__line { background: linear-gradient(to bottom, rgba(91, 61, 245, 0.25), var(--border-light)); }

.ht-item--event .ht-item__icon {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.06);
}
.ht-item--event .ht-item__icon svg { color: #d97706; }

.ht-item--partner .ht-item__icon {
  border-color: rgba(47, 128, 237, 0.25);
  background: rgba(47, 128, 237, 0.05);
}
.ht-item--partner .ht-item__icon svg { color: var(--accent-blue); }

.ht-item--pilot .ht-item__icon {
  border-color: rgba(22, 163, 74, 0.25);
  background: rgba(22, 163, 74, 0.06);
}
.ht-item--pilot .ht-item__icon svg { color: var(--accent-green); }

.ht-item--commercial .ht-item__icon {
  border-color: rgba(22, 163, 74, 0.4);
  background: rgba(22, 163, 74, 0.1);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.08);
}
.ht-item--commercial .ht-item__icon svg { color: #15803d; }
.ht-item--commercial .ht-item__line { background: linear-gradient(to bottom, rgba(22, 163, 74, 0.3), var(--border-light)); }

/* Milestone item — highlighted */
.ht-item--milestone .ht-item__right {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.04), rgba(22, 163, 74, 0.02));
  border: 1px solid rgba(22, 163, 74, 0.15);
  border-radius: var(--radius-lg);
  padding: 20px 24px 28px 24px;
  margin-bottom: 20px;
  position: relative;
}

.ht-item--milestone .ht-item__right::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #16a34a, #22c55e);
  border-radius: 3px 0 0 3px;
}

/* ===== News Filters ===== */
.news-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.news-filter {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border-light);
  background: var(--white);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.news-filter:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.news-filter--active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--white);
}

/* ===== News Cards — upgraded with icons ===== */
.news-card__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.news-card__icon-wrap svg {
  width: 20px;
  height: 20px;
}

.news-card__icon-wrap--product {
  background: var(--accent-primary-light);
}
.news-card__icon-wrap--product svg { stroke: var(--accent-primary); }

.news-card__icon-wrap--integration {
  background: var(--accent-blue-light);
}
.news-card__icon-wrap--integration svg { stroke: var(--accent-blue); }

.news-card__icon-wrap--ai {
  background: rgba(245, 158, 11, 0.08);
}
.news-card__icon-wrap--ai svg { stroke: #d97706; }

.news-card__icon-wrap--event {
  background: var(--accent-green-light);
}
.news-card__icon-wrap--event svg { stroke: var(--accent-green); }

.news-card--hidden {
  display: none !important;
}

/* ===== Responsive History Timeline ===== */
@media (max-width: 768px) {
  .history__intro {
    margin-bottom: 24px;
    padding: 22px 18px;
    text-align: left;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 22px;
    background:
      radial-gradient(circle at top right, rgba(91, 61, 245, 0.08), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 250, 0.96));
    box-shadow: 0 10px 28px rgba(15, 23, 40, 0.05);
  }

  .history__intro .section-label {
    justify-content: flex-start !important;
  }

  .history__intro .h2,
  .history__intro .subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .history__intro .h2 {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.1;
  }

  .history__intro .subtitle {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
  }

  .ht-item {
    grid-template-columns: 0 44px 1fr;
  }
  .ht-item__left {
    display: none;
  }
  .ht-item__right {
    padding-bottom: 36px;
  }
  .ht-item__right::after {
    content: attr(data-date);
  }
}

@media (max-width: 480px) {
  .ht-item {
    grid-template-columns: 0 36px 1fr;
  }
  .ht-item__icon {
    width: 36px;
    height: 36px;
  }
  .ht-item__icon svg {
    width: 16px;
    height: 16px;
  }
  .ht-item__title {
    font-size: 15px;
  }
  .news-filters {
    gap: 6px;
  }
  .news-filter {
    padding: 6px 14px;
    font-size: 12px;
  }
}

/* ===== ФСИ Grant Items ===== */
.ht-item--fsi .ht-item__icon {
  border-color: rgba(13, 27, 62, 0.3);
  background: rgba(13, 27, 62, 0.06);
}
.ht-item--fsi .ht-item__icon svg { color: #0d1b3e; }
.ht-item--fsi .ht-item__line { background: linear-gradient(to bottom, rgba(13, 27, 62, 0.25), var(--border-light)); }

.ht-item__tag--fsi {
  background: rgba(13, 27, 62, 0.1);
  color: #0d1b3e;
}

.ht-item__fsi-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a2a52 100%);
  border-radius: var(--radius-full);
  max-width: 100%;
}

.ht-item__fsi-logo {
  height: 22px;
  width: auto;
  border-radius: 4px;
  background: #fff;
  padding: 2px 4px;
}

.ht-item__fsi-badge span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.ht-item__details {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.ht-item__detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
  font-size: 13px;
  gap: 12px;
}

.ht-item__detail-row + .ht-item__detail-row {
  border-top: 1px solid var(--border-subtle);
}

.ht-item__detail-label {
  color: var(--text-tertiary);
  font-weight: 500;
  white-space: nowrap;
}

.ht-item__detail-value {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

/* ФСИ milestone card */
.ht-item--fsi.ht-item--milestone .ht-item__right {
  background: linear-gradient(135deg, rgba(13, 27, 62, 0.04), rgba(13, 27, 62, 0.02));
  border: 1px solid rgba(13, 27, 62, 0.12);
}

.ht-item--fsi.ht-item--milestone .ht-item__right::before {
  background: linear-gradient(to bottom, #0d1b3e, #1a2a52);
}
/* ===== Responsive Mobile Styles ===== */
@media (max-width: 768px) {
  /* Navigation adjustments */
  .nav {
    height: 64px;
  }
  .nav__links {
    display: none;
  }
  .nav__mobile-toggle {
    display: flex;
  }
  .nav__links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex: none;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border: 0;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    animation: slideDown 0.3s var(--ease-out);
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav__links.mobile-open a {
    font-size: 16px;
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 10px 0;
    white-space: normal;
    border-radius: 0;
  }

  /* Hero section stack */
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: auto;
  }
  .hero__visual {
    order: -1;
    margin-bottom: 24px;
  }

  /* Modules grid to single column */
  .modules__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Gallery slider adjustments */
  .gallery__slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .gallery__slide {
    min-width: 80%;
    scroll-snap-align: start;
    margin-right: 16px;
  }
  .gallery__controls {
    display: none;
  }

  /* Footer stacking */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
}

/* ===== Final Mobile Pass ===== */
@media (max-width: 768px) {
  :root {
    --section-gap: 72px;
    --container-padding: 16px;
  }

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

  .section-header {
    margin-bottom: 36px;
  }

  .section-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
  }

  .h1 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.08;
  }

  .h2 {
    font-size: clamp(26px, 7.5vw, 36px);
    line-height: 1.12;
  }

  .subtitle,
  .hero__subtitle,
  .role-card__desc,
  .diff__item p,
  .team-detailed__bio,
  .ht-item__text,
  .news-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
  }

  .fasie-topbar__inner {
    padding: 0 16px;
  }

  .fasie-topbar__link {
    gap: 10px;
    padding: 12px 0;
  }

  .fasie-topbar__grant {
    line-height: 1.35;
  }

  .nav__inner,
  .nav {
    height: 64px;
  }

  .nav__logo {
    gap: 10px;
    min-width: 0;
  }

  .nav__logo-img {
    width: 34px;
    height: 34px;
  }

  .nav__logo-text {
    font-size: 18px;
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 40px;
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 2;
    margin-bottom: 0;
  }

  .hero__badge {
    margin-bottom: 18px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .hero__title {
    margin-bottom: 16px;
    max-width: none;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero__subtitle {
    margin-bottom: 24px;
    max-width: none;
  }

  .hero__deep-link-wrap {
    margin-top: 10px;
    margin-bottom: 2px;
  }

  .hero__deep-link {
    font-size: 13px;
    line-height: 1.5;
  }

  .hero__tech-callout {
    grid-template-columns: 1fr;
    max-width: none;
    margin: 0 0 22px;
  }

  .hero__tech-card {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 14px;
  }

  .hero__trust {
    margin-top: 20px;
    align-items: flex-start;
    line-height: 1.5;
  }

  .hero__mockup {
    border-radius: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .ai-dev-page-showcase__main img {
    aspect-ratio: auto;
    object-fit: contain;
  }

  .trust {
    padding: 36px 0;
  }

  .trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .trust__value {
    font-size: 24px;
  }

  .trust__label {
    font-size: 12px;
  }

  .about__grid,
  .diff__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about__feature,
  .diff__item {
    gap: 12px;
  }

  .module-card-large {
    grid-template-columns: 1fr !important;
    border-radius: 20px;
  }

  .module-card-large__text {
    padding: 22px 18px;
  }

  .module-card-large__img {
    max-height: none;
    min-height: 180px;
  }

  .module-card__title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .module-card__desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .gallery__slider {
    gap: 16px;
    padding: 0 16px 12px;
  }

  .gallery__slide {
    width: 86vw !important;
    min-width: 86vw;
    border-radius: 18px;
  }

  .gallery__caption {
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.45;
  }

  .roles__grid,
  .partners__grid,
  .news__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .role-card {
    flex-direction: column;
    gap: 16px;
    padding: 22px 18px;
  }

  .partner-card {
    min-height: 0;
    padding: 22px 18px;
    border-radius: 20px;
    gap: 14px;
  }

  .press-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .press-card__title {
    font-size: 18px;
  }

  .press-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
  }

  .partner-card__logo {
    min-height: 56px;
    font-size: 34px;
  }

  .partner-card__name {
    font-size: 18px;
  }

  .partner-card__desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .role-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 20px;
  }

  .role-card__title {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .timeline__step {
    gap: 16px;
  }

  .team-detailed__card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    padding: 22px 18px;
    border-radius: 20px;
  }

  .team-detailed__avatar {
    width: 72px;
    height: 72px;
    border-width: 2px;
  }

  .team-detailed__name {
    font-size: 20px;
  }

  .team-detailed__position {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .team-detailed__bio {
    max-width: none;
    margin-bottom: 12px;
  }

  .team-detailed__tags {
    justify-content: flex-start;
  }

  .team-tag {
    font-size: 11px;
    padding: 5px 10px;
  }

  .history-timeline {
    max-width: none;
  }

  .ht-item {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
  }

  .ht-item__left {
    display: block;
    padding: 0;
  }

  .ht-item__date {
    text-align: left;
    font-size: 12px;
    white-space: normal;
  }

  .ht-item__connector {
    display: none;
  }

  .ht-item__right {
    padding: 18px 18px 22px;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    background: var(--white);
    margin-bottom: 12px;
  }

  .ht-item--milestone .ht-item__right {
    padding: 18px 18px 22px 22px;
  }

  .ht-item__title {
    font-size: 16px;
    line-height: 1.35;
  }

  .ht-item__details {
    padding: 10px 12px;
  }

  .ht-item__detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .ht-item__detail-value {
    text-align: left;
  }

  .ht-item__fsi-badge {
    width: 100%;
    justify-content: flex-start;
    padding-right: 10px;
  }

  .ht-item__meta-row {
    align-items: flex-start;
    gap: 10px;
  }

  .news-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .news-filter {
    white-space: nowrap;
  }

  .news-card {
    flex-direction: column;
    gap: 14px;
    padding: 20px 18px;
    border-radius: 20px;
  }

  .news-card__icon-wrap {
    margin-bottom: 0;
  }

  .news-card__date {
    align-self: flex-start;
  }

  .news-card__title {
    font-size: 16px;
  }

  .cta-section {
    padding: 64px 0;
  }

  .contact-info {
    font-size: 16px !important;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .modal-overlay {
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 10px;
  }

  .modal {
    width: min(100%, 460px);
    max-height: calc(100dvh - 20px);
    padding: 18px;
    border-radius: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    background: var(--white);
    box-shadow: 0 8px 20px rgba(15, 23, 40, 0.12);
  }

  .modal__title {
    padding-right: 44px;
    font-size: 22px;
    line-height: 1.2;
  }

  .modal__subtitle {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .modal__form {
    gap: 12px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px;
  }

  .form-group textarea {
    min-height: 76px;
  }

  .container,
  .hero__grid,
  .hero__content,
  .hero__visual,
  .hero__tech-callout,
  .hero__tech-card,
  .ai-dev-page-hero__grid,
  .ai-dev-page-showcase,
  .ai-dev-page-showcase__main,
  .ai-dev-page-showcase__panel {
    min-width: 0;
    max-width: 100%;
  }

  .fasie-topbar__content {
    min-width: 0;
  }

  .fasie-topbar__grant {
    overflow-wrap: anywhere;
  }

  .fasie-topbar__arrow {
    display: none;
  }

  .hero__title {
    font-size: clamp(32px, 7vw, 38px);
    line-height: 1.12;
    letter-spacing: 0;
  }

  .hero__title br {
    display: initial;
  }

  .hero__mobile-visual {
    display: block;
    margin: 20px 0 22px;
  }

  .hero__visual {
    display: none !important;
  }

  .hero__mockup,
  .hero__mobile-mockup,
  .ai-dev-page-showcase__main img {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .ai-dev-page-hero .h1 {
    font-size: clamp(34px, 7.6vw, 46px);
    line-height: 1.12;
    letter-spacing: 0;
  }
}

@media (max-width: 520px) {
  .modal-overlay {
    padding: 8px;
  }

  .modal {
    width: min(330px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }
}

@media (max-width: 430px) {
  :root {
    --container-padding: 14px;
  }

  .hero__title {
    font-size: clamp(31px, 8.4vw, 34px);
  }

  .ai-dev-page-hero .h1 {
    font-size: clamp(34px, 9.4vw, 40px);
  }

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

  .btn,
  .btn--large {
    width: 100%;
    padding: 15px 18px;
    font-size: 14px;
  }

  .gallery__slide {
    width: 90vw !important;
    min-width: 90vw;
  }

  .news-card,
  .press-card,
  .partner-card,
  .role-card,
  .team-detailed__card,
  .ht-item__right {
    padding-left: 16px;
    padding-right: 16px;
  }
}
