:root, body.theme-blue {
    /* Colors (Electric Blue) */
    --bg-dark: #0a0f1a;
    --bg-darker: #050810;
    --text-main: #f0f4f8;
    --text-muted: #9aa8b8;
    --primary: #2563eb;
    --primary-hover: #3b82f6;
    --secondary: #1e40af;
    --accent: #60a5fa;
    
    /* Glassmorphism */
    --glass-bg: rgba(15, 25, 41, 0.6);
    --glass-border: rgba(59, 130, 246, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    /* Variables */
    --br-radius: 16px;
    --transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.theme-green {
    --bg-dark: #0f1a11;
    --bg-darker: #08100a;
    --primary: #2e7d32;
    --primary-hover: #388e3c;
    --secondary: #1b5e20;
    --accent: #4caf50;
    --glass-bg: rgba(25, 41, 30, 0.6);
    --glass-border: rgba(76, 175, 80, 0.15);
}

body.theme-red {
    --bg-dark: #1a0f0f;
    --bg-darker: #100808;
    --primary: #dc2626;
    --primary-hover: #ef4444;
    --secondary: #991b1b;
    --accent: #f87171;
    --glass-bg: rgba(41, 20, 20, 0.6);
    --glass-border: rgba(239, 68, 68, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
}

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

/* Nav */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 17, 26, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
}

.site-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
}

.controls {
    display: flex;
    gap: 12px;
}

.custom-select {
    appearance: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.custom-select:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.custom-select option {
    background: var(--bg-darker);
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 15px rgba(126, 87, 194, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 87, 194, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--glass-border);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(126, 87, 194, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top center, rgba(126, 87, 194, 0.15), transparent 60%);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--br-radius);
    padding: 32px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    will-change: transform, box-shadow;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 24px;
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Pricing */
.pricing {
    padding: 80px 24px;
}

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    background: linear-gradient(180deg, rgba(25, 28, 41, 0.8) 0%, rgba(126, 87, 194, 0.1) 100%);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

.currency-symbol {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 4px;
}

.billing {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.plan-features .check {
    color: var(--accent);
    margin-right: 12px;
    font-weight: bold;
}

.pricing-card .btn {
    width: 100%;
}

/* FAQ Accordion */
.faq {
    padding: 0 24px 80px;
}

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

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-hover);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.5, 0, 0, 1);
    color: var(--primary);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.5, 0, 0, 1);
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Security System */
.security-system {
    padding: 0 24px 80px;
    margin-top: -20px;
}

.security-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(145deg, rgba(25, 28, 41, 0.8) 0%, rgba(15, 17, 26, 0.95) 100%);
    border-top: 2px solid var(--primary);
}

.security-header {
    margin-bottom: 24px;
}

.icon-shield {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 15px rgba(126, 87, 194, 0.6));
}

.security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.security-badges .badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.security-badges .badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.security-badges .check {
    color: var(--accent);
}

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

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

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.5, 0, 0, 1), opacity 0.4s cubic-bezier(0.5, 0, 0, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Starfield Effects */
.hero {
    overflow: hidden;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

#stars, #stars2, #stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #eee, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 160px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #ccc, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 130px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

#stars { 
    animation: moveUp 100s linear infinite; 
    background-size: 200px 200px; 
    opacity: 0.3; 
}

#stars2 { 
    animation: moveUp 150s linear infinite; 
    background-size: 300px 300px; 
    opacity: 0.2; 
}

#stars3 { 
    animation: moveUp 200s linear infinite; 
    background-size: 400px 400px; 
    opacity: 0.1; 
}

@keyframes moveUp {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

/* Minecraft Navbar Dropdown */
.minecraft-dropdown {
    position: relative;
    display: inline-block;
}

.minecraft-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 16px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

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

.mc-icon {
    width: 20px;
    height: 20px;
}

.mc-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: max-content;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    padding: 8px;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.mc-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mc-option {
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 10px 16px;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
}

.mc-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.mc-option.active {
    background: rgba(255, 0, 122, 0.15); /* matching the pink gradient */
    color: #fff;
    border-left: 3px solid #FF007A;
}

/* VPS Specific Styles */
.vps-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
}

.vps-cores {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.vps-pack {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.7;
}

.vps-iva {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    font-style: italic;
}
