/* ──────────────────────────────────────────────
   BAKOKI — Landing Page Styles
   Paleta: #11aeef · #3ec8d1 · #80dc8b · #007c85
   Tipografía: Amoria (headings) + system-ui (body)
────────────────────────────────────────────── */

@font-face {
  font-family: "Amoria";
  src: url("../assets/fonts/AMORIA.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Variables ───────────────────────────────── */
:root {
  --bg:          #040f13;
  --bg-alt:      #071419;
  --surface:     #0b1f26;
  --surface-2:   #0e2830;
  --border:      rgba(255, 255, 255, 0.07);
  --border-glow: rgba(62, 200, 209, 0.18);

  --text:        #e8f6fb;
  --muted:       #90b8c2;
  --subtle:      #547480;

  --blue:        #11aeef;
  --teal:        #3ec8d1;
  --green:       #80dc8b;
  --dark-teal:   #007c85;

  --gradient:    linear-gradient(90deg, #11aeef 0%, #3ec8d1 48%, #80dc8b 100%);
  --gradient-v:  linear-gradient(180deg, #11aeef 0%, #3ec8d1 48%, #80dc8b 100%);

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

  --max:         1120px;
  --shadow-card: 0 2px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(17, 174, 239, 0.12);
}

/* ── Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 55% 35% at 85% 10%, rgba(17,174,239,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 70%, rgba(128,220,139,0.09) 0%, transparent 60%);
  background-attachment: fixed;
}

a  { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

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

/* ── Typography ──────────────────────────────── */
h1, h2 {
  font-family: "Amoria", Georgia, serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  line-height: 1.3;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Navbar ──────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(4, 15, 19, 0.82);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
}

.brand-name {
  font-family: "Amoria", Georgia, serif;
  font-size: 1.4rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s;
}

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

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--border);
}

.mobile-menu a {
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
  color: var(--muted);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--text); }

.mobile-menu.open { display: flex; }

/* ── Hero ────────────────────────────────────── */
.hero {
  padding-block: 6rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(62, 200, 209, 0.08);
  border: 1px solid var(--border-glow);
  color: #a8ebf0;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1.8rem;
  letter-spacing: 0.01em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 14ch;
  margin-inline: auto;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-chips span {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(62, 200, 209, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Hero divider */
.hero-rule {
  margin-top: 4rem;
  position: relative;
  height: 2px;
}

.rule-line {
  height: 2px;
  background: var(--gradient);
  width: 100%;
  opacity: 0.35;
  border-radius: 999px;
}

/* ── Section base ────────────────────────────── */
.section {
  padding-block: 5rem;
}

.section-alt {
  background:
    linear-gradient(0deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1.2rem;
  max-width: 20ch;
}

.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 64ch;
  margin-bottom: 3rem;
}

/* ── Propósito ───────────────────────────────── */
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.purpose-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, transform 0.3s;
}

.purpose-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.card-highlight {
  border-color: rgba(17, 174, 239, 0.18);
  background: linear-gradient(160deg, rgba(17,174,239,0.06) 0%, var(--surface) 60%);
}

.purpose-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.purpose-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.purpose-card p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.purpose-quote {
  text-align: center;
  font-family: "Amoria", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glow);
  background-color: rgba(62, 200, 209, 0.04);
  letter-spacing: -0.01em;
}

/* ── Cómo funciona ───────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.step:first-of-type  { border-top: 1px solid var(--border); }

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(17,174,239,0.12), rgba(128,220,139,0.08));
  border: 1px solid var(--border-glow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step-number span {
  font-family: "Amoria", Georgia, serif;
  font-size: 1.3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.step-content p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  max-width: 60ch;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.step-tags li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-glow);
  color: var(--teal);
  font-size: 0.82rem;
}

.step-connector {
  display: none;
}

/* ── Valores ─────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.value-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, transform 0.3s;
}

.value-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.value-card-wide {
  grid-column: 1 / -1;
}

.value-icon {
  font-size: 1.8rem;
  margin-bottom: 0.9rem;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.value-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Closing / Coming soon ───────────────────── */
.closing {
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(17,174,239,0.07), transparent 70%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  text-align: center;
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.closing-logo {
  width: 120px;
  height: 120px;
  animation: float 4s ease-in-out infinite;
}

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

.closing-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.closing-sub {
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.closing-badge {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border-glow);
  background: rgba(62, 200, 209, 0.06);
  color: var(--teal);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ── Footer ──────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  color: var(--subtle);
  font-size: 0.88rem;
}

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

.footer-brand {
  font-family: "Amoria", Georgia, serif;
  font-size: 1.1rem;
  color: var(--muted);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .purpose-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-block: 4.5rem 4rem; }

  .step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-number {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .closing-badge { font-size: 0.8rem; }
}

/* ── Scroll reveal (clase agregada por JS) ───── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
