/* ══════════════════════════════════════════════════════════════
   SWISS STARK AI DESIGN SYSTEM (Vibes UI Engine 3.0)
   Mikhail Puzyrev Multi-page Platform
   Fonts: Space Grotesk (Headers/UI) + JetBrains Mono (Tech/Data)
══════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #ffffff;
  --bg-gray: #f8fafc;
  --bg-card: #f1f5f9;
  --bg-dark: #09090b;
  --bg-dark-card: #18181b;
  --black: #09090b;
  --gray: #52525b;
  --gray-light: #e4e4e7;
  --border: #e2e8f0;
  --border-dark: #27272a;
  
  --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  
  --green: #10b981;
  --green-dark: #059669;
  --green-bg: #ecfdf5;
  --cyan: #06b6d4;
  --red: #ef4444;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100vw;
}

body {
  background: var(--bg);
  color: var(--black);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
  word-break: normal;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .hero-title, .section-title, .card-title, .form-title {
  text-wrap: wrap;
  overflow-wrap: break-word;
  word-break: normal;
}

p, .hero-sub, .section-sub, .card-desc, .feature-desc {
  text-wrap: wrap;
  overflow-wrap: break-word;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.nav-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.nav-logo {
  font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex: 0 0 340px;
  width: 340px;
  min-width: 340px;
}

.nav-logo strong {
  flex-shrink: 0;
}

.nav-logo strong span.accent-yo {
  color: var(--green);
}

.nav-logo-badge {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--black);
  color: #fff;
  padding: 2px 6px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-start;
}

.nav-links a {
  position: relative;
  color: var(--gray);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
  padding: 6px 0;
  white-space: nowrap;
  text-decoration: none;
}

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

.nav-links a.active {
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  text-decoration-color: var(--black);
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 0 0 190px;
  min-width: 190px;
}

.nav-cta {
  background: var(--black);
  color: #fff;
  border: 1px solid var(--black);
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  min-height: 40px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
}

.nav-cta:hover {
  background: #27272a;
  border-color: #27272a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px 20px 48px;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
  display: flex;
  animation: mobileMenuFade 0.22s ease-out;
}

@keyframes mobileMenuFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu a {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--black);
  padding: 13px 4px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.mobile-menu a:hover,
.mobile-menu a:active {
  color: var(--emerald);
  padding-left: 6px;
}

.mobile-menu a.active {
  color: var(--black);
  font-weight: 700;
  border-bottom: 2px solid var(--black);
}

.mobile-menu .m-cta {
  background: var(--black);
  color: #fff !important;
  text-align: center;
  justify-content: center;
  margin-top: 14px;
  padding: 15px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 0 !important;
  border: 1px solid var(--black);
  width: 100%;
}

.mobile-menu .m-cta:active {
  transform: scale(0.98);
}

body.menu-open {
  overflow: hidden;
}

/* ══════════════════════════════════════════
   HERO SECTIONS
══════════════════════════════════════════ */
.hero {
  min-height: 85vh;
  max-width: 1440px;
  margin: 0 auto;
  padding: 68px 0 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  width: 100%;
}

.hero-full {
  grid-template-columns: 1fr;
}

.hero-left {
  padding: clamp(48px, 5.5vw, 72px) clamp(24px, 4vw, 64px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-tag::before {
  content: '// ';
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-bg);
  color: var(--green-dark);
  border: 1px solid var(--border);
  padding: 3px 10px;
  font-size: 0.74rem;
  font-weight: 700;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

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

.hero-title {
  font-size: clamp(2.2rem, 3.6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.hero-title em,
.section-title em {
  font-style: normal;
  -webkit-text-stroke: 2px var(--black);
  color: transparent;
}

.hero-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-sub strong {
  color: var(--black);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  background: var(--black);
  color: #fff;
  border: 1px solid var(--black);
  padding: 16px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.02em;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  background: #27272a;
  border-color: #27272a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--border-dark);
  padding: 16px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  transition: all 0.2s;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: var(--bg-gray);
  border-color: var(--black);
  transform: translateY(-2px);
}

.hero-right {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  background: var(--bg-gray);
}

/* ══════════════════════════════════════════
   INTERACTIVE SIMULATOR / CONSOLE
══════════════════════════════════════════ */
.simulator-card {
  background: var(--bg-dark);
  color: #f4f4f5;
  border: 1px solid var(--border-dark);
  overflow: hidden;
  font-family: var(--font);
  width: 100%;
}

.sim-bar {
  background: var(--bg-dark-card);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dark);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.window-title {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: #a1a1aa;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #34d399;
}

.sim-tabs {
  display: flex;
  background: var(--bg-dark-card);
  border-bottom: 1px solid var(--border-dark);
  overflow-x: auto;
}

.sim-tab {
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #a1a1aa;
  border-right: 1px solid var(--border-dark);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.sim-tab:hover {
  color: #fff;
  background: #27272a;
}

.sim-tab.active {
  color: #fff;
  background: var(--bg-dark);
  font-weight: 700;
  border-bottom: 2px solid #34d399;
}

.sim-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-step {
  border-left: 2px solid var(--border-dark);
  padding-left: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sim-step::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52525b;
}

.sim-step.active::before {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
}

.sim-step-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #a1a1aa;
  letter-spacing: 0.06em;
}

.sim-step-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fafafa;
}

.sim-step-desc {
  font-size: 0.84rem;
  color: #a1a1aa;
  line-height: 1.6;
}

.sim-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.sim-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 2px 8px;
  background: #27272a;
  color: #e4e4e7;
  border-radius: 2px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  width: 100%;
  margin-bottom: 28px;
  background: var(--bg);
  align-items: stretch;
}

.hero-stats.hero-stats-4 {
  grid-template-columns: repeat(4, 1fr);
}

.h-stat {
  padding: 18px 16px;
  border-right: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.h-stat:last-child {
  border-right: none;
}

.h-stat-num {
  font-size: clamp(1.2rem, 1.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 6px;
  color: var(--black);
  white-space: nowrap;
  width: 100%;
}

.h-stat-lab {
  font-size: 0.74rem;
  color: var(--gray);
  font-family: var(--mono);
  line-height: 1.38;
}

@media (max-width: 992px) {
  .hero-stats.hero-stats-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats.hero-stats-4 .h-stat:nth-child(2) {
    border-right: none;
  }
  .hero-stats.hero-stats-4 .h-stat:nth-child(1),
  .hero-stats.hero-stats-4 .h-stat:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 580px) {
  .hero-stats,
  .hero-stats.hero-stats-4 {
    grid-template-columns: 1fr;
  }
  .hero-stats .h-stat {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }
  .hero-stats .h-stat:last-child {
    border-bottom: none;
  }
}

/* ══════════════════════════════════════════
   SECTION BASE & UNIFIED SPATIAL RHYTHM
══════════════════════════════════════════ */
.section {
  padding: clamp(64px, 7vw, 100px) 0;
  max-width: 1440px;
  margin: 0 auto;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  scroll-margin-top: 68px;
}

/* First section on pages without .hero */
main > .section:first-child {
  padding-top: calc(68px + clamp(40px, 4.5vw, 64px));
}

.section-border {
  border-top: 1px solid var(--border);
}

.section-pad {
  padding-left: clamp(20px, 4.5vw, 64px);
  padding-right: clamp(20px, 4.5vw, 64px);
}

.section-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '// ';
}

.section-title {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 740px;
  line-height: 1.72;
  margin-bottom: 36px;
}

/* ══════════════════════════════════════════
   MATRIX & CARDS
══════════════════════════════════════════ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  background: var(--border);
  gap: 1px;
  margin-top: 36px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  background: var(--border);
  gap: 1px;
  margin-top: 36px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  background: var(--border);
  gap: 1px;
  margin-top: 36px;
}

.feature-card {
  padding: clamp(32px, 3.2vw, 40px) clamp(24px, 2.5vw, 32px);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  height: 100%;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--bg-gray);
}

.card-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 4px;
}

.card-desc {
  font-size: 0.94rem;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
}

.card-desc strong {
  color: var(--black);
  font-weight: 600;
}

.card-footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* ══════════════════════════════════════════
   PROJECT SHOWCASE (aipsy.press, etc.)
══════════════════════════════════════════ */
.project-card {
  padding: clamp(36px, 4vw, 56px) clamp(20px, 4.5vw, 64px);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  background: var(--bg);
}

.project-card:nth-child(even) {
  background: var(--bg-gray);
}

.project-tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 3px 8px;
  background: var(--black);
  color: #fff;
  display: inline-block;
  margin-bottom: 14px;
}

.project-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.project-desc {
  font-size: 0.96rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 20px;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px;
}

.p-stat-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
}

.p-stat-lab {
  font-size: 0.72rem;
  font-family: var(--mono);
  color: var(--gray);
}

.project-preview-box {
  background: var(--bg-dark);
  color: #fff;
  border: 1px solid var(--border-dark);
  padding: 24px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.6;
  border-radius: 4px;
  overflow-x: auto;
}

/* ══════════════════════════════════════════
   PRICING & FORMATS
══════════════════════════════════════════ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  background: var(--border);
  gap: 1px;
  margin-top: 36px;
}

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

.price-card {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
  height: 100%;
}

.price-card.featured {
  background: var(--black);
  color: #fff;
}

.price-card.featured .price-period,
.price-card.featured .price-feat {
  color: rgba(255, 255, 255, 0.7);
}

.price-card.featured .price-feat strong {
  color: #fff;
}

.price-card.featured .price-divider {
  border-color: rgba(255, 255, 255, 0.15);
}

.price-card.featured .btn-price {
  background: #fff;
  color: var(--black);
  border-color: #fff;
}

.price-card.featured .btn-price:hover {
  background: #f4f4f5;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.price-badge {
  display: inline-flex;
  background: var(--green);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  font-family: var(--mono);
  margin-bottom: 16px;
  width: fit-content;
}

.price-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 6px;
}

.price-period {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.price-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.price-feats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  flex: 1;
}

.price-feat {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--gray);
}

.price-feat::before {
  content: '✓';
  font-weight: 700;
  color: var(--green-dark);
  flex-shrink: 0;
}

.price-feat strong {
  color: var(--black);
  font-weight: 600;
}

.btn-price {
  background: var(--black);
  color: #fff;
  border: 1px solid var(--black);
  padding: 16px;
  font-size: 0.92rem;
  font-weight: 600;
  width: 100%;
  text-align: center;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-price:hover {
  background: #27272a;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   SPEAKING PHOTO GALLERY
══════════════════════════════════════════ */
.speaking-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 36px;
}

.gallery-item {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
  filter: grayscale(15%) contrast(105%);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(100%);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.88) 0%, rgba(9, 9, 11, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.gallery-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #34d399;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.gallery-caption {
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
}

@media (max-width: 1024px) {
  .speaking-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ══════════════════════════════════════════
   AUTHOR PHOTO CARDS
══════════════════════════════════════════ */
.author-photo-card {
  position: relative;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.author-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: contrast(105%);
}

.author-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.45) 60%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.author-photo-name {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.author-photo-role {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #34d399;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ══════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════ */
.faq-list {
  border: 1px solid var(--border);
  margin-top: 36px;
  border-radius: 4px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item.open {
  background-color: #fafafa;
}

.faq-q {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
  color: var(--black);
  transition: background-color 0.2s ease;
}

.faq-q:hover {
  background: var(--bg-gray);
}

.faq-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 3px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              border-color 0.25s ease,
              color 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  min-height: 0;
  padding: 0 32px 0;
  font-size: 0.94rem;
  color: var(--gray);
  line-height: 1.75;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-a-inner {
  opacity: 1;
  transform: translateY(0);
  padding: 0 32px 24px;
}

/* ══════════════════════════════════════════
   FOOTER & FORM
══════════════════════════════════════════ */
.form-section {
  background: var(--black);
  color: #fff;
  padding: clamp(64px, 7vw, 100px) 0;
  border-top: 1px solid var(--border-dark);
}

.form-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(36px, 4.5vw, 64px);
  align-items: center;
}

.form-left {
  max-width: 640px;
}

.form-title {
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.form-sub {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 28px;
}

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

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

.form-label {
  font-size: 0.76rem;
  font-family: var(--mono);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  background: #18181b;
  border: 1px solid #27272a;
  color: #fff;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: all 0.2s;
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #fff;
  background: #27272a;
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.form-check input[type="checkbox"] {
  accent-color: #fff;
  margin-top: 3px;
}

.form-check a {
  text-decoration: underline;
  color: #fff;
}

/* Honeypot field */
.hp-field {
  display: none !important;
  visibility: hidden !important;
}

.direct-contact-card {
  background: #18181b;
  border: 1px solid #27272a;
  padding: 36px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .direct-contact-card {
    padding: 24px 16px;
    max-width: 100%;
  }
}

.footer {
  background: #000;
  color: #a1a1aa;
  padding: 48px 0;
  border-top: 1px solid #18181b;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a:hover {
  color: #fff;
}

/* ══════════════════════════════════════════
   CALENDAR & BOOKING PAGE
══════════════════════════════════════════ */
.calendar-direct-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  padding: 32px 40px;
  gap: 32px;
  margin-top: 36px;
}

.calendar-embed-wrapper {
  margin-top: 36px;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.calendar-embed-wrapper iframe {
  display: block;
  width: 100%;
  height: 710px;
  border: none;
  filter: grayscale(100%) contrast(108%);
  transition: filter 0.3s;
}

@media (max-width: 768px) {
  .calendar-direct-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .calendar-embed-wrapper iframe {
    height: 800px;
  }
}

/* ══════════════════════════════════════════
   REVIEWS & FEEDBACK INFINITE CAROUSEL
══════════════════════════════════════════ */
.reviews-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 36px;
  padding: 12px 0 16px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.reviews-carousel-wrapper:active {
  cursor: grabbing;
}

.reviews-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.review-slide-card {
  width: 175px;
  height: 275px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform, filter, opacity;
  cursor: pointer;
}

.review-slide-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  border-color: var(--black);
}

.review-slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .review-slide-card {
    width: 145px;
    height: 230px;
    border-radius: 10px;
  }
}

/* ══════════════════════════════════════════
   CERTIFICATES INFINITE CAROUSEL
══════════════════════════════════════════ */
.certs-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 36px;
  padding: 8px 0 16px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.certs-carousel-wrapper:active {
  cursor: grabbing;
}

.certs-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.cert-slide-card {
  width: 290px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform, filter, opacity;
}

.cert-slide-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  border-color: var(--black);
}

.cert-slide-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  display: block;
}

.cert-slide-caption {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  font-family: var(--mono);
  color: var(--black);
  font-weight: 600;
  background: #fafafa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .cert-slide-card {
    width: 240px;
  }
  .cert-slide-card img {
    height: 170px;
  }
}

/* ══════════════════════════════════════════
   SPEAKING INFINITE CAROUSEL
══════════════════════════════════════════ */
.speaking-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 36px;
  padding: 8px 0 16px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.speaking-carousel-wrapper:active {
  cursor: grabbing;
}

.speaking-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.speaking-slide-card {
  width: 320px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform, filter, opacity;
  cursor: pointer;
}

.speaking-slide-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  border-color: var(--black);
}

.speaking-slide-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.speaking-slide-info {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: #fafafa;
}

.speaking-slide-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.speaking-slide-caption {
  font-size: 0.82rem;
  color: var(--black);
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .speaking-slide-card {
    width: 260px;
  }
  .speaking-slide-card img {
    height: 180px;
  }
}

/* ══════════════════════════════════════════
   CLIENT & PARTNER LOGOS
══════════════════════════════════════════ */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 1200px) {
  .logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.logo-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.logo-card:hover {
  border-color: var(--black);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.logo-card img {
  max-width: 130px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.72);
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-card:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ══════════════════════════════════════════
   IMAGE LIGHTBOX / ZOOM MODAL & INTERACTIVE NAV
══════════════════════════════════════════ */
.review-slide-card,
.cert-slide-card,
.speaking-slide-card,
.gallery-item {
  cursor: pointer;
}

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 9, 11, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  user-select: none;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  background: #09090b;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.lightbox-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 840px;
  gap: 16px;
}

.lightbox-caption {
  color: #f4f4f5;
  font-family: var(--mono);
  font-size: 0.85rem;
  text-align: left;
  flex: 1;
  line-height: 1.4;
}

.lightbox-counter {
  color: var(--emerald);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.lightbox-hint {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
  z-index: 20;
}

.lightbox-close:hover {
  background: #ffffff;
  color: #09090b;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
  backdrop-filter: blur(8px);
}

.lightbox-nav-btn:hover {
  background: #ffffff;
  color: #09090b;
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
  left: -68px;
}

.lightbox-next {
  right: -68px;
}

@media (max-width: 900px) {
  .lightbox-prev {
    left: 12px;
    top: auto;
    bottom: -60px;
    transform: none;
  }
  .lightbox-next {
    right: 12px;
    top: auto;
    bottom: -60px;
    transform: none;
  }
  .lightbox-nav-btn:hover {
    transform: scale(1.08);
  }
  .lightbox-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ══════════════════════════════════════════
   AUTHOR INTRO GRID COMPONENT
══════════════════════════════════════════ */
.author-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.author-intro-grid.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

/* ══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS (SWISS STARK CANON)
══════════════════════════════════════════ */
@media (max-width: 1200px) and (min-width: 769px) {
  .nav-logo { flex: 0 0 300px; width: 300px; min-width: 300px; }
  .nav-links { gap: 10px; font-size: 0.82rem; }
  .nav-right { flex: 0 0 170px; min-width: 170px; }
}

@media (max-width: 1024px) {
  .nav { padding: 0 24px; }
  .section-pad { padding-left: 28px; padding-right: 28px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; width: 100%; border-left: none; border-right: none; }
  .hero-left { padding: 36px 24px; border-right: none; border-bottom: 1px solid var(--border); min-width: 0; }
  .hero-right { padding: 32px 24px; min-width: 0; }
  .author-intro-grid,
  .author-intro-grid.reverse { grid-template-columns: 1fr; gap: 28px; }
  .grid-3, .price-grid, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-inner { grid-template-columns: 1fr; gap: 36px; padding: 0 24px; }
  .project-card { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100vw !important;
    -webkit-text-size-adjust: 100%;
    position: relative;
  }

  .nav {
    padding: 0 16px;
    height: 68px;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-inner {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
  }

  .nav-logo {
    font-size: 0.95rem;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-logo strong {
    font-size: 0.95rem;
  }

  .nav-logo-badge {
    font-size: 0.6rem;
    padding: 2px 4px;
  }

  .nav-links,
  .nav-cta {
    display: none !important;
  }

  .nav-right {
    flex: 0 0 auto;
    min-width: 0;
  }

  .nav-burger {
    display: flex;
    flex-shrink: 0;
  }

  .section {
    padding: 44px 0;
    border-left: none !important;
    border-right: none !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    box-sizing: border-box;
  }

  main > .section:first-child {
    padding-top: calc(68px + 24px);
  }

  .section-pad {
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
  }

  .section-title,
  .hero-title,
  h1, h2 {
    font-size: clamp(1.4rem, 5.8vw, 1.85rem) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.035em !important;
    margin-bottom: 14px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  .section-title em,
  .hero-title em,
  h1 em, h2 em, h3 em {
    -webkit-text-stroke: 0 !important;
    color: var(--black) !important;
    font-style: normal;
  }

  .section-sub,
  .hero-sub {
    font-size: 0.9rem !important;
    line-height: 1.62 !important;
    margin-bottom: 18px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: auto;
    border-left: none !important;
    border-right: none !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    box-sizing: border-box;
  }

  .hero-left {
    padding: 24px 18px 20px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero-right {
    padding: 20px 18px !important;
    width: 100% !important;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
  }

  .hero-tag {
    font-size: 0.7rem;
    gap: 6px;
    margin-bottom: 14px;
  }

  .author-intro-grid,
  .author-intro-grid.reverse {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 32px !important;
  }

  .author-photo-card {
    width: 100% !important;
    max-width: 100% !important;
    height: 320px !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }

  .author-photo-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 15% !important;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .hero-actions a {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 22px;
    font-size: 0.88rem;
    min-height: 44px;
    border-radius: 0 !important;
    box-sizing: border-box;
  }

  /* Disable heavy scroll animations on mobile for native 60fps responsiveness */
  .reveal-init,
  .stagger-group > *,
  .hero-tag,
  .hero-author-box,
  .hero-title,
  .hero-divider,
  .hero-sub,
  .hero-actions,
  .hero-right {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  /* Reset sticky hover effects on touch screens */
  .feature-card:hover,
  .price-card:hover,
  .project-card:hover,
  .logo-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .hero-stats,
  .hero-stats.hero-stats-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100%;
    border: 1px solid var(--border);
    margin-top: 16px;
    box-sizing: border-box;
  }

  .h-stat {
    padding: 12px 14px;
    border-right: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
  }

  .h-stat:nth-child(2n) {
    border-right: none !important;
  }

  .h-stat:nth-last-child(-n+2) {
    border-bottom: none !important;
  }

  .h-stat-num {
    font-size: 1.3rem;
    margin-bottom: 4px;
  }

  .h-stat-lab {
    font-size: 0.68rem;
  }

  /* Simulator component on mobile */
  .simulator-card {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    overflow: hidden;
    box-sizing: border-box;
  }

  .sim-bar {
    padding: 8px 12px;
    gap: 6px;
    box-sizing: border-box;
  }

  .window-title {
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .live-status {
    font-size: 0.65rem;
  }

  .sim-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    border-bottom: 1px solid var(--border-dark);
    width: 100%;
    box-sizing: border-box;
  }

  .sim-tabs::-webkit-scrollbar {
    display: none;
  }

  .sim-tab {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.72rem;
    padding: 8px 12px;
  }

  .sim-body {
    padding: 14px 12px;
    gap: 10px;
    box-sizing: border-box;
  }

  .sim-step {
    padding-left: 10px;
  }

  .sim-step-title {
    font-size: 0.85rem;
    line-height: 1.35;
  }

  .sim-step-desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .sim-tags {
    gap: 4px;
    flex-wrap: wrap;
  }

  .sim-tag {
    font-size: 0.64rem;
    padding: 2px 6px;
  }

  /* Feature cards on mobile */
  .feature-card {
    padding: 24px 18px;
    border-radius: 0;
    box-sizing: border-box;
  }

  .card-title {
    font-size: 1.08rem;
  }

  .card-desc {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .card-footer {
    padding-top: 14px;
    justify-content: flex-start;
  }

  .card-footer .btn-secondary,
  .card-footer a {
    display: inline-flex;
    width: 100% !important;
    justify-content: center;
    padding: 11px 20px !important;
    font-size: 0.88rem !important;
    min-height: 42px !important;
    border-radius: 0 !important;
    box-sizing: border-box;
  }

  /* Pricing cards on mobile */
  .price-card {
    padding: 24px 16px;
    box-sizing: border-box;
  }

  .price-badge {
    font-size: 0.68rem;
    padding: 3px 7px;
  }

  .price-name {
    font-size: 1.15rem;
  }

  .price-amount {
    font-size: 2rem;
  }

  .price-period {
    font-size: 0.78rem;
  }

  .price-feats {
    gap: 10px;
    margin-bottom: 24px;
  }

  .price-feat {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .btn-price {
    width: 100%;
    min-height: 46px;
  }

  /* Project Case cards on mobile - CLEAN, STREAMLINED */
  .project-card {
    padding: 24px 16px;
    gap: 16px;
    box-sizing: border-box;
  }

  .project-tag {
    font-size: 0.68rem;
    padding: 2px 6px;
    margin-bottom: 8px;
  }

  .project-title {
    font-size: 1.25rem;
    line-height: 1.22;
    margin-bottom: 8px;
  }

  .project-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .project-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 12px 10px;
    margin-bottom: 16px;
    background: #ffffff;
    border: 1px solid var(--border);
  }

  .p-stat-val {
    font-size: 1.1rem;
  }

  .p-stat-lab {
    font-size: 0.65rem;
  }

  /* HIDE HEAVY REDUNDANT TERMINAL BOX ON MOBILE */
  .project-preview-box {
    display: none !important;
  }

  .project-card .btn-primary,
  .project-card .btn-secondary {
    width: 100% !important;
    display: inline-flex;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.88rem;
    min-height: 44px;
    box-sizing: border-box;
  }

  /* Logos Grid on mobile */
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 16px;
    box-sizing: border-box;
  }

  .logo-card {
    min-height: 52px;
    padding: 6px 8px;
    border-radius: 0;
    box-sizing: border-box;
  }

  .logo-card img {
    max-height: 28px;
    max-width: 84px;
  }

  /* Author Photo Cards on mobile */
  .author-photo-card {
    height: 240px !important;
  }

  /* FAQ Accordion on mobile */
  .faq-q {
    padding: 18px 16px;
    font-size: 0.95rem;
  }

  .faq-a-inner {
    padding: 0 16px 0;
    font-size: 0.88rem;
  }

  .faq-item.open .faq-a-inner {
    padding: 0 16px 20px;
  }

  /* Forms & Direct Contacts */
  .form-section {
    padding: 44px 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
  }

  .form-inner {
    padding: 0 16px;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
  }

  .form-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    line-height: 1.15;
    margin-bottom: 12px;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .form-sub {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px !important;
    padding: 14px 14px;
    border-radius: 4px;
  }

  .form-check {
    font-size: 0.76rem;
    line-height: 1.45;
    gap: 8px;
  }

  .form-box button[type="submit"] {
    min-height: 48px;
    font-size: 0.92rem;
    width: 100%;
  }

  /* Footer on mobile */
  .footer {
    padding: 28px 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .footer-inner {
    padding: 0 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.76rem;
    width: 100%;
    box-sizing: border-box;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 36px 0;
  }

  .section-pad {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-left {
    padding: 20px 12px 16px;
  }

  .hero-right {
    padding: 16px 12px;
  }

  .hero-title {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
    line-height: 1.18;
  }

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

  .logo-card {
    min-height: 48px;
    padding: 4px 6px;
  }

  .logo-card img {
    max-height: 24px;
    max-width: 76px;
  }

  .form-inner {
    padding: 0 12px;
  }

  .footer-inner {
    padding: 0 12px;
  }

  .project-card {
    padding: 16px 12px;
  }

  .project-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .p-stat-val {
    font-size: 0.95rem;
  }

  .p-stat-lab {
    font-size: 0.6rem;
  }
}

/* ══════════════════════════════════════════
   SMOOTH SCROLL REVEAL & TEXT ANIMATIONS
   (Vibes Motion & Design Spells Engine)
══════════════════════════════════════════ */
.reveal-init {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for grouped cards & grids */
.stagger-group > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.stagger-group.revealed > *:nth-child(1) { transition-delay: 0.03s; }
.stagger-group.revealed > *:nth-child(2) { transition-delay: 0.10s; }
.stagger-group.revealed > *:nth-child(3) { transition-delay: 0.17s; }
.stagger-group.revealed > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-group.revealed > *:nth-child(5) { transition-delay: 0.31s; }
.stagger-group.revealed > *:nth-child(6) { transition-delay: 0.38s; }
.stagger-group.revealed > *:nth-child(n+7) { transition-delay: 0.44s; }

.stagger-group.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Entrance Sequence */
.hero-animated .hero-tag {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

.hero-animated .hero-author-box {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

.hero-animated .hero-title {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.20s forwards;
}

.hero-animated .hero-divider {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  animation: heroDividerExpand 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.28s forwards;
}

.hero-animated .hero-sub {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.34s forwards;
}

.hero-animated .hero-actions {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards;
}

.hero-animated .hero-right {
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDividerExpand {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Premium Card Micro-interactions */
.feature-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: #a1a1aa;
}

.price-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.project-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
}
.project-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.logo-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background-color 0.25s ease;
}
.logo-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #71717a;
  background: #ffffff;
}

/* Interactive Button Feedback */
.btn-primary,
.btn-secondary,
.btn-price {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease;
}

.btn-primary:active,
.btn-secondary:active,
.btn-price:active {
  transform: scale(0.97) !important;
}

/* Accessibility reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-init,
  .stagger-group > *,
  .hero-tag,
  .hero-author-box,
  .hero-title,
  .hero-divider,
  .hero-sub,
  .hero-actions,
  .hero-right {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ══════════════════════════════════════════
   STRICT 0PX BORDER RADIUS FOR ALL BUTTONS
   (Swiss Stark Pure Modernist Architecture)
══════════════════════════════════════════ */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.btn,
.btn-primary,
.btn-secondary,
.btn-price,
.nav-cta,
.m-cta,
.faq-q,
.faq-icon,
.sim-tab,
.hero-actions a,
.card-footer a,
.card-footer .btn-secondary,
.project-card a,
.project-card .btn-primary,
.project-card .btn-secondary,
.direct-contact-card a,
.direct-contact-card button,
.lightbox-close,
.lightbox-nav-btn {
  border-radius: 0 !important;
}

/* ══════════════════════════════════════════
   FLOATING SECTION NAVIGATOR (PURE AIRY / NO CONTAINER)
   (Swiss Stark Pure Modernist Architecture)
══════════════════════════════════════════ */
.page-scrollspy {
  position: fixed;
  right: clamp(16px, 2.5vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  display: none;
  flex-direction: column;
  pointer-events: auto;
  user-select: none;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (min-width: 1240px) {
  .page-scrollspy {
    display: flex;
  }
}

.scrollspy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  align-items: flex-end;
}

.scrollspy-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.scrollspy-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 4px 0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scrollspy-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: #71717a;
  opacity: 0.55;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
  transform: translateX(0);
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.scrollspy-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #a1a1aa;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.scrollspy-dot {
  width: 7px;
  height: 7px;
  background: #ffffff;
  border: 1.5px solid #a1a1aa;
  border-radius: 0 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

/* Hover States */
.scrollspy-link:hover .scrollspy-label {
  opacity: 1;
  color: var(--black);
  transform: translateX(-3px);
}

.scrollspy-link:hover .scrollspy-num {
  color: var(--black);
  transform: scale(1.08);
}

.scrollspy-link:hover .scrollspy-dot {
  background: var(--black);
  border-color: var(--black);
  transform: scale(1.15);
}

/* Active State */
.scrollspy-item.active .scrollspy-label {
  opacity: 1;
  color: var(--black);
  font-weight: 700;
  transform: translateX(-3px);
}

.scrollspy-item.active .scrollspy-num {
  color: var(--black);
  font-weight: 700;
}

.scrollspy-item.active .scrollspy-dot {
  background: #34d399;
  border-color: #059669;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.65);
  transform: scale(1.25);
}

/* ══════════════════════════════════════════
   DARK SECTION ADAPTATION (When scrolling over dark footer)
══════════════════════════════════════════ */
.page-scrollspy.on-dark .scrollspy-label {
  color: #a1a1aa;
  opacity: 0.65;
}

.page-scrollspy.on-dark .scrollspy-num {
  color: #71717a;
}

.page-scrollspy.on-dark .scrollspy-dot {
  background: #18181b;
  border-color: #52525b;
}

.page-scrollspy.on-dark .scrollspy-link:hover .scrollspy-label {
  color: #ffffff;
  opacity: 1;
}

.page-scrollspy.on-dark .scrollspy-link:hover .scrollspy-num {
  color: #ffffff;
}

.page-scrollspy.on-dark .scrollspy-link:hover .scrollspy-dot {
  background: #ffffff;
  border-color: #ffffff;
}

.page-scrollspy.on-dark .scrollspy-item.active .scrollspy-label {
  color: #ffffff;
  opacity: 1;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.page-scrollspy.on-dark .scrollspy-item.active .scrollspy-num {
  color: #ffffff;
  font-weight: 700;
}

.page-scrollspy.on-dark .scrollspy-item.active .scrollspy-dot {
  background: #34d399;
  border-color: #10b981;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.9);
}
