/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scrollbar-width: thin; scrollbar-color: #d1d5db #fff; }
body { font-family: 'DM Sans', sans-serif; background: #fff; color: #111827; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: #6C3AED; color: #fff; }
a { color: inherit; text-decoration: none; }
*, button, input, textarea, select { font-family: 'DM Sans', sans-serif; }
:focus-visible { outline: 2px solid #6C3AED; outline-offset: 2px; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #fff; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

:root {
    --primary: #6C3AED;
    --primary-hover: #5B2FCC;
    --primary-light: #F0EBFF;
    --text: #111827;
    --text-2: #4B5563;
    --text-3: #9CA3AF;
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-dark: #0F172A;
    --border: #E5E7EB;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

.container { max-width: 1320px; margin: 0 auto; padding: 0 2.5rem; }

/* ── Nav ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0.8rem 0; background: transparent; border-bottom: 1px solid transparent; transition: border-color 0.3s, padding 0.3s, background 0.3s, backdrop-filter 0.3s; }
.nav.scrolled { border-bottom-color: var(--border); background: rgba(255,255,255,0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 0.65rem 0; }
.nav.scrolled .nav-logo { color: var(--text); }
.nav.scrolled .nav-links a { color: var(--text-2); }
.nav.scrolled .nav-links a:hover { color: var(--text); }
.nav.scrolled .nav-toggle span { background: var(--text); }
.nav.scrolled .nav-cta-scroll { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav-logo { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; white-space: nowrap; color: #fff; transition: color 0.3s; }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-mobile { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 1.5rem 1.5rem; }
.nav-mobile.open { display: flex; flex-direction: column; gap: 0.25rem; }
.nav-mobile a { display: block; padding: 0.7rem 0; font-size: 0.95rem; font-weight: 500; color: var(--text-2); border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border: none; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; padding: 0.7rem 1.4rem; border-radius: var(--radius-full); border: none; cursor: pointer; transition: all 0.2s ease; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 4px 14px rgba(108,58,237,0.25); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: #b0b5be; background: var(--bg-alt); }
.btn-lg { padding: 0.85rem 2rem; font-size: 0.95rem; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f0f2ff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.25); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* ── Badge ── */
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.95rem; border-radius: var(--radius-full); background: var(--primary-light); color: var(--primary); font-size: 0.88rem; font-weight: 600; margin-bottom: 1.25rem; }

/* ── Section Shared ── */
.section-header { text-align: center; max-width: 780px; margin: 0 auto 3.5rem; }
.section-header h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--text-2); line-height: 1.7; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.4s; }

/* ── CTA ── */
.cta-section { background: var(--bg-dark); padding: 6rem 0 4rem; text-align: center; position: relative; overflow: hidden; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E"); }
.cta-glow { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(108,58,237,0.15) 0%, transparent 70%); top: -200px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.cta-content { position: relative; z-index: 2; }
.cta-section h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; color: #fff; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; color: #94A3B8; margin-bottom: 2.5rem; line-height: 1.7; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-contact { display: flex; justify-content: center; gap: 2.5rem; margin-top: 3rem; padding-bottom: 1rem; flex-wrap: wrap; }
.cta-contact a { font-size: 0.9rem; color: #94A3B8; transition: color 0.2s; display: flex; align-items: center; gap: 0.5rem; }
.cta-contact a:hover { color: #fff; }
.cta-contact svg { width: 16px; height: 16px; }

/* ── Footer ── */
footer { background: var(--bg-dark); color: #94A3B8; padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; margin-top: 0.75rem; max-width: 340px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.95rem; color: #94A3B8; padding: 0.3rem 0; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; color: #64748B; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions .btn { display: none; }
    .nav-toggle { display: flex; }
    .cta-section { padding: 4rem 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
