/* ── ChillinnBOT Site — Shared Styles ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cabinet+Grotesk:wght@400;500;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  --bg-dark: #0e0e0e;
  --surface-dark: #161616;
  --surface2-dark: #1c1c1c;
  --border-dark: rgba(255,255,255,0.08);
  --text-dark: #f0ede6;
  --muted-dark: #6e6e6e;

  --bg-light: #f7f6f2;
  --surface-light: #ffffff;
  --surface2-light: #f0ede6;
  --border-light: rgba(0,0,0,0.08);
  --text-light: #1a1a1a;
  --muted-light: #777777;

  --lime: #c8f135;
  --lime-dim: rgba(200,241,53,0.1);
  --orange: #ff7b35;
  --azure: #0090e7;
  --azure-dim: rgba(0,144,231,0.12);
  --fail: #ff4f4f;
}

html { scroll-behavior: smooth; }
body { font-family: 'Cabinet Grotesk', sans-serif; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 3.5rem; height: 64px;
  display: flex; align-items: center; gap: 2rem;
  background: rgba(14,14,14,0.96);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
}
.nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 2px; text-decoration: none; color: #f0ede6; flex-shrink: 0; }
.nav-logo span { color: var(--lime); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; flex: 1; }
.nav-links a {
  color: #6e6e6e; text-decoration: none; font-size: 0.875rem; font-weight: 500;
  padding: 0.4rem 0.75rem; border-radius: 6px; transition: all 0.15s; white-space: nowrap;
}
.nav-links a:hover { color: #f0ede6; background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--lime); }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-btn-ghost { color: #6e6e6e; text-decoration: none; font-size: 0.875rem; font-weight: 600; padding: 0.45rem 1rem; border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; transition: all 0.15s; }
.nav-btn-ghost:hover { color: #f0ede6; border-color: rgba(255,255,255,0.2); }
.nav-btn-cta { background: var(--lime); color: #000; font-weight: 800; font-size: 0.875rem; padding: 0.5rem 1.25rem; border-radius: 6px; text-decoration: none; transition: opacity 0.15s, transform 0.15s; }
.nav-btn-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.nav-mobile-toggle { display: none; background: none; border: none; color: #f0ede6; font-size: 1.25rem; cursor: pointer; }

/* ── DARK HERO SECTIONS ── */
.dark-section { background: var(--bg-dark); color: var(--text-dark); }
.dark-section .muted { color: var(--muted-dark); }

/* ── LIGHT CONTENT SECTIONS ── */
.light-section { background: var(--bg-light); color: var(--text-light); }
.light-section .muted { color: var(--muted-light); }
.light-section .tag { color: #5a8a00; }

/* ── SHARED COMPONENTS ── */
.container { max-width: 1300px; margin: 0 auto; padding: 0 3.5rem; }
.section-pad { padding: 6rem 0; }
.section-pad-sm { padding: 4rem 0; }

.tag { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--lime); margin-bottom: 0.85rem; display: block; }

h1, h2, h3 { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.5px; }
.hero-h1 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.05; }
.section-h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 1rem; }
.section-h2.dark { color: var(--text-dark); }
.section-h2.light { color: var(--text-light); }

.lead { font-size: 1.05rem; line-height: 1.75; max-width: 560px; }
.lead.dark { color: var(--muted-dark); }
.lead.light { color: var(--muted-light); }

/* BUTTONS */
.btn-lime { background: var(--lime); color: #000; font-weight: 800; font-size: 0.9rem; padding: 0.85rem 2rem; border-radius: 6px; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s; border: none; cursor: pointer; font-family: 'Cabinet Grotesk', sans-serif; }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,241,53,0.25); }
.btn-ghost-dark { color: var(--text-dark); border: 1px solid rgba(255,255,255,0.15); font-weight: 700; font-size: 0.9rem; padding: 0.85rem 2rem; border-radius: 6px; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: all 0.15s; }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.35); }
.btn-ghost-light { color: var(--text-light); border: 1px solid rgba(0,0,0,0.15); font-weight: 700; font-size: 0.9rem; padding: 0.85rem 2rem; border-radius: 6px; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: all 0.15s; }
.btn-ghost-light:hover { border-color: rgba(0,0,0,0.3); }

/* CARDS */
.card-dark { background: var(--surface-dark); border: 1px solid var(--border-dark); border-radius: 12px; padding: 1.75rem; transition: border-color 0.2s, transform 0.2s; }
.card-dark:hover { border-color: rgba(200,241,53,0.2); transform: translateY(-2px); }
.card-light { background: var(--surface-light); border: 1px solid var(--border-light); border-radius: 12px; padding: 1.75rem; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: box-shadow 0.2s, transform 0.2s; }
.card-light:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-2px); }

/* BADGES */
.badge-lime { background: var(--lime-dim); border: 1px solid rgba(200,241,53,0.2); color: var(--lime); font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; padding: 0.2rem 0.6rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; }
.badge-azure { background: var(--azure-dim); border: 1px solid rgba(0,144,231,0.2); color: var(--azure); font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; padding: 0.2rem 0.6rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* FOOTER */
.site-footer { background: var(--bg-dark); border-top: 1px solid var(--border-dark); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { font-size: 1.6rem; display: inline-block; margin-bottom: 0.75rem; }
.footer-brand p { color: var(--muted-dark); font-size: 0.85rem; line-height: 1.65; max-width: 260px; }
.footer-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted-dark); margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--muted-dark); text-decoration: none; font-size: 0.875rem; margin-bottom: 0.6rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid var(--border-dark); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: var(--muted-dark); font-size: 0.8rem; }
.footer-clouds { display: flex; gap: 0.4rem; }
.fc { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; padding: 0.2rem 0.5rem; border-radius: 3px; font-weight: 700; }
.fc-aws { background: var(--lime-dim); color: var(--lime); border: 1px solid rgba(200,241,53,0.2); }
.fc-azure { background: var(--azure-dim); color: var(--azure); border: 1px solid rgba(0,144,231,0.2); }

/* REVEAL ANIMATION */
.reveal { opacity: 1; transform: translateY(0); transition: opacity 0.55s ease, transform 0.55s ease; }

/* DIVIDER */
.section-divider { border: none; border-top: 1px solid var(--border-light); margin: 0; }
.section-divider-dark { border: none; border-top: 1px solid var(--border-dark); margin: 0; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .container { padding: 0 2rem; }
  nav { padding: 0 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .container { padding: 0 1.25rem; }
  .section-pad { padding: 4rem 0; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
