/* RARadar — site estático de marketing */

:root {
  --bg: #0b0e14;
  --bg-elevated: #12161f;
  --bg-card: #161b26;
  --primary: #22d3ee;
  --primary-dim: rgba(34, 211, 238, 0.12);
  --accent: #f59e0b;
  --text: #e8edf5;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.15);
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-display: "Chakra Petch", "Space Grotesk", sans-serif;
  --max-width: 1120px;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover {
  opacity: 0.85;
}

/* Layout */

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #0891b2);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--primary-dim);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--primary);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 0 2rem;
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  box-shadow: 0 4px 24px rgba(34, 211, 238, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 280px);
  aspect-ratio: 9 / 19.5;
  border-radius: 2rem;
  border: 3px solid rgba(148, 163, 184, 0.2);
  background: var(--bg-card);
  padding: 0.75rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.phone-screen-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--primary-dim);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.phone-screen p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Sections */

section {
  padding: 4rem 0;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.section-lead {
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0 0 2.5rem;
}

/* JTBD */

.jtbd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.jtbd-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.jtbd-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  margin: 0 0 0.625rem;
}

.jtbd-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: var(--primary-dim);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  margin: 0 0 0.375rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* Screenshots */

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.screenshot-slot {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.3);
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.screenshot-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 4px);
}

.screenshot-slot.has-image {
  border-style: solid;
  border-color: var(--border);
  padding: 0;
}

.screenshot-slot span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.screenshot-caption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Legal / content pages */

.page-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
}

.page-header .meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
}

.content {
  padding: 2.5rem 0 4rem;
}

.content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2.5rem 0 0.875rem;
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  margin: 1.75rem 0 0.625rem;
}

.content p,
.content li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.content ul,
.content ol {
  padding-left: 1.25rem;
  margin: 0.75rem 0 1rem;
}

.content li {
  margin-bottom: 0.375rem;
}

.content strong {
  color: var(--text);
  font-weight: 600;
}

.content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-box {
  background: var(--primary-dim);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.info-box p {
  margin: 0;
  color: var(--text);
}

.warning-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.warning-box p {
  margin: 0;
  color: var(--text);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--primary-dim);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.875rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}

.contact-card h3 {
  margin-top: 0;
}

/* CTA band */

.cta-band {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  margin: 0 0 0.75rem;
}

.cta-band p {
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.store-badge strong {
  display: block;
  color: var(--text);
  font-size: 0.9375rem;
}

/* Footer */

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin: 0;
}

.disclaimer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 72ch;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

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

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

  .screenshots-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1rem 1rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .header-inner {
    position: relative;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
