/* ============================================
   2NDBRAIN AFRICA — Full-Service Digital Agency
   Design: bold, dark, modern, premium
   ============================================ */

/* ─── CSS Variables ─── */
:root {
  --black: #0a0a0a;
  --near-black: #111;
  --dark: #1a1a1a;
  --dark-card: #1e1e1e;
  --mid: #2a2a2a;
  --light-mid: #3a3a3a;
  --text: #e8e8e8;
  --text-muted: #999;
  --text-dim: #666;
  --accent: #6c5ce7;
  --accent-light: #a29bfe;
  --accent-glow: rgba(108, 92, 231, 0.3);
  --accent2: #00cec9;
  --accent3: #fd79a8;
  --gradient-1: linear-gradient(135deg, #6c5ce7, #a29bfe);
  --gradient-2: linear-gradient(135deg, #6c5ce7, #fd79a8);
  --gradient-3: linear-gradient(135deg, #6c5ce7, #00cec9);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cabinet Grotesk', 'Inter', -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ─── Utility ─── */
.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-border {
  position: relative;
}

.gradient-border::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-1);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--light-mid);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-3px);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .logo {
  height: 36px;
  width: auto;
}

.nav-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
}

.nav-logo .logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover { color: white; }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  background: var(--gradient-1);
  color: white !important;
  padding: 8px 22px !important;
  border-radius: 50px;
  font-size: 0.85rem !important;
}

.nav-cta::after { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
}

.hamburger .bar {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.12), transparent 70%);
  top: -200px;
  right: -200px;
  z-index: 0;
  animation: heroPulse 6s ease-in-out infinite alternate;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 206, 201, 0.08), transparent 70%);
  bottom: -100px;
  left: -100px;
  z-index: 0;
}

@keyframes heroPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.2) translate(-50px, 50px); opacity: 1; }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 0 80px;
}

.hero-text { position: relative; }

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 16px;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-chip-dot {
  width: 6px;
  height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title-line {
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Hero Marquee */
.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  z-index: 1;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(10px);
}

.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track:hover { animation-play-state: paused; }

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-card-showcase {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.showcase-card {
  background: var(--dark-card);
  border: 1px solid var(--light-mid);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.showcase-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(108, 92, 231, 0.08), transparent 60%);
  pointer-events: none;
}

.showcase-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.showcase-card-indicator {
  display: flex;
  gap: 6px;
}

.showcase-card-indicator span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-mid);
}

.showcase-card-indicator span:first-child { background: var(--accent); }

.showcase-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(108, 92, 231, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-light);
}

.showcase-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: white;
}

.showcase-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.showcase-metric {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.showcase-metric-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.showcase-metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.showcase-progress {
  width: 100%;
  height: 4px;
  background: var(--mid);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.showcase-progress-bar {
  height: 100%;
  width: 70%;
  background: var(--gradient-1);
  border-radius: 4px;
  animation: progressPulse 2s ease-in-out infinite;
}

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

.showcase-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.showcase-stat {
  padding: 0.75rem;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}

.showcase-stat-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.showcase-stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Floating badges */
.showcase-badge {
  position: absolute;
  padding: 0.75rem 1.25rem;
  background: var(--dark-card);
  border: 1px solid var(--light-mid);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.showcase-badge-1 {
  top: -20px;
  right: -30px;
  animation: floatBadge 4s ease-in-out infinite;
}

.showcase-badge-2 {
  bottom: -20px;
  left: -30px;
  animation: floatBadge 4s ease-in-out infinite 2s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.showcase-badge i {
  color: var(--accent-light);
}

/* ─── MARQUEE BANNER ─── */
.marquee-banner {
  padding: 3rem 0;
  background: var(--near-black);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}

.marquee-banner-track {
  display: flex;
  gap: 3rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.marquee-banner-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.marquee-banner-sep {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── SERVICES ─── */
.services-section {
  background: var(--near-black);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 2rem;
}

.services-header .section-title {
  max-width: 500px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid var(--light-mid);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition-slow);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-1);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

.service-card-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(108, 92, 231, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--accent);
  color: white;
  transform: scale(1.05);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: white;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  transition: var(--transition);
}

.service-card-link i {
  font-size: 0.8rem;
  transition: var(--transition);
}

.service-card:hover .service-card-link { color: white; }
.service-card:hover .service-card-link i { transform: translateX(5px); }

/* ─── SHOWCASE / PORTFOLIO ─── */
.showcase-section {
  background: var(--black);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.showcase-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/10;
  background: var(--dark-card);
  border: 1px solid var(--light-mid);
}

.showcase-item.large {
  grid-column: span 2;
  aspect-ratio: 16/6;
}

.showcase-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.showcase-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-card);
  color: var(--text-dim);
  font-size: 1rem;
}

.showcase-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition);
}

.showcase-item:hover .showcase-item-overlay { opacity: 1; }
.showcase-item:hover .showcase-item-img { transform: scale(1.05); }

.showcase-item-overlay h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.3rem;
}

.showcase-item-overlay p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── ABOUT ─── */
.about-section {
  background: var(--near-black);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.about-stat {
  padding: 1.5rem;
  background: var(--dark-card);
  border: 1px solid var(--light-mid);
  border-radius: var(--radius);
}

.about-stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-card-stack {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 400px;
}

.stack-card {
  position: absolute;
  width: 100%;
  padding: 2rem;
  background: var(--dark-card);
  border: 1px solid var(--light-mid);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stack-card-1 {
  top: 0;
  right: 0;
  z-index: 3;
  transform: rotate(-2deg);
}

.stack-card-2 {
  top: 2rem;
  left: 2rem;
  z-index: 2;
  transform: rotate(3deg);
}

.stack-card-3 {
  top: 4rem;
  right: 1rem;
  z-index: 1;
  transform: rotate(-1deg);
}

.stack-card i {
  font-size: 2.5rem;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.stack-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.stack-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── PRICING ─── */
.pricing-section {
  background: var(--black);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--dark-card);
  border: 1px solid var(--light-mid);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition-slow);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--dark-card), rgba(108,92,231,0.05));
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1.25rem;
  background: var(--gradient-1);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: white;
  display: block;
  margin-bottom: 0.25rem;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: block;
  margin-bottom: 2rem;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features li i {
  color: var(--accent2);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ─── TESTIMONIALS ─── */
.testimonials-section {
  background: var(--near-black);
  overflow: hidden;
}

.testimonials-marquee {
  display: flex;
  gap: 2rem;
  animation: marquee 35s linear infinite;
  width: max-content;
  margin-top: 3rem;
}

.testimonial-card {
  width: 400px;
  padding: 2rem;
  background: var(--dark-card);
  border: 1px solid var(--light-mid);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1rem;
  color: #fbbf24;
  font-size: 0.85rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── CTA ─── */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(108,92,231,0.08), transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
}

.cta-section .section-title {
  margin-bottom: 1.5rem;
}

.cta-section .section-desc {
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--near-black);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0;
  max-width: 320px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 1px solid var(--light-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s 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; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-text { align-items: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .about-content { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-item.large { grid-column: span 1; aspect-ratio: 16/10; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .section { padding: 80px 0; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    height: 100vh;
    justify-content: center;
    text-align: center;
    transition: 0.4s ease;
    gap: 2rem;
    z-index: -1;
  }
  .nav-menu.active { left: 0; }
  .nav-link { font-size: 1.1rem; }
  .hamburger { display: flex; z-index: 1; }
  .hero-title { font-size: clamp(2.5rem, 8vw, 3.5rem); }
  .pricing-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .about-card-stack { height: auto; }
  .stack-card { position: relative; transform: none !important; margin-bottom: 1rem; }
  .cta-section { padding: 80px 0; }
}