:root {
    --bg-color: #05050A;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #2AABEE;
    --primary-hover: #1c92d2;
    --star-color: #FFD700;
    --text-main: #FFFFFF;
    --text-muted: #A0A0B0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Animations */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #2AABEE;
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: #8A2BE2;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: #FFD700;
    top: 30%;
    left: 50%;
    opacity: 0.15;
    animation-duration: 15s;
}

.star-bg {
    position: absolute;
    color: var(--star-color);
    opacity: 0.3;
    animation: twinkle 4s infinite alternate;
    user-select: none;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, 60px) scale(1.1);
    }
}

@keyframes twinkle {
    0% {
        opacity: 0.1;
        transform: scale(0.8) rotate(0deg);
    }

    100% {
        opacity: 0.8;
        transform: scale(1.3) rotate(15deg);
    }
}

/* Navbar Settings */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 6%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 10, 0.6);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.logo-img {
    height: 38px;
    width: 38px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--card-border);
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--text-main);
    color: var(--bg-color);
    border-color: var(--text-main);
}

/* Main Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 6%;
    gap: 40px;
    flex: 1;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 992px) {
    .hero {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        padding: 120px 6%;
        gap: 50px;
    }

    .hero-content {
        flex: 1.1;
        max-width: 650px;
    }

    .hero-image {
        flex: 0.9;
        display: flex;
        justify-content: center;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(42, 171, 238, 0.1);
    border: 1px solid rgba(42, 171, 238, 0.3);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #8ed1f7;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, var(--star-color), #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(45deg, var(--primary), #0056D2);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    border-radius: 40px;
    box-shadow: 0 10px 25px rgba(42, 171, 238, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    /* Removed transparent border to prevent rendering artifacts */
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
}

.btn-primary:hover::before {
    left: 150%;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(42, 171, 238, 0.6);
}

/* Glass Card Showcase */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 40px;
    padding: 30px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-out, border-color 0.3s ease;
}

@media (min-width: 768px) {
    .glass-card {
        padding: 50px;
        max-width: 450px;
    }
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40px;
    padding: 2px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.stars-icon-large {
    font-size: 8rem;
    color: #FFD700;
    margin-bottom: 25px;
    perspective: 800px;
    display: inline-block;
}

.floating-star {
    display: inline-block;
    color: #FFE66D;
    transform-style: preserve-3d;
    animation: realistic3DStar 4s infinite ease-in-out;
}

@keyframes realistic3DStar {
    0% {
        transform: translateY(0) rotateY(-20deg) rotateX(10deg);
        text-shadow: 
            1px 1px 0 #F4C430, 2px 2px 0 #DEAF24, 3px 3px 0 #C99B19, 
            4px 4px 0 #B3860E, 5px 5px 0 #9E7305, 6px 6px 0 #8A6100,
            8px 8px 15px rgba(0,0,0,0.5), 0px 0px 40px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: translateY(-25px) rotateY(20deg) rotateX(-5deg);
        text-shadow: 
            -1px 1px 0 #F4C430, -2px 2px 0 #DEAF24, -3px 3px 0 #C99B19, 
            -4px 4px 0 #B3860E, -5px 5px 0 #9E7305, -6px 6px 0 #8A6100,
            -8px 8px 15px rgba(0,0,0,0.5), 0px 0px 60px rgba(255, 215, 0, 0.8);
    }
    100% {
        transform: translateY(0) rotateY(-20deg) rotateX(10deg);
        text-shadow: 
            1px 1px 0 #F4C430, 2px 2px 0 #DEAF24, 3px 3px 0 #C99B19, 
            4px 4px 0 #B3860E, 5px 5px 0 #9E7305, 6px 6px 0 #8A6100,
            8px 8px 15px rgba(0,0,0,0.5), 0px 0px 40px rgba(255, 215, 0, 0.5);
    }
}

.info-tag {
    position: absolute;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid var(--card-border);
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.info-tag i {
    color: var(--primary);
    font-size: 1.2rem;
}

.info-tag.check i {
    color: #4CAF50;
}

.info-tag:nth-child(2) {
    top: 40px;
    right: -30px;
    animation: floatTags 5s infinite alternate ease-in-out;
}

.info-tag:nth-child(3) {
    bottom: 50px;
    left: -40px;
    animation: floatTags 4s infinite alternate ease-in-out reverse;
}

@media (max-width: 768px) {
    .info-tag:nth-child(2) {
        right: -10px;
    }

    .info-tag:nth-child(3) {
        left: -10px;
    }
}

@keyframes floatTags {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(12px) rotate(2deg);
    }
}

/* Features Component */
.features {
    padding: 60px 6% 100px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 800px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 30px 20px;
    transition: all 0.4s ease;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .feature-card {
        padding: 40px 30px;
    }
}

.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 ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.icon-wrap {
    width: 65px;
    height: 65px;
    border-radius: 20px;
    background: rgba(42, 171, 238, 0.1);
    color: var(--primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.4s ease;
}

.feature-card:hover .icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* Footer Element */
footer {
    border-top: 1px solid var(--card-border);
    padding: 35px 6%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

.socials a {
    color: var(--text-muted);
    font-size: 1.8rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Base Scroll and Load Transitions */
.hidden-load {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.show-load {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hidden-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.show-scroll {
    opacity: 1;
    transform: translateY(0);
}