/* AI Guerrilla — Main Stylesheet */
/* Uploaded as ag_style.css to bypass CDN cached 404 on style.css */

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

:root {
  --bg:        #0a0a0a;
  --bg2:       #111;
  --bg3:       #1a1a1a;
  --border:    #222;
  --border2:   #2a2a2a;
  --text:      #f5f5f5;
  --muted:     #aaa;
  --faint:     #666;
  --purple:    #7c3aed;
  --indigo:    #4f46e5;
  --grad:      linear-gradient(135deg, #7c3aed, #4f46e5);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }
img { max-width: 100%; height: auto; }

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

/* ── NAVIGATION ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--grad);
  color: var(--text) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: opacity .15s !important;
  white-space: nowrap;
}
.nav-cta:hover { opacity: .85; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(124,58,237,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.35);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: .3px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 800px;
}
.gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-form {
  display: flex;
  gap: 12px;
  max-width: 540px;
  width: 100%;
  margin-bottom: 16px;
}
.hero-form input {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.hero-form input:focus { border-color: var(--purple); }
.hero-form input::placeholder { color: var(--faint); }
.hero-form button {
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s;
}
.hero-form button:hover { opacity: .85; }
.hero-proof {
  font-size: 13px;
  color: var(--faint);
}

/* ── SECTIONS ────────────────────────────────────────────────────────────── */
.section {
  padding: 80px 0;
}
.section-dark {
  background: var(--bg2);
}
.section-cta {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  text-align: center;
}
.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.section-cta h2 { text-align: center; }
.section-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 660px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.section-cta .section-lead { margin-left: auto; margin-right: auto; text-align: center; }

/* ── GRIDS ────────────────────────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ── CARDS ────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover {
  border-color: rgba(124,58,237,.45);
  transform: translateY(-2px);
}
.card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── EMPIRE CARDS ─────────────────────────────────────────────────────────── */
.empire-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color .2s, transform .2s;
  text-decoration: none;
}
.empire-card:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}
.empire-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.empire-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.empire-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.empire-link {
  font-size: 13px;
  font-weight: 700;
  color: #a78bfa;
}

/* ── ABOUT ────────────────────────────────────────────────────────────────── */
.about-block {
  max-width: 720px;
}
.about-block p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-motto {
  font-size: 18px !important;
  font-style: italic;
  color: #c4b5fd !important;
  font-weight: 600;
  margin-top: 24px !important;
}

/* ── SUBSCRIBE FORM ───────────────────────────────────────────────────────── */
.subscribe-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 16px;
}
.subscribe-form input {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.subscribe-form input:focus { border-color: var(--purple); }
.subscribe-form input::placeholder { color: var(--faint); }
.subscribe-form button {
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s;
}
.subscribe-form button:hover { opacity: .85; }
.subscribe-status {
  min-height: 24px;
  font-size: 14px;
  margin-bottom: 32px;
  text-align: center;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.social-links a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  transition: color .15s;
}
.social-links a:hover { color: var(--text); }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 20px;
}
.footer-form {
  display: flex;
  gap: 8px;
  max-width: 280px;
}
.footer-form input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  min-width: 0;
}
.footer-form input::placeholder { color: var(--faint); }
.footer-form input:focus { border-color: var(--purple); }
.footer-form button {
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity .15s;
}
.footer-form button:hover { opacity: .85; }
.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--faint);
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color .15s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 4px;
}

/* ── POPUP ────────────────────────────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
}
.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--faint);
  font-size: 18px;
  cursor: pointer;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .15s;
}
.popup-close:hover { background: var(--bg3); color: var(--text); }
.popup-icon { font-size: 48px; margin-bottom: 16px; }
.popup h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}
.popup p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.65;
}
.popup form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.popup input {
  background: var(--bg);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 13px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  text-align: center;
}
.popup input:focus { border-color: var(--purple); }
.popup input::placeholder { color: var(--faint); }
.popup button[type="submit"] {
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .15s;
}
.popup button[type="submit"]:hover { opacity: .85; }
.popup-status {
  min-height: 20px;
  font-size: 13px;
  margin-bottom: 4px;
}
.popup-dismiss {
  font-size: 12px;
  color: var(--faint) !important;
  cursor: pointer;
  margin-bottom: 0 !important;
  transition: color .15s;
}
.popup-dismiss:hover { color: var(--muted) !important; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-links:last-child { grid-column: span 2; }
}

@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .nav-links.open a {
    padding: 12px 24px;
    font-size: 15px;
  }
  .nav-toggle { display: block; }

  .hero { padding: 60px 20px 40px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-form { flex-direction: column; }
  .hero-form button { width: 100%; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-links:last-child { grid-column: auto; }

  .subscribe-form { flex-direction: column; }
  .subscribe-form button { width: 100%; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .popup { padding: 28px 20px; }
}
