:root {
    --primary: #00ff88;
    --primary-glow: rgba(0, 255, 136, 0.4);
    --secondary: #7000ff;
    --secondary-glow: rgba(112, 0, 255, 0.4);
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-family: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for fixed navbar */
}

.hidden {
    display: none !important;
}

/* Background Glow Effects */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.3;
}

.bg-glow-1 {
    top: -100px;
    left: -100px;
    background: var(--secondary);
}

.bg-glow-2 {
    bottom: -100px;
    right: -100px;
    background: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar - Stacked Layout */
.navbar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 40px;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.logo {
    font-size: 2rem;
    /* Increased size */
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partnership {
    /* Replaces .partner-badge concepts */
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 500;
}

.nav-telegram {
    background: #0088cc;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, transform 0.2s;
}

.nav-telegram:hover {
    background: #0077b5;
    transform: translateY(-2px);
    color: white;
    /* Ensure text stays white */
}

/* Navbar Positioning for Desktop */
@media (min-width: 769px) {
    .nav-telegram {
        position: absolute;
        right: 40px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-telegram:hover {
        transform: translateY(-50%) scale(1.05);
        /* Maintain vertical centering on hover */
    }
}

/* Navbar Positioning for Mobile */
@media (max-width: 768px) {
    .nav-telegram {
        position: absolute;
        right: 20px;
        top: 20px;
        /* Align to top right */
    }
}


/* Hero Section */
.hero {
    min-height: 75vh;
    /* Occupy most of screen */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 140px;
    /* Space for stacked nav */
    padding-bottom: 0px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.mobile-break {
    display: none;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 25px;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

input[type="email"] {
    flex: 1;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

input[type="email"]:focus {
    border-color: var(--primary);
}

#telegram {
    flex: 1;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

#telegram:focus {
    border-color: var(--primary);
}

.cta-button {
    padding: 16px 32px;
    background: var(--primary);
    color: black;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    min-width: 140px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--primary-glow);
}

.form-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Features */
.features {
    padding: 100px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    padding: 20px 0 40px 0;
    background: transparent;
}

.results-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 700;
    opacity: 0.7;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}




.testimonial-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    position: relative;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.author {
    font-weight: 600;
    color: var(--primary);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s;
}

.modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content {
    background: #151515;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    border: 1px solid var(--primary);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.2);
    transform: scale(1);
    transition: transform 0.3s;
}

.modal.hidden .modal-content {
    transform: scale(0.8);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-content h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.telegram-btn {
    display: inline-block;
    padding: 16px 32px;
    background: #0088cc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: background 0.2s;
}

.telegram-btn:hover {
    background: #0077b5;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: black;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }

    .hero {
        min-height: auto;
        padding-top: 150px;
        /* Increased spacing */
        padding-bottom: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
        /* Increased spacing */
    }

    .waitlist-form {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        /* Increased spacing */
    }

    .navbar {
        padding: 10px 20px;
        gap: 5px;
    }

    .logo {
        font-size: 1.5rem;
        /* Reduced for mobile */
    }

    .partnership {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .testimonial-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        margin: 0 -20px;
        /* Negative margin to span full width */
        padding: 0 20px 20px 20px;
        /* Padding to compensate */
    }

    .testimonial-card {
        min-width: 280px;
        scroll-snap-align: center;
    }

    .bg-glow {
        width: 300px;
        height: 300px;
    }
}

/* Gallery Styles */
.gallery-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

.gallery-container::-webkit-scrollbar {
    height: 6px;
}

.gallery-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.gallery-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.gallery-thumb {
    width: 100px;
    aspect-ratio: 9/16;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s;
}

.lightbox.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    border: 1px solid var(--primary);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2001;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-lightbox:hover {
    opacity: 1;
    color: var(--primary);
}

@media (min-width: 769px) {
    .gallery-thumb {
        width: 120px;
    }
}

/* Pricing Section */
.pricing {
    padding: 80px 0 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: rgba(0, 255, 136, 0.05);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary);
    color: black;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: 700;
}

.tier-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 5px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 1rem;
}

.check {
    color: var(--primary);
    margin-right: 10px;
    font-weight: 700;
}

.pricing-btn {
    width: 100%;
    margin-top: auto;
    text-align: center;
    text-decoration: none;
    display: block;
}

/* Mock Notifications */
#notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification-toast {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--primary);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.15);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards, fadeOut 0.5s 4s forwards;
    width: auto;
    min-width: 260px;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.notification-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: black;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.notification-content {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.notification-text {
    font-size: 0.9rem;
    color: #ffffff;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.notification-toast strong {
    color: var(--primary);
    font-weight: 600;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}