/*
Theme Name: AdsIn.AI
Theme URI: https://adsin.ai
Author: AdsIn.AI
Author URI: https://adsin.ai
Description: Premium landing page theme for AdsIn.AI — Where Advertising Meets Artificial Intelligence. A high-converting domain showcase with dark ad-tech aesthetic, animated grid background, data stream particles, and neon UI.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adsin-ai
Tags: one-page, custom-colors, custom-logo, featured-images, theme-options
*/

/* ========== CSS VARIABLES ========== */
:root {
  --bg: #07090f;
  --surface: #0d1117;
  --border: #1b2332;
  --neon: #00f0ff;
  --neon2: #7b61ff;
  --accent: #ff3d6e;
  --gold: #ffd700;
  --text: #e2e8f0;
  --muted: #6b7a90;
  --glass: rgba(13, 17, 23, 0.7);
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== ANIMATED GRID BACKGROUND ========== */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 240, 255, .03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 240, 255, .03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* ========== DATA STREAM PARTICLES ========== */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, var(--neon), transparent);
  opacity: 0;
  animation: fall linear infinite;
}

@keyframes fall {
  0% { transform: translateY(-100px); opacity: 0; }
  10% { opacity: .6; }
  90% { opacity: .6; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* ========== NAVIGATION ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 9, 15, .85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.nav-logo a {
  text-decoration: none;
}

.nav-logo .brand-name {
  color: var(--neon);
}

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

.nav-logo .brand-ext {
  color: var(--text);
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 240, 255, .08);
  border: 1px solid rgba(0, 240, 255, .2);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--neon);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.8); }
}

.nav-cta {
  background: transparent;
  border: 1px solid var(--neon);
  color: var(--neon);
  padding: 10px 24px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover {
  background: var(--neon);
  color: var(--bg);
  box-shadow: 0 0 30px rgba(0, 240, 255, .3);
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
}

.hero-content {
  max-width: 900px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(123, 97, 255, .12), rgba(0, 240, 255, .12));
  border: 1px solid rgba(123, 97, 255, .25);
  padding: 10px 22px;
  border-radius: 30px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--neon2);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
  animation: fadeUp .8s ease .2s both;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 10px;
  animation: fadeUp .8s ease .4s both;
}

.hero h1 .neon {
  background: linear-gradient(135deg, var(--neon), var(--neon2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero h1 .neon::after {
  content: 'AdsIn';
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, var(--neon), var(--neon2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(30px);
  opacity: .5;
  z-index: -1;
}

.hero h1 .ext {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.hero-sub {
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
  max-width: 650px;
  margin: 24px auto 0;
  animation: fadeUp .8s ease .6s both;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 500;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
  animation: fadeUp .8s ease .8s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
  font-family: 'Space Mono', monospace;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 50px;
  animation: fadeUp .8s ease 1s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== BUTTONS ========== */
.btn-primary {
  background: linear-gradient(135deg, var(--neon), var(--neon2));
  color: var(--bg);
  padding: 16px 36px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 240, 255, .3);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 16px 36px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--neon);
  color: var(--neon);
}

/* ========== NEWS TICKER ========== */
.ticker {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 18px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  width: max-content;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--muted);
}

.ticker-item .up {
  color: #00e676;
}

.ticker-item .hot {
  color: var(--accent);
}

/* ========== SECTIONS (GENERIC) ========== */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--neon);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--neon);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  max-width: 700px;
}

.section-title .highlight {
  background: linear-gradient(135deg, var(--neon), var(--neon2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== TIMELINE ========== */
.timeline {
  margin-top: 80px;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--neon), var(--neon2), var(--accent));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 15px var(--neon);
}

.timeline-date {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ========== MARKET OPPORTUNITY CARDS ========== */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.market-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}

.market-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}

.market-card:hover {
  border-color: rgba(0, 240, 255, .3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.market-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.card-icon.blue { background: rgba(0, 240, 255, .1); border: 1px solid rgba(0, 240, 255, .2); }
.card-icon.purple { background: rgba(123, 97, 255, .1); border: 1px solid rgba(123, 97, 255, .2); }
.card-icon.pink { background: rgba(255, 61, 110, .1); border: 1px solid rgba(255, 61, 110, .2); }
.card-icon.gold { background: rgba(255, 215, 0, .1); border: 1px solid rgba(255, 215, 0, .2); }
.card-icon.green { background: rgba(0, 230, 118, .1); border: 1px solid rgba(0, 230, 118, .2); }
.card-icon.orange { background: rgba(255, 152, 0, .1); border: 1px solid rgba(255, 152, 0, .2); }

.market-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.market-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.card-stat {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

.card-stat span {
  color: var(--neon);
  font-weight: 700;
  font-size: 18px;
}

/* ========== USE CASES GRID ========== */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  margin-top: 60px;
  border-radius: 16px;
  overflow: hidden;
}

.use-case {
  background: var(--surface);
  padding: 40px;
  position: relative;
  transition: all .3s ease;
}

.use-case:hover {
  background: rgba(0, 240, 255, .03);
}

.use-case-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--neon);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.use-case h3 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.use-case p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.use-case-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-saas { background: rgba(0, 240, 255, .1); color: var(--neon); }
.tag-media { background: rgba(123, 97, 255, .1); color: var(--neon2); }
.tag-network { background: rgba(255, 61, 110, .1); color: var(--accent); }
.tag-analytics { background: rgba(255, 215, 0, .1); color: var(--gold); }
.tag-compliance { background: rgba(0, 230, 118, .1); color: #00e676; }

/* ========== CTA / ACQUIRE SECTION ========== */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 120px 40px;
  text-align: center;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(0, 240, 255, .05), rgba(123, 97, 255, .05));
  border: 1px solid rgba(0, 240, 255, .15);
  border-radius: 24px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 240, 255, .06) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(123, 97, 255, .06) 0%, transparent 50%);
  animation: ctaGlow 8s ease infinite alternate;
}

@keyframes ctaGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-5%, -5%); }
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-price {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--neon);
  margin-bottom: 20px;
}

.cta-box h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cta-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.cta-email {
  font-family: 'Space Mono', monospace;
  font-size: 18px;
  color: var(--neon);
  text-decoration: none;
  padding: 16px 40px;
  border: 2px solid var(--neon);
  border-radius: 12px;
  transition: all .3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-email:hover {
  background: var(--neon);
  color: var(--bg);
  box-shadow: 0 0 40px rgba(0, 240, 255, .3);
}

.cta-or {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ========== CONTACT FORM ========== */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  font-family: 'Space Mono', monospace;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: rgba(0, 0, 0, .3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border .3s ease;
  outline: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, .1);
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7a90' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-row select option {
  background: var(--surface);
  color: var(--text);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--neon), var(--neon2));
  color: var(--bg);
  padding: 16px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  margin-top: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 240, 255, .3);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success h3 {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--neon);
}

.form-success p {
  color: var(--muted);
  font-size: 15px;
}

/* ========== FOOTER ========== */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px;
  text-align: center;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-logo .brand-name {
  color: var(--neon);
}

.footer-logo .brand-dot {
  color: var(--accent);
}

.site-footer p {
  font-size: 13px;
  color: var(--muted);
}

.footer-copyright {
  margin-top: 8px;
  font-size: 11px !important;
  color: #3a4560 !important;
}

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s cubic-bezier(.16, 1, .3, 1);
}

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

/* ========== WORDPRESS ADMIN BAR FIX ========== */
.admin-bar .site-nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-nav {
    top: 46px;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .site-nav {
    padding: 16px 20px;
  }

  .nav-badge {
    display: none;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

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

  .section {
    padding: 80px 20px;
  }

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

  .use-cases {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 50px 30px;
  }

  .cta-email {
    font-size: 14px;
    padding: 14px 24px;
  }

  .ticker-track {
    gap: 30px;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline-item {
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    letter-spacing: -1px;
  }

  .hero-stat-value {
    font-size: 28px;
  }

  .market-card {
    padding: 28px;
  }

  .use-case {
    padding: 30px;
  }
}
