/* ============================================
   DPO2U.COM.BR — LIQUID GLASS DESIGN SYSTEM
   ============================================ */

/* === FONTS === */
@font-face { font-family: 'Geist Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/geist-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/geist-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/geist-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/geist-sans-latin-700-normal.woff2') format('woff2'); }

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

:root {
  --font: 'Geist Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --bg: #050510;
  --surface: #0a0a1a;
  --heading: #fafafa;
  --text: #a1a1aa;
  --text-dim: #71717a;
  --accent: #006dff;
  --accent-dim: #005ce6;
  --accent-bg: rgba(0, 109, 255, 0.1);
  --emerald: #00d494;
  --emerald-dim: #00b377;
  --emerald-bg: rgba(0, 212, 148, 0.1);
  --purple: #7C3AED;
  --purple-bg: rgba(124, 58, 237, 0.1);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.01);
  --glass-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  --radius: 1.5rem;
  --radius-full: 9999px;
  --max-w: 1200px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* === ACCESSIBILITY === */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100%; left: 50%; transform: translateX(-50%); padding: 0.75rem 1.5rem; background: var(--accent); color: #000; border-radius: var(--radius-full); font-weight: 600; z-index: 9999; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* === LIQUID GLASS === */
.liquid-glass {
  background: var(--glass-bg);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  box-shadow: var(--glass-shadow);
  position: relative;
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
  z-index: 1;
}

.liquid-glass-nav {
  background: rgba(5, 5, 16, 0.7);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border: 1px solid var(--border);
}

/* === BUTTONS === */
.btn-hero {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--emerald));
  color: #fff;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
  font-weight: 500; font-size: 1rem;
  box-shadow: 0 0 20px rgba(0,109,255,0.25);
  transition: all 0.3s ease;
}
.btn-hero:hover { background: linear-gradient(135deg, var(--accent-dim), var(--emerald-dim)); transform: scale(1.03); box-shadow: 0 0 30px rgba(0,109,255,0.35); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--glass-bg); color: var(--heading);
  padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
  font-weight: 400; font-size: 1rem;
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.btn-secondary::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}
.btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: var(--border-hover); }

.btn-sm { padding: 0.4rem 1rem; font-size: 0.875rem; }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 1rem;
}

.navbar-inner {
  display: flex; align-items: center; gap: 1.5rem;
  max-width: 850px; width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
}

.navbar-logo { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.navbar-logo-icon {
  width: 28px; height: 28px; border-radius: 0.5rem;
  background: linear-gradient(to bottom, #3f3f46, #18181b);
  display: flex; align-items: center; justify-content: center;
}
.navbar-logo-icon svg { width: 14px; height: 14px; color: var(--accent); }
.navbar-logo-text { font-size: 1.25rem; font-weight: 600; color: var(--heading); }

.navbar-links { display: none; flex: 1; justify-content: center; gap: 0.25rem; }
.navbar-links a {
  font-size: 0.875rem; color: var(--text); padding: 0.375rem 0.75rem;
  border-radius: 0.5rem; transition: color 0.2s;
}
.navbar-links a:hover { color: var(--heading); }

.navbar-cta { flex-shrink: 0; }
.navbar-hamburger { display: flex; flex-direction: column; gap: 4px; padding: 0.5rem; }
.navbar-hamburger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* Mobile Nav */
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 99; background: rgba(5,5,16,0.95); backdrop-filter: blur(20px); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.mobile-nav.active { display: flex; }
.mobile-nav a { font-size: 1.5rem; color: var(--heading); font-weight: 500; }

/* === BADGES === */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem; color: #d4d4d8;
}
.badge-accent { font-size: 0.75rem; color: var(--emerald); display: inline-flex; align-items: center; gap: 0.25rem; }
.badge-shimmer {
  background: linear-gradient(90deg, var(--accent-bg) 0%, rgba(0,109,255,0.2) 50%, var(--accent-bg) 100%);
  background-size: 200% 100%; animation: shimmer 3s linear infinite;
  border-radius: var(--radius-full); padding: 0.125rem 0.5rem;
}

/* === SECTIONS === */
.section { padding: 8rem 1rem; position: relative; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 600; color: var(--heading); line-height: 1.1; }
.section-header p { color: var(--text); margin-top: 1rem; max-width: 32rem; margin-left: auto; margin-right: auto; }

/* === HERO === */
.hero { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, transparent 30%, rgba(5,5,16,0.1) 45%, rgba(5,5,16,0.4) 60%, rgba(5,5,16,0.75) 75%, #050510 95%);
}
.hero-content { position: relative; z-index: 10; flex: 1; display: flex; flex-direction: column; }
.hero-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1rem; }

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.02em;
  color: var(--heading); max-width: 64rem;
}
.hero h1 .gradient {
  background: linear-gradient(to right, #00d494, #5ca8ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.125rem; max-width: 36rem; margin-top: 1rem; opacity: 0.8; color: var(--text); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; justify-content: center; }

/* Social Proof / Marquee */
.marquee-bar { padding: 2rem 1rem; }
.marquee-bar-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 2rem; }
.marquee-label { font-size: 0.875rem; color: rgba(250,250,250,0.4); line-height: 1.3; flex-shrink: 0; display: none; }
.marquee-track { flex: 1; overflow: hidden; }
.marquee-scroll { display: flex; gap: 2rem; animation: marquee 30s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.marquee-icon {
  width: 24px; height: 24px; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--text); font-weight: 500;
}
.marquee-item span { font-size: 0.875rem; color: var(--text-dim); white-space: nowrap; }

/* === VIDEO SECTIONS === */
.video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.overlay-dark { position: absolute; inset: 0; background: rgba(5,5,16,0.4); z-index: 2; }
.overlay-top { position: absolute; top: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to bottom, #050510 0%, rgba(5,5,16,0.8) 40%, transparent 100%); z-index: 2; }
.overlay-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to top, #050510 0%, rgba(5,5,16,0.8) 40%, transparent 100%); z-index: 2; }
.overlay-numbers {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, #050510 0%, rgba(5,5,16,0.85) 15%, rgba(5,5,16,0.4) 40%, rgba(5,5,16,0.15) 60%, rgba(5,5,16,0.3) 100%);
}
.overlay-cta {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, #050510 0%, rgba(5,5,16,0.85) 15%, rgba(5,5,16,0.4) 40%, rgba(5,5,16,0.15) 60%, rgba(5,5,16,0.3) 100%);
}
.section-inner { position: relative; z-index: 5; }

/* === FEATURE CARDS === */
.cards-grid { display: grid; gap: 1.5rem; }
.feature-card { border-radius: var(--radius); padding: 2rem; transition: background 0.3s; }
.feature-card:hover { background: rgba(255,255,255,0.03); }
.feature-card-icon {
  width: 40px; height: 40px; border-radius: 0.75rem;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.25rem;
}
.feature-card h3 { font-size: 1.25rem; font-weight: 600; color: var(--heading); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--text); line-height: 1.6; margin-bottom: 1.5rem; }
.feature-card-stat { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; }
.feature-card-stat .value { font-size: 1.5rem; font-weight: 600; color: var(--heading); }
.feature-card-stat .label { font-size: 0.75rem; color: var(--text-dim); margin-top: 0.25rem; }

/* === CHESS LAYOUT === */
.chess { display: grid; gap: 5rem; align-items: center; }
.chess-video { border-radius: var(--radius); aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--surface); }
.chess-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chess-content h2 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 600; color: var(--heading); line-height: 1.1; }
.chess-content .body-text { color: var(--text); margin-top: 1rem; line-height: 1.7; }
.chess-bullets { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.chess-bullets li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: #d4d4d8; }
.chess-bullets li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); flex-shrink: 0; }
.chess-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* === STATS GRID === */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.stat-card { border-radius: 1rem; padding: 1rem; }
.stat-card .value { font-size: 1.5rem; font-weight: 600; color: var(--heading); }
.stat-card .label { font-size: 0.75rem; color: var(--text-dim); margin-top: 0.25rem; }

/* === NUMBERS SECTION === */
.numbers-hero { text-align: center; margin-bottom: 6rem; }
.numbers-hero .big-number {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 600; letter-spacing: -0.05em;
  color: var(--heading); line-height: 1;
}
.numbers-hero .big-label { font-size: 1.25rem; color: #d4d4d8; margin-top: 1rem; }
.numbers-hero .big-desc { color: var(--text-dim); margin-top: 0.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.numbers-bottom { border-radius: var(--radius); padding: 3rem; display: grid; gap: 2rem; }
.numbers-bottom .stat { text-align: center; }
.numbers-bottom .stat .value { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 600; color: var(--heading); letter-spacing: -0.02em; }
.numbers-bottom .stat .label { color: var(--text); margin-top: 0.5rem; }

/* === TESTIMONIALS === */
.testimonials-grid { display: grid; gap: 1.5rem; }
.testimonial-card { border-radius: var(--radius); padding: 2rem; }
.testimonial-card blockquote { font-size: 0.875rem; color: #d4d4d8; line-height: 1.7; font-style: italic; }
.testimonial-card .divider { height: 1px; background: rgba(255,255,255,0.1); margin: 1.5rem 0; }
.testimonial-card .author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: #27272a;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 500; color: #d4d4d8;
}
.testimonial-name { font-size: 0.875rem; font-weight: 500; color: var(--heading); }
.testimonial-role { font-size: 0.75rem; color: var(--text-dim); }

/* === CTA === */
.cta-card { border-radius: 2rem; padding: 3rem; text-align: center; }
.cta-card h2 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 600; color: var(--heading); line-height: 1.1; }
.cta-card p { color: var(--text); margin-top: 1rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.cta-card .cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; justify-content: center; }

/* === FOOTER === */
.footer { border-top: 1px solid var(--border); position: relative; z-index: 10; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 4rem 1rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-brand-text { font-size: 0.875rem; color: var(--text-dim); max-width: 20rem; margin-top: 0.5rem; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a { font-size: 0.875rem; color: var(--text-dim); transition: color 0.2s; }
.footer-social a:hover { color: var(--text); }
.footer-col h4 { font-size: 0.875rem; font-weight: 500; color: #d4d4d8; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.875rem; color: var(--text-dim); transition: color 0.2s; }
.footer-col a:hover { color: #d4d4d8; }
.footer-bottom {
  border-top: 1px solid var(--border); margin-top: 3rem; padding-top: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.footer-bottom-copy { font-size: 0.75rem; color: var(--text-dim); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.75rem; color: var(--text-dim); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text); }

/* === ANIMATIONS === */
@keyframes marquee { 0% { transform: translateX(0%); } 100% { transform: translateX(-50%); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* === RESPONSIVE === */
@media (min-width: 768px) {
  .navbar-links { display: flex; }
  .navbar-hamburger { display: none; }
  .marquee-label { display: block; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .chess { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-card.offset { transform: translateY(-1.5rem); }
  .numbers-bottom { grid-template-columns: repeat(2, 1fr); }
  .numbers-bottom .stat:first-child { border-right: 1px solid rgba(255,255,255,0.1); padding-right: 3rem; }
  .numbers-bottom .stat:last-child { padding-left: 3rem; }
  .numbers-bottom .stat { text-align: left; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .cta-card { padding: 5rem; }
}

@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
  .chess-reverse .chess-video { order: 1; }
  .chess-reverse .chess-content { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
