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

:root {
  --bg: #121212;
  --bg-light: #181818;
  --surface: #282828;
  --surface-hover: #333333;
  --primary: #1DB954;
  --primary-hover: #1ed760;
  --primary-dark: #168d40;
  --gold: #D4A017;
  --gold-hover: #e0b030;
  --gold-dark: #a67c12;
  --text: #FFFFFF;
  --text-secondary: #B3B3B3;
  --text-muted: #727272;
  --divider: #282828;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-hover);
}

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

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

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--divider);
  background: rgba(18, 18, 18, 0.95);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.nav-logo:hover {
  color: var(--text);
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .nav-cta {
  background: var(--primary);
  color: var(--bg) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
}

.nav-links .nav-cta:hover {
  background: var(--primary-hover);
}

/* Language Toggle */
.lang-toggle {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--surface-hover);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
  border-bottom: 1px solid var(--divider);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
}

.mobile-menu .nav-cta {
  background: var(--primary);
  color: var(--bg) !important;
  padding: 12px 24px;
  border-radius: 50px;
  text-align: center;
  font-weight: 600;
  margin-top: 8px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(29, 185, 84, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--surface-hover);
}

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

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(29, 185, 84, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(212, 160, 23, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 60px 0 40px;
}

.hero-badge {
  display: inline-block;
  background: rgba(29, 185, 84, 0.1);
  border: 1px solid rgba(29, 185, 84, 0.2);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.text-green {
  color: var(--primary);
}

.text-gold {
  color: var(--gold);
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero Vinyl */
.hero-vinyl {
  display: flex;
  justify-content: center;
}

.vinyl-disc-hero {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #333 0%, #1a1a1a 30%, #111 70%, #0a0a0a 100%);
  position: relative;
  animation: vinyl-spin 8s linear infinite;
  box-shadow: 0 0 40px rgba(29, 185, 84, 0.15), 0 0 40px rgba(212, 160, 23, 0.10);
}

.vinyl-groove {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 0 0 8px rgba(255, 255, 255, 0.02),
    inset 0 0 0 16px rgba(255, 255, 255, 0.015),
    inset 0 0 0 24px rgba(255, 255, 255, 0.01);
}

.vinyl-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--bg);
}

.vinyl-label-a {
  background: var(--primary);
}

.vinyl-label-b {
  background: var(--gold);
}

@keyframes vinyl-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Concept ===== */
.concept-content {
  max-width: 700px;
  margin: 0 auto;
}

.concept-text p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.concept-text p:last-child {
  color: var(--text);
  font-weight: 500;
  font-style: italic;
}

.concept-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.divider-line {
  flex: 1;
  height: 2px;
  border-radius: 1px;
}

.divider-green {
  background: linear-gradient(to right, transparent, var(--primary));
}

.divider-gold {
  background: linear-gradient(to left, transparent, var(--gold));
}

.divider-text {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
}

/* ===== Sides (A/B) ===== */
.sides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.side-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid transparent;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.side-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.side-a::before {
  background: linear-gradient(to right, var(--primary), transparent);
}

.side-b::before {
  background: linear-gradient(to right, var(--gold), transparent);
}

.side-a:hover {
  border-color: rgba(29, 185, 84, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(29, 185, 84, 0.1);
}

.side-b:hover {
  border-color: rgba(212, 160, 23, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.1);
}

.side-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 20px;
}

.side-badge-a {
  background: rgba(29, 185, 84, 0.15);
  color: var(--primary);
}

.side-badge-b {
  background: rgba(212, 160, 23, 0.15);
  color: var(--gold);
}

.side-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.side-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.side-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-features li {
  color: var(--text-secondary);
  font-size: 13px;
  padding-left: 20px;
  position: relative;
}

.side-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.side-a .side-features li::before {
  background: var(--primary);
}

.side-b .side-features li::before {
  background: var(--gold);
}

/* ===== Manifesto ===== */
.manifesto-content {
  max-width: 700px;
  margin: 0 auto;
}

.manifesto-quote {
  text-align: center;
  padding: 48px 32px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--divider);
  position: relative;
}

.manifesto-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--gold));
  border-radius: var(--radius) var(--radius) 0 0;
}

.manifesto-quote blockquote {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.8;
  font-style: italic;
}

.manifesto-divider {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-green {
  background: var(--primary);
}

.dot-gold {
  background: var(--gold);
}

/* ===== Para Quem ===== */
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.who-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--transition);
}

.who-item:hover {
  transform: translateY(-2px);
}

.who-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.who-icon-green {
  background: rgba(29, 185, 84, 0.1);
}

.who-icon-gold {
  background: rgba(212, 160, 23, 0.1);
}

.who-item p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: rgba(29, 185, 84, 0.2);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Download ===== */
.download-content {
  display: flex;
  justify-content: center;
}

.download-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.download-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.download-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-card > p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 20px;
}

.apk-info {
  margin-bottom: 24px;
}

.apk-version {
  display: inline-block;
  background: rgba(29, 185, 84, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

.download-btn {
  margin-bottom: 32px;
}

.download-instructions {
  text-align: left;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.download-instructions p {
  font-size: 14px;
  margin-bottom: 12px;
}

.download-instructions ol {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.8;
  padding-left: 20px;
}

/* ===== Form ===== */
.form-wrapper {
  max-width: 520px;
  margin: 0 auto;
}

.access-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.optional {
  color: var(--text-muted);
  font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23B3B3B3' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--surface);
  color: var(--text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--bg);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #E91429;
}

.form-feedback {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  min-height: 24px;
  margin-top: 4px;
}

.form-feedback.success {
  color: var(--primary);
}

.form-feedback.error {
  color: #E91429;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--divider);
  padding: 48px 0 32px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-bottom: 4px;
}

.footer-name {
  font-size: 18px;
  font-weight: 700;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: 24px;
  width: 100%;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 12px;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Spinner ===== */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-right-mobile {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    padding: 60px 0 30px;
  }

  .sides-grid {
    grid-template-columns: 1fr;
  }

  .who-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .download-card {
    padding: 32px 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .vinyl-disc-hero {
    width: 120px;
    height: 120px;
  }

  .manifesto-quote {
    padding: 32px 20px;
  }

  .manifesto-quote blockquote {
    font-size: 15px;
  }

  .side-card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
