:root {
    --bg-dark: #07090b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-glow: #10b981;
    --accent-cyan: #06b6d4;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
}

.glow-text {
    background: linear-gradient(to right, var(--accent-glow), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent-glow) 0%, var(--accent-cyan) 100%);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.primary-btn:hover {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
    transform: translateY(-2px);
}

.secondary-btn {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(7, 9, 11, 0.7);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1.5rem;
    transition: color 0.3s;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(to right, var(--accent-glow), var(--accent-cyan));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 5%;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.3));
    transition: transform 0.1s ease-out;
    /* Smooth out scroll transfroms */
    will-change: transform;
}

.glow-backdrop {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, var(--accent-cyan) 50%, transparent 80%);
    filter: blur(60px);
    opacity: 0.3;
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite alternate;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Features */
.features {
    padding: 8rem 5%;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover .icon {
    transform: translateY(-10px);
    background: rgba(16, 185, 129, 0.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* How It Works */
.how-it-works {
    padding: 8rem 5%;
    position: relative;
    background: linear-gradient(to bottom, transparent, var(--glass-bg), transparent);
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 2rem;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-glow);
}

/* Testimonials */
.testimonials {
    padding: 8rem 5%;
    position: relative;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
    line-height: 1;
}

.quote {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.author {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    display: flex;
    justify-content: center;
}

.cta-card {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.1);
}

.cta-card h2 {
    margin-bottom: 1rem;
}

.cta-card p {
    margin: 0 auto 2rem;
}

/* Cursor Follower */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    mix-blend-mode: screen;
}

.cursor-glow.active {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 60%);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active {
    opacity: 1;
    pointer-events: all;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.video-modal-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 100px rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: #000;
}

.video-modal.active .video-modal-content {
    transform: scale(1) translateY(0);
}

.video-modal video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    outline: none;
}

.close-video-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.close-video-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(90deg);
}

/* Footer */
footer {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

footer p {
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

@keyframes pulse-cta {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.7);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    }
}

.pulse {
    animation: pulse-cta 2s infinite ease-in-out;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-glow);
    opacity: 0.2;
    filter: blur(5px);
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0;
    }
}

/* Scroll Animations (added via JS classes) */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive Grid */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        margin-top: 4rem;
    }

    .nav-links {
        display: none;
    }
}