:root {
    --primary-color: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary-color: #a855f7;
    --accent-color: #10b981;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --font-main: 'Poppins', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
    text-decoration: none;
    list-style: none;
    user-select: none;
}

body {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95)), url("/assets/images/hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    animation: zoomBackground 20s infinite alternate ease-in-out;
}

@keyframes zoomBackground {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.logo {
    position: relative;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.logo a {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
}

.navbar .links ul {
    display: flex;
    gap: 3rem;
}

.navbar .links ul .link a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    position: relative;
}

.navbar .links ul .link a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
}

.navbar .links ul .link a:hover {
    color: var(--text-primary);
}

.navbar .links ul .link a:hover::after {
    width: 100%;
}

.navbar .menu-icon {
    display: none;
    color: var(--text-primary);
    font-size: 32px;
    cursor: pointer;
}

/* Responsive Menu */
.responsive-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    padding: 2rem;
    transition: right 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    display: flex;
    flex-direction: column;
}

.responsive-menu.active {
    right: 0;
}

.responsive-menu .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.responsive-menu .head .close-menu-icon {
    font-size: 28px;
    color: var(--text-primary);
    cursor: pointer;
}

.responsive-menu .links ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.responsive-menu .links ul .link a {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.responsive-menu .links ul .link a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.responsive-menu .footer {
    margin-top: auto;
    padding-bottom: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Main Content */
main {
    width: 100%;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
    padding: 2rem;
    text-align: center;
}

main h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.2s;
}

main p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main button,
.btn-primary {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px var(--primary-glow);
    opacity: 0;
    transform: scale(0.9);
    animation: popIn 0.8s forwards 0.6s;
}

.btn-primary {
    opacity: 1;
    transform: none;
    animation: none;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

main button:hover,
.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px var(--primary-glow);
}

main button a,
.btn-primary a {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections General */
.section {
    padding: 10rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 5rem;
    background: linear-gradient(to right, #fff, var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 60px;
    border: 1px solid var(--glass-border);
    padding: 8rem 4rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 4rem 2rem;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.feature-card:hover {
    transform: translateY(-15px);
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Steps / How it works */
.steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.step:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.step-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.8;
    font-family: 'Rubik', sans-serif;
    min-width: 80px;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #fff;
    font-weight: 700;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
    border-radius: 60px;
    border: 1px solid var(--glass-border);
    padding: 8rem 4rem;
    margin-bottom: 10rem;
    text-align: center;
}

.cta-banner h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 2rem;
}

.cta-banner p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 4rem;
    color: var(--text-secondary);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.main-footer {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 6rem 4rem 2rem;
    position: relative;
    z-index: 100;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
}

.footer-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-content ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-content ul a {
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.footer-content ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #fff;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* Media Queries */
@media (max-width: 1024px) {
    .navbar {
        padding: 1.5rem 2rem;
    }

    .section {
        padding: 8rem 2rem;
    }
}

/* Media Queries update */
@media (max-width: 768px) {
    .navbar .links {
        display: none;
    }

    .navbar .menu-icon {
        display: block;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .bg-glass {
        padding: 4rem 2rem;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .step-num {
        min-width: auto;
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    main button {
        width: 100%;
        padding: 1.2rem;
    }

    .section {
        padding: 6rem 1rem;
    }

    .cta-banner {
        padding: 4rem 2rem;
        border-radius: 30px;
    }

    .main-footer {
        padding: 4rem 2rem 2rem;
    }
}