:root {
    --bg-main: #06090e;
    --bg-secondary: #0a0f16;
    --accent-green: #00ff88;
    --accent-green-dark: #00b35f;
    --accent-teal: #00b8ff;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glow-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Blobs for depth */
.blob-bg {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, rgba(6, 9, 14, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.blob-bg.blob-2 {
    top: auto;
    bottom: -10%;
    left: auto;
    right: -10%;
    background: radial-gradient(circle, rgba(0, 184, 255, 0.1) 0%, rgba(6, 9, 14, 0) 70%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lizard-text {
    color: var(--accent-green);
    font-weight: 800;
}

/* Glass Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 22, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 16px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
    color: var(--bg-main);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}

.glow-effect:hover {
    box-shadow: var(--glow-shadow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    padding: 10px 20px;
    background: transparent;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: rgba(0, 255, 136, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mascot Layout */
.mascot-container {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}
.mascot-image {
    max-width: 95%;
    max-height: 95%;
    z-index: 2;
    transition: transform 0.1s ease-out;
    filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.4));
    border-radius: 20px;
    object-fit: contain;
    animation: breathing 4s ease-in-out infinite alternate;
}
.mascot-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--accent-green) 0%, rgba(6,9,14,0) 70%);
    z-index: 1;
    filter: blur(40px);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes breathing {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-15px) scale(1.03); }
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(1.05); }
}

/* Cards & Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-8px);
}

/* Services Section */
.section-padding {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-desc {
    flex-grow: 1;
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.icon-box {
    width: 72px;
    height: 72px;
    background: transparent;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 24px auto;
    border: none;
    color: var(--text-primary);
    overflow: hidden;
}

.icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

/* Service Buttons */
.card-footer {
    margin-top: auto;
    width: 100%;
}

.card-footer.multi-btn {
    display: flex;
    gap: 12px;
}

.btn-service {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

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

.btn-service-outline {
    flex: 1;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-service-outline:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}


/* Download Section (used in vpn.html) */
.download-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    padding: 56px;
    background: linear-gradient(135deg, rgba(10, 15, 22, 0.9), rgba(0, 255, 136, 0.08));
    border-radius: 20px;
}

.download-text h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.download-text p {
    color: var(--text-secondary);
    max-width: 400px;
    font-size: 1.1rem;
}

.download-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    max-width: 500px;
}

.platform-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.platform-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateX(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.platform-icon {
    font-size: 2.5rem;
    margin-right: 24px;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.platform-info {
    flex: 1;
}

.platform-info h4 {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    margin-bottom: 6px;
}

.platform-info span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.download-arrow {
    width: 48px;
    height: 48px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s;
}

.platform-card:hover .download-arrow {
    background: var(--accent-green);
    color: var(--bg-main);
    transform: translateY(3px);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 28px;
    cursor: pointer;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 500;
}

.faq-toggle {
    font-size: 1.8rem;
    color: var(--accent-green);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.4s ease;
    color: var(--text-secondary);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 20px;
    opacity: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Footer */
.glass-footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 24px;
    background: rgba(10, 15, 22, 0.5);
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-logo p {
    font-family: var(--font-body);
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 1rem;
    font-weight: 400;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations & Utility */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Responsive */
@media (max-width: 900px) {
    .download-container {
        flex-direction: column;
        text-align: center;
    }
    
    .download-text p {
        margin: 0 auto;
    }
    
    .download-cards {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .desktop-only { display: none; }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    
    .hero-title { font-size: 2.5rem; }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* Auth and Profile Pages */
.auth-page .glass-header {
    background: rgba(6, 9, 14, 0.9);
}

.auth-main {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
}

.login-card {
    width: 100%;
    max-width: 450px;
    padding: 40px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: var(--accent-green);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--text-secondary);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--glass-border);
}

.auth-divider span {
    padding: 0 16px;
    font-size: 0.9rem;
}

.profile-main {
    padding-top: 140px;
    padding-bottom: 80px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--bg-main);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.profile-info h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 4px;
}

.profile-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.vip-card {
    background: linear-gradient(135deg, rgba(10, 15, 22, 0.9), rgba(0, 184, 255, 0.1));
    border-color: rgba(0, 184, 255, 0.3);
}

.vip-card .icon-box {
    background: rgba(0, 184, 255, 0.1);
    color: var(--accent-teal);
    border-color: rgba(0, 184, 255, 0.3);
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--glass-border);
}

.setting-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.setting-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.setting-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-green);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--accent-green);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

@media (max-width: 600px) {
    .login-card {
        padding: 24px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .profile-main {
        padding-top: 100px;
    }
    
    .auth-main {
        padding-top: 60px;
    }
}
