:root {
    --bg-black: #0A0A0F;
    --cyan: #00F0FF;
    --violet: #7C4DFF;
    --red: #FF3B30;
    --white: #FFFFFF;
    --text-dim: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --grid-line: rgba(255, 255, 255, 0.03);

    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-black);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.glow-sphere {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
}

.sphere-1 {
    width: 400px;
    height: 400px;
    background: var(--cyan);
    top: -100px;
    left: -100px;
}

.sphere-2 {
    width: 500px;
    height: 500px;
    background: var(--violet);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 20px);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 32px;
    vertical-align: middle;
    margin-right: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--white);
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-btn {
    padding: 8px 16px;
    border: 1px solid var(--cyan);
    color: var(--cyan) !important;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.8rem !important;
    letter-spacing: 1px;
}

.nav-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    /* Changed from column to flex/center to properly align */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    z-index: 2;
}

.hero-logo img {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.3));
    transition: var(--transition);
}

.hero-logo:hover img {
    transform: scale(1.05);
}

h1.gradient-text {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan) 50%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    max-width: 600px;
}

.store-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.store-btn {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.store-btn svg {
    margin-right: 12px;
    width: 28px;
    height: 28px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-text span:first-child {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.store-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.store-btn:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Pulse Animation */
.pulse-container {
    position: absolute;
    bottom: 100px;
    /* Raised up */
    width: 100%;
    height: 120px;
    overflow: hidden;
    z-index: 1;
}

.pulse-line {
    width: 100%;
    height: 100%;
    stroke: var(--cyan);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 3000;
    /* Increased to ensure it covers full width */
    stroke-dashoffset: 3000;
    animation: dash 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    filter: drop-shadow(0 0 5px var(--cyan));
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    color: var(--text-dim);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Features Grid */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    /* Use grid on the container div */
    width: 100%;
    /* The container .container is flex, but we need grid here */
}

/* Fix container flex vs grid conflict */
section .container {
    display: block;
    /* Override flex for sections */
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
}

.card-h3 {
    margin: 20px 0 10px;
    font-size: 1.25rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--bg-black);
}

.icon-box.cyan {
    background: var(--cyan);
    box-shadow: 0 0 15px var(--cyan);
}

.icon-box.violet {
    background: var(--violet);
    box-shadow: 0 0 15px var(--violet);
}

/* Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-top: 50px;
}

.step {
    flex: 1;
    padding: 20px;
}

.step-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.05);
    font-weight: 700;
    line-height: 1;
    margin-bottom: -30px;
    z-index: -1;
    position: relative;
}

.step h3 {
    color: var(--cyan);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.step-connector {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* Compatibility */
.compat-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.compat-item {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    color: var(--text-dim);
    gap: 10px;
}

.compat-item svg {
    color: var(--cyan);
}

/* Bot Section */
.bot-card {
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(0, 240, 255, 0.05));
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.bot-content {
    flex: 1;
    padding-right: 40px;
}

.bot-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.bot-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--cyan);
    color: var(--bg-black);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    transition: var(--transition);
}

.bot-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--cyan);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.footer-logo img {
    height: 40px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    h1.gradient-text {
        font-size: 3rem;
    }

    .steps-container {
        flex-direction: column;
        gap: 30px;
    }

    .step-connector {
        height: 50px;
        width: 2px;
        background: linear-gradient(180deg, transparent, var(--glass-border), transparent);
    }

    .bot-card {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }

    .bot-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}