/* AI Clubhouse — Luxury Tech Redesign (Premium Edition) */

/* ─── CUSTOM PROPERTIES ─── */
:root {
  /* Luxury Tech Palette — Black & Gold with Electric Blue */
  --bg-dark: #000000;
  --bg-main: #0a0a0f;
  --bg-main-gradient: linear-gradient(145deg, #0a0a0f 0%, #050510 100%);
  --bg-card: #111118;
  --bg-card-hover: #1a1a24;
  --bg-elevated: #1e1e2a;
  --bg-glass: rgba(20, 20, 30, 0.8);
  
  /* Accent Colors — Luxury Tech */
  --accent: #00e0ff;
  --accent-glow: rgba(0, 224, 255, 0.3);
  --accent-dim: #00a8c6;
  --gold: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.2);
  --platinum: #e5e4e2;
  --platinum-glow: rgba(229, 228, 226, 0.15);
  --purple: #9d4edd;
  --purple-glow: rgba(157, 78, 221, 0.25);
  
  /* Text Colors */
  --white: #ffffff;
  --white-dim: #f0f0f0;
  --grey: #b0b0c0;
  --grey-dark: #707080;
  --grey-darker: #404050;
  
  /* Borders & Effects */
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 224, 255, 0.4);
  --border-gold: rgba(255, 215, 0, 0.3);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 30px 90px rgba(0, 224, 255, 0.15);
  --shadow-gold: 0 20px 60px rgba(255, 215, 0, 0.1);
  
  /* Glass Effects */
  --glass-bg: rgba(20, 20, 30, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  
  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', sans-serif;
  --font-tech: 'SF Mono', 'Monaco', 'Inconsolata', monospace;

  /* Sizing */
  --max-w: 1600px;
  --container-pad: clamp(1.5rem, 5vw, 4rem);
  --section-gap: clamp(8rem, 15vh, 12rem);
  --radius: 1.2rem;
  --radius-lg: 3.5rem;
  --radius-xl: 8rem;

  /* Animation (Luxury Tech) */
  --ease: cubic-bezier(0.77, 0, 0.175, 1);
  --duration: 0.8s;
  --transition: var(--duration) var(--ease);
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Neon Effects */
  --neon-blue: 0 0 20px rgba(0, 224, 255, 0.7);
  --neon-gold: 0 0 20px rgba(255, 215, 0, 0.5);
  --neon-purple: 0 0 20px rgba(157, 78, 221, 0.5);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: var(--bg-main-gradient);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 224, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(157, 78, 221, 0.02) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--purple));
  z-index: 10000;
  transition: width 0.05s linear;
  box-shadow: var(--neon-blue);
}

/* ─── NAVIGATION ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--container-pad);
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(30px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--white);
  text-transform: uppercase;
  position: relative;
}
.nav-brand .logo-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--gold), var(--purple));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--bg-dark);
  letter-spacing: -0.05em;
  box-shadow: var(--neon-blue);
  position: relative;
  overflow: hidden;
}
.nav-brand .logo-mark::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}
@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--grey);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--gold), var(--purple)) !important;
  color: var(--bg-dark) !important;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 900 !important;
  font-size: 0.9rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all var(--transition-fast) !important;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background-size: 300% 300%;
  animation: gradient-shift 4s ease infinite;
}
.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--neon-blue), var(--neon-gold);
  border-color: rgba(255, 255, 255, 0.2);
}
.nav-cta:hover::before {
  left: 100%;
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent), var(--gold), var(--purple));
  color: var(--bg-dark);
  padding: 18px 42px;
  border-radius: 100px;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  transition: all var(--transition-fast);
  background-size: 300% 300%;
  animation: gradient-shift 4s ease infinite;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: var(--neon-blue), var(--neon-gold), var(--neon-purple), 0 8px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--bg-dark);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.7s;
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--white);
  padding: 18px 42px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--border-hover);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.btn-secondary:hover {
  background: rgba(0, 224, 255, 0.1);
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 224, 255, 0.2);
}
.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 224, 255, 0.2), transparent);
  transition: left 0.7s;
}
.btn-secondary:hover::before {
  left: 100%;
}

/* ─── HERO (LUXURY TECH CINEMATIC) ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px var(--container-pad) 100px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 20%, rgba(0, 224, 255, 0.05) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
}
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
  animation: tech-glow-1 12s ease-in-out infinite alternate;
  filter: blur(60px);
}
@keyframes tech-glow-1 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.3; }
  50% { transform: translate(-40px, 30px) scale(1.2) rotate(10deg); opacity: 0.6; }
  100% { transform: translate(-60px, 40px) scale(1.4) rotate(-5deg); opacity: 0.4; }
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
  animation: tech-glow-2 15s ease-in-out infinite alternate;
  filter: blur(80px);
}
@keyframes tech-glow-2 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.2; }
  50% { transform: translate(40px, -30px) scale(1.25) rotate(-15deg); opacity: 0.5; }
  100% { transform: translate(60px, -40px) scale(1.5) rotate(10deg); opacity: 0.3; }
}
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 224, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 224, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, transparent 30%, black 70%);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 224, 255, 0.1);
  border: 1px solid rgba(0, 224, 255, 0.3);
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 48px;
  width: fit-content;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 224, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.hero-eyebrow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 1s;
}
.hero-eyebrow:hover::before {
  left: 100%;
}
.hero h1 {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 48px;
  text-transform: uppercase;
  position: relative;
}
.hero h1::after {
  content: 'AI';
  position: absolute;
  top: -20px;
  right: -40px;
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.5;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent), var(--gold), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 .gold { color: var(--gold); }
.hero .hero-sub {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--grey);
  max-width: 700px;
  line-height: 1.8;
  margin-bottom: 64px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.hero-actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 100px;
}
.hero-stats {
  display: flex;
  gap: clamp(60px, 8vw, 120px);
  padding-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.hero-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--gold), var(--purple), transparent);
}
.hero-stat {
  position: relative;
}
.hero-stat .number {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--gold), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.03em;
  font-family: var(--font-tech);
  position: relative;
  text-shadow: 0 0 20px rgba(0, 224, 255, 0.3);
}
.hero-stat .number::after {
  content: '+';
  position: absolute;
  top: -10px;
  right: -15px;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 800;
}
.hero-stat .label {
  font-size: 0.85rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
  font-weight: 600;
}

/* ─── SECTION LAYOUT ─── */
.section {
  padding: var(--section-gap) var(--container-pad);
}
.section-header {
  margin-bottom: 64px;
}
.section-header .eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-header h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-header p {
  color: var(--grey);
  font-size: 1.15rem;
  max-width: 550px;
  line-height: 1.7;
}

/* ─── SPLIT SCREEN ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  padding: var(--section-gap) var(--container-pad);
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-content .eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}
.split-content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.split-content p {
  color: var(--grey);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ─── TOOL CARDS ─── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
  box-shadow: var(--neon-blue);
}
.tool-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover), 0 30px 80px rgba(0, 0, 0, 0.4);
  background: var(--bg-card-hover);
}
.tool-card:hover::before { transform: scaleX(1); }
.tool-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.tool-card-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tool-card-header .category {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.tool-card > p {
  color: var(--grey);
  font-size: 0.92rem;
  margin-bottom: 24px;
  line-height: 1.7;
}
.tool-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tool-rating {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 700;
}
.tool-cta {
  background: rgba(0, 224, 255, 0.1);
  color: var(--accent);
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all var(--transition-fast);
  border: 1px solid rgba(0, 224, 255, 0.3);
  position: relative;
  overflow: hidden;
}
.tool-cta:hover {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
  box-shadow: var(--neon-blue);
  transform: translateY(-2px);
}
.tool-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.7s;
}
.tool-cta:hover::before {
  left: 100%;
}

/* ─── FEATURE CARDS ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: left;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.feature-card p {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── BLOG CARDS ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: var(--border-hover);
}
.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--bg-elevated);
}
.blog-card-body { padding: 28px; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--grey-dark);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.blog-tag {
  background: var(--accent-subtle);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 700;
}
.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.blog-card h3 a { color: var(--white); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p {
  color: var(--grey);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ─── COMPARISON TABLE ─── */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 224, 255, 0.2);
  position: relative;
  backdrop-filter: blur(10px);
}
.comparison-table::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--gold), transparent);
}
.comparison-table th {
  background: linear-gradient(180deg, rgba(0, 224, 255, 0.1), rgba(0, 224, 255, 0.05));
  padding: 24px 32px;
  text-align: left;
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  border-bottom: 1px solid rgba(0, 224, 255, 0.2);
  font-family: var(--font-tech);
}
.comparison-table td {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { 
  background: rgba(0, 224, 255, 0.05);
  color: var(--white);
}

/* ─── NEWSLETTER ─── */
.newsletter-section {
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.05), rgba(157, 78, 221, 0.05));
  border-top: 1px solid rgba(0, 224, 255, 0.2);
  border-bottom: 1px solid rgba(0, 224, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.03), transparent 70%);
  pointer-events: none;
}
.newsletter-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.newsletter-inner h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--accent), var(--gold), var(--platinum));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.newsletter-inner > p {
  color: var(--grey);
  margin-bottom: 48px;
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form {
  display: flex;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 18px 28px;
  border-radius: 100px;
  border: 2px solid rgba(0, 224, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 1.05rem;
  outline: none;
  transition: all var(--transition-fast);
  font-family: var(--font);
  backdrop-filter: blur(10px);
}
.newsletter-form input:focus { 
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 224, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}
.newsletter-form input::placeholder { color: var(--grey); }
.newsletter-form button {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: var(--bg-dark);
  border: none;
  padding: 18px 40px;
  border-radius: 100px;
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background-size: 300% 300%;
  animation: gradient-shift 4s ease infinite;
}
.newsletter-form button:hover {
  transform: translateY(-3px);
  box-shadow: var(--neon-blue), var(--neon-gold), 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}
.newsletter-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.7s;
}
.newsletter-form button:hover::before {
  left: 100%;
}
.newsletter-note {
  font-size: 0.75rem;
  color: var(--grey-dark);
  margin-top: 16px;
  font-weight: 600;
}

/* ─── TRI-PANEL (COMMUNITY) ─── */
.tri-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
}
.panel:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.panel .feature-icon { margin-bottom: 20px; }
.panel h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.panel p {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 100px var(--container-pad) 60px;
  border-top: 1px solid rgba(0, 224, 255, 0.2);
  background: linear-gradient(180deg, rgba(10, 10, 15, 0) 0%, rgba(10, 10, 15, 0.8) 20%, var(--bg-main) 100%);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--gold), var(--purple), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.footer-brand p {
  color: var(--grey);
  font-size: 0.9rem;
  margin-top: 20px;
  line-height: 1.8;
  font-weight: 400;
}
.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 900;
  font-family: var(--font-tech);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--grey);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--grey-dark);
  font-weight: 600;
}
.footer-bottom a { color: var(--grey-dark); }
.footer-bottom a:hover { color: var(--accent); }
.footer-tagline {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 48px;
  max-width: 600px;
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── SCROLL-TO-TOP ─── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: var(--bg-dark);
  border: none;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 40px var(--accent-glow);
}

/* ─── ARTICLE / BLOG POST ─── */
.article-header { padding: 160px 24px 60px; text-align: center; }
.article-header h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 800px; margin: 0 auto 16px; line-height: 1.2; }
.article-meta { color: var(--grey-dark); font-size: 0.9rem; }
.article-content { max-width: 760px; margin: 0 auto; padding: 0 24px 80px; font-size: 1.05rem; line-height: 1.85; }
.article-content h2 { font-size: 1.6rem; margin: 48px 0 16px; font-weight: 700; }
.article-content h3 { font-size: 1.25rem; margin: 36px 0 12px; font-weight: 600; }
.article-content p { margin-bottom: 20px; color: var(--grey); }
.article-content ul, .article-content ol { margin-bottom: 20px; padding-left: 24px; color: var(--grey); }
.article-content li { margin-bottom: 8px; }
.article-content a { color: var(--accent); text-decoration: underline; }
.article-content blockquote { border-left: 3px solid var(--accent); padding: 16px 24px; margin: 24px 0; background: var(--bg-card); border-radius: 0 8px 8px 0; color: var(--grey); font-style: italic; }
.article-content .affiliate-box { background: var(--bg-card); border: 1px solid var(--accent); border-radius: var(--radius); padding: 24px; margin: 32px 0; text-align: center; }

/* ─── CUSTOM CURSOR ─── */
.custom-cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease);
  mix-blend-mode: difference;
}
.custom-cursor.cursor-hover {
  width: 64px;
  height: 64px;
  border-color: var(--accent);
}
.custom-cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
}
@media (pointer: coarse) {
  .custom-cursor, .custom-cursor-dot { display: none; }
}

/* ─── MARQUEE TICKER ─── */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-inner {
  display: inline-flex;
  gap: 60px;
  animation: marquee-scroll 25s linear infinite;
}
.marquee-inner span {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-dark);
}
.marquee-inner .accent-word { color: var(--accent); }
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── TEXT LINE REVEAL ─── */
.text-reveal .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.text-reveal .word {
  display: inline-block;
  animation: word-rise 0.6s var(--ease) both;
}
@keyframes word-rise {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ─── CARD TILT (overrides) ─── */
.tool-card, .blog-card, .panel {
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split.reverse { direction: ltr; }
  .tri-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    padding: 24px var(--container-pad);
    gap: 20px;
  }
  .hero-stats { flex-wrap: wrap; gap: 32px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5rem); }
  .tools-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .newsletter-form { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
