/*
Theme Name: ai-mysite.com
Theme URI: https://ai-mysite.com
Author: ai-mysite.com
Author URI: https://ai-mysite.com
Description: A sleek, dark AI-focused WordPress theme for ai-mysite.com — built for the agentic web. Features a purple/violet/teal palette, animated hero, feature grid, pricing tables, and full WordPress template hierarchy support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-mysite
Tags: dark, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, one-page
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --deep:    #0d0814;
  --ink:     #130d1f;
  --surface: #1a1128;
  --card:    #1f1633;
  --purple:  #7c3aed;
  --violet:  #9333ea;
  --magenta: #c026d3;
  --pink:    #d946a8;
  --teal:    #0891b2;
  --cyan:    #06b6d4;
  --light:   #f0ebff;
  --muted:   #a78cc4;
  --border:  rgba(124, 58, 237, 0.2);
  --glow:    rgba(124, 58, 237, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--deep);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(124,58,237,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(6,182,212,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 30%, rgba(192,38,211,0.07) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #c084fc; text-decoration: none; }
a:hover { color: var(--light); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--light);
}

h1 { font-size: clamp(2.8rem, 4.5vw, 5rem); }
h2 { font-size: clamp(2rem, 3vw, 3rem); }
h3 { font-size: 1.2rem; }

p { color: var(--muted); line-height: 1.75; }

code, pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3.5rem;
}

.section {
  padding: 7rem 3.5rem;
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #c084fc, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--light);
}

.section-sub {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 4rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: white;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.5);
  color: white;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--light);
  border: 1px solid rgba(192, 132, 252, 0.3);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: #c084fc;
  color: #c084fc;
  background: rgba(124, 58, 237, 0.08);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3.5rem;
  background: rgba(13, 8, 20, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.site-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.site-logo .logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c084fc, #818cf8, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#primary-menu {
  list-style: none;
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

#primary-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
}

#primary-menu a:hover { color: var(--light); }

#primary-menu .menu-cta a {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: white;
  padding: 0.55rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  transition: opacity 0.2s;
}

#primary-menu .menu-cta a:hover { opacity: 0.85; color: white; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--light);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 8rem 3.5rem 5rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: #c084fc;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a855f7;
  animation: pulse 1.5s infinite;
}

.hero-title {
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
  background: linear-gradient(150deg, #f0ebff 0%, #c084fc 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 2.8rem;
  font-weight: 400;
}

/* ============================================================
   TICKER / MARQUEE
   ============================================================ */
.ticker-wrap {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 1rem 0;
  background: rgba(124, 58, 237, 0.04);
}

.ticker {
  display: flex;
  gap: 3.5rem;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.ticker-gem {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #22d3ee);
  flex-shrink: 0;
}

/* ============================================================
   TERMINAL / CODE WIDGET
   ============================================================ */
.terminal {
  background: #0a0612;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(124, 58, 237, 0.2), 0 0 0 1px rgba(192, 132, 252, 0.05);
  animation: floatUp 0.8s ease both;
  animation-delay: 0.2s;
  opacity: 0;
}

.terminal-bar {
  background: #110a1f;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.terminal-title {
  margin: 0 auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: rgba(167, 140, 196, 0.5);
  letter-spacing: 0.06em;
}

.terminal-body {
  padding: 1.5rem 1.8rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  line-height: 1.9;
}

.terminal-body pre { white-space: pre-wrap; }

.c-comment { color: #4a3a6a; }
.c-key     { color: #818cf8; }
.c-str     { color: #c084fc; }
.c-val     { color: #22d3ee; }
.c-url     { color: #06b6d4; text-decoration: underline; }

.cursor {
  display: inline-block;
  width: 7px;
  height: 0.85em;
  background: #a855f7;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(6,182,212,0.15));
  border-radius: 20px;
  overflow: hidden;
}

.feature-card {
  background: var(--card);
  padding: 2.2rem;
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192,132,252,0.5), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover { background: #241b38; }
.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  display: block;
}

.feature-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.7rem;
  color: var(--light);
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  margin-top: 4rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(6,182,212,0.1));
  border-radius: 16px;
  overflow: hidden;
}

.stat {
  background: var(--card);
  padding: 2rem;
  text-align: center;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #c084fc, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.4rem;
  font-weight: 500;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  background: rgba(124, 58, 237, 0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.steps { display: flex; flex-direction: column; gap: 1.5rem; }

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  background: rgba(31, 22, 51, 0.5);
  transition: border-color 0.25s, background 0.25s;
}

.step:hover {
  border-color: rgba(192, 132, 252, 0.4);
  background: rgba(31, 22, 51, 0.9);
}

.step-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(192,132,252,0.35), rgba(34,211,238,0.25));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 2.5rem;
  line-height: 1;
}

.step-content h3 {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  color: var(--light);
}

.step-content p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
}

.code-block {
  background: #0a0612;
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 14px;
  padding: 1.8rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  line-height: 1.9;
  position: sticky;
  top: 8rem;
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.1);
  color: #a78cc4;
}

.code-block pre { white-space: pre-wrap; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.plan {
  background: var(--card);
  padding: 2.2rem;
  border-radius: 16px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  position: relative;
}

.plan.featured {
  background: linear-gradient(145deg, #1f1633, #2a1045);
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.15);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #c026d3);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #f0ebff, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-period {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
}

.plan-features li {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.plan-features li::before {
  content: '✦';
  color: #a855f7;
  font-size: 0.6rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 7rem 3.5rem;
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.06), transparent);
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #f0ebff 0%, #c084fc 45%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.cta-section p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-logo .logo-text {
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c084fc, #818cf8, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-copy { font-size: 0.75rem; color: var(--muted); }
.footer-copy a { color: #a855f7; }
.footer-copy a:hover { color: #c084fc; }

.footer-tagline { font-size: 0.7rem; color: #4a3a6a; }

/* ============================================================
   WORDPRESS CONTENT STYLES (posts/pages)
   ============================================================ */
.entry-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 { margin: 2rem 0 1rem; color: var(--light); }

.entry-content p { margin-bottom: 1.2rem; color: var(--muted); }

.entry-content ul,
.entry-content ol { padding-left: 1.5rem; color: var(--muted); margin-bottom: 1.2rem; }

.entry-content a { color: #c084fc; }

.entry-content blockquote {
  border-left: 3px solid var(--purple);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--muted);
  font-style: italic;
}

.entry-content pre {
  background: #0a0612;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  color: #c084fc;
}

.entry-content img { border-radius: 12px; margin: 2rem 0; }

/* WordPress alignment classes */
.alignleft  { float: left; margin: 0 2rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 2rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignwide  { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull  { width: 100vw; margin-left: calc(50% - 50vw); }

/* WordPress gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0; }
.gallery-item img { border-radius: 8px; width: 100%; }

/* WordPress captions */
.wp-caption { text-align: center; }
.wp-caption-text { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; }

/* Comments */
.comments-area {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  position: relative;
  z-index: 1;
}

.comment-list { list-style: none; }

.comment-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.comment-author { font-weight: 700; color: var(--light); }
.comment-metadata { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.75rem; }
.comment-content p { font-size: 0.85rem; color: var(--muted); }

/* Comment form */
.comment-form input,
.comment-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--light);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--purple); }

/* Search form */
.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  color: var(--light);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  outline: none;
}

.search-form button {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  transition: all 0.2s;
}

.pagination a:hover { border-color: var(--purple); color: var(--light); }
.pagination .current { background: var(--purple); color: white; border-color: var(--purple); }

/* Archive / Blog */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 5rem 3.5rem;
  position: relative;
  z-index: 1;
}

.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.post-card:hover { border-color: rgba(192,132,252,0.4); transform: translateY(-4px); }

.post-card-img img { width: 100%; height: 200px; object-fit: cover; }

.post-card-body { padding: 1.5rem; }

.post-meta { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.5rem; }
.post-meta a { color: #c084fc; }

.post-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.post-card-excerpt { font-size: 0.8rem; color: var(--muted); line-height: 1.7; }

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c084fc;
}

/* ============================================================
   ORBS / DECORATIVE
   ============================================================ */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-purple {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 70%);
}

.orb-teal {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(6,182,212,0.15), transparent 70%);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

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

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

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  #site-header { padding: 1rem 1.5rem; }

  #primary-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(13,8,20,0.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
  }

  #primary-menu.is-open { display: flex; }
  #primary-menu li a { padding: 0.75rem 1.5rem; display: block; }

  .menu-toggle { display: block; }

  .hero-section {
    grid-template-columns: 1fr;
    padding: 7rem 1.5rem 3rem;
  }

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

  .how-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .code-block { position: static; }

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

  .stats-row { grid-template-columns: 1fr 1fr; }

  .section { padding: 4rem 1.5rem; }

  .posts-grid { padding: 3rem 1.5rem; grid-template-columns: 1fr; }

  #site-footer {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .cta-section { padding: 4rem 1.5rem; }
}
