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

:root {
  --bg-base: #080B12;
  --bg-surface: rgba(255, 255, 255, 0.04);
  --bg-surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.05);
  --border-accent: rgba(0, 245, 255, 0.3);

  --accent-cyan: #00F5FF;
  --accent-purple: #7B5CF0;
  --accent-green: #00FF94;
  --accent-orange: #FF6B35;

  --text-primary: #F0F4FF;
  --text-secondary: rgba(240, 244, 255, 0.55);
  --text-muted: rgba(240, 244, 255, 0.3);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --blur-glass: blur(16px);
  --blur-heavy: blur(40px);

  --shadow-glow-cyan: 0 0 24px rgba(0, 245, 255, 0.15);
  --shadow-glow-purple: 0 0 24px rgba(123, 92, 240, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 245, 255, 0.2);
  color: var(--accent-cyan);
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #fff;
}

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

.glass {
  background: var(--bg-surface);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.glass:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(255, 255, 255, 0.08);
}

.neon-text {
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.25);
  color: var(--accent-cyan);
}

.badge-purple {
  background: rgba(123, 92, 240, 0.1);
  border: 1px solid rgba(123, 92, 240, 0.25);
  color: var(--accent-purple);
}

.badge-green {
  background: rgba(0, 255, 148, 0.1);
  border: 1px solid rgba(0, 255, 148, 0.25);
  color: var(--accent-green);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent-cyan);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #080B12;
  box-shadow: 0 4px 20px rgba(0, 245, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 245, 255, 0.4);
  color: #080B12;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-accent);
  color: var(--accent-cyan);
}

.btn-outline:hover {
  background: rgba(0, 245, 255, 0.08);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

  .container {
    padding: 0 16px;
  }
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(0, 245, 255, 0.06);
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: 100px;
  padding: 3px;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease;
  outline: none;
}

.lang-switch:hover {
  border-color: rgba(0, 245, 255, 0.5);
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.14);
}

.lang-switch:focus-visible {
  border-color: #00F5FF;
  box-shadow: 0 0 0 2px rgba(0, 245, 255, 0.28);
}

.lang-opt {
  position: relative;
  z-index: 2;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: rgba(240, 244, 255, 0.4);
  transition: color 240ms ease;
  font-family: var(--font-body);
  line-height: 1;
  white-space: nowrap;
}

.lang-pill {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: calc(50% - 3px);
  background: #00F5FF;
  background: linear-gradient(135deg, #00F5FF, #00c8ff);
  border-radius: 100px;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.5);
  z-index: 1;
}

.lang-switch[data-lang="pt"] .lang-opt:first-child {
  color: #080B12;
}

.lang-switch[data-lang="en"] .lang-opt:last-child {
  color: #080B12;
}

.lang-switch[data-lang="en"] .lang-pill {
  transform: translateX(100%);
}
