/* ================================================
   FICHAS — Marketing Website Styles
   Dark premium aesthetic with domino-themed accents
   ================================================ */

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

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

:root {
  --bg-primary: #0F0F23;
  --bg-secondary: #1A1A35;
  --bg-card: #16162A;
  --bg-card-hover: #1E1E3A;
  --text-primary: #EEEEFF;
  --text-secondary: #8888AA;
  --text-muted: #555577;
  --accent: #E94560;
  --accent-light: #FF6B6B;
  --accent-glow: rgba(233, 69, 96, 0.3);
  --green: #1B998B;
  --green-glow: rgba(27, 153, 139, 0.3);
  --purple: #6C5CE7;
  --purple-glow: rgba(108, 92, 231, 0.3);
  --gold: #F0C040;
  --border: #333355;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-light);
}

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

/* ── Layout ─────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--bg-secondary);
}

/* ── Typography ─────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Navigation ─────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(15, 15, 35, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(51, 51, 85, 0.4);
  transition: background 0.3s;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}

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

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

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__tagline {
  margin-top: 12px;
  margin-bottom: 24px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__icon {
  width: 280px;
  height: 280px;
  border-radius: 56px;
  box-shadow: 0 20px 60px rgba(233, 69, 96, 0.25), 0 0 100px rgba(233, 69, 96, 0.1);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #C23152);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 8px 30px var(--accent-glow);
  color: white;
}

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

.btn--outline:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

/* ── Feature Cards ──────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── How It Works ───────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step__title {
  font-weight: 700;
  margin-bottom: 6px;
}

.step__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ── CTA Banner ─────────────────────────────────── */
.cta {
  text-align: center;
  padding: 80px 0;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.08), rgba(108, 92, 231, 0.08));
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin-bottom: 12px;
}

.cta .subtitle {
  margin: 0 auto 32px;
}

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

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer__brand {
  font-size: 1.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer__desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  max-width: 320px;
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color 0.2s;
}

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

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(51, 51, 85, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Legal Pages ────────────────────────────────── */
.legal {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal .legal__date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal p,
.legal li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal ul,
.legal ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal a {
  color: var(--accent);
}

/* ── Support Page ───────────────────────────────── */
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  margin-bottom: 24px;
}

.support-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.support-card h3 {
  margin-bottom: 8px;
}

.support-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-item summary::before {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  width: 24px;
  flex-shrink: 0;
}

.faq-item[open] summary::before {
  content: '−';
}

.faq-item p {
  margin-top: 8px;
  padding-left: 36px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__icon {
    width: 200px;
    height: 200px;
    border-radius: 40px;
  }

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav__links {
    display: none;
  }

  .hero__visual {
    order: -1;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 48px 0;
  }
}
