/* ===== CSS Reset & Variables ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Logo-derived palette: warm red-to-orange gradient identity */
  --bg:          #0C0C10;
  --bg-card:     #131318;
  --bg-card-hover: #1A1A22;
  --primary:     #E63946;
  --primary-end: #FF8C42;
  --secondary:   #6B7280;
  --accent:      #FF8C42;
  --text:        #EAEDF2;
  --text-dim:    #8B8F9A;
  --dark-text:   #0C0C10;
  --radius:      10px;
  --glow:        rgba(230,57,70,.25);
  --glow-orange: rgba(255,140,66,.2);
  --font-heading: 'Rajdhani', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Typography ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  font-weight: 700;
}

.section-title { margin-bottom: 12px; }
.section-subtitle { color: var(--text-dim); max-width: 640px; margin: 0 auto 48px; font-size: 1.05rem; }

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

/* ===== Navigation ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(12, 12, 16, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230,57,70,.06);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 32px rgba(230,57,70,.08); }

.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-infinity {
  width: 48px; height: 24px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(230,57,70,.2));
  transition: filter .35s, transform .35s;
}
.logo:hover .logo-infinity {
  filter: drop-shadow(0 0 16px rgba(230,57,70,.45)) drop-shadow(0 0 4px rgba(255,140,66,.25));
  transform: scale(1.1);
}
.logo-text {
  display: flex; align-items: baseline; gap: 6px;
  font-weight: 700; letter-spacing: 0.5px;
  font-size: 1.25rem;
}
.brand-labs {
  font-size: .72em;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--text-dim);
  position: relative;
  top: -1px;
}

.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text-dim); font-size: .92rem; font-weight: 600;
  transition: color .2s; letter-spacing: .3px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff !important;
  padding: 10px 24px; border-radius: 8px; font-weight: 700;
  transition: transform .15s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--glow); color: #fff !important; }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .3s, opacity .3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(12, 12, 16, .97);
    flex-direction: column; gap: 0; padding: 16px 0;
    transform: translateY(-120%); transition: transform .35s;
    border-bottom: 1px solid rgba(230,57,70,.1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { text-align: center; }
  .nav-links a { display: block; padding: 14px 24px; }
  .hamburger { display: flex; }
  .nav-cta-li { padding: 8px 24px; }
  .nav-cta { display: block; text-align: center; }
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(230,57,70,.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 55% at 80% 30%, rgba(255,140,66,.06) 0%, transparent 70%);
}

/* Animated pixel grid - matches the pixel dissolution in logo */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(230,57,70,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,57,70,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridMove 25s linear infinite;
}
@keyframes gridMove { to { background-position: 48px 48px; } }

/* Floating pixel particles */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 25%, rgba(230,57,70,.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 15%, rgba(255,140,66,.25) 50%, transparent 50%),
    radial-gradient(2px 2px at 45% 80%, rgba(230,57,70,.15) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 60%, rgba(255,140,66,.2) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 25% 70%, rgba(230,57,70,.12) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 85%, rgba(255,140,66,.15) 50%, transparent 50%);
  animation: particleFloat 30s linear infinite alternate;
}
@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-20px) translateX(10px); }
}

.hero .container { position: relative; z-index: 1; display: flex; align-items: center; gap: 60px; }

.hero-content { flex: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(230,57,70,.08); border: 1px solid rgba(230,57,70,.18);
  border-radius: 24px; padding: 6px 18px; font-size: .82rem;
  color: var(--primary); margin-bottom: 24px; font-weight: 600;
  letter-spacing: .5px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.8); } }

.hero h1 { margin-bottom: 20px; }
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { font-size: 1.12rem; color: var(--text-dim); max-width: 540px; margin-bottom: 36px; }

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

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px;
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  cursor: pointer; border: none; transition: all .2s; letter-spacing: .3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--glow); color: #fff; }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid rgba(234,237,242,.15);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.hero-visual {
  flex: 1; display: flex; justify-content: center; align-items: center;
}

/* Infinity graphic - matches logo infinity symbol */
.infinity-graphic {
  position: relative; width: 360px; height: 360px;
  display: flex; align-items: center; justify-content: center;
}

.infinity-svg {
  width: 260px; height: 140px;
  filter: drop-shadow(0 0 40px rgba(230,57,70,.2)) drop-shadow(0 0 80px rgba(255,140,66,.1));
}

/* Orbiting rings */
.orbit {
  position: absolute; border: 1px dashed rgba(230,57,70,.1);
  border-radius: 50%; animation: spin 30s linear infinite;
}
.orbit-1 { width: 340px; height: 340px; top: 10px; left: 10px; }
.orbit-2 { width: 400px; height: 400px; top: -20px; left: -20px; animation-direction: reverse; animation-duration: 45s; border-color: rgba(255,140,66,.08); }

.orbit-dot {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 10px var(--glow);
}
.orbit-dot-2 { background: var(--accent); top: 20%; right: 0; box-shadow: 0 0 10px var(--glow-orange); }
.orbit-dot-3 { background: var(--secondary); bottom: 10%; left: 5%; width: 6px; height: 6px; box-shadow: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Pixel scatter particles around the infinity */
.pixel-scatter {
  position: absolute; width: 100%; height: 100%;
}
.pixel {
  position: absolute; width: 3px; height: 3px;
  background: var(--primary); opacity: .4;
  animation: pixelFade 3s ease-in-out infinite alternate;
}
.pixel:nth-child(2) { width: 2px; height: 2px; background: var(--accent); top: 15%; right: 8%; animation-delay: .5s; }
.pixel:nth-child(3) { width: 4px; height: 2px; top: 80%; left: 12%; animation-delay: 1s; opacity: .3; }
.pixel:nth-child(4) { width: 2px; height: 4px; background: var(--accent); top: 25%; left: 5%; animation-delay: 1.5s; opacity: .25; }
.pixel:nth-child(5) { width: 3px; height: 3px; bottom: 15%; right: 15%; animation-delay: 2s; opacity: .35; }
.pixel:nth-child(6) { width: 2px; height: 2px; background: var(--accent); top: 60%; right: 5%; animation-delay: .8s; }
.pixel:nth-child(7) { width: 3px; height: 1px; bottom: 30%; left: 18%; animation-delay: 2.2s; opacity: .2; }
.pixel:nth-child(8) { width: 2px; height: 3px; background: var(--primary); top: 10%; left: 40%; animation-delay: 1.2s; opacity: .3; }
@keyframes pixelFade {
  0% { opacity: .15; transform: translate(0, 0); }
  100% { opacity: .5; transform: translate(2px, -3px); }
}

@media (max-width: 900px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid rgba(230,57,70,.05);
  border-bottom: 1px solid rgba(230,57,70,.05);
  padding: 40px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.stat-label { color: var(--text-dim); font-size: .9rem; }

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ===== Section Padding ===== */
section { padding: 100px 0; }

/* ===== About ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-image {
  background: var(--bg-card);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(230,57,70,.08);
  position: relative; overflow: hidden;
}
/* Animated scan-line overlay — digital / lab aesthetic */
.about-image::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(230,57,70,.015) 2px,
    rgba(230,57,70,.015) 4px
  );
  pointer-events: none;
}
/* Gradient border glow on top & bottom */
.about-image::after {
  content: ''; position: absolute; inset: -1px; z-index: 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(230,57,70,.12), rgba(255,140,66,.08), transparent 40%, transparent 60%, rgba(255,140,66,.08), rgba(230,57,70,.12));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude; -webkit-mask-composite: xor;
  padding: 1px;
  pointer-events: none;
}

.about-logo-img {
  display: none;
}
.about-infinity-svg {
  width: 75%; height: auto;
  position: relative; z-index: 1;
  filter: drop-shadow(0 0 40px rgba(230,57,70,.2)) drop-shadow(0 0 80px rgba(255,140,66,.1));
  transition: transform .5s cubic-bezier(.25,.46,.45,.94), filter .5s;
}
.about-image:hover .about-infinity-svg {
  transform: scale(1.06);
  filter: drop-shadow(0 0 60px rgba(230,57,70,.3)) drop-shadow(0 0 100px rgba(255,140,66,.15));
}

/* Floating pixel fragments inside about image */
.about-pixels {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
}
.about-pixels .px {
  position: absolute; display: block; opacity: 0;
  animation: pxDrift 4s ease-in-out infinite alternate;
}
@keyframes pxDrift {
  0%   { opacity: 0; transform: translate(0, 0); }
  30%  { opacity: .5; }
  70%  { opacity: .35; }
  100% { opacity: 0; transform: translate(6px, -8px); }
}

.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-dim); margin-bottom: 16px; }

.about-values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px;
}
.value-item {
  display: flex; align-items: flex-start; gap: 12px;
}
.value-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: rgba(230,57,70,.08); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.2rem;
}
.value-item h4 { font-size: .95rem; margin-bottom: 2px; }
.value-item p { font-size: .82rem; color: var(--text-dim); line-height: 1.4; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
}

/* ===== Courses ===== */
.courses-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid rgba(230,57,70,.05);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.course-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity .25s;
}
.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230,57,70,.15);
  box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 0 30px rgba(230,57,70,.06);
}
.course-card:hover::before { opacity: 1; }

.course-icon {
  width: 54px; height: 54px;
  background: rgba(230,57,70,.06); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary); margin-bottom: 20px;
}
.course-card h3 { margin-bottom: 10px; }
.course-card p { color: var(--text-dim); font-size: .92rem; margin-bottom: 20px; }

.course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag {
  background: rgba(107,114,128,.12); color: var(--secondary);
  padding: 4px 12px; border-radius: 6px; font-size: .78rem; font-weight: 600;
}

.course-meta {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(234,237,242,.05); padding-top: 16px;
}
.course-level {
  font-size: .82rem; font-weight: 700;
  padding: 4px 12px; border-radius: 6px;
}
.level-beginner { background: rgba(34,197,94,.1); color: #22C55E; }
.level-intermediate { background: rgba(255,140,66,.1); color: var(--accent); }
.level-advanced { background: rgba(230,57,70,.1); color: var(--primary); }

.course-cta {
  font-family: var(--font-heading); font-size: .88rem;
  color: var(--primary); cursor: pointer; background: none; border: none;
  display: flex; align-items: center; gap: 6px; transition: gap .2s, color .2s;
  font-weight: 600;
}
.course-cta:hover { gap: 10px; color: var(--accent); }

/* ===== Why Us ===== */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.why-card {
  background: var(--bg-card); border: 1px solid rgba(230,57,70,.05);
  border-radius: var(--radius); padding: 36px 28px;
  text-align: center; transition: transform .25s, box-shadow .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.why-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: rgba(230,57,70,.06); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--primary);
}
.why-card h3 { margin-bottom: 10px; }
.why-card p { color: var(--text-dim); font-size: .92rem; }

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ===== Career Paths ===== */
.paths-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px;
}
.path-card {
  background: var(--bg-card); border: 1px solid rgba(230,57,70,.04);
  border-radius: var(--radius); padding: 28px 22px;
  text-align: center; transition: all .25s; cursor: default;
}
.path-card:hover { border-color: rgba(230,57,70,.18); transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.path-icon {
  font-size: 2rem; margin-bottom: 14px; color: var(--primary);
}
.path-card h4 { font-size: 1rem; margin-bottom: 6px; }
.path-card p { font-size: .82rem; color: var(--text-dim); }

/* ===== Register ===== */
.register-section {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(230,57,70,.04) 0%, transparent 70%);
}
.register-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.register-info h2 { margin-bottom: 16px; }
.register-info p { color: var(--text-dim); margin-bottom: 24px; }
.register-benefits { list-style: none; }
.register-benefits li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; color: var(--text-dim); font-size: .95rem;
}
.register-benefits li::before {
  content: '\2713'; display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; min-width: 24px;
  background: rgba(230,57,70,.1); border-radius: 6px;
  color: var(--primary); font-size: .8rem; font-weight: 700;
}

.register-form-card {
  background: var(--bg-card); border: 1px solid rgba(230,57,70,.06);
  border-radius: var(--radius); padding: 40px;
}
.register-form-card h3 { margin-bottom: 24px; text-align: center; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .88rem; font-weight: 600;
  color: var(--text-dim); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  background: rgba(12,12,16,.6); border: 1px solid rgba(234,237,242,.08);
  border-radius: 8px; color: var(--text);
  font-family: var(--font-body); font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230,57,70,.08);
}
.form-group select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238B8F9A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.form-group select option { background: var(--bg-card); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 80px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.btn-submit {
  width: 100%; padding: 14px; font-size: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; border: none;
  border-radius: 10px; font-family: var(--font-heading);
  font-weight: 700; cursor: pointer; transition: all .2s;
  letter-spacing: .3px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--glow); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success .check-circle {
  width: 72px; height: 72px; margin: 0 auto 20px;
  background: rgba(230,57,70,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--primary);
}
.form-success h3 { margin-bottom: 10px; color: var(--primary); }
.form-success p { color: var(--text-dim); }

@media (max-width: 768px) {
  .register-wrapper { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(234,237,242,.05);
}
.faq-question {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600;
  padding: 20px 0; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; text-align: left;
}
.faq-question:hover { color: var(--primary); }
.faq-arrow {
  font-size: 1.2rem; transition: transform .3s; color: var(--primary);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s;
  color: var(--text-dim); font-size: .95rem; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-card); border-top: 1px solid rgba(230,57,70,.05);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--text-dim); font-size: .9rem; margin-top: 12px; line-height: 1.6; }
.footer-brand .logo-infinity { width: 40px; height: 20px; }
.footer-brand .logo-text { font-size: 1.1rem; }
.footer h4 {
  font-size: .92rem; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-dim); font-size: .9rem; }
.footer ul a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(234,237,242,.05);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--text-dim);
}
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(230,57,70,.06); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 1rem; transition: all .2s;
}
.footer-socials a:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ===== Animations ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s, transform .7s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Scroll-to-top ===== */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none; border-radius: 10px; cursor: pointer;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .2s;
  box-shadow: 0 4px 20px var(--glow);
}
.scroll-top.show { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); }
