/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --bg-primary:     #FFFFFF;
  --bg-secondary:   #F7F7F9;
  --bg-tertiary:    #EEEEF2;
  --text-primary:   #0E0D1A;
  --text-secondary: #6B7280;
  --text-muted:     #9CA3AF;
  --accent:         #6B46FA;
  --accent-dim:     #5535D4;
  --accent-glow:    rgba(107,70,250,0.08);
  --border:         rgba(0,0,0,0.08);
  --shadow-sm:      0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:      0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:      0 8px 40px rgba(0,0,0,0.10);
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:          72px;
}

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

html {
  /* scroll-behavior убран — плавный скролл обеспечивает Lenis */
  -webkit-text-size-adjust: 100%;
  overflow-x: clip; /* clip вместо hidden — не ломает скролл */
}

body {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  /* overflow-x убран с body — Chrome-баг: overflow-x:hidden на body блокирует скролл */
  cursor: none;
}

body.menu-open {
  overflow: hidden;
}

/* Горизонтальное переполнение блокируем на враппере, не на body */
main, footer, nav { overflow-x: clip; }

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: none;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { color: var(--text-secondary); line-height: 1.7; }

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 300;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

.section-head {
  margin-bottom: 56px;
}

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

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary, .btn-outline, .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(107,70,250,0.35);
}

.btn-primary:hover {
  background: var(--accent-dim);
  box-shadow: 0 8px 32px rgba(107,70,250,0.45);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  font-size: 0.875rem;
  box-shadow: 0 2px 16px rgba(107,70,250,0.30);
}

.nav-cta:hover {
  background: var(--accent-dim);
  color: #fff;
}

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

/* =============================================
   CURSOR
   ============================================= */
.cursor,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(107,70,250,0.5);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.hover ~ .cursor-ring,
.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: var(--accent);
}

/* =============================================
   PAGE OVERLAY (transitions)
   ============================================= */
.page-overlay {
  position: fixed;
  inset: 0;
  background: var(--accent);
  z-index: 9990;
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
}

/* =============================================
   PRELOADER
   ============================================= */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9980;
}

.preloader-logo {
  width: 280px;
  height: auto;
}

/* =============================================
   NAV
   ============================================= */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 900;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

#nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

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

.logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height .3s ease;
}
nav.scrolled .logo-img { height: 48px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--accent-glow);
}

/* =============================================
   BURGER
   ============================================= */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 910;
}

.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger.open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 890;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.mobile-nav a {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--accent); }

.mobile-nav .btn-primary {
  margin-top: 16px;
  font-size: 1rem;
}

/* =============================================
   MAIN CONTENT
   ============================================= */
main {
  padding-top: var(--nav-h);
  min-height: 60vh;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
  padding: 80px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107,70,250,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,70,250,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(107,70,250,0.12) 0%, transparent 70%);
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  bottom: 50px;
  left: 10%;
  background: radial-gradient(circle, rgba(107,70,250,0.08) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-glow);
  border: 1px solid rgba(107,70,250,0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-title .accent { color: var(--accent); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

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

.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 1;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 1.5s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   SECTION BACKGROUNDS
   ============================================= */
.bg-secondary { background: var(--bg-secondary); }
.bg-primary   { background: var(--bg-primary); }

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal,
.no-js .reveal-left,
.no-js .reveal-right {
  opacity: 1;
  transform: none;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer-logo-img {
  height: 48px;
  width: auto;
  filter: brightness(10);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col {
  min-width: 120px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

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

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-tg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-tg:hover { color: #fff; }

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs {
  padding: 20px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--text-secondary); }

.breadcrumbs .sep {
  color: var(--border);
  user-select: none;
}

/* =============================================
   TAGS & BADGES
   ============================================= */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(107,70,250,0.12);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

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

/* =============================================
   COUNTER / STATS
   ============================================= */
.stats-row {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 140px;
  padding: 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}

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

.stat-item .stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  text-align: center;
  padding: 100px 0;
  background: var(--bg-primary);
}

.cta-section .section-title { max-width: 480px; margin: 0 auto 12px; }
.cta-section .section-sub  { margin: 0 auto 40px; text-align: center; }

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-form input {
  flex: 1;
  min-width: 200px;
  height: 52px;
  padding: 0 20px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.95rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  transition: border-color var(--transition);
  outline: none;
}

.cta-form input:focus { border-color: var(--accent); }
.cta-form input.error { border-color: #EF4444; }
.cta-form input::placeholder { color: var(--text-muted); }

.cta-success {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px;
  display: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  section { padding: 80px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  #nav { padding: 0 24px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  section { padding: 64px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-cols { gap: 32px; }
  .logo-img { height: 36px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section-head { margin-bottom: 36px; }
  .stats-row { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .btn-actions { flex-direction: column; align-items: flex-start; }
  #nav { padding: 0 16px; }
}

/* =============================================
   HERO — REFINED
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 60% 50% at 65% 50%,
    rgba(107,70,250,0.06) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 0%, transparent 70%);
}

.hero-orb-1 {
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-orb-2 {
  left: 30%;
  top: 20%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(107,70,250,0.15);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: .04em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

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

.hero-title {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.03em;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.hero-title .line { display: block; }
.hero-title .accent { color: var(--accent); }

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 48px;
}

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

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

.hero-stats {
  position: absolute;
  right: 60px;
  bottom: 80px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-end;
}

.hero-stats .stat { text-align: right; }

.hero-stats .stat-num {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stats .stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-stats .stat + .stat {
  padding-top: 0;
  border-top: none;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 60px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* =============================================
   CTA SECTION — REFINED
   ============================================= */
.cta-section {
  border-top: 1px solid var(--border);
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 100px 0;
}

.cta-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.cta-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  height: 52px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0 20px;
  color: var(--text-primary);
  font-family: 'Onest', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition);
  cursor: text;
}

.cta-input::placeholder { color: var(--text-muted); }
.cta-input:focus  { border-color: rgba(107,70,250,0.5); }
.cta-input.error  { border-color: #EF4444; }

.cta-success {
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  min-height: 24px;
}

/* Portfolio empty state */
.portfolio-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.portfolio-empty p { margin-bottom: 20px; }

@media (max-width: 768px) {
  .hero { padding: 90px 0 60px; min-height: auto; }
  .hero-stats {
    position: static;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-stats .stat { text-align: center; }
  .hero-stats .stat-num { font-size: 28px; }
  .hero-scroll { display: none; }
  .cta-form { flex-direction: column; align-items: stretch; }
  .cta-input { height: 52px; }
  .cta-inner { padding: 64px 0; }
  .cta-title { font-size: 2.2rem; }
}
