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

:root {
  --primary: #6c2fff;
  --primary-dark: #5520e8;
  --accent: #ff6b35;
  --dark: #0d0d1a;
  --dark2: #13132a;
  --card: #1a1a35;
  --card2: #20204a;
  --text: #e8e8f0;
  --muted: #8888aa;
  --border: rgba(108,47,255,0.25);
  --gradient: linear-gradient(135deg, #6c2fff 0%, #ff6b35 100%);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 16px 0;
  background: rgba(13,13,26,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  display: flex; align-items: center;
  line-height: 1;
}

.logo img { display: block; }

.nav-links {
  display: flex; gap: 32px; list-style: none;
}

.nav-links a {
  color: var(--muted); font-weight: 500; font-size: .95rem;
  transition: color .2s;
}

.nav-links a:hover { color: var(--text); }

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

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: all .25s; border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(108,47,255,.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108,47,255,.6);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-large { padding: 16px 40px; font-size: 1.05rem; }

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

/* ===== 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 80% 60% at 50% -10%, rgba(108,47,255,.25) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255,107,53,.15) 0%, transparent 60%);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(108,47,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(108,47,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,47,255,.15);
  border: 1px solid rgba(108,47,255,.3);
  padding: 8px 18px; border-radius: 50px;
  font-size: .85rem; font-weight: 600; color: #a78bff;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.5s infinite;
}

.hero h1 { margin-bottom: 24px; }

.hero p {
  font-size: 1.15rem; color: var(--muted);
  max-width: 560px; margin-bottom: 40px;
}

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

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

.stat-item { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* ===== MARQUEE (brands) ===== */
.brands-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  overflow: hidden;
}

.brands-label {
  text-align: center; font-size: .85rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 28px;
}

.marquee-wrap { overflow: hidden; }
.marquee-track {
  display: flex; gap: 60px; align-items: center;
  animation: marquee 55s linear infinite;
  width: max-content;
}

.brand-logo {
  display: flex; align-items: center; gap: 10px;
  opacity: .55; transition: opacity .3s;
  white-space: nowrap;
  font-weight: 700; font-size: 1.1rem;
  color: var(--text);
}

.brand-logo:hover { opacity: 1; }

.brand-logo svg, .brand-logo .brand-icon {
  width: 32px; height: 32px; flex-shrink: 0;
}

/* ===== HOW IT WORKS ===== */
.how-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px; margin-top: 60px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: transform .3s, border-color .3s;
}

.step-card:hover { transform: translateY(-6px); border-color: var(--primary); }

.step-num {
  font-size: 3rem; font-weight: 900; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 16px;
}

.step-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(108,47,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}

.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: .95rem; }

/* ===== CASES ===== */
.cases-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px; margin-top: 60px;
}

.case-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}

.case-card:hover { transform: translateY(-6px); border-color: var(--primary); }

.case-header {
  padding: 28px 28px 20px;
  display: flex; align-items: center; gap: 16px;
}

.case-brand-logo {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}

.case-meta h3 { font-size: 1.1rem; margin-bottom: 4px; }
.case-meta span { font-size: .8rem; color: var(--muted); }

.case-body { padding: 0 28px 28px; }
.case-body p { color: var(--muted); font-size: .9rem; margin-bottom: 20px; line-height: 1.6; }

.case-stats {
  display: flex; gap: 24px;
}

.case-stat { }
.case-stat .val { font-size: 1.3rem; font-weight: 700; color: #a78bff; }
.case-stat .lbl { font-size: .78rem; color: var(--muted); }

.case-tag {
  display: inline-block; margin-top: 16px;
  background: rgba(108,47,255,.12);
  border: 1px solid rgba(108,47,255,.25);
  color: #a78bff; font-size: .75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 50px;
}

/* ===== BENEFITS ===== */
.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; margin-top: 60px;
}

.benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .3s, border-color .3s;
}

.benefit-card:hover { transform: translateY(-4px); border-color: rgba(255,107,53,.4); }

.benefit-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(255,107,53,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}

.benefit-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.benefit-card p { color: var(--muted); font-size: .9rem; }

/* ===== PARTNERS SHOWCASE ===== */
.partners-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px; margin-top: 60px;
}

.partner-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all .3s;
  cursor: default;
}

.partner-card:hover {
  border-color: var(--primary);
  background: var(--card2);
  transform: translateY(-4px);
}

.partner-emoji { font-size: 2.2rem; margin-bottom: 12px; }
.partner-name { font-size: .9rem; font-weight: 600; }
.partner-category { font-size: .75rem; color: var(--muted); margin-top: 4px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px; margin-top: 60px;
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

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

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

.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  background: rgba(108,47,255,.15);
  flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: .95rem; }
.author-handle { font-size: .8rem; color: var(--muted); }

.stars { color: #fbbf24; letter-spacing: 2px; margin-bottom: 16px; font-size: .9rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 60px auto 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  text-align: left; padding: 24px 0;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; transition: color .2s;
}

.faq-q:hover { color: #a78bff; }

.faq-q .arrow {
  font-size: 1.2rem; transition: transform .3s; flex-shrink: 0;
  color: var(--primary);
}

.faq-item.open .faq-q .arrow { transform: rotate(45deg); }

.faq-a {
  color: var(--muted); font-size: .95rem; line-height: 1.8;
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s;
  padding-bottom: 0;
}

.faq-item.open .faq-a { max-height: 400px; padding-bottom: 24px; }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  position: relative; overflow: hidden;
}

.cta-box {
  background: linear-gradient(135deg, rgba(108,47,255,.2) 0%, rgba(255,107,53,.1) 100%);
  border: 1px solid rgba(108,47,255,.3);
  border-radius: 28px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
}

.cta-box::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 28px;
  background: var(--gradient);
  opacity: .12;
  z-index: -1;
}

.cta-box h2 { margin-bottom: 20px; }
.cta-box p { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

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

.footer-brand p { color: var(--muted); font-size: .9rem; margin-top: 16px; max-width: 280px; line-height: 1.7; }

.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}

.footer-bottom p { color: var(--muted); font-size: .85rem; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--muted); font-size: .85rem; transition: color .2s; }
.footer-legal a:hover { color: var(--text); }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all .3s;
  color: var(--muted);
}
.social-link:hover { background: rgba(108,47,255,.2); border-color: var(--primary); color: var(--text); }

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(108,47,255,.2) 0%, transparent 70%);
}

.page-header h1 { margin-bottom: 16px; }
.page-header p { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ===== POLICY / TERMS ===== */
.prose {
  max-width: 760px; margin: 0 auto;
  color: var(--muted); line-height: 1.8;
}

.prose h2 { color: var(--text); margin: 48px 0 16px; font-size: 1.4rem; }
.prose h3 { color: var(--text); margin: 32px 0 12px; font-size: 1.1rem; }
.prose p { margin-bottom: 16px; }
.prose ul { padding-left: 24px; margin-bottom: 16px; }
.prose ul li { margin-bottom: 8px; }
.prose a { color: #a78bff; }
.prose strong { color: var(--text); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
  padding: 20px;
}

.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%; max-width: 500px;
  position: relative;
  transform: translateY(30px);
  transition: transform .3s;
}

.modal-overlay.active .modal { transform: translateY(0); }

.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: var(--muted);
  font-size: 1.5rem; cursor: pointer; transition: color .2s;
}
.modal-close:hover { color: var(--text); }

.modal h2 { margin-bottom: 8px; }
.modal p { color: var(--muted); font-size: .95rem; margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid var(--border);
  border-radius: 12px; color: var(--text);
  font-size: .95rem; outline: none;
  transition: border-color .2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
}

.form-group select { cursor: pointer; }
.form-group select option { background: var(--card2); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

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

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

.float { animation: float 4s ease-in-out infinite; }

/* fade-in on scroll */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s, transform .7s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== SECTION TITLES ===== */
.section-label {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }
.section-subtitle { color: var(--muted); font-size: 1.05rem; max-width: 560px; }

/* ===== BRAND LOGO IMAGES ===== */
.brand-logo-img {
  width: 28px; height: 28px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 3px;
  flex-shrink: 0;
}

.partner-logo-img {
  width: 52px; height: 52px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  margin: 0 auto 12px;
}

.case-logo-img {
  width: 42px; height: 42px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
}

/* FontAwesome icons inside icon containers */
.step-icon i, .benefit-icon i { font-size: 1.4rem; color: inherit; }
.step-icon { color: var(--primary); }
.benefit-icon { color: var(--accent); }

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

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .mobile-menu {
    position: fixed; inset: 0; z-index: 999;
    background: var(--dark2);
    display: flex; flex-direction: column;
    padding: 100px 24px 40px;
    gap: 24px;
    transform: translateX(100%); transition: transform .3s;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a { font-size: 1.3rem; font-weight: 600; color: var(--text); }
  .hero-stats { gap: 28px; }
  .cta-box { padding: 48px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 72px 0; }
}
