/* ============================================================
   SophIA Landing Page — Production Stylesheet
   Brand: StarMind / SophIA
   Theme: Dark Purple + Magenta Accent
   Source: sophia.starmindai.ai
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Fira+Sans:wght@300;400;500;600&display=swap');

/* === DESIGN TOKENS === */
:root {
  /* Colors — Dark sections */
  --bg-deep: #1a1025;
  --bg-card: #2a1d3a;
  --bg-card-hover: #3d2d4e;
  --accent: #8b5cf6;
  --accent-hover: #a78bfa;
  --accent-dim: #c4b5fd;
  --accent-dark: #7c3aed;
  --accent-bg-muted: #2e1245;

  /* Colors — Secondary (teal/cyan for variety) */
  --secondary: #4dd0e1;
  --secondary-dark: #26a8b8;
  --secondary-glow: rgba(77, 208, 225, 0.2);

  /* Colors — Light sections (breaks the monotone) */
  --bg-light: #f4f0f8;
  --bg-light-alt: #ebe5f2;
  --text-on-light: #1a1025;
  --text-on-light-secondary: #5c4e69;
  --border-on-light: rgba(26, 16, 37, 0.12);

  /* Gradients */
  --gradient: linear-gradient(135deg, #9b5cff 10%, #4dd0e1 90%);
  --gradient-bg: linear-gradient(135deg, #2e1245 5%, #1a2a40 50%, #142833 95%);

  /* Text on dark */
  --text: #DAD1E6;
  --text-heading: #FFFFFF;
  --text-muted: rgba(218, 209, 230, 0.5);
  --border: #5c4e69;
  --border-light: rgba(255, 255, 255, 0.1);
  --glass: rgba(42, 29, 58, 0.7);
  --glow-accent: rgba(155, 92, 255, 0.25);
  --glow-purple: rgba(108, 43, 217, 0.2);

  /* Typography */
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Fira Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-section: 120px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* === BACKGROUND EFFECTS === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, var(--glow-purple), transparent 40%),
    radial-gradient(circle at 80% 60%, var(--glow-accent), transparent 35%),
    radial-gradient(circle at 50% 100%, rgba(100, 22, 105, 0.15), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.grid-pattern {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-heading); line-height: 1.2; }
h1 { font-size: 56px; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 40px; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 24px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
p { margin-bottom: var(--space-sm); }
.text-accent { color: var(--accent); }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section { position: relative; }
@media (max-width: 767px) {
  .divider-wave-down, .divider-wave-up { height: 50px; }
}

/* === LAYOUT === */
/* === TOP BAR === */
.top-bar {
  background: var(--gradient);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 100;
}
.top-bar-cta {
  background: #fff;
  color: var(--accent-dark);
  padding: 4px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.top-bar-cta:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }
@media (max-width: 767px) { .top-bar { font-size: 12px; gap: 8px; } .top-bar-cta { font-size: 11px; padding: 3px 10px; } }

.section { position: relative; z-index: 1; padding: var(--space-section) max(24px, calc((100% - 1200px) / 2)); }
.section-alt { background: var(--bg-card); }

/* Light sections — break the dark monotone */
.section-light {
  background: var(--bg-light);
  color: var(--text-on-light);
}
.section-light h1, .section-light h2, .section-light h3, .section-light h4 {
  color: var(--text-on-light);
}
.section-light p { color: var(--text-on-light-secondary); }
.section-light .badge, .section-light .integration-badge {
  background: #fff;
  border-color: var(--border-on-light);
  color: var(--text-on-light);
}
.section-light .testimonial-card {
  background: #fff;
  border-color: var(--border-on-light);
  backdrop-filter: none;
}
.section-light .testimonial-text { color: var(--text-on-light-secondary); }
.section-light .author-name { color: var(--text-on-light); }
.section-light .author-role { color: var(--text-on-light-secondary); }
.section-light .author-photo { color: #fff; }
.section-light .number-value {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-light .number-label { color: var(--text-on-light-secondary); }
.section-light .client-logo {
  background: #fff;
  border-color: var(--border-on-light);
  color: var(--text-on-light-secondary);
}
.section-light .media-card {
  background: #fff;
  border-color: var(--border-on-light);
  backdrop-filter: none;
}
.section-light .media-logo {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.section-light .media-card h3 { color: var(--text-on-light); }
.section-light .team-photo {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(155, 92, 255, 0.2);
}
.section-light .team-card .role { color: var(--accent-dark); }
.section-light .team-card p { color: var(--text-on-light-secondary); }
.section-light .step-number {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(155, 92, 255, 0.15);
}
.section-light .step-card p { color: var(--text-on-light-secondary); }
.max-w { max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  background: var(--gradient);
  background-size: 150% 150%;
  background-position: 0% 50%;
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background-position: 100% 50%;
  color: #fff;
  box-shadow: 0 0 24px var(--glow-accent), 0 4px 16px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: transparent;
  color: var(--text);
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  background-image: linear-gradient(var(--bg), var(--bg)), var(--gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.btn-secondary:hover {
  color: var(--accent);
  box-shadow: 0 0 16px rgba(139,92,246,0.15);
  background: var(--accent-bg-muted);
}

/* === HEADER === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px max(24px, calc((100% - 1200px) / 2));
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(36, 22, 49, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.logo span { color: var(--accent); }
.logo small { font-size: 12px; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.logo-starmind { height: 36px; width: auto; opacity: 0.9; }
.section-light .logo { color: var(--text-on-light); }
.section-light .logo small { color: var(--text-on-light-secondary); }
.section-light .logo-starmind { filter: brightness(0.2); }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav a:hover { color: var(--text-heading); }
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav a:hover::after { width: 100%; }
.hamburger { display: none; background: none; border: none; color: var(--text-heading); font-size: 24px; }

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--space-xl);
  padding: 48px max(24px, calc((100% - 1200px) / 2)) 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
/* Phone Mockup */
.phone-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: -80px;
  z-index: 0;
  perspective: 1000px;
}
.phone-frame {
  width: 280px;
  height: 540px;
  transform: rotateY(-55deg) rotateX(5deg) rotateZ(-5deg);
  transform-origin: center center;
  background: #1a1a2e;
  border-radius: 32px;
  border: 3px solid rgba(255,255,255,0.15);
  padding: 8px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 50px rgba(139,92,246,0.2),
    inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
  position: relative;
}
.phone-notch {
  width: 80px;
  height: 6px;
  background: #0d0d1a;
  border-radius: 3px;
  margin: 4px auto 6px;
}
.phone-screen {
  background: linear-gradient(180deg, #0f0a1e 0%, #1a1035 100%);
  border-radius: 24px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-header-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(139,92,246,0.15);
  border-bottom: 1px solid rgba(139,92,246,0.2);
}
.phone-avatar {
  width: 28px;
  height: 28px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.phone-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.phone-status {
  font-size: 9px;
  color: #4ade80;
  line-height: 1.2;
}
.phone-chat {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.phone-msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 11px;
  line-height: 1.4;
  animation: msgFadeIn 0.5s ease-out both;
}
.phone-msg p { margin: 0; color: inherit; }
.phone-msg--bot {
  background: rgba(139,92,246,0.2);
  border: 1px solid rgba(139,92,246,0.25);
  color: rgba(255,255,255,0.9);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.phone-msg--user {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.phone-msg:nth-child(1) { animation-delay: 0.3s; }
.phone-msg:nth-child(2) { animation-delay: 0.6s; }
.phone-msg:nth-child(3) { animation-delay: 0.9s; }
.phone-msg:nth-child(4) { animation-delay: 1.2s; }
.phone-msg:nth-child(5) { animation-delay: 1.5s; }
@keyframes msgFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.phone-msg--typing {
  display: flex;
  gap: 4px;
  padding: 10px 16px;
  align-self: flex-start;
}
.phone-msg--typing span {
  width: 6px;
  height: 6px;
  background: rgba(139,92,246,0.6);
  border-radius: 50%;
  animation: typingDot 1.2s ease-in-out infinite;
}
.phone-msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.phone-msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.hero-text { padding-top: 0; display: flex; flex-direction: column; }
.hero-text h1 { font-size: 42px; margin-bottom: var(--space-sm); position: relative; z-index: 2; }
.hero-text p { font-size: 16px; color: var(--text); margin-bottom: var(--space-sm); line-height: 1.65; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--space-sm); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  backdrop-filter: blur(8px);
}

/* === HERO VIDEO === */
.hero-video {
  position: relative;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
}
.hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* === HERO FORM === */
.hero-form {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  align-self: start;
}
.hero-form::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 50%, var(--border));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-form h3 { text-align: center; margin-bottom: var(--space-md); font-size: 22px; }
.form-group { margin-bottom: var(--space-sm); }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--space-xs);
}
.form-group label.required::after { content: ' *'; color: var(--accent); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(36, 22, 49, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-heading);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--glow-accent);
}
.form-group input.error,
.form-group textarea.error { border-color: #ef4444; }
.hero-form .btn-primary { width: 100%; padding: 18px; font-size: 16px; margin-top: var(--space-xs); }
.hero-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

/* === NUMBERS === */
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); text-align: center; }
.number-card { padding: var(--space-lg) var(--space-sm); }
.number-value {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.number-label { font-size: 15px; color: var(--text-muted); margin-top: var(--space-xs); }

/* === STEPS === */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); margin: var(--space-xl) 0; }
.steps-grid-5 { grid-template-columns: repeat(5, 1fr); gap: var(--space-md); }

/* Data list for numbers section */
.data-list {
  max-width: 720px;
  margin: 40px auto 0;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.data-list li {
  font-size: 15px;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}
.data-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.step-card { text-align: center; }
.step-icon-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.15);
}
.step-icon {
  width: 38px;
  height: 38px;
  color: var(--accent);
  stroke: url(#stepIconGradient) currentColor;
}
.step-icon-wrap .step-number {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 28px;
  height: 28px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.4);
}
.section-light .step-icon-wrap {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.2);
}
.step-number {
  width: 64px;
  height: 64px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto var(--space-sm);
  box-shadow: 0 0 24px var(--glow-accent);
}

/* Number cards icons */
.number-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin: 0 auto var(--space-sm);
  display: block;
}
.section-light .number-icon { color: var(--accent-dark); }

/* Popup icon */
.popup-icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  margin: 0 auto var(--space-md);
  display: block;
}
.step-card h3 { margin-bottom: var(--space-xs); }
.step-card p { font-size: 15px; color: var(--text); }
.integrations { display: flex; gap: var(--space-sm); justify-content: center; margin-top: var(--space-md); flex-wrap: wrap; }
.integration-badge {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-width: 140px;
}
.integration-logo { height: 36px; width: auto; max-width: 140px; display: block; object-fit: contain; }
.section-light .integration-logo { filter: none; }
.section-light .client-logo-img { filter: none; }
.team-link { color: inherit; text-decoration: none; }
.team-link:hover { color: var(--accent);
}
.cta-center { text-align: center; margin-top: var(--space-xl); }

/* === SOCIAL PROOF === */
.logo-carousel {
  overflow: hidden;
  position: relative;
  margin-bottom: var(--space-2xl);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.logo-carousel-track {
  display: flex;
  gap: var(--space-xl);
  width: max-content;
  animation: carousel-scroll 30s linear infinite;
}
.logo-carousel:hover .logo-carousel-track {
  animation-play-state: paused;
}
@keyframes carousel-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-logo {
  width: 260px;
  height: 100px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  flex-shrink: 0;
  padding: 12px 24px;
}
.client-logo-img { height: 64px; width: auto; max-width: 200px; object-fit: contain; }

/* === PARCEIROS === */
.partners-block { margin-top: var(--space-2xl); margin-bottom: var(--space-2xl); }
.partners-title { margin-bottom: var(--space-lg); }
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
}
.partner-card { width: 240px; height: 110px; }
.partner-card .client-logo-img { height: 70px; max-width: 190px; }

/* === TESTIMONIALS HEADER === */
.testimonials-header { margin-top: var(--space-2xl); margin-bottom: var(--space-xl); }
.testimonials-header h3 { margin-bottom: var(--space-sm); }
.testimonials-header .subtitle { max-width: 640px; margin: 0 auto; color: var(--text-on-light-secondary); font-size: 18px; }

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}
.testimonials-grid > * {
  flex: 1 1 calc(50% - var(--space-lg));
  max-width: calc(50% - var(--space-lg) / 2);
  min-width: 280px;
}
.testimonial-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: 12px;
  font-family: Georgia, serif;
  font-size: 180px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  pointer-events: none;
}
.section-light .testimonial-card::before { opacity: 0.08; }
.testimonial-text, .testimonial-author { position: relative; z-index: 1; }
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.testimonial-text {
  font-size: 15px;
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-photo {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 700;
  font-size: 16px;
}
.author-name { font-size: 14px; font-weight: 600; color: var(--text-heading); }
.author-role { font-size: 13px; color: var(--text-muted); }

/* === MEDIA === */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); margin: var(--space-xl) 0; }
.media-card {
  display: block;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.media-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.media-logo {
  width: 140px;
  height: 64px;
  background: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.media-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.media-card h3 { font-size: 18px; margin-bottom: var(--space-xs); }
.media-card .date { font-size: 13px; color: var(--text-muted); }

/* === TEAM === */
.about-text { max-width: 720px; margin-bottom: var(--space-xl); }
.about-text p { font-size: 17px; line-height: 1.7; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.team-card { text-align: center; }
.team-photo {
  width: 120px;
  height: 120px;
  background: var(--gradient);
  border-radius: 50%;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
  font-size: 28px;
}
.team-photo-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-sm);
  border: 3px solid var(--accent);
  box-shadow: 0 0 20px var(--glow-accent);
  font-family: var(--font-heading);
  box-shadow: 0 0 24px var(--glow-accent);
}
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { font-size: 14px; color: var(--accent); margin-bottom: var(--space-xs); }
.team-card p { font-size: 13px; color: var(--text-muted); }

/* === CTA FINAL === */
.section-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* === SECTION BACKGROUNDS WITH OVERLAYS === */
.section-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.section-bg > .max-w { position: relative; z-index: 2; }

/* Hero neural network canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Hero abstract background */
.hero-abstract {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb--1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -15%;
  left: -5%;
  animation-delay: 0s;
}
.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: var(--accent-dark);
  top: 40%;
  left: 25%;
  animation-delay: -4s;
}
.hero-orb--3 {
  width: 350px;
  height: 350px;
  background: #6366f1;
  top: 10%;
  right: -5%;
  animation-delay: -8s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}
.hero-text, .hero-form { position: relative; z-index: 2; }

/* Grid pattern for light sections */
.grid-pattern-light {
  position: absolute;
  inset: 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: 80px 80px;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 0;
}
.section-light > .max-w,
.section-light > .testimonials-grid,
.section-light > h2,
.section-light > p { position: relative; z-index: 1; }

/* Numbers bg: AI chip — visible through overlay */
.numbers-bg {
  background-image: url('../assets/images/hero-ai.jpg');
  background-position: center 40%;
}
.numbers-bg::after {
  background: linear-gradient(180deg, rgba(36,22,49,0.75), rgba(46,18,69,0.80));
}

/* Testimonials bg: team celebrating */
.testimonials-bg {
  background-image: url('../assets/images/meeting-bg.jpg');
  background-position: center top;
}
.testimonials-bg::after {
  background: linear-gradient(180deg, rgba(36,22,49,0.72), rgba(49,35,62,0.78));
}

/* About bg: modern office */
.about-bg {
  background-image: url('../assets/images/office-bg.jpg');
  background-position: center;
}
.about-bg::after {
  background: linear-gradient(180deg, rgba(36,22,49,0.70), rgba(49,35,62,0.75));
}
.form-final { max-width: 560px; margin: 0 auto; position: relative; z-index: 1; }
.form-final h2 { margin-bottom: var(--space-sm); }
.form-final > p { color: var(--text); margin-bottom: var(--space-lg); font-size: 17px; }
.form-final .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.form-final .btn-primary { width: 100%; margin-top: var(--space-sm); }
.section-light .form-final > p { color: var(--text-on-light-secondary); }
.section-light .form-final .form-group input,
.section-light .form-final .form-group textarea {
  background: #fff;
  border-color: var(--border-on-light);
  color: var(--text-on-light);
}
.section-light .form-final .form-group input::placeholder,
.section-light .form-final .form-group textarea::placeholder {
  color: var(--text-on-light-secondary);
}

/* === FOOTER === */
.footer { padding: var(--space-2xl) max(24px, calc((100% - 1200px) / 2)) var(--space-lg); border-top: 1px solid var(--border-light); position: relative; z-index: 1; overflow: hidden; }
.footer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.footer-grid, .footer-bottom { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.footer-brand .logo { font-size: 20px; }
.starmind-text { font-size: 16px; font-weight: 600; color: var(--text-heading); letter-spacing: -0.01em; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: var(--space-sm); }
.footer h4 { font-size: 14px; font-weight: 600; color: var(--text-heading); margin-bottom: var(--space-sm); }
.footer a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-xs); transition: color 0.2s; }
.footer a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.social-links { display: flex; gap: var(--space-sm); align-items: center; }
.social-links .social-icon {
  width: 40px;
  height: 40px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 14px;
  transition: all 0.3s;
  margin-bottom: 0;
}
.social-links .social-icon:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--glow-accent);
}
.social-links .social-icon svg { width: 20px; height: 20px; fill: currentColor; display: block; }

/* === POPUP === */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.popup-overlay.active { display: flex; }
.popup-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.popup-modal h2 { font-size: 24px; margin-bottom: var(--space-sm); }
.popup-modal p { color: var(--text); margin-bottom: var(--space-md); font-size: 14px; }
.popup-modal .form-group { margin-bottom: var(--space-sm); }
.popup-modal .form-group input { text-align: center; }
.popup-modal .btn-primary { width: 100%; }
.popup-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: var(--space-md) 0;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.popup-divider::before,
.popup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.popup-chat-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-decoration: none;
}
.popup-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: var(--space-sm);
  cursor: pointer;
  transition: color 0.2s;
}
.popup-close:hover { color: var(--text); }

/* ============================================================
   NEW SECTIONS — Provocação, Features, CORE10, Setores, Portal
   ============================================================ */

/* Common: tag/badge styling */
.section-tag, .provocation-tag, .core10-tag, .portal-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.section-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-2xl);
}
.section-intro h2 { margin-bottom: var(--space-md); }
.section-intro p { font-size: 17px; color: var(--text); line-height: 1.7; }

/* === PROVOCAÇÃO === */
.provocation-section {
  /* uses section-light background */
}
.provocation-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto var(--space-2xl);
}
.provocation-header h2 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}
.provocation-header p {
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
}
.shock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}
.shock-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.section-light .shock-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--border-on-light);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.section-light .shock-text { color: var(--text-on-light); }
.section-light .shock-source { color: var(--text-on-light-secondary); border-top-color: rgba(0,0,0,0.08); }
.section-light .provocation-quote {
  background: rgba(139, 92, 246, 0.06);
}
.section-light .provocation-quote p { color: var(--text-on-light); }
.section-light .provocation-call { color: var(--text-on-light); }
.section-light .provocation-header h2 { color: var(--text-on-light); }
.section-light .provocation-header p { color: var(--text-on-light-secondary); }
.shock-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.shock-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}
.shock-number {
  font-family: var(--font-heading);
  font-size: 84px;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}
.shock-number span { font-size: 48px; vertical-align: top; }
.shock-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}
.shock-source {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-light);
}
.provocation-quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-xl);
  background: rgba(139, 92, 246, 0.05);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
}
.provocation-quote p { font-size: 17px; line-height: 1.7; margin-bottom: var(--space-sm); }
.provocation-call {
  font-size: 22px !important;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0 !important;
}
.provocation-call em { color: var(--accent); font-style: normal; }

/* === FEATURES (10 cards) === */
.features-section {
  /* uses default dark background */
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
.feature-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}
.feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-md);
  color: var(--accent);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 17px; margin-bottom: var(--space-xs); }
.feature-card p { font-size: 14px; color: var(--text); line-height: 1.6; margin: 0; }

/* === CORE10 === */
.core10-section {
  /* uses section-light background */
}
.core10-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  color: var(--accent);
}
.core10-deco-dna {
  left: 2%;
  top: 12%;
  width: 70px;
  height: 280px;
  opacity: 0.18;
}
.core10-deco-wave {
  right: 4%;
  top: 8%;
  width: 180px;
  height: 70px;
  opacity: 0.22;
}
.core10-deco-hex {
  right: 1%;
  bottom: 8%;
  width: 200px;
  height: 200px;
  opacity: 0.1;
}
@media (max-width: 1023px) {
  .core10-deco-dna, .core10-deco-hex { display: none; }
  .core10-deco-wave { width: 120px; height: 50px; opacity: 0.15; }
}
.core10-archetypes-visual { position: relative; }
.archetype-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.archetype-orb { position: relative; z-index: 1; }
.core10-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}
.core10-header h2 {
  font-size: 96px;
  line-height: 1;
  margin-bottom: var(--space-sm);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.core10-header h2 sup { font-size: 28px; vertical-align: super; color: var(--accent); }
.core10-subtitle {
  font-size: 22px;
  color: var(--text-heading);
  font-weight: 600;
  margin-bottom: var(--space-md);
}
.core10-description {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}
.core10-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}
.core10-pillar {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.section-light .core10-pillar {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border-on-light);
}
.section-light .core10-pillar h3 { color: var(--text-on-light); }
.section-light .core10-pillar p { color: var(--text-on-light-secondary); }
.section-light .core10-archetypes {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border-on-light);
}
.section-light .core10-archetypes-text h3 { color: var(--text-on-light); }
.section-light .core10-archetypes-text p { color: var(--text-on-light-secondary); }
.section-light .core10-subtitle { color: var(--text-on-light); }
.section-light .core10-description { color: var(--text-on-light-secondary); }
.core10-pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(139, 92, 246, 0.1), transparent 60%);
  pointer-events: none;
}
.core10-pillar > * { position: relative; }
.core10-pillar-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.35);
}
.core10-pillar-icon svg { width: 32px; height: 32px; }
.core10-pillar h3 { font-size: 18px; margin-bottom: var(--space-sm); }
.core10-pillar p { font-size: 15px; color: var(--text); line-height: 1.6; }

.core10-archetypes {
  display: block;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(8px);
  text-align: center;
}
.core10-archetypes-text { max-width: 720px; margin: 0 auto; }
.core10-archetypes-text h3 { font-size: 28px; margin-bottom: var(--space-md); }
.core10-archetypes-text p { font-size: 16px; line-height: 1.7; color: var(--text); }
.core10-archetypes-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.archetype-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: var(--space-md) 8px;
  background: var(--gradient);
  border-radius: var(--radius-md);
  color: #fff;
  text-align: center;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: archetypeFloat 4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.18s);
}
.archetype-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.45);
}
.archetype-card svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.archetype-card span {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
@keyframes archetypeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.archetype-card:hover { animation-play-state: paused; }

/* === SETORES === */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}
.sector-card {
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.sector-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}
.sector-card h3 { color: var(--text-heading); }
.section-light .sector-card {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--border-on-light);
}
.section-light .sector-card:hover { background: #fff; }
.section-light .sector-card h3 { color: var(--text-on-light); }
.sector-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  color: var(--accent);
}
.sector-icon svg { width: 28px; height: 28px; }
.sector-card h3 { font-size: 14px; margin: 0; line-height: 1.3; color: var(--text-heading); }
.section-light .sector-icon { color: var(--accent-dark); }
.section-light .sector-card h3 { color: var(--text-on-light); }

/* === PORTAL DE VAGAS === */
.portal-section {
  /* uses section-light background */
}
.section-light .portal-banner {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
  border-color: rgba(139, 92, 246, 0.25);
}
.section-light .portal-content h2,
.section-light .portal-content > p { color: var(--text-on-light); }
.section-light .portal-perks li { color: var(--text-on-light); }
.portal-banner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.portal-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
  pointer-events: none;
}
.portal-content { position: relative; }
.portal-content h2 { font-size: 36px; line-height: 1.2; margin-bottom: var(--space-md); }
.portal-content > p { font-size: 16px; line-height: 1.7; margin-bottom: var(--space-md); }
.portal-perks { list-style: none; padding: 0; margin: 0 0 var(--space-lg) 0; }
.portal-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
}
.portal-perks svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.portal-content .btn-primary { gap: 10px; }

.portal-visual { position: relative; }
.portal-mockup {
  background: #1a1035;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.2);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}
.portal-mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.portal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.portal-mockup-url {
  margin-left: auto;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-family: monospace;
}
.portal-mockup-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.portal-job {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  transition: all 0.3s ease;
}
.portal-job:hover {
  background: rgba(139, 92, 246, 0.18);
  transform: translateX(4px);
}
.portal-job-title {
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  margin-bottom: 2px;
}
.portal-job-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}
.portal-job-action {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

/* === RESPONSIVE for new sections === */
@media (max-width: 1023px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  .core10-pillars { grid-template-columns: 1fr; }
  .core10-archetypes { grid-template-columns: 1fr; padding: var(--space-lg); }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .portal-banner { grid-template-columns: 1fr; padding: var(--space-lg); }
  .core10-header h2 { font-size: 64px; }
}
@media (max-width: 767px) {
  .shock-grid { grid-template-columns: 1fr; }
  .provocation-header h2 { font-size: 32px; }
  .shock-number { font-size: 64px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-card { flex-direction: column; gap: 12px; padding: 16px; }
  .feature-card h3 { font-size: 14px; line-height: 1.3; }
  .feature-card p { font-size: 12px; line-height: 1.5; }
  .feature-icon { width: 40px; height: 40px; }
  .feature-icon svg { width: 22px; height: 22px; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-content h2 { font-size: 26px; }
  .core10-header h2 { font-size: 48px; }
}

/* === ANIMATIONS === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  background: var(--accent);
  color: #000;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  z-index: 300;
  font-weight: 600;
}
.skip-link:focus { top: var(--space-xs); }

/* === RESPONSIVE === */
@media (max-width: 1439px) {
  .section { padding: var(--space-3xl) 32px; }
  .header { padding: 16px 32px; }
  .hero { padding: 64px 32px var(--space-3xl); }
  .steps-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer { padding: var(--space-2xl) 32px var(--space-lg); }
}

@media (max-width: 1023px) {
  .hero { grid-template-columns: 1fr; gap: var(--space-lg); min-height: auto; }
  .hero-text { padding-top: 0; }
  .phone-mockup { margin-bottom: -80px; }
  .phone-frame { width: 220px; height: 400px; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .steps-grid-5 { grid-template-columns: 1fr; }
  .data-list { grid-template-columns: 1fr; }
  .testimonials-grid > * { flex: 1 1 100%; max-width: 100%; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-md); }
}

@media (max-width: 767px) {
  .section { padding: var(--space-xl) 16px; }
  .header { padding: 12px 16px; }
  .hero { padding: var(--space-lg) 16px var(--space-xl); }
  .footer { padding: var(--space-xl) 16px var(--space-sm); }
  .nav { display: none; }
  .header:has(.nav.active) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #1a1025 !important;
    z-index: 10000 !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: none !important;
    box-shadow: none !important;
  }
  .nav.active {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #1a1025 !important;
    background-color: #1a1025 !important;
    padding: 88px var(--space-lg) var(--space-lg);
    gap: var(--space-md);
    z-index: 9999;
    align-items: flex-start;
    overflow-y: auto;
  }
  .hamburger { position: relative; z-index: 10001; }
  .nav.active a { font-size: 18px; }
  .hamburger { display: block; }
  .header-cta { display: none; }
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  .number-value { font-size: 40px; }
  .numbers-grid { gap: var(--space-sm); }
  .media-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  .form-final .form-row, .hero-form .form-row { grid-template-columns: 1fr; }
  .client-logo { width: 180px; height: 76px; font-size: 10px; padding: 8px 16px; }
  .client-logo-img { height: 48px; max-width: 150px; }
  .logo-carousel-track { animation-duration: 25s; }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
  .btn-primary, .btn-secondary { padding: 14px 24px; font-size: 15px; }
}

@media (max-width: 374px) {
  h1 { font-size: 28px; }
  .hero-form { padding: var(--space-md); }
}

/* === FLOATING DECORATIONS === */
.float-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.float-el {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
  will-change: transform;
}
.float-el svg {
  width: 100%;
  height: 100%;
}
@media (max-width: 1023px) { .float-layer { display: none; } }

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .animate-on-scroll { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
