/*
Theme Name: GaijuAds
Theme URI: https://gaijuads.com
Author: far.aaz
Description: GaijuAds Affiliate Network Theme
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --black: #060608;
  --dark: #0d0d12;
  --card: #111118;
  --border: #1e1e2e;
  --accent: #e8ff47;
  --accent2: #ff4747;
  --white: #f0f0f0;
  --muted: #5a5a72;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── NAV ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  background: rgba(6,6,8,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--accent);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(232,255,71,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(255,71,71,0.05) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  max-width: 780px;
  animation: fadeUp 0.9s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 16px 36px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(232,255,71,0.2); }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 16px 36px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--muted); background: rgba(255,255,255,0.04); }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ─── SECTIONS ────────────────────────────────── */
section {
  padding: 100px 60px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
}

/* ─── HOW IT WORKS ───────────────────────────── */
.how {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.how-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}
.how-step:last-child { border-bottom: none; }
.how-step:hover .how-step-num { color: var(--accent); }

.how-step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  min-width: 32px;
  padding-top: 2px;
  transition: color 0.2s;
}

.how-step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.how-step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.how-visual {
  aspect-ratio: 1;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.how-visual-inner {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 800;
  color: rgba(232,255,71,0.06);
  user-select: none;
  line-height: 1;
}

.how-visual-badge {
  position: absolute;
  inset: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}

.metric-card {
  background: rgba(6,6,8,0.8);
  border: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(8px);
}

.metric-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

.metric-lbl {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ─── TWO COL (ADVERTISERS / PUBLISHERS) ───────── */
.split {
  max-width: 1200px;
  margin: 0 auto;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 60px;
  border: 1px solid var(--border);
}

.split-col {
  background: var(--card);
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.split-col:hover { background: #15151f; }

.split-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.split-col:first-child::before { background: var(--accent); }
.split-col:last-child::before { background: var(--accent2); }

.split-icon {
  font-size: 32px;
  margin-bottom: 24px;
}

.split-col h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.split-col p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.feature-list li {
  font-size: 14px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list li::before {
  content: '→';
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

/* ─── VERTICALS ───────────────────────────────── */
.verticals {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.verticals-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 60px;
  border: 1px solid var(--border);
}

.vertical-card {
  background: var(--card);
  padding: 36px 28px;
  transition: background 0.2s;
  cursor: default;
}
.vertical-card:hover { background: #141420; }
.vertical-card:hover .vertical-icon { color: var(--accent); }

.vertical-icon {
  font-size: 28px;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.vertical-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.vertical-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── CONTACT ─────────────────────────────────── */
.contact {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  padding-top: 8px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:first-of-type { border-top: 1px solid var(--border); margin-top: 36px; }

.contact-detail-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-detail-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
}
.form-field select option { background: var(--card); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); }

/* ─── FOOTER ──────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}
.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a:hover { color: var(--white); }

/* ─── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 20px 24px; }
  .nav-links { display: none; }
  section { padding: 70px 24px; }
  .hero { padding: 120px 24px 60px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .how-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .how-visual { display: none; }
  .split-grid { grid-template-columns: 1fr; }
  .verticals-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
