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

:root {
    --primary: #060714;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --cyan: #06b6d4;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #64748b;
    /* NEW gradient variables */
    --text-gradient: linear-gradient(135deg, #8b5cf6, #ec4899);
    --underline-gradient: linear-gradient(90deg, #8b5cf6, #ec4899);
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000 !important;
    /* pure black */
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}


/* ==================== PAGE LOADER ==================== */
/* .page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}
#pageLoader.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}


.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.loader-bar {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    animation: loadProgress 2s ease-out forwards;
}

.loader-text {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    20% {
        width: 30%;
    }

    40% {
        width: 55%;
    }

    60% {
        width: 75%;
    }

    80% {
        width: 90%;
    }

    100% {
        width: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
} */


/* ==================== PAGE LOADER WRAPPER ==================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    /* Smooth fade-out */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

#pageLoader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* LOADER CONTENT */
.loader-content {
    text-align: center;

    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* MAIN LOGO */
.loader-logo {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    animation: pulse 2s infinite ease-in-out;
}

/* PROGRESS BAR */

.loader-bar {
    width: 260px;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 1.2rem;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform-origin: left center;
    transform: scaleX(0);
    animation: loadProgress 2.5s ease-out forwards;
    will-change: transform;
}


/*  LOADING TEXT */
.loader-text {
    color: var(--gray);
    font-size: 1rem;
    margin-top: 1rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes loadProgress {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}


/* Pulse effect for logo */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.06);
    }
}

/* Smooth upward fade */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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




/* ==================== ANIMATED BACKGROUND ==================== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


/* ================= NAVBAR ================= */
#navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 950px;
    max-width: 90%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(20px);
    background: rgba(15, 23, 42, 0.6);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Scroll shrink effect */
#navbar.scrolled {
    top: 10px;
    padding: 0.8rem 1.6rem;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

/* ================= LOGO ================= */
#navbar .logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
}

/* ================= NAV LINKS ================= */
.nav-links {
    display: flex;
    gap: 2.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--light);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

/* Gradient underline */
.nav-links li a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--underline-gradient);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Gradient text on hover */
.nav-links li a:hover {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================= CTA BUTTON ================= */
.nav-cta {
    padding: 0.65rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.nav-cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transition: width 0.5s ease, height 0.5s ease;
}

.nav-cta:hover::before {
    width: 250px;
    height: 250px;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.55);
}

/* ================= HAMBURGER MENU ================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--light);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-only {
    display: none;
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
        margin-top: 1rem;
    }

    /* Expand navbar to cover the entire screen when menu is active */
    #navbar.menu-active,
    #navbar:has(.nav-links.active) {
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        border-radius: 0 !important;
        align-items: flex-start !important;
        padding-top: 1.5rem !important;
        background: rgba(15, 23, 42, 0.98) !important;
        flex-direction: column !important;
        transform: none !important;
    }

    /* Keep logo and hamburger at the top inside the expanded navbar */
    #navbar.menu-active .logo, 
    #navbar.menu-active .hamburger,
    #navbar:has(.nav-links.active) .logo,
    #navbar:has(.nav-links.active) .hamburger {
        align-self: flex-start;
    }
    
    #navbar.menu-active .hamburger,
    #navbar:has(.nav-links.active) .hamburger {
        position: absolute;
        right: 2rem;
        top: 1.5rem;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        /* If parent height is 100vh, 100% is 100vh. calc(100vh - 80px) is safer than 100% */
        height: calc(100vh - 80px);
        flex-direction: column;
        justify-content: flex-start; /* changed from center to avoid clipping if too tall */
        padding-top: 2rem;
        align-items: center;
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 1000;
        gap: 2rem;
        /* Hide by default */
        opacity: 0;
        pointer-events: none;
        transform: translateY(20px);
    }

    .nav-links.active {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
        display: flex !important;
        visibility: visible !important;
        z-index: 9999 !important;
    }

    .nav-links li a {
        font-size: 1.5rem !important;
        color: #ffffff !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-block !important;
    }
    
    .nav-cta-mobile {
        padding: 0.8rem 2.5rem;
        background: linear-gradient(135deg, #8b5cf6, #ec4899);
        border-radius: 50px;
        color: white;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.2rem;
        display: inline-block;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}



/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    margin-top: 60px;
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.8rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInDown 1s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--primary);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 6.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}



/* ====== TEXT REVEAL FOR HERO TITLE ====== */
.text-reveal {
    display: inline-block;
    opacity: 0;
    filter: blur(15px);
    transform: translateY(20px);
    transition: opacity 0.25s ease-out, filter 0.4s ease-out, transform 0.4s ease-out;
    white-space: normal;
}

.text-visible {
    opacity: 1 !important;
    filter: blur(0px) !important;
    transform: translateY(0px) !important;
}


.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 200% 200%;
}

.gradient-text-alt {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    animation-delay: 0.5s;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin-top: 2rem;
}

.floating-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-card {
    padding: 1.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.float-card {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation: floatCard 6s infinite ease-in-out;
}

.card-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent);
    border-radius: 50%;
    filter: blur(20px);
    animation: pulse 3s infinite;
}

.card-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 20%;
    right: 8%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 25%;
    left: 5%;
    animation-delay: 3s;
}

.card-4 {
    bottom: 20%;
    right: 12%;
    animation-delay: 4.5s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* ========================= RESPONSIVE HERO BUTTONS ========================= */

/* .primary-btn,
.secondary-btn {
    padding: 0.7rem 1.6rem;
    font-size: 0.95rem;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #ffffff;
    background: transparent;  
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);

    transition: transform 0.25s ease, opacity 0.2s ease;
}
.primary-btn::before,
.secondary-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(
        120deg,
        #ff0080,
        #ff8c00,
        #40e0d0,
        #7b68ee,
        #ff0080
    );
    background-size: 400% 400%;
    opacity: 0;
    border-radius: inherit;

    animation: rgbFlow 6s linear infinite;
    transition: opacity 0.35s ease-in-out;
}

.primary-btn:hover::before,
.secondary-btn:hover::before {
    opacity: 1;
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-3px);
}

@keyframes rgbFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 900px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 260px;
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 240px;
        padding: 0.6rem 1.1rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }
}

@media (max-width: 420px) {
    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 220px;
        padding: 0.55rem 1rem;
        font-size: 0.8rem;
        border-radius: 9px;
    }
} */

/* ========================= HERO BUTTONS WITH RGB BORDER ANIMATION ========================= */

.primary-btn,
.secondary-btn {
    padding: 0.7rem 1.6rem;
    font-size: 0.95rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid transparent;
    transition: transform 0.25s ease;
    text-decoration: none;
}

/* 🌈 Traveling RGB Border (only border, not background) */
.primary-btn::before,
.secondary-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    /* thickness of animated border */
    border-radius: inherit;

    background: linear-gradient(120deg,
            #ff0080,
            #ff8c00,
            #40e0d0,
            #7b68ee,
            #ff0080);
    background-size: 300% 300%;
    animation: rgbBorder 4s linear infinite;

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;
    /* hidden until hover */
    transition: opacity 0.3s ease-in-out;
}

/* Show RGB border on hover */
.primary-btn:hover::before,
.secondary-btn:hover::before {
    opacity: 1;
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-3px);
}

/* Moving border animation */
@keyframes rgbBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 900px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 600px) {

    .primary-btn,
    .secondary-btn {
        max-width: 240px;
        padding: 0.6rem 1.1rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }
}

@media (max-width: 420px) {

    .primary-btn,
    .secondary-btn {
        max-width: 220px;
        padding: 0.55rem 1rem;
        font-size: 0.8rem;
        border-radius: 9px;
    }
}



/* ===============================SHOWCASE CARD ======================*/

.software-showcase {
    margin-top: 120px;
    display: flex;
    justify-content: center;
    width: 100%;
    perspective: 2000px;
}

.showcase-card {
    width: 80%;
    margin-top: -250px;
    max-width: 1200px;
    height: auto;
    aspect-ratio: 16 / 9;

    background: rgba(15, 15, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;

    transform-style: preserve-3d;
    transform: rotateX(22deg);
    transition: transform 0.25s ease-out;

    position: relative;
    overflow: visible;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;

    box-shadow:
        0 25px 40px -10px rgba(0, 0, 0, 0.65),
        0 -10px 25px -10px rgba(168, 85, 247, 0.25);
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    opacity: 1;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    z-index: 5;
}

.top-border-glow {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: linear-gradient(90deg,
            rgba(168, 85, 247, 0) 0%,
            rgba(168, 85, 247, 0.45) 25%,
            rgba(168, 85, 247, 0.55) 50%,
            rgba(168, 85, 247, 0.45) 75%,
            rgba(168, 85, 247, 0) 100%);

    box-shadow:
        0 -6px 16px rgba(168, 85, 247, 0.45),
        0 -16px 35px rgba(168, 85, 247, 0.18);

    pointer-events: none;
    z-index: 18;
}

.spotlight-beam {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 8%;
    height: 0px;

    background: transparent;

    box-shadow:
        0 -14px 22px 4px rgba(168, 85, 247, 0.28);

    pointer-events: none;
    z-index: 30;
}

.spotlight-curtain {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);

    width: 60%;
    height: 70px;

    background: radial-gradient(ellipse at center,
            rgba(168, 85, 247, 0.35) 0%,
            rgba(168, 85, 247, 0.15) 55%,
            transparent 100%);

    filter: blur(34px);
    pointer-events: none;
    z-index: 25;
}


@media (max-width: 900px) {
    .showcase-card {
        margin-top: -160px;
        transform: rotateX(15deg);
        border-radius: 28px;
        width: 95%;
    }

    .spotlight-curtain {
        width: 70%;
        top: -50px;
        height: 55px;
    }
}

@media (max-width: 600px) {
    .showcase-card {
        margin-top: -120px;
        transform: rotateX(8deg);
        border-radius: 22px;
        width: 95%;
    }

    .top-border-glow {
        height: 2px;
    }

    .spotlight-beam {
        width: 14%;
    }

    .spotlight-curtain {
        width: 85%;
        top: -40px;
        height: 50px;
        filter: blur(28px);
    }
}

@media (max-width: 420px) {
    .showcase-card {
        margin-top: -110px;
        transform: rotateX(5deg);
        border-radius: 20px;
    }

    .spotlight-curtain {
        width: 90%;
        top: -35px;
        height: 40px;
    }
}

@media (min-width: 1600px) {
    .showcase-card {
        max-width: 1700px;
        transform: rotateX(23deg);
    }
}



/* ==================== FEATURES SECTION ==================== */

/* .features {
    padding: 8rem 5%;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-glow {
    position: absolute;
    inset: -100px;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

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

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.3);
}

.feature-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    transition: transform 0.3s;
}

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

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
} */













/* ===================== NEW FEATURES SECTION ===================== */
.features {
    padding: 8rem 5%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
}

.features-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.features-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.features-header p {
    color: var(--gray);
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.feature-card-new {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: row;
    position: relative;
    min-height: 600px;
}

.feature-card-new:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-card-new:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.25);
}

/* Massive Card Styling */
.feature-card-img {
    flex: 1.3;
    position: relative;
    overflow: hidden;
    min-height: 100%;
    background: #000;
}

.feature-card-img img,
.feature-card-img video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-new:hover .feature-card-img img,
.feature-card-new:hover .feature-card-img video {
    transform: scale(1.05);
}

.feature-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    pointer-events: none;
}

.feature-card-content {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card-content .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.feature-card-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.feature-card-content p {
    color: var(--gray);
    font-size: 1.15rem;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .features-grid {
        gap: 3rem;
    }
    .feature-card-content {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 5rem 5%;
        gap: 3rem;
    }
    .features-header h2 {
        font-size: 2.2rem;
    }
    .features-grid {
        gap: 2rem;
    }
    .feature-card-new {
        flex-direction: column !important; /* Force stack on mobile */
        min-height: auto;
    }
    .feature-card-img {
        height: 300px;
        min-height: 0;
        flex: none;
    }
    .feature-card-img img {
        position: relative;
    }
    .feature-card-content {
        padding: 2rem;
        flex: none;
    }
    .feature-card-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 4rem 5%;
        gap: 2.5rem;
    }
    .features-header h2 {
        font-size: 1.8rem;
    }
    .features-header p {
        font-size: 1rem;
    }
    .features-grid {
        gap: 1.5rem;
    }
    .feature-card-new {
        border-radius: 24px;
    }
    .feature-card-img {
        height: 200px;
    }
    .feature-card-content {
        padding: 1.5rem;
    }
    .feature-card-content .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    .feature-card-content h3 {
        font-size: 1.3rem;
    }
    .feature-card-content p {
        font-size: 0.95rem;
    }
}

/* ==================== SCROLL ANIMATIONS ==================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-inner {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up-inner.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== PRICING SECTION ==================== */

/* .pricing-section {
            padding: 5rem 2rem;
            position: relative;
            background: #050505; 
        }

        .pricing-container {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
            margin-top: 3rem;
            perspective: 1000px;
        }

        .price-card {
            position: relative;
            width: 350px;
            overflow: hidden; 
            padding: 1px; 
            background: rgba(255, 255, 255, 0.05); 
            border-radius: 1.5rem;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .price-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
        }

        .price-card::before {
            content: '';
            position: absolute;
            width: 250%; 
            height: 250%;
            background: conic-gradient(
                from 0deg, 
                transparent 0deg, 
                transparent 80deg, 
                #ff007a 90deg,    
                #7a00ff 135deg,   
                #00d2ff 180deg,   
                transparent 240deg,
                transparent 360deg
            );
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 0;
            opacity: 0; 
            transition: opacity 0.5s ease;
        }
        .price-card:hover::before {
            opacity: 1;
            animation: spin-border 4s linear infinite;
        }
        .card-inner {
            background: rgba(15, 15, 20, 0.95); 
            backdrop-filter: blur(10px);
            border-radius: calc(1.5rem - 1px);
            width: 100%;
            height: 100%;
            padding: 2.5rem 2rem;
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
        }

        .popular-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: linear-gradient(90deg, #7a00ff, #ff007a);
            color: white;
            font-size: 0.75rem;
            font-weight: bold;
            padding: 0.25rem 0.75rem;
            border-radius: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            box-shadow: 0 4px 12px rgba(122, 0, 255, 0.4);
        }

        .card-inner h3 {
            color: #fff;
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .card-desc {
            color: #888;
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
        }

        .price-wrapper {
            margin-bottom: 2rem;
            display: flex;
            align-items: baseline;
        }

        .price {
            font-size: 3.5rem;
            font-weight: 700;
            color: white;
            line-height: 1;
            letter-spacing: -0.02em;
        }

        .price span {
            font-size: 1rem;
            color: #666;
            margin-left: 0.5rem;
            font-weight: 400;
        }

        .price-features {
            list-style: none;
            padding: 0;
            margin: 0 0 2.5rem 0;
            flex-grow: 1;
        }

        .price-features li {
            color: #ccc;
            margin-bottom: 1rem;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .check-icon {
            color: #00d2ff;
            background: rgba(0, 210, 255, 0.1);
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            flex-shrink: 0;
        }

        .price-btn {
            width: 100%;
            padding: 1rem;
            border-radius: 0.75rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .btn-outline {
            background: transparent;
            color: white;
        }
        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: white;
        }

        .btn-glow {
            background: linear-gradient(90deg, #7a00ff, #00d2ff);
            border: none;
            color: white;
            position: relative;
            z-index: 2;
            overflow: hidden;
        }
        
        .btn-glow:hover {
            box-shadow: 0 0 20px rgba(122, 0, 255, 0.5);
            transform: scale(1.02);
        }

        @keyframes spin-border {
            from { transform: translate(-50%, -50%) rotate(0deg); }
            to { transform: translate(-50%, -50%) rotate(360deg); }
        } */




/* ============================ PRICING SECTION BASE ============================ */

.pricing-section {
    padding: 5rem 2rem;
    position: relative;
    background: #050505;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    perspective: 1000px;
}

.price-card {
    position: relative;
    width: 350px;
    overflow: hidden;
    padding: 1px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.price-card::before {
    content: '';
    position: absolute;
    width: 250%;
    height: 250%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            transparent 80deg,
            #ff007a 90deg,
            #7a00ff 135deg,
            #00d2ff 180deg,
            transparent 240deg,
            transparent 360deg);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.price-card:hover::before {
    opacity: 1;
    animation: spin-border 4s linear infinite;
}

.card-inner {
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    border-radius: calc(1.5rem - 1px);
    width: 100%;
    height: 100%;
    padding: 2.5rem 2rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(90deg, #7a00ff, #ff007a);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(122, 0, 255, 0.4);
}

.card-inner h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.card-desc {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.price-wrapper {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    letter-spacing: -0.02em;
}

.price span {
    font-size: 1rem;
    color: #666;
    margin-left: 0.5rem;
    font-weight: 400;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    flex-grow: 1;
}

.price-features li {
    color: #ccc;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-icon {
    color: #00d2ff;
    background: rgba(0, 210, 255, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.price-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-glow {
    background: linear-gradient(90deg, #7a00ff, #00d2ff);
    border: none;
    color: white;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(122, 0, 255, 0.5);
    transform: scale(1.02);
}

@keyframes spin-border {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}



@media (max-width: 992px) {
    .price-card {
        width: 300px;
    }

    .card-inner {
        padding: 2rem 1.75rem;
    }

    .price {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 4rem 1.5rem;
    }

    .pricing-container {
        gap: 1.5rem;
    }

    .price-card {
        width: 90%;
        max-width: 350px;
    }

    .card-inner {
        padding: 2rem;
    }

    .price {
        font-size: 2.6rem;
    }
}

@media (max-width: 600px) {
    .pricing-section {
        padding: 3.5rem 1rem;
    }

    .price-card {
        width: 100%;
        max-width: 330px;
    }

    .card-inner h3 {
        font-size: 1.35rem;
    }

    .card-desc {
        font-size: 0.85rem;
    }

    .price {
        font-size: 2.4rem;
    }

    .price-features li {
        font-size: 0.9rem;
    }
}

@media (max-width: 420px) {
    .pricing-container {
        gap: 1rem;
    }

    .price-card {
        width: 100%;
        max-width: 300px;
    }

    .card-inner {
        padding: 1.7rem 1.3rem;
    }

    .price {
        font-size: 2rem;
    }

    .price-btn {
        padding: 0.85rem;
        font-size: 0.9rem;
    }
}



/* ==================== FOOTER ==================== */
.footer {
    padding: 6rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
}

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

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.insta-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(1) invert(0);
    transition: transform 0.25s ease, filter 0.25s ease;
}

.social-link:hover .insta-icon {
    transform: scale(1.15);
    filter: brightness(1.5);
}


.social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-legal a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* ==================== FADE IN ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate] {
    animation: fadeInUp 1s ease-out backwards;
}

[data-animate]:nth-child(1) {
    animation-delay: 0.1s;
}

[data-animate]:nth-child(2) {
    animation-delay: 0.2s;
}

[data-animate]:nth-child(3) {
    animation-delay: 0.3s;
}

[data-animate]:nth-child(4) {
    animation-delay: 0.4s;
}

[data-animate]:nth-child(5) {
    animation-delay: 0.5s;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .showcase-content {
        grid-template-columns: 1fr;
    }

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

    .floating-elements {
        display: none;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
        width: 95%;
    }

    .nav-links {
        display: none;
    }

    .hero {
        margin-top: 80px;
    }

    .demo-container {
        padding: 2rem;
    }

    .input-container {
        flex-direction: column;
    }

    .demo-btn {
        width: 100%;
    }

    .floating-stats {
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .testimonials-container,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px) scale(1);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-content {
        padding: 3rem 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .showcase-card {
        padding: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {

    .showcase-section,
    .demo-section,
    .features,
    .testimonials-section,
    .pricing-section,
    .cta-section {
        padding: 4rem 5%;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }
}