@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* ===== CSS Variables ===== */
:root {
  --primary: #7B10D0;
  --primary-light: #9333EA;
  --primary-fg: #ffffff;
  --accent: #ED147B;
  --accent-fg: #ffffff;
  --data: #67CBFE;
  --data-fg: #110229;
  --authority: #110229;
  --authority-fg: #EDEBF0;
  --authority-light: #1a0640;
  --background: #0D011E;
  --foreground: #EDEBF0;
  --card: #170433;
  --card-fg: #EDEBF0;
  --muted: #231050;
  --muted-fg: #94A3B8;
  --border: #2a1460;
  --destructive: #EF4444;
  --white: #ffffff;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0F172A;
  --radius: 0.5rem;
  --font-sans: 'Roboto', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }

/* ===== Container ===== */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(17, 2, 41, 0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(237, 235, 240, 0.1);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
@media (min-width: 768px) { .header .container { height: 80px; } }
.header-logo img { height: 32px; width: auto; }
.header-logo span { font-size: 1.5rem; font-weight: 600; color: var(--authority-fg); }
.header-nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 768px) { .header-nav { display: flex; } }
.header-nav a, .header-nav button {
  padding: 8px 16px; font-size: 0.875rem; font-weight: 500;
  color: rgba(237, 235, 240, 0.7); transition: color 0.2s; background: none; border: none;
}
.header-nav a:hover, .header-nav button:hover { color: var(--authority-fg); }
.header-cta { display: none; align-items: center; gap: 12px; }
@media (min-width: 768px) { .header-cta { display: flex; } }
.header-cta a { padding: 8px 16px; font-size: 0.875rem; font-weight: 500; color: rgba(237, 235, 240, 0.7); }
.header-cta a:hover { color: var(--authority-fg); }

/* Mobile menu */
.mobile-toggle { display: block; padding: 8px; border-radius: 8px; color: var(--authority-fg); background: none; border: none; }
@media (min-width: 768px) { .mobile-toggle { display: none; } }
.mobile-toggle svg { width: 24px; height: 24px; }
.mobile-menu { display: none; padding: 16px 0; border-top: 1px solid rgba(237, 235, 240, 0.1); }
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block; padding: 12px 16px; font-size: 0.875rem; font-weight: 500;
  color: rgba(237, 235, 240, 0.7); border-radius: 8px; transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--authority-fg); background: rgba(237, 235, 240, 0.05); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; margin-top: 4px;
  background: rgba(17, 2, 41, 0.95); backdrop-filter: blur(12px);
  border: 1px solid rgba(237, 235, 240, 0.1); border-radius: 8px;
  min-width: 280px; padding: 8px 0; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.dropdown:hover .dropdown-menu, .dropdown.active .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 8px 16px; font-size: 0.875rem; font-weight: 500;
  color: rgba(237, 235, 240, 0.7); transition: all 0.2s;
}
.dropdown-menu a:hover { color: var(--authority-fg); background: rgba(237, 235, 240, 0.05); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius); font-weight: 500; font-size: 0.875rem;
  border: none; transition: all 0.2s; white-space: nowrap;
}
.btn-momentum {
  background: var(--accent); color: var(--accent-fg);
  box-shadow: 0 0 20px rgba(237, 20, 123, 0.3);
}
.btn-momentum:hover { filter: brightness(1.1); box-shadow: 0 0 30px rgba(237, 20, 123, 0.4); }
.btn-outline {
  background: transparent; color: var(--authority-fg);
  border: 1px solid rgba(237, 235, 240, 0.2);
}
.btn-outline:hover { border-color: rgba(237, 235, 240, 0.4); }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-xl { padding: 20px 40px; font-size: 1.125rem; min-height: 56px; }
.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--muted-fg); border: none; }
.btn-ghost:hover { color: var(--authority-fg); }

/* ===== Sections ===== */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-dark { background: var(--authority); }
.section-card { background: var(--card); }
.section-bg { background: var(--background); }

.section-muted { background: rgba(35, 16, 80, 0.2); }
.section-white { background: var(--white); color: var(--slate-900); }
.section-slate { background: var(--slate-50); color: var(--slate-900); }

/* ===== Grid ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-5 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }

/* ===== Service Tabs ===== */
.service-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.service-tab {
  display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 8px;
  font-weight: 500; font-size: 0.875rem; border: none; cursor: pointer; transition: all 0.2s;
}
.service-tab.active { background: var(--primary); color: var(--primary-fg); }
.service-tab:not(.active) { background: var(--muted); color: var(--muted-fg); }
.service-tab:not(.active):hover { color: var(--foreground); background: rgba(35, 16, 80, 0.8); }
.service-detail { display: none; }
.service-detail.active { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .service-detail.active { grid-template-columns: 1fr 1fr; } }
.service-highlights { display: flex; flex-wrap: wrap; gap: 12px; }
.service-highlight { padding: 8px 16px; background: rgba(103, 203, 254, 0.1); color: var(--data); border-radius: 8px; font-size: 0.875rem; font-weight: 500; }
.service-visual {
  background: linear-gradient(135deg, var(--muted), rgba(35, 16, 80, 0.5));
  border-radius: 16px; padding: 32px; border: 1px solid var(--border);
}
.service-visual-inner {
  aspect-ratio: 16/9; background: var(--card); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ===== Cards ===== */
.card {
  background: var(--card); border-radius: 12px; padding: 24px;
  border: 1px solid var(--border); box-shadow: 0 8px 30px -8px rgba(17, 2, 41, 0.2);
  transition: all 0.3s;
}
.card:hover { box-shadow: 0 20px 50px -15px rgba(17, 2, 41, 0.25); border-color: rgba(123, 16, 208, 0.3); }
.card-white { background: var(--white); color: var(--slate-900); border-color: var(--slate-200); }

/* ===== Icon Box ===== */
.icon-box {
  width: 40px; height: 40px; border-radius: 8px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-box-primary { background: rgba(123, 16, 208, 0.1); color: var(--primary); }
.icon-box-data { background: rgba(103, 203, 254, 0.1); color: var(--data); }
.icon-box-accent { background: rgba(237, 20, 123, 0.1); color: var(--accent); }
.icon-box-lg { width: 48px; height: 48px; }
.icon-box-xl { width: 64px; height: 64px; border-radius: 16px; }

/* ===== Badge ===== */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-size: 0.875rem; font-weight: 500;
}
.badge-primary { background: rgba(123, 16, 208, 0.1); color: var(--primary); border: 1px solid rgba(123, 16, 208, 0.2); }
.badge-data { background: rgba(103, 203, 254, 0.1); color: var(--data); }

/* ===== Tagline ===== */
.tagline { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.tagline-line { width: 32px; height: 1px; }
.tagline-line-primary { background: var(--primary); }
.tagline-line-data { background: var(--data); }
.tagline span { font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.tagline-primary span { color: var(--primary); }
.tagline-data span { color: var(--data); }

/* ===== Typography ===== */
.text-primary { color: var(--primary); margin-right: 12px; }
.text-data { color: var(--data); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-fg); }
.text-foreground { color: var(--foreground); }
.text-authority-fg { color: var(--authority-fg); }
.text-slate-900 { color: var(--slate-900); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-700 { color: var(--slate-700); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.italic { font-style: italic; }
.line-through { text-decoration: line-through; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-xs { max-width: 20rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== Spacing ===== */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* ===== Flex ===== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }

/* ===== Misc ===== */
.rounded-xl { border-radius: 12px; }
.rounded-lg { border-radius: 8px; }
.rounded-full { border-radius: 999px; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; padding-top: 80px; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(var(--authority-fg) 1px, transparent 1px),
    linear-gradient(90deg, var(--authority-fg) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-gradient { position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: linear-gradient(to left, rgba(123, 16, 208, 0.05), transparent); }
.hero-content { position: relative; z-index: 10; padding: 80px 0; }
@media (min-width: 768px) { .hero-content { padding: 80px 0; } }
.hero h1 { font-size: 2.25rem; line-height: 1.1; margin-bottom: 2rem; }
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero h1 { font-size: 4.5rem; } }

/* ===== Stats ===== */
.stat-card {
  background: rgba(237, 235, 240, 0.05); border: 1px solid rgba(237, 235, 240, 0.1);
  border-radius: 12px; padding: 24px; transition: all 0.3s;
}
.stat-card:hover { border-color: rgba(123, 16, 208, 0.3); }
.stat-value { font-size: 2.25rem; font-weight: 600; color: var(--authority-fg); }
@media (min-width: 768px) { .stat-value { font-size: 3rem; } }

/* ===== Footer ===== */
.footer {
  background: var(--authority); border-top: 1px solid rgba(237, 235, 240, 0.1); padding: 64px 0;
}
.footer h4 { font-weight: 600; font-size: 0.875rem; color: var(--authority-fg); margin-bottom: 16px; }
.footer a { font-size: 0.875rem; color: rgba(237, 235, 240, 0.6); transition: color 0.2s; }
.footer a:hover { color: var(--primary); }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { grid-column: span 2; }
@media (min-width: 768px) { .footer-brand { grid-column: span 1; } }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(237, 235, 240, 0.1); margin-top: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { color: rgba(237, 235, 240, 0.4); font-size: 0.875rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(237, 235, 240, 0.2);
  display: flex; align-items: center; justify-content: center; color: rgba(237, 235, 240, 0.6);
  transition: all 0.2s;
}
.social-link:hover { color: var(--primary); border-color: var(--primary); }

/* ===== Accordion ===== */
.accordion-item {
  background: var(--background); border-radius: 12px;
  border: 2px solid var(--border); margin-bottom: 16px;
}
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; text-align: left; background: none; border: none;
  color: var(--foreground); font-weight: 600; font-size: 1rem; cursor: pointer;
}
.accordion-trigger svg { transition: transform 0.3s; flex-shrink: 0; width: 20px; height: 20px; color: var(--muted-fg); }
.accordion-item.active .accordion-trigger svg { transform: rotate(180deg); }
.accordion-content {
  display: none; padding: 0 24px 16px; color: var(--muted-fg); line-height: 1.625;
}
.accordion-item.active .accordion-content { display: block; }

/* ===== Form ===== */
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 8px; }
.form-input {
  width: 100%; padding: 12px 16px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--background);
  color: var(--foreground); font-size: 1rem; font-family: var(--font-sans);
  transition: all 0.2s;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(123, 16, 208, 0.2); }
.form-input-white { background: var(--white); color: var(--slate-900); border-color: var(--slate-300); }
.form-input-white:focus { border-color: var(--primary); }
textarea.form-input { resize: none; min-height: 120px; }

/* ===== Tabs ===== */
.tabs-list {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 4px;
  background: rgba(13, 1, 30, 0.6); backdrop-filter: blur(4px);
  border: 1px solid var(--border); border-radius: 8px;
}
.tab-trigger {
  padding: 8px 16px; font-size: 0.875rem; font-weight: 500;
  color: var(--muted-fg); background: none; border: none; border-radius: 6px;
  transition: all 0.2s; cursor: pointer;
}
.tab-trigger.active { background: var(--primary); color: var(--primary-fg); }
.tab-trigger:hover:not(.active) { color: var(--foreground); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== White page overrides ===== */
.page-white { background: var(--white); color: var(--slate-900); }
.page-white .hero-grid {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.071) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.071) 1px, transparent 1px);
  background-size: 60px 60px; opacity: 1;
}

/* ===== Animations ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-slide-up { animation: slideUp 0.6s ease-out forwards; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

/* ===== Responsive text ===== */
@media (min-width: 768px) {
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-xl { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:text-5xl { font-size: 3rem; }
}

/* ===== SVG Icons (inline) ===== */
.icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 28px; height: 28px; }
.hidden-mobile { display: inline; }
@media (max-width: 640px) { .hidden-mobile { display: none; } }

/* ===== Tabs ===== */
.tabs-list { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.5rem; }
.tab-trigger { padding: 0.5rem 1.25rem; border-radius: 0.5rem; border: 1px solid var(--border); background: transparent; color: var(--muted-fg); cursor: pointer; font-size: 0.875rem; transition: all 0.2s; }
.tab-trigger:hover { border-color: var(--primary); color: var(--foreground); }
.tab-trigger.active { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== Niche Form ===== */
.niche-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--foreground); }
.form-group input, .form-group textarea, .form-group select {
  padding: 0.75rem 1rem; border-radius: 0.5rem; border: 1px solid var(--border);
  background: var(--background); color: var(--foreground); font-size: 1rem; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); }

/* ===== Badge ===== */
.badge { display: inline-block; padding: 0.375rem 1rem; border-radius: 9999px; background: rgba(123,16,208,0.15); border: 1px solid rgba(123,16,208,0.3); color: var(--primary-light); font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.badge-line { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.badge-line .line { width: 2rem; height: 1px; background: var(--primary); }
.badge-line .badge-text { font-size: 0.8rem; font-weight: 500; color: var(--primary-light); letter-spacing: 0.05em; text-transform: uppercase; }

/* ===== Stats Row ===== */
.stats-row { display: flex; gap: 2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--foreground); }
.stat-label { font-size: 0.8rem; color: var(--muted-fg); }

/* ===== Grid 4 columns ===== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 768px) { .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* ===== Blockquote ===== */
blockquote { margin: 0; }
blockquote footer { font-size: 0.875rem; color: var(--muted-fg); }

/* ===== Mobile Menu Button ===== */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--foreground); transition: 0.3s; }
@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .nav-desktop { display: none; }
  .nav-mobile { display: none; flex-direction: column; padding: 1rem; background: var(--card); border-top: 1px solid var(--border); }
  .nav-mobile.active { display: flex; }
}



/* ===== Article ===== */
.article-hero-grid { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.article-header-spacer { height: 64px; }
@media (min-width: 768px) { .article-header-spacer { height: 80px; } }

body:not(.single-post) .article-cat-nav {
  position: sticky; top: 64px; z-index: 40;
  background: rgba(13, 1, 30, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 20, 96, 0.6);
}
@media (min-width: 768px) { body:not(.single-post) .article-cat-nav { top: 80px; } }
body:not(.single-post) .article-cat-nav .container {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 16px 1rem;
}
body:not(.single-post) .article-cat-nav .cat-link {
  font-size: 0.875rem; font-weight: 500;
  color: rgba(237, 235, 240, 0.6);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s;
}
body:not(.single-post) .article-cat-nav .cat-link:hover {
  color: var(--authority-fg);
  border-color: rgba(237, 235, 240, 0.2);
  background: rgba(237, 235, 240, 0.05);
}
body:not(.single-post) .article-cat-nav .cat-link.active {
  color: var(--primary-fg);
  background: var(--primary);
  border-color: var(--primary);
}

body.single-post .article-cat-nav--single {
  position: sticky; top: 64px; z-index: 40;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
}
@media (min-width: 768px) { body.single-post .article-cat-nav--single { top: 80px; } }
body.single-post .article-cat-nav--single .container {
  display: flex; align-items: center; gap: 4px; overflow-x: auto;
  padding: 12px 0;
}
@media (min-width: 768px) { body.single-post .article-cat-nav--single .container { padding: 16px 0; } }
body.single-post .article-cat-nav--single .cat-link {
  padding: 8px 16px; font-size: 0.875rem; font-weight: 500; white-space: nowrap;
  transition: color 0.2s; color: var(--slate-600); border: none; background: none;
}
body.single-post .article-cat-nav--single .cat-link:hover { color: var(--slate-900); }
body.single-post .article-cat-nav--single .cat-link.active { color: var(--primary); border-bottom: 2px solid var(--primary); }

.article-main { position: relative; z-index: 10; }
.article-container { max-width: 56rem; margin: 0 auto; }

.article-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--muted), rgba(35, 16, 80, 0.5));
  margin: 32px 0 40px;
}
.article-banner.no-image .banner-placeholder { min-height: 320px; }
.banner-image { width: 100%; height: auto; display: block; }
.banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17, 2, 41, 0.85), rgba(17, 2, 41, 0.25), rgba(17, 2, 41, 0.05));
}
.banner-content {
  position: absolute; inset: auto 0 0 0;
  padding: 32px; color: var(--authority-fg);
}
@media (min-width: 768px) { .banner-content { padding: 40px; } }
.banner-category {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: rgba(237, 235, 240, 0.8);
  background: rgba(237, 235, 240, 0.12);
  border: 1px solid rgba(237, 235, 240, 0.2);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.banner-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600; line-height: 1.1; margin-bottom: 16px;
}
.banner-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.875rem; color: rgba(237, 235, 240, 0.75); }
.banner-meta .meta-item { display: inline-flex; align-items: center; gap: 8px; }

.article-body { margin-bottom: 48px; }
.article-body p { margin-bottom: 1.25rem; color: var(--muted-fg); font-size: 1.125rem; line-height: 1.7; }
.article-body h2 { margin: 2.5rem 0 1rem; font-size: 1.75rem; color: var(--foreground); }
/*.article-body h3 { margin: 2rem 0 0.75rem; font-size: 1.375rem; color: var(--foreground); }*/
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--muted-fg); }
.article-body li { margin-bottom: 0.5rem; }
.article-body a { color: var(--data); text-decoration: underline; }
.article-body table { width: 100%; border-collapse: collapse; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 10px 12px; }

.author-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; border-radius: 12px;
  background: rgba(17, 2, 41, 0.6);
  border: 1px solid rgba(237, 235, 240, 0.1);
}
.author-avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(123, 16, 208, 0.35);
}
.author-avatar-fallback {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(123, 16, 208, 0.2); color: var(--authority-fg);
  font-weight: 600; font-size: 1.125rem;
}
.author-name { font-size: 1rem; font-weight: 600; color: var(--authority-fg); margin-bottom: 4px; }
.author-role { font-size: 0.875rem; color: var(--muted-fg); }

body.single-post {
  background: #ffffff;
  color: #0F172A;
}
body.single-post .hero-grid {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.071) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.071) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 1;
}
/* ===== Single Post Overrides ===== */
body.single-post .article-banner {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  background: #E2E8F0;
  margin: 32px 0 40px;
}
body.single-post .article-banner.no-image.card-bg-primary { background: #7B10D0; }
body.single-post .article-banner.no-image.card-bg-data { background: #67CBFE; }
body.single-post .article-banner.no-image.card-bg-accent { background: #ED147B; }
body.single-post .article-banner.no-image .banner-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
}
body.single-post .article-banner.no-image .banner-overlay {
  background: linear-gradient(to top, rgba(17, 2, 41, 0.72), rgba(17, 2, 41, 0.32), rgba(17, 2, 41, 0.1));
}
@media (min-width: 768px) { body.single-post .article-banner { height: 400px; } }
@media (min-width: 1024px) { body.single-post .article-banner { height: 500px; } }
body.single-post .article-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.single-post .banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2), transparent);
}
body.single-post .banner-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 32px;
  color: #fff;
}
body.single-post .banner-category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
body.single-post .banner-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
@media (min-width: 768px) { body.single-post .banner-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { body.single-post .banner-title { font-size: 3rem; } }
body.single-post .banner-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}
body.single-post .banner-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.single-post .article-body {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  padding: 24px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
@media (min-width: 768px) { body.single-post .article-body { padding: 32px 48px; } }
@media (min-width: 1024px) { body.single-post .article-body { padding: 48px; } }
body.single-post .article-body p {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: #333;
  margin-bottom: 1.25rem;
}
body.single-post .article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 2rem 0 1rem;
}
body.single-post .author-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  padding: 24px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
@media (min-width: 768px) { body.single-post .author-card { gap: 24px; padding: 32px 48px; } }
body.single-post .author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #E2E8F0;
  object-fit: cover;
  flex-shrink: 0;
}
@media (min-width: 768px) { body.single-post .author-avatar { width: 80px; height: 80px; } }
body.single-post .author-avatar-fallback {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #E2E8F0;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate-600);
  flex-shrink: 0;
}
@media (min-width: 768px) { body.single-post .author-avatar-fallback { width: 80px; height: 80px; } }
body.single-post .author-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 4px;
}
@media (min-width: 768px) { body.single-post .author-name { font-size: 1.5rem; } }
body.single-post .author-role {
  font-size: 0.875rem;
  color: var(--slate-600);
}
@media (min-width: 768px) { body.single-post .author-role { font-size: 1rem; } }
/* ===== Single Post Layout Spacing ===== */
body.single-post .article-banner { margin: 0; }
body.single-post .article-body { margin: 0; }
body.single-post .author-card { margin: 0; }
body.single-post .article-banner-wrap { margin: 32px 0; }
@media (min-width: 768px) { body.single-post .article-banner-wrap { margin: 50px 0 32px; } }
body.single-post .article-body-wrap { margin-bottom: 48px; }
body.single-post .author-card-wrap { margin-bottom: 48px; }

/* ===== Brevo (Sendinblue) form styling ===== */
.occam-brevo-form form,
.occam-brevo-form .sib-form,
.occam-brevo-form .sib_signup_form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.occam-brevo-form p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--foreground);
  font-size: 0.875rem;
}
.occam-brevo-form label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}
.occam-brevo-form input[type="text"],
.occam-brevo-form input[type="email"],
.occam-brevo-form input[type="tel"],
.occam-brevo-form input[type="url"],
.occam-brevo-form input[type="number"],
.occam-brevo-form textarea,
.occam-brevo-form select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: all 0.2s;
}
.occam-brevo-form input[type="text"]:focus,
.occam-brevo-form input[type="email"]:focus,
.occam-brevo-form input[type="tel"]:focus,
.occam-brevo-form input[type="url"]:focus,
.occam-brevo-form input[type="number"]:focus,
.occam-brevo-form textarea:focus,
.occam-brevo-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(123, 16, 208, 0.2);
}
.occam-brevo-form textarea { resize: none; min-height: 120px; }
.occam-brevo-form .sib-default-btn,
.occam-brevo-form button,
.occam-brevo-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 0 20px rgba(237, 20, 123, 0.3);
  transition: all 0.2s;
  width: 100%;
  margin-top: 25px;
}
.occam-brevo-form .sib-default-btn:hover,
.occam-brevo-form button:hover,
.occam-brevo-form input[type="submit"]:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 30px rgba(237, 20, 123, 0.4);
}

/* ===== Brevo (Sendinblue) form styling - extended ===== */
.occam-brevo-form .sib-form,
.occam-brevo-form .sib-form-container,
.occam-brevo-form .sib_signup_form,
.occam-brevo-form form {
  width: 100%;
  margin: 0;
}
.occam-brevo-form .sib-form-block,
.occam-brevo-form .sib-form-block__button,
.occam-brevo-form .sib-form-block__button-with-loader {
  padding: 0 !important;
  margin: 0 0 24px;
}
.occam-brevo-form .sib-form-block:last-child,
.occam-brevo-form .sib-form-block__button:last-child,
.occam-brevo-form .sib-form-block__button-with-loader:last-child {
  margin-bottom: 0;
}
.occam-brevo-form .sib-form-block label,
.occam-brevo-form .sib-form-block .entry__label,
.occam-brevo-form .sib-form-block .sib-form-label,
.occam-brevo-form label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 8px;
  display: block;
}
.occam-brevo-form .sib-form-block .entry__field,
.occam-brevo-form .sib-form-block .sib-input,
.occam-brevo-form .sib-form-block input,
.occam-brevo-form .sib-form-block textarea,
.occam-brevo-form .sib-form-block select {
  width: 100%;
}
.occam-brevo-form .sib-form-message-panel,
.occam-brevo-form .sib-form-message-panel__text {
  border-radius: 8px;
  font-size: 0.875rem;
}
.occam-brevo-form .sib-form-message-panel__text {
  padding: 12px 16px;
}
.occam-brevo-form .sib-form-block__button button,
.occam-brevo-form .sib-form-block__button input[type="submit"] {
  width: 100% !important;
}

/* ===== Gestor Marketing Landing Palette (match PG_venda) ===== */
body.page-white {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 50%, #1a1a1a 100%);
}

body.page-white main {
  --primary: #ef476f;
  --primary-light: #f05f82;
  --primary-fg: #ffffff;
  --accent: #e0b031;
  --accent-fg: #111827;
  --data: #e0b031;
  --data-fg: #111827;
  --authority: #000000;
  --authority-fg: #eaeaea;
  --authority-light: #1a1a1a;
  --background: #000000;
  --foreground: #eaeaea;
  --card: #0f1012;
  --card-fg: #eaeaea;
  --muted: #1a1a1a;
  --muted-fg: #9ca3af;
  --border: #23262b;
  --slate-50: #f3f4f6;
  --slate-100: #e5e7eb;
  --slate-200: #d1d5db;
  --slate-300: #cbd5e1;
  --slate-600: #6a6a6a;
  --slate-700: #4b5563;
  --slate-900: #111827;
}

body.page-white main .btn-momentum {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(239, 71, 111, 0.35);
}

body.page-white main .btn-momentum:hover {
  box-shadow: 0 0 30px rgba(239, 71, 111, 0.5);
}

body.page-white main .btn-outline {
  color: var(--foreground);
  border-color: rgba(255, 255, 255, 0.2);
}

body.page-white main section[style*="background:white"],
body.page-white main section[style*="background: white"],
body.page-white main section[style*="background:#fff"] {
  color: var(--slate-900);
}

/* Client logos rotation */
.client-logos {
  gap: 32px;
  align-items: center;
  justify-items: center;
  justify-content: center;
}

.client-logos-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.client-logos-rotating-groups {
  position: relative;
  width: 100%;
  min-height: 120px;
}

.client-logos-rotating-groups .client-logos-group {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  height: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  animation-duration: var(--group-cycle, 8s);
  animation-iteration-count: infinite;
  animation-delay: calc(var(--group-index, 0) * var(--group-step, 4s));
  will-change: opacity, transform;
}

.client-logos-home .client-logos-group {
  animation-name: clientLogoGroupFade2;
}

.client-logos-tenho .client-logos-group {
  animation-name: clientLogoGroupFade3;
}

.client-logos-rotating-groups .client-logo {
  width: 161px;
  max-width: 161px;
  height: auto;
}

@keyframes clientLogoGroupFade2 {
  0% { opacity: 0; transform: translateX(-50%) translateY(6px); }
  8% { opacity: 1; transform: translateX(-50%) translateY(0); }
  48% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
}

@keyframes clientLogoGroupFade3 {
  0% { opacity: 0; transform: translateX(-50%) translateY(6px); }
  8% { opacity: 1; transform: translateX(-50%) translateY(0); }
  30% { opacity: 1; transform: translateX(-50%) translateY(0); }
  33.34% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
}

@media (max-width: 1100px) {
  .client-logos-rotating-groups {
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: thin;
  }
  .client-logos-rotating-groups .client-logos-group {
    left: 0;
    transform: none;
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  .client-logos-rotating-groups .client-logos-group { gap: 20px; }
  .client-logos-rotating-groups { min-height: 100px; }
}

@media (max-width: 520px) {
  .client-logos-rotating-groups .client-logos-group { gap: 16px; }
  .client-logos-rotating-groups { min-height: 88px; }
}  8% { opacity: 1; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(0); }
  33.34% { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 0; transform: translateY(-4px); }
}

@media (max-width: 1200px) {
  .client-logos-rotating-groups { --logo-gap: 24px; }
}

@media (max-width: 992px) {
  .client-logos-rotating-groups { --logo-gap: 20px; }
}

@media (max-width: 768px) {
  .client-logos-rotating-groups { --logo-gap: 16px; }
}

@media (max-width: 520px) {
  .client-logos-rotating-groups { --logo-gap: 12px; }
}  .client-logos-home .client-logo,
  .client-logos-tenho .client-logo {
    width: 140px;
    max-width: 140px;
  }
}10% { opacity: 1; transform: translateY(0); }
  45% { opacity: 1; transform: translateY(0); }
  60% { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 0; transform: translateY(-4px); }
}







