/* ===================================================
   MEGAJACKPOT PREDICTIONS — Modern Stylesheet
   Redesigned by Nesture-X
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===================================================
   CSS VARIABLES
   =================================================== */
:root {
  /* Brand Colors */
  --primary:      #00D97E;
  --primary-dark: #00B368;
  --primary-rgb:  0,217,126;
  --accent:       #FFB800;
  --accent-secondary: #8B5CF6;
  --dark:         #060A14;
  --dark-alt:     #0C1220;
  --dark-card:    #111827;
  --white:        #FFFFFF;
  --text:         #E8EAED;
  --text-muted:   #9BA3B0;
  --border:       rgba(255,255,255,0.07);
  --border-glow:  rgba(0,217,126,0.15);
  --success:      #00D97E;
  --danger:       #FF4757;

  /* Typography */
  --font-primary: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.2);
  --shadow-md:  0 8px 30px rgba(0,0,0,0.35);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.5);
  --glow:       0 0 40px rgba(0,217,126,0.25), 0 0 80px rgba(0,217,126,0.08);
  --glow-sm:    0 0 20px rgba(0,217,126,0.2);

  /* Border Radius */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ===================================================
   NAVBAR
   =================================================== */
.mjp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,14,26,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mjp-nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0,217,126,0.2));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(0,217,126,0.08);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
  padding: 12px 28px !important;
  border-radius: var(--radius-sm) !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  box-shadow: var(--glow);
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   HERO
   =================================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #060a14 0%, #0b1628 40%, #0d1a22 100%);
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(0,217,126,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Mouse-tracking glow */
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0,217,126,0.12) 0%,
    rgba(139,92,246,0.04) 40%,
    transparent 70%);
}

.hero:hover .hero-glow { opacity: 1; }

/* Floating particles canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Dot grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,217,126,0.1);
  border: 1px solid rgba(0,217,126,0.25);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge i { font-size: 10px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.stat-item {}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.3px;
}

/* Hero Visual — Orbit Animation */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.hero-orbit {
  position: relative;
  width: 420px;
  height: 420px;
}

/* Center element */
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 0 50px rgba(0,217,126,0.35), 0 0 100px rgba(0,217,126,0.15);
}

.orbit-center i {
  font-size: 40px;
  color: var(--dark);
  animation: spinSlow 12s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-center-pulse {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(0,217,126,0.3);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0; }
}

/* Orbiting rings */
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(0,217,126,0.1);
}

.orbit-ring-1 {
  width: 220px; height: 220px;
  margin: -110px 0 0 -110px;
  border-color: rgba(0,217,126,0.12);
  animation: rotateRing 20s linear infinite;
}

.orbit-ring-2 {
  width: 320px; height: 320px;
  margin: -160px 0 0 -160px;
  border-color: rgba(139,92,246,0.08);
  animation: rotateRing 30s linear infinite reverse;
}

.orbit-ring-3 {
  width: 420px; height: 420px;
  margin: -210px 0 0 -210px;
  border-color: rgba(255,184,0,0.06);
  animation: rotateRing 40s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Orbiting orbs */
.orbit-orb {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(17,24,39,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  box-shadow: 0 0 20px rgba(0,217,126,0.15);
  transition: var(--transition);
}

.orbit-orb i {
  font-size: 18px;
  color: var(--primary);
}

.orbit-orb::after {
  content: attr(data-label);
  position: absolute;
  bottom: -22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
  white-space: nowrap;
  text-transform: uppercase;
  opacity: 0.7;
}

.orbit-orb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 30px rgba(0,217,126,0.3);
  border-color: var(--primary);
}

/* Orb positions — offset on the rings, animated */
.orb-1 {
  top: 50%; left: 50%;
  margin: -26px 0 0 -26px;
  animation: orbitPath1 16s linear infinite;
}

.orb-2 {
  top: 50%; left: 50%;
  margin: -26px 0 0 -26px;
  animation: orbitPath2 22s linear infinite;
}

.orb-3 {
  top: 50%; left: 50%;
  margin: -26px 0 0 -26px;
  animation: orbitPath3 18s linear infinite;
}

.orb-4 {
  top: 50%; left: 50%;
  margin: -26px 0 0 -26px;
  animation: orbitPath4 26s linear infinite;
}

@keyframes orbitPath1 {
  from { transform: rotate(0deg) translateX(110px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(110px) rotate(-360deg); }
}

@keyframes orbitPath2 {
  from { transform: rotate(90deg) translateX(160px) rotate(-90deg); }
  to   { transform: rotate(450deg) translateX(160px) rotate(-450deg); }
}

@keyframes orbitPath3 {
  from { transform: rotate(200deg) translateX(110px) rotate(-200deg); }
  to   { transform: rotate(560deg) translateX(110px) rotate(-560deg); }
}

@keyframes orbitPath4 {
  from { transform: rotate(45deg) translateX(210px) rotate(-45deg); }
  to   { transform: rotate(405deg) translateX(210px) rotate(-405deg); }
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn-primary-mjp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--dark);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary-mjp::after {
  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.5s ease;
}

.btn-primary-mjp:hover::after { left: 100%; }

.btn-primary-mjp:hover {
  background: var(--primary-dark);
  box-shadow: var(--glow);
  transform: translateY(-2px) scale(1.02);
  color: var(--dark);
}

.btn-outline-mjp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-mjp:hover {
  border-color: var(--primary);
  background: rgba(0,217,126,0.08);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ===================================================
   SECTION
   =================================================== */
.section {
  padding: 120px 32px;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0,217,126,0.08);
  border: 1px solid rgba(0,217,126,0.2);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.75;
}

/* ===================================================
   FEATURES / CARDS
   =================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}

.feature-card {
  background: rgba(17,24,39,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0,217,126,0.08);
  border-color: var(--border-glow);
  background: rgba(17,24,39,0.75);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(0,217,126,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.feature-icon i {
  font-size: 26px;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  box-shadow: var(--glow-sm);
}

.feature-card:hover .feature-icon i {
  color: var(--dark);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.prediction-card {
  background: rgba(17,24,39,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.prediction-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: var(--transition);
}

.prediction-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md), 0 0 20px rgba(0,217,126,0.06);
  transform: translateY(-4px);
}

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

.prediction-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.prediction-badge {
  background: rgba(0,217,126,0.1);
  border: 1px solid rgba(0,217,126,0.2);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.prediction-odds {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(255,184,0,0.3);
}

.prediction-match {
  text-align: center;
  margin-bottom: 20px;
}

.prediction-teams {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.prediction-league {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.prediction-tip {
  background: rgba(0,217,126,0.05);
  border: 1px solid rgba(0,217,126,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: center;
}

.prediction-tip strong {
  color: var(--primary);
  font-weight: 700;
}

.testimonial-card {
  background: rgba(17,24,39,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(0,217,126,0.1);
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--dark);
  font-size: 14px;
}

.author-info {}

.author-name {
  font-weight: 600;
  color: var(--white);
  font-size: 15px;
}

.author-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===================================================
   FOOTER
   =================================================== */
.mjp-footer {
  background: var(--dark-alt);
  color: var(--text);
  padding: 80px 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer-brand img {
  height: 56px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 340px;
  margin-bottom: 28px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  gap: 20px;
  flex-wrap: wrap;
}

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

.footer-bottom a {
  color: var(--primary);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ===================================================
   CONTACT FORM
   =================================================== */
.contact-form-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.form-control-mjp {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  font-family: var(--font-primary);
  font-size: 15px;
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-control-mjp:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(0,217,126,0.1);
}

textarea.form-control-mjp {
  height: auto;
  padding: 16px 18px;
  resize: vertical;
  min-height: 140px;
}

.form-submit-btn {
  width: 100%;
  height: 56px;
  background: var(--primary);
  color: var(--dark);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.3px;
}

.form-submit-btn:hover {
  background: var(--primary-dark);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

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

@media (max-width: 768px) {
  .section { padding: 80px 20px; }

  /* Nav */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: rgba(10,14,26,0.98);
    backdrop-filter: blur(16px);
    padding: 32px 20px;
    border-bottom: 1px solid var(--border);
    gap: 8px;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 20px; width: 100%; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 56px; padding: 80px 20px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }

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

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-column: 1; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; }

  .nav-inner { padding: 0 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions a,
  .hero-actions button { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 24px; }
}

/* ===================================================
   REVEAL ANIMATIONS
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ===================================================
   NAV CTA SHIMMER
   =================================================== */
.nav-cta {
  position: relative;
  overflow: hidden;
}

.nav-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: navShimmer 3s ease-in-out infinite;
}

@keyframes navShimmer {
  0%   { left: -100%; }
  50%  { left: 100%; }
  100% { left: 100%; }
}

/* ===================================================
   CONTACT PAGE HERO
   =================================================== */
.page-hero {
  min-height: 50vh;
  background: linear-gradient(160deg, #060a14 0%, #0b1628 40%, #0d1a22 100%);
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 32px;
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background: rgba(17,24,39,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: sticky;
  top: 110px;
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.contact-info-card p {
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,217,126,0.1);
  border: 1px solid rgba(0,217,126,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info-item:hover .contact-info-item-icon {
  background: rgba(0,217,126,0.15);
  box-shadow: var(--glow-sm);
}

.contact-info-item-icon i { color: var(--primary); font-size: 16px; }

.contact-info-item-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-info-item-text strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-info-item-text a { color: var(--text-muted); }
.contact-info-item-text a:hover { color: var(--primary); }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-info-card { position: static; }
  .page-hero-inner { padding: 60px 20px; }
}

/* ===================================================
   SECTION DIVIDERS
   =================================================== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,217,126,0.15), transparent);
  border: none;
  margin: 0;
}

/* ===================================================
   REDUCED MOTION
   =================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-glow { display: none; }
  .hero-particles { display: none; }
}
