/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #8B5CF6;
    --primary-blue: #3B82F6;
    --dark-purple: #6366F1;
    --light-purple: #A855F7;
    --gradient-main: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #A855F7 100%);
    --gradient-card: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    --gradient-dark: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4C1D95 100%);
    --text-light: #F8FAFC;
    --text-gray: #94A3B8;
    --text-dark: #1E293B;
    --bg-dark: #0F0F23;
    --bg-darker: #0A0A1A;
    --border-glow: rgba(139, 92, 246, 0.3);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    display: inline-block;
    color: var(--text-light);
    font-weight: 700;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: #FF0040;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: #00FFFF;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% {
        transform: translate(0);
    }
    15%, 49% {
        transform: translate(-2px, 0);
    }
}

@keyframes glitch-2 {
    0%, 20%, 21%, 62%, 63%, 99%, 100% {
        transform: translate(0);
    }
    21%, 62% {
        transform: translate(2px, 0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glow);
    z-index: 1000;
}

.navbar {
    padding: 0;
}

/* Navigation container improvements */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    height: 85px;
}



.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-purple);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    outline: none;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

.hamburger:hover {
    background: rgba(139, 92, 246, 0.1);
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: var(--primary-purple);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
    background: var(--primary-purple);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--primary-purple);
    font-weight: 600;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.feature-item i {
    color: var(--primary-purple);
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 16px 32px;
    border: none;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}



@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Sections */
.services-preview,
.how-it-works,
.cta-section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-purple);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
}

.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-item p {
    color: var(--text-gray);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-card);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.step-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.step-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-right: 1px solid rgba(139, 92, 246, 0.2);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
        box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
    }

    .nav-menu li {
        margin: 0.5rem 0;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Stagger animation for menu items */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .nav-link:hover {
        background: rgba(139, 92, 246, 0.2);
        transform: translateY(-2px);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .services-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .feature-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* Dashboard mobile improvements */
    .dashboard-container {
        padding: 70px 10px 50px;
}

    .welcome-card, .referral-card, .milestones-card {
    padding: 1.5rem;
    border-radius: 16px;
}

    .user-avatar {
    width: 60px;
    height: 60px;
    }
    
    .user-info h1 {
        font-size: 1.3rem;
}

    .user-info p {
    font-size: 1rem;
}

    .card-title {
        font-size: 1.3rem;
}

    .card-subtitle {
        font-size: 0.9rem;
}

    .stat-item {
        padding: 1rem 0.8rem;
}

    .stat-number {
        font-size: 1.5rem;
    }
    
    .milestone-item {
        padding: 1rem;
    }
    
    .social-btn, .action-btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .link-text {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    
    .copy-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Animation utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-main);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-purple);
}

/* FAQ Page Styles */
.faq-hero {
    padding: 120px 0 80px;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.3) 0%, transparent 50%);
    z-index: 1;
}

.faq-hero .container {
    position: relative;
    z-index: 2;
}

.faq-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.faq-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-content {
    padding: 80px 0;
    background: var(--bg-dark);
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--gradient-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 25px;
    color: var(--text-gray);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient-main);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.category-btn i {
    font-size: 1rem;
}

.faq-section {
    display: none;
}

.faq-section.active {
    display: block;
}

.faq-item {
    background: var(--gradient-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.2);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.faq-question h3 i {
    color: var(--primary-purple);
    font-size: 1rem;
}

.toggle-icon {
    font-size: 1.2rem;
    color: var(--primary-purple);
    transition: transform 0.3s ease;
}

.faq-answer {
    color: var(--text-gray);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-cta {
    padding: 80px 0;
    background: var(--gradient-dark);
    text-align: center;
}

/* Contact Page Styles */
.contact-hero {
    padding: 120px 0 80px;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 60%);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    padding: 80px 0;
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--gradient-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    border-color: var(--primary-purple);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    border-radius: 50%;
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.contact-features .feature-item i {
    color: var(--primary-purple);
    font-size: 1rem;
}

.contact-info {
    padding: 80px 0;
    background: var(--bg-darker);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-section {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
}

.info-section h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section h3 i {
    color: var(--primary-purple);
    font-size: 1.1rem;
}

.info-content {
    color: var(--text-gray);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    font-weight: 500;
}

.info-item .value {
    color: var(--primary-purple);
    font-weight: 600;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
}

.language-item i {
    color: var(--primary-purple);
}

.help-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-gray);
}

.help-list li i {
    color: #10B981;
    font-size: 0.9rem;
    width: 16px;
    flex-shrink: 0;
}

.contact-process {
    padding: 80px 0;
    background: var(--bg-dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-card);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-faq {
    padding: 80px 0;
    background: var(--bg-darker);
}

.quick-faq {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.quick-faq .faq-item {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.quick-faq .faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.quick-faq .faq-item h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-faq .faq-item h4 i {
    color: var(--primary-purple);
    font-size: 1rem;
}

.quick-faq .faq-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-cta {
    padding: 80px 0;
    background: var(--gradient-dark);
    text-align: center;
}

/* Button Styles */
.btn-discord {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    border: none;
}

.btn-discord:hover {
    background: linear-gradient(135deg, #4752C4, #3C47B3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #006da8);
    color: white;
    border: none;
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #006da8, #005c91);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
}

/* Responsive Design for new pages */
@media (max-width: 768px) {
    .faq-title,
    .contact-title {
        font-size: 2.5rem;
    }
    
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .language-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .quick-faq {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .faq-title,
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-card,
    .info-section,
    .step {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Contact Form Modal Styles - Enhanced Responsive Design */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100vh;
    box-sizing: border-box;
}

.modal.show {
    display: flex !important;
}

.modal-content {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.95));
    border-radius: 24px;
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 
        0 25px 50px rgba(139, 92, 246, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    backdrop-filter: blur(25px);
    transform-origin: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.contact-modal {
    width: min(85vw, 480px);
    min-height: min(70vh, 500px);
    max-height: min(85vh, 700px);
    overflow: hidden;
    margin: auto;
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    aspect-ratio: 4/5;
    border-radius: 28px;
}

.modal-header {
    padding: clamp(1.5rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 1.2rem);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 28px 28px 0 0;
    flex-shrink: 0;
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.close-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-light);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.contact-form {
    padding: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 0.75rem;
    background: var(--gradient-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: inherit;
    backdrop-filter: blur(10px);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: var(--text-gray);
}

.input-group textarea {
    min-height: 120px;
    resize: vertical;
}

.input-group select {
    cursor: pointer;
}

.input-group select option {
    background: var(--bg-darker);
    color: var(--text-light);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.submit-btn {
    background: var(--gradient-main);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    transform: none;
    cursor: not-allowed;
}

.cancel-btn {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cancel-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-light);
}

.contact-info-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info-footer p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.8rem;
}

.contact-info-footer i {
    color: var(--primary-purple);
    width: 16px;
}

.contact-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10000;
    font-weight: 500;
    max-width: 400px;
}

.contact-notification.show {
    transform: translateX(0);
}

.contact-notification.success {
    border-left: 4px solid #10b981;
}

.contact-notification.error {
    border-left: 4px solid #ef4444;
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
    .contact-modal {
        width: 95%;
        margin: 1rem;
        max-height: 95vh;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .submit-btn,
    .cancel-btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }
    
    .contact-notification.show {
        transform: translateY(0);
    }
    
    /* Enhanced mobile modal improvements */
    .modal {
        padding: 8px;
        padding-top: 15px;
        align-items: flex-start;
        min-height: auto;
    }
    
    .contact-modal {
        width: min(calc(100vw - 16px), 360px);
        min-height: min(60vh, 400px);
        max-height: calc(100vh - 30px);
        border-radius: 20px;
        margin: 0 auto;
        aspect-ratio: 3/4;
    }
    
    .modal-header {
        padding: clamp(0.8rem, 3vw, 1.2rem);
        border-radius: 20px 20px 0 0;
    }
    
    .modal-header h3 {
        font-size: clamp(1.1rem, 5vw, 1.3rem);
        line-height: 1.2;
    }
    
    .close-btn {
        padding: 0.2rem;
        font-size: clamp(1rem, 4vw, 1.2rem);
        width: clamp(28px, 7vw, 36px);
        height: clamp(28px, 7vw, 36px);
    }
} 

/* Contact modal body styling */
.contact-modal .modal-body {
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 4vw, 2rem);
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.5) rgba(255, 255, 255, 0.1);
}

.contact-modal .modal-body::-webkit-scrollbar {
    width: 6px;
}

.contact-modal .modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.contact-modal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.7), rgba(59, 130, 246, 0.7));
    border-radius: 3px;
    transition: all 0.3s ease;
}

.contact-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(59, 130, 246, 0.9));
} 

/* Enhanced Modal Styles - Override inline styles */
.enhanced-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
}

.enhanced-modal-content {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95)) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 32px !important;
    width: min(90vw, 400px) !important;
    height: min(85vh, 600px) !important;
    max-height: 600px !important;
    color: white !important;
    position: relative !important;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    backdrop-filter: blur(30px) !important;
    aspect-ratio: 3/4 !important;
}

.enhanced-close-btn {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    font-size: 20px !important;
    cursor: pointer !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(15px) !important;
    z-index: 10 !important;
    font-weight: bold !important;
}

.enhanced-close-btn:hover {
    background: rgba(255, 59, 48, 0.3) !important;
    border-color: rgba(255, 59, 48, 0.5) !important;
    transform: scale(1.1) rotate(90deg) !important;
}

.enhanced-modal-header {
    padding: 30px 24px 20px 24px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.modal-icon {
    width: 70px !important;
    height: 70px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px auto !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.modal-icon i {
    font-size: 28px !important;
    color: white !important;
}

.enhanced-modal-header h2 {
    margin: 0 0 16px 0 !important;
    font-size: clamp(20px, 5vw, 24px) !important;
    font-weight: 700 !important;
    color: white !important;
    line-height: 1.2 !important;
}

.price-box {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    margin: 16px 0 !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.current-price {
    font-size: clamp(20px, 5vw, 24px) !important;
    font-weight: 700 !important;
    color: #FFD700 !important;
    margin-bottom: 6px !important;
}

.original-price {
    font-size: clamp(14px, 3.5vw, 16px) !important;
    text-decoration: line-through !important;
    opacity: 0.7 !important;
    margin-left: 8px !important;
    color: white !important;
}

.savings-text {
    font-size: clamp(12px, 3vw, 14px) !important;
    color: #90EE90 !important;
    font-weight: 600 !important;
}

.modal-description {
    margin: 0 !important;
    opacity: 0.9 !important;
    font-size: clamp(14px, 3.5vw, 16px) !important;
    line-height: 1.4 !important;
    color: white !important;
}

.enhanced-modal-body {
    padding: 16px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    flex-grow: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent !important;
}

.enhanced-modal-body::-webkit-scrollbar {
    width: 4px !important;
}

.enhanced-modal-body::-webkit-scrollbar-track {
    background: transparent !important;
}

.enhanced-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 2px !important;
}

.contact-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(15px) !important;
    cursor: pointer !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.contact-btn:hover {
    transform: translateY(-2px) !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

.contact-btn i {
    font-size: 18px !important;
    width: 24px !important;
    text-align: center !important;
}

.discord-btn {
    background: rgba(88, 101, 242, 0.3) !important;
    border-color: rgba(88, 101, 242, 0.5) !important;
}

.discord-btn:hover {
    background: rgba(88, 101, 242, 0.5) !important;
}

.telegram-btn {
    background: rgba(34, 158, 217, 0.3) !important;
    border-color: rgba(34, 158, 217, 0.5) !important;
}

.telegram-btn:hover {
    background: rgba(34, 158, 217, 0.5) !important;
}

.email-btn {
    background: rgba(234, 67, 53, 0.3) !important;
    border-color: rgba(234, 67, 53, 0.5) !important;
}

.email-btn:hover {
    background: rgba(234, 67, 53, 0.5) !important;
}

.btn-content {
    text-align: left !important;
}

.btn-title {
    font-size: clamp(14px, 3.5vw, 16px) !important;
    font-weight: 600 !important;
    margin-bottom: 2px !important;
}

.btn-subtitle {
    font-size: clamp(11px, 2.8vw, 12px) !important;
    opacity: 0.8 !important;
    font-weight: 400 !important;
}

.enhanced-modal-footer {
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 16px 24px !important;
    display: flex !important;
    justify-content: space-around !important;
    font-size: clamp(10px, 2.5vw, 12px) !important;
    opacity: 0.9 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    flex-shrink: 0 !important;
    backdrop-filter: blur(15px) !important;
}

.trust-item {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
}

.trust-item i {
    font-size: clamp(14px, 3.5vw, 16px) !important;
    color: #90EE90 !important;
}

.trust-item span {
    font-weight: 500 !important;
    color: white !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .enhanced-modal {
        padding: 12px !important;
    }
    
    .enhanced-modal-content {
        width: calc(100vw - 24px) !important;
        height: min(90vh, 550px) !important;
        border-radius: 24px !important;
        aspect-ratio: 3/4.2 !important;
    }
    
    .enhanced-modal-header {
        padding: 24px 20px 16px 20px !important;
    }
    
    .enhanced-modal-body {
        padding: 12px 20px !important;
        gap: 10px !important;
    }
    
    .enhanced-modal-footer {
        padding: 12px 20px !important;
    }
    
    .trust-item {
        gap: 4px !important;
    }
} 

/* Navigation auth buttons */
.nav-auth-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    white-space: nowrap;
    min-width: 140px;
    justify-content: space-between;
}

.nav-auth-btn.login-btn {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    border: 1px solid rgba(88, 101, 242, 0.3);
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.2);
    justify-content: center;
}

.nav-auth-btn.login-btn:hover {
    background: linear-gradient(135deg, #4752C4, #3C45A5);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.nav-auth-btn.logout-btn {
    background: rgba(220, 38, 38, 0.1);
    color: #EF4444;
    border: 1px solid rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.nav-auth-btn.logout-btn::after {
    content: "Sign Out";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.nav-auth-btn.logout-btn:hover::after {
    opacity: 1;
}

.nav-auth-btn.logout-btn:hover {
    background: rgba(220, 38, 38, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    color: #DC2626;
}

.nav-auth-btn.logout-btn .fas {
    font-size: 0.8rem;
    opacity: 0.8;
}

.nav-auth-btn .username-text {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    text-align: left;
}

#auth-nav-item {
    margin-left: 3rem;
    display: flex;
    align-items: center;
}

/* Better navigation alignment */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: white;
    border-bottom-color: var(--accent);
}

.nav-link.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-auth-btn {
        width: 100%;
        margin: 1rem 0;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        min-width: auto;
    }
    
    .nav-auth-btn.login-btn {
        justify-content: center;
    }
    
    .nav-auth-btn .username-text {
        max-width: none;
        flex: 1;
    }
    
    #auth-nav-item {
        margin-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
        margin-top: 1rem;
        width: 100%;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        font-size: 1rem;
    }
} 

/* Referral Invitation Popup */
.referral-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.referral-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.referral-popup {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.95) 50%, 
        rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.referral-popup-overlay.active .referral-popup {
    transform: scale(1) translateY(0);
}

.referral-popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    z-index: 10;
}

.referral-popup-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #EF4444;
    transform: scale(1.1);
}

.referral-popup-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.referral-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6); }
}

.referral-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10B981, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.referral-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.referrer-name {
    color: #10B981;
    font-weight: 700;
    font-size: 1.3rem;
}

.referral-popup-content {
    padding: 2rem;
}

.referral-popup-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1.5rem 0;
    text-align: center;
}

/* Benefits Section */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.benefit-item i {
    font-size: 1.5rem;
    color: #10B981;
    min-width: 24px;
    margin-top: 0.25rem;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem 0;
}

.benefit-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

/* Rewards Section */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.reward-tier {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.reward-tier:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tier-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    min-width: 50px;
}

.tier-badge.tier-5 {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.tier-badge.tier-10 {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.tier-badge.tier-15 {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.tier-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.25rem 0;
}

.tier-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.rewards-note {
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
}

.rewards-note i {
    color: #10B981;
    margin-right: 0.5rem;
}

/* Services Preview */
.referral-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.referral-service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.referral-service-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.referral-service-icon {
    font-size: 1.5rem;
    min-width: 24px;
}

.referral-service-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.referral-service-name {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.referral-service-price {
    font-weight: 700;
    color: #10B981;
    font-size: 1.1rem;
}

.referral-service-was {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}

/* Action Buttons */
.referral-popup-actions {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.referral-join-btn {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    border: none;
    border-radius: 16px;
    padding: 1.2rem 2rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.referral-join-btn:hover {
    background: linear-gradient(135deg, #4752C4, #3C45A5);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(88, 101, 242, 0.4);
}

.referral-join-btn i {
    font-size: 1.5rem;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.referral-browse-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.referral-browse-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Footer */
.referral-popup-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 24px 24px;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.trust-item i {
    color: #10B981;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .referral-popup {
        margin: 1rem;
        max-height: 95vh;
    }
    
    .referral-popup-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .referral-title {
        font-size: 2rem;
    }
    
    .referral-popup-content {
        padding: 1.5rem;
    }
    
    .benefit-grid {
        grid-template-columns: 1fr;
    }
    
    .rewards-grid {
        grid-template-columns: 1fr;
    }
    
    .referral-services-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .referral-join-btn {
        padding: 1rem 1.5rem;
    }
    
    .btn-content {
        align-items: center;
    }
} 

/* Mobile Navigation - CLEAN & SIMPLE */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: left;
        transition: left 0.3s ease-in-out;
        -webkit-transition: left 0.3s ease-in-out;
        -moz-transition: left 0.3s ease-in-out;
        -ms-transition: left 0.3s ease-in-out;
        box-shadow: none; /* remove heavy shadow */
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1002; /* above header (1000) */
        padding: 2rem 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        align-items: stretch;
    }

    .nav-menu.active { left: 0; box-shadow: none; }

    .nav-menu li {
        margin: 0;
        padding: 0 2rem;
        opacity: 0;
        transform: translateX(50px);
        animation: navLinkFade 0.5s ease forwards;
        display: block;
        width: 100%;
    }

    /* Clean nav links - match desktop underline style */
    .nav-link {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
        padding: 1rem 0;
        transition: all 0.3s ease;
        border-bottom: 2px solid transparent;
        display: block;
        width: 100%;
        border-radius: 0 !important; /* kill pill look */
        background: transparent !important; /* no filled bg */
        transform: none !important; /* no lift */
    }
    .nav-link:hover { color: white; border-bottom-color: var(--accent); background: transparent !important; transform: none !important; }
    .nav-link.active { color: var(--accent); border-bottom-color: var(--accent); background: transparent !important; transform: none !important; }

    .hamburger { display: flex !important; cursor: pointer; z-index: 1003; }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* Hamburger Menu Styling */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    outline: none;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

/* Progress Section - CLEAN & PROFESSIONAL */
.progress-section {
    margin: 1.5rem 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tier-badge {
    background: linear-gradient(135deg, var(--accent), #7C3AED);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.4);
    min-width: 80px;
    text-align: center;
}

.tier-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: right;
    flex: 1;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    height: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        #10B981 0%, 
        #34D399 50%, 
        #6EE7B7 100%);
    border-radius: 12px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0.2) 100%);
    border-radius: 12px;
}

/* Mobile responsiveness for progress */
@media (max-width: 768px) {
    .progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .tier-info {
        text-align: left;
        width: 100%;
    }
    
    .tier-badge {
        align-self: flex-start;
    }
}
