/* 
   Premium Dark Mode Theme 
   McJim Server
*/

:root {
    /* Color Palette matching main website */
    --bg-dark: #030712;
    --bg-panel: rgba(17, 24, 39, 0.6);
    --bg-panel-hover: rgba(31, 41, 55, 0.8);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-highlight: #38bdf8;
    
    --accent-blue: #3b82f6;
    --accent-purple: #6366f1; /* Main site uses indigo/blue/cyan */
    --accent-cyan: #06b6d4;
    --accent-glow: rgba(99, 102, 241, 0.4);
    
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Layout */
    --container-max: 1200px;
    --nav-height: 80px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    min-height: 100vh;
    height: 100%;
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
}

/* Background Glow Effects */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(10, 10, 15, 0) 70%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}
.bg-glow.top-left { top: -200px; left: -200px; }
.bg-glow.bottom-right { bottom: -200px; right: -200px; background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(10, 10, 15, 0) 70%); }
.bg-glow.middle-right { top: 40%; right: -300px; }

/* Reusable Components */
.container {
    margin: 0 auto;
    padding: 0 2rem;
    max-width: var(--container-max);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}
.glass-panel:hover {
    background: var(--bg-panel-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
}
.btn-primary:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}
.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--border-color);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}
.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}
.btn-block {
    display: block;
    width: 100%;
}
.glow-effect {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    letter-spacing: -0.5px;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: white;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.login-btn {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.login-btn:hover {
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    text-align: center;
    position: relative;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.badge-wrapper {
    margin-bottom: 1.5rem;
}
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.trust-indicators p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}
.trust-indicators svg {
    color: var(--accent-blue);
}

/* Section Shared Styles */
section {
	flex: 1;
    padding: 6rem 0;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}
.pricing-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
.pricing-card.highlighted {
    border: 1px solid var(--accent-blue);
    background: rgba(30, 30, 45, 0.7);
    transform: scale(1.05);
    z-index: 2;
}
.pricing-card.highlighted:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}
.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-blue);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
}
.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.card-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}
.price span {
    font-size: 1.5rem;
    vertical-align: super;
}
.price .period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    vertical-align: baseline;
}
.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
}
.features-list li {
    margin-bottom: 1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.features-list .check {
    color: var(--accent-blue);
    font-weight: bold;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.feature-card {
    padding: 2rem;
    text-align: left;
}
.icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- DOMAINS SECTION --- */
.domains {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.domain-search-box {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.domain-form {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.domain-input {
    flex: 1;
    min-width: 250px;
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(13, 17, 23, 0.6);
    color: var(--text-light);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.domain-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.domain-tld {
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(13, 17, 23, 0.6);
    color: var(--text-light);
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.domain-tld:focus {
    border-color: var(--primary-color);
}

.domain-form .btn {
    border-radius: 50px;
    padding: 15px 40px;
}

.tld-pricing {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.tld-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.tld-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.tld-item .tld {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.tld-item .price {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .domain-form {
        flex-direction: column;
    }
    .domain-input, .domain-tld, .domain-form .btn {
        width: 100%;
    }
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    background: rgba(5, 5, 8, 0.8);
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}
.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: white;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .pricing-card.highlighted {
        transform: none;
    }
    .pricing-card.highlighted:hover {
        transform: translateY(-5px);
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* Login Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}


/* Login Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}
.close-modal:hover { color: white; }
.modal-header h3 { font-size: 1.8rem; margin-bottom: 5px; }
.modal-header p { color: var(--text-muted); margin-bottom: 25px; font-size: 0.9rem; }
.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); }
.input-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 15, 0.5);
    color: white;
    font-family: var(--font-main);
    outline: none;
    transition: all 0.3s ease;
}
.input-group input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

/* ================================================
   CyberPanel / Domain Notice
   ================================================ */
.domain-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 28px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.07);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-left: 4px solid #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.08);
    animation: notice-pulse 3s ease-in-out infinite;
}
@keyframes notice-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.08); }
    50%       { box-shadow: 0 0 28px rgba(245, 158, 11, 0.18); }
}
.notice-icon {
    font-size: 1.5rem;
    color: #f59e0b;
    flex-shrink: 0;
    line-height: 1.4;
}
.notice-text {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.6;
}
.notice-text strong {
    display: block;
    color: #fbbf24;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.notice-text a {
    color: #60a5fa;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.notice-text a:hover {
    color: #93c5fd;
}
