/* ===== DESIGN TOKENS ===== */
:root {
  --navy-deep: #0a0e1a;
  --navy: #0f1629;
  --navy-mid: #1a2340;
  --navy-light: #243056;
  --gold: #d4a843;
  --gold-light: #f0d078;
  --gold-dim: rgba(212, 168, 67, 0.15);
  --white: #f5f5f5;
  --grey: #8e95a9;
  --grey-light: #b8bfcf;
  --blue-accent: #4fc3f7;
  --green-accent: #66bb6a;
  --red-accent: #ef5350;
  --purple-accent: #ab47bc;
  --glass-bg: rgba(15, 22, 41, 0.6);
  --glass-border: rgba(212, 168, 67, 0.12);
  --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-gold: 0 4px 30px rgba(212, 168, 67, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold-light); }

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

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--white) 0%, var(--grey-light) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 600px;
  line-height: 1.7;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(212, 168, 67, 0.3);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.45);
  color: var(--navy-deep);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
  color: var(--gold-light);
}

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

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

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 168, 67, 0.1); }
  50% { box-shadow: 0 0 40px rgba(212, 168, 67, 0.25); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}
.navbar-brand:hover { color: var(--white); }

.navbar-brand .logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.navbar-links a {
  color: var(--grey-light);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.navbar-links a:hover {
  color: var(--gold);
}
.navbar-links a:hover::after {
  width: 100%;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(212, 168, 67, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(79, 195, 247, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-content {
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--gold-dim);
  border: 1px solid rgba(212, 168, 67, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-glow 2s infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title span {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(212, 168, 67, 0.1);
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}
.hero-stat p {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 4px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-visual img {
  max-width: 450px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(212, 168, 67, 0.15));
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}
.features-header .section-subtitle {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 36px 24px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform var(--transition);
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-icon.gold { background: linear-gradient(135deg, rgba(212, 168, 67, 0.15) 0%, rgba(212, 168, 67, 0.05) 100%); }
.feature-icon.blue { background: linear-gradient(135deg, rgba(79, 195, 247, 0.15) 0%, rgba(79, 195, 247, 0.05) 100%); }
.feature-icon.green { background: linear-gradient(135deg, rgba(102, 187, 106, 0.15) 0%, rgba(102, 187, 106, 0.05) 100%); }
.feature-icon.purple { background: linear-gradient(135deg, rgba(171, 71, 188, 0.15) 0%, rgba(171, 71, 188, 0.05) 100%); }
.feature-icon.red { background: linear-gradient(135deg, rgba(239, 83, 80, 0.15) 0%, rgba(239, 83, 80, 0.05) 100%); }
.feature-icon.teal { background: linear-gradient(135deg, rgba(38, 166, 154, 0.15) 0%, rgba(38, 166, 154, 0.05) 100%); }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ===== MODULES ===== */
.modules {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-deep) 100%);
}

.modules-header {
  text-align: center;
  margin-bottom: 64px;
}
.modules-header .section-subtitle {
  margin: 0 auto;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.module-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}

.module-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gold-dim);
  border: 1px solid rgba(212, 168, 67, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold);
}

.module-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.module-info p {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.5;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  position: relative;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-lg) + 8px);
  border: 1px solid rgba(212, 168, 67, 0.08);
  pointer-events: none;
}

.about-content .section-subtitle {
  margin-bottom: 32px;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--grey-light);
}
.about-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(102, 187, 106, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--green-accent);
  margin-top: 2px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}
.testimonials-header .section-subtitle {
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  position: relative;
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--gold-dim);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--grey-light);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-deep);
}

.testimonial-author h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--grey);
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 64px;
}
.faq-header .section-subtitle {
  margin: 0 auto;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: border-color var(--transition);
}
.faq-item.open {
  border-color: rgba(212, 168, 67, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  transition: color var(--transition);
}
.faq-question:hover {
  color: var(--gold);
}

.faq-question .icon {
  font-size: 1.2rem;
  transition: transform var(--transition);
  color: var(--gold);
  flex-shrink: 0;
}
.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.7;
}

/* ===== CONTACT / CTA ===== */
.cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  border: 1px solid rgba(212, 168, 67, 0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}

.cta-box .section-title {
  margin-bottom: 16px;
}

.cta-box .section-subtitle {
  margin: 0 auto 36px;
  text-align: center;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-contact {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--grey);
  font-size: 0.9rem;
}
.cta-contact-item .icon {
  font-size: 1.1rem;
  color: var(--gold);
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(212, 168, 67, 0.08);
  background: var(--navy-deep);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}
.footer-brand .logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.footer-about p {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--navy-mid);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--grey);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold-dim);
  color: var(--gold);
  border-color: rgba(212, 168, 67, 0.3);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  color: var(--grey);
  font-size: 0.85rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col ul a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(212, 168, 67, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--grey);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual img { max-width: 320px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }

  .about .container { grid-template-columns: 1fr; text-align: center; }
  .about-content .section-subtitle { margin: 0 auto 32px; }
  .about-list { align-items: center; }

  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
  }
  .navbar-links.active {
    display: flex;
  }
  .navbar-links a {
    font-size: 1.2rem;
  }
  .navbar-toggle { display: block; z-index: 1001; }

  .features-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .hero-stats { gap: 24px; }
  .hero-stat h3 { font-size: 1.5rem; }

  .modules-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 24px; }
  .cta-contact { flex-direction: column; align-items: center; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ===== PARTICLE BG CANVAS ===== */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
