:root {
    --navy: #1b2039;
    --navy-light: #252b48;
    --pink: #e8368f;
    --pink-light: #f472b6;
    --cyan: #22d3ee;
    --cyan-light: #67e8f9;
    --gradient: linear-gradient(135deg, var(--pink) 0%, var(--cyan) 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(232,54,143,0.08) 0%, rgba(34,211,238,0.08) 100%);
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --radius: 12px;
    --radius-lg: 20px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(232,54,143,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 90% 80%, rgba(34,211,238,0.04) 0%, transparent 60%);
    animation: bgShift 20s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes bgShift {
    0%   { opacity: 1; transform: scale(1) translateY(0); }
    50%  { opacity: 0.7; transform: scale(1.1) translateY(-2%); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--navy);
    line-height: 1.2;
}

a {
    color: var(--pink);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--cyan);
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── NAV ──────────────────────────────────────── */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(27, 32, 57, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav ul a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

nav ul a:hover {
    color: var(--white);
}

/* ─── HERO ─────────────────────────────────────── */

.hero {
    position: relative;
    padding: 200px 0 140px;
    background: var(--navy);
    overflow: hidden;
}

/* Particle canvas */
#heroParticles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* Full-width animated aurora band */
.hero-aurora {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        125deg,
        transparent 0%,
        rgba(232,54,143,0.06) 15%,
        rgba(139,92,246,0.08) 30%,
        rgba(34,211,238,0.06) 50%,
        rgba(232,54,143,0.05) 70%,
        transparent 100%
    );
    background-size: 300% 300%;
    animation: auroraShift 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes auroraShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glow blobs – bigger, brighter, more movement */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    will-change: transform, opacity;
    z-index: 1;
}

.hero-glow--pink {
    width: 800px;
    height: 800px;
    top: -30%;
    right: -15%;
    background: radial-gradient(circle, rgba(232,54,143,0.30) 0%, transparent 70%);
    animation: floatBlob1 10s ease-in-out infinite alternate;
}

.hero-glow--cyan {
    width: 700px;
    height: 700px;
    bottom: -30%;
    left: -12%;
    background: radial-gradient(circle, rgba(34,211,238,0.25) 0%, transparent 70%);
    animation: floatBlob2 12s ease-in-out infinite alternate;
}

.hero-glow--violet {
    width: 500px;
    height: 500px;
    top: 10%;
    left: 15%;
    background: radial-gradient(circle, rgba(139,92,246,0.20) 0%, transparent 70%);
    animation: floatBlob4 15s ease-in-out infinite alternate;
}

.hero-glow--center {
    width: 600px;
    height: 600px;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(232,54,143,0.12) 0%, rgba(34,211,238,0.10) 50%, transparent 70%);
    animation: floatBlob3 8s ease-in-out infinite alternate;
}

@keyframes floatBlob1 {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.8; }
    25%  { transform: translate(-60px, 40px) scale(1.12); opacity: 1; }
    50%  { transform: translate(30px, -30px) scale(0.9); opacity: 0.7; }
    75%  { transform: translate(-30px, 60px) scale(1.08); opacity: 0.9; }
    100% { transform: translate(20px, -20px) scale(1); opacity: 0.8; }
}

@keyframes floatBlob2 {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.7; }
    25%  { transform: translate(50px, -40px) scale(1.15); opacity: 1; }
    50%  { transform: translate(-25px, 20px) scale(0.92); opacity: 0.6; }
    75%  { transform: translate(40px, -50px) scale(1.1); opacity: 0.9; }
    100% { transform: translate(-15px, 30px) scale(1); opacity: 0.7; }
}

@keyframes floatBlob3 {
    0%   { transform: translateX(-50%) scale(1); opacity: 0.5; }
    33%  { transform: translateX(-50%) scale(1.25); opacity: 1; }
    66%  { transform: translateX(-50%) scale(0.85); opacity: 0.4; }
    100% { transform: translateX(-50%) scale(1.1); opacity: 0.7; }
}

@keyframes floatBlob4 {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
    33%  { transform: translate(70px, 50px) scale(1.2); opacity: 1; }
    66%  { transform: translate(-40px, -30px) scale(0.85); opacity: 0.5; }
    100% { transform: translate(30px, 20px) scale(1.05); opacity: 0.8; }
}

/* Light sweep across hero */
.hero-sweep {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.03) 45%,
        rgba(255,255,255,0.06) 50%,
        rgba(255,255,255,0.03) 55%,
        transparent 60%
    );
    background-size: 200% 100%;
    animation: lightSweep 6s ease-in-out infinite;
}

@keyframes lightSweep {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Subtle grid overlay */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

/* Grain texture */
.hero-grain {
    position: absolute;
    inset: 0;
    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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.4;
    pointer-events: none;
    z-index: 3;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: var(--cyan-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards 0.3s;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards 0.5s;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(
        135deg,
        var(--pink) 0%,
        var(--cyan) 40%,
        var(--pink-light) 60%,
        var(--cyan-light) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 4s linear infinite 1.4s;
}

@keyframes shimmerText {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Animated gradient line under heading */
.hero-line {
    width: 80px;
    height: 3px;
    margin: 0 auto 24px;
    border-radius: 2px;
    background: var(--gradient);
    background-size: 200% auto;
    animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards 0.65s, lineGrow 0.6s cubic-bezier(0.16,1,0.3,1) forwards 0.65s, shimmerLine 3s linear infinite 1.4s;
    opacity: 0;
    transform: translateY(24px);
}

@keyframes lineGrow {
    from { width: 0; }
    to   { width: 80px; }
}

@keyframes shimmerLine {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.6);
    max-width: 540px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards 0.7s;
}

/* Glowing CTA */
.hero-cta {
    position: relative;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards 0.9s;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    background: var(--gradient);
    opacity: 0;
    filter: blur(16px);
    z-index: -1;
    transition: opacity 0.4s;
}

.hero-cta:hover::before {
    opacity: 0.6;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── SCROLL REVEAL ────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── BUTTONS ──────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 24px rgba(232,54,143,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232,54,143,0.4);
    color: var(--white);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ─── FEATURES ─────────────────────────────────── */

.features {
    padding: 100px 0;
    background: var(--white);
}

.section-label {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.05rem;
    max-width: 560px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.feature-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    border-color: transparent;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.feature-icon.pink {
    background: rgba(232,54,143,0.1);
    color: var(--pink);
}

.feature-icon.cyan {
    background: rgba(34,211,238,0.1);
    color: var(--cyan);
}

.feature-icon.navy {
    background: rgba(27,32,57,0.08);
    color: var(--navy);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ─── FAQ ──────────────────────────────────────── */

.faq {
    padding: 100px 0;
    background: var(--gray-50);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: var(--pink-light);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    gap: 16px;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--gray-400);
}

.faq-item.open .faq-question svg {
    transform: rotate(45deg);
    color: var(--pink);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 28px 22px;
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── CONTACT ──────────────────────────────────── */

.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 36px;
    font-size: 1.05rem;
}

.contact-detail {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--pink);
}

.contact-detail-text strong {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 2px;
}

.contact-detail-text span,
.contact-detail-text a {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.form-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--gray-700);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(232,54,143,0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-submit {
    margin-top: 8px;
}

.form-submit .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
}

.alert {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: none;
}

.alert.visible {
    display: block;
}

.alert-success {
    background: rgba(34,211,238,0.1);
    color: #0e7490;
    border: 1px solid rgba(34,211,238,0.2);
}

.alert-error {
    background: rgba(232,54,143,0.08);
    color: #be185d;
    border: 1px solid rgba(232,54,143,0.15);
}

/* ─── FOOTER ───────────────────────────────────── */

footer {
    background: var(--navy);
    padding: 60px 0 40px;
    color: rgba(255,255,255,0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

footer h4 {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--cyan-light);
}

.footer-address p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
    color: var(--cyan-light);
}

/* ─── RESPONSIVE ───────────────────────────────── */

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
