/* assets/css/crypto_theme.css - v1.3 Final with Corrected Sidebar and Navbar */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --bg-dark: #0f172a;
    --bg-light: #ffffff;
    --bg-secondary: #f8fafc;
    --text-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Hero Section & Navbar --- */
.hero-section {
    background-color: var(--bg-dark);
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png'), linear-gradient(to right, #1e3c72, #2a5298);
    color: var(--text-light);
    padding: 20px 0 60px 0;
    position: relative;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    box-sizing: border-box;
}

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

.navbar .logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 100px;
}

.hero-text h1 {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1em;
    opacity: 0.9;
    margin-bottom: 20px;
}

.hero-text .telegram-btn {
    display: inline-block;
    background-color: #25a3e2;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
}

.auth-form-container {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-form-container h2 {
    text-align: center;
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    font-size: 1em;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

.forgot-password {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9em;
}

.forgot-password a {
    color: #93c5fd;
    text-decoration: none;
}

/* --- Sidebar Menu Styles --- */
.menu-toggle {
    font-size: 28px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    z-index: 1001;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background-color: var(--bg-dark);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    transition: right 0.35s ease-in-out;
    z-index: 1002;
    padding: 20px;
    box-sizing: border-box;
}

.sidebar.open {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-header .logo {
    font-size: 1.5em;
}

.sidebar-nav {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 10px;
}

.sidebar-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px 0;
    display: block;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease-in-out;
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text {
        text-align: center;
    }

    .navbar .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

@media (min-width: 993px) {
    .menu-toggle {
        display: none;
    }
}

/* --- Plans & Other Sections --- */
.plans-section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 2.5em;
    font-weight: 700;
}

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

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

/* --- OLD PLAN CARD STYLES --- */
.plan-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 30px;
    text-align: center;
}

.plan-multiplier {
    margin-bottom: 10px;
    font-weight: bold;
}

.plan-version {
    font-size: 1.5em;
    margin: 10px 0;
}

.plan-details {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.plan-details li {
    margin-bottom: 10px;
}

.plan-purchase-btn {
    display: block;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.stats-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

footer {
    background-color: #020617;
    color: var(--text-muted);
    text-align: center;
    padding: 20px 0;
}

/* --- New Plan Card Styles (V4 - Final Version) --- */
.plan-card.v4-style {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.plan-multiplier-v4 {
    font-size: 2.8em;
    font-weight: 700;
    color: #3b82f6;
    /* Blue color */
    line-height: 1.1;
}

.plan-version-v4 {
    font-size: 1.4em;
    font-weight: 700;
    /* Bolder font */
    color: var(--text-dark);
    margin: 5px 0 25px 0;
}

/* If the multiplier is NOT present, the plan name should have more space at the top */
.plan-card.v4-style h3.plan-version-v4:first-child {
    margin-top: 10px;
    margin-bottom: 30px;
}

.plan-details-v4 {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.plan-details-v4 p {
    margin: 0 0 5px 0;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text-dark);
}

.plan-details-v4 span {
    font-size: 1em;
    color: var(--text-muted);
}

.plan-purchase-btn-v4 {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 15px;
    background-color: #3b82f6;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s;
}

.plan-purchase-btn-v4:hover {
    background-color: #2563eb;
}

/* Hide any old styles that might conflict */
.plan-card.v4-style .plan-multiplier,
.plan-card.v4-style .plan-version,
.plan-card.v4-style .plan-details,
.plan-card.v4-style .plan-purchase-btn,
.plan-card.v4-style .plan-detail-item {
    display: none;
}