/* ===== 1. CORE THEME & GLOBAL RESET ===== */
:root {
    --accent: #E50914;      /* Netflix Red */
    --bg: #ffffff;
    --text-main: #222222;
    --text-muted: #666666;
    --border: #e0e0e0;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-cool: 0 20px 40px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== 2. CENTERED HEADER (FIXED FOR TOP-RIGHT MENU) ===== */
.axon-nav {
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Use this wrapper if you have one, or the nav itself acts as the relative parent */
.axon-nav {
    position: sticky; 
}

.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    text-align: center;
}

.logo span { color: var(--accent); }

/* ===== 3. LAYOUT WRAPPERS ===== */
.subscription-wrapper {
    flex: 1;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
    width: 100%;
}

.main-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.subtitle, .step-indicator {
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 20px;
}

/* ===== 4. COOL CARD STYLES (HORIZONTAL GRID) ===== */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 50px auto;
    text-align: left;
}

.plan-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px 25px;
    cursor: pointer;
    position: relative;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-cool);
    border-color: #bbb;
}

.plan-card:has(input:checked) {
    border: 2px solid var(--accent);
    background: linear-gradient(145deg, #ffffff, #fff9f9);
    transform: scale(1.04);
    box-shadow: 0 15px 35px rgba(229, 9, 20, 0.12);
    z-index: 5;
}

.plan-card input[type="radio"] { position: absolute; opacity: 0; }

.selection-indicator {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-radius: 50%;
    transition: 0.3s ease;
}

.plan-card:has(input:checked) .selection-indicator {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: inset 0 0 0 4px #fff;
}

/* FIX FOR CUSTOM CARD ADDONS */
.custom-builder {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.addon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.addon-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.addon-label input[type="checkbox"] {
    accent-color: var(--accent);
    width: 18px;
    height: 18px;
}

.addon-price {
    font-weight: 700;
    color: var(--text-main);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 0 0 10px 10px;
    letter-spacing: 1px;
}

.plan-tagline {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.plan-name {
    font-size: 24px;
    font-weight: 900;
    color: #000;
}

.price {
    font-size: 26px;
    font-weight: 800;
    margin: 15px 0;
}

.price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    font-size: 14px;
    padding: 10px 0;
    border-top: 1px solid #f3f3f3;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 900;
    margin-right: 12px;
}

/* ===== 5. CHECKOUT & PAYMENT UI ===== */
.checkout-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    text-align: left;
    margin-top: 50px;
}

.payment-methods {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.method {
    flex: 1;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.2s;
}

.method.active {
    border: 2px solid var(--accent);
    color: var(--accent);
}

.input-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 8px;
}

.order-summary {
    background: #fcfcfc;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.total {
    font-size: 22px;
    font-weight: 800;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid #eee;
}

/* ===== 6. ACTION BUTTONS WITH HOVER ===== */
.action-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    width: 100%;
    max-width: 460px;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(229, 9, 20, 0.2);
}

.btn-primary:hover {
    background: #c10712;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: #efefef;
    padding: 12px 40px;
    border-radius: 4px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #e2e2e2;
    transform: translateY(-2px);
    color: #000;
}

/* ===== 7. CENTERED FOOTER ===== */
.axon-footer {
    background: #f9f9f9;
    padding: 60px 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.axon-footer p {
    font-size: 14px;
    color: #888;
    margin-top: 10px;
}

.icon-circle-step1 {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .checkout-container { grid-template-columns: 1fr; }
    .plan-grid { grid-template-columns: 1fr; }
}

/* menu */

/* ===== Menu ===== */
.menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.menu li a {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    transition: 0.3s;
}

.menu li a:hover {
    color: #2563eb;
}

/* ===== Menu Button ===== */
.menu-btn {
    position: absolute; 
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    cursor: pointer;
    padding: 5px 10px;
    transition: 0.3s;
    z-index: 1001;
}

.menu-btn:hover {
    color: var(--accent);
}

/* ================= SIDEBAR ================= */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #ffffff;
    box-shadow: -8px 0 20px rgba(0,0,0,0.08);
    padding: 40px 25px;
    transition: right 0.4s ease;
    z-index: 1100;
}

/* Sidebar Title */
.sidebar h3 {
    margin-bottom: 25px;
    font-size: 20px;
}

/* Sidebar Links */
.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 22px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    transition: 0.3s;
}

.sidebar ul li a:hover {
    color: #2563eb;
    padding-left: 5px;
}

/* ================= OVERLAY ================= */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
}

/* ================= OPEN STATE ================= */
#menu-toggle:checked ~ .sidebar {
    right: 0;
}

#menu-toggle:checked ~ .overlay {
    opacity: 1;
    visibility: visible;
}

/* ================= CLOSE BUTTON ================= */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #374151;
    transition: 0.3s;
}

.close-btn:hover {
    color: #2563eb;
}

/* ================= ACTIVE LINK ================= */
.sidebar ul li a.active {
    color: #2563eb;
    font-weight: 700;
    border-left: 3px solid #2563eb;
    padding-left: 10px;
}

/* ================= OVERLAY FIX ================= */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1050;
    cursor: pointer;
}

/* Show overlay */
#menu-toggle:checked ~ .overlay {
    opacity: 1;
    visibility: visible;
}

/* compare table */

.comparison-container {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}

.comparison-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, 
.comparison-table td {
    padding: 20px 15px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.comparison-table thead th {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.comparison-table th.feature-head {
    color: var(--text-main);
    width: 30%;
}

.comparison-table td:not(:first-child), 
.comparison-table th:not(:first-child) {
    text-align: center;
    width: 17.5%;
}

/* Icons */
.comparison-table .fa-check {
    color: var(--accent);
    font-size: 18px;
}

.comparison-table .fa-times {
    color: #ccc;
    font-size: 16px;
}

/* Highlighting the Standard Column */
.comparison-table .is-popular {
    color: var(--accent) !important;
}

.comparison-table tr td:nth-child(3) {
    background-color: rgba(229, 9, 20, 0.02);
    font-weight: 600;
}

/* Hover Effect */
.comparison-table tbody tr:hover {
    background-color: #f9f9f9;
}

@media (max-width: 768px) {
    .comparison-container {
        overflow-x: auto;
    }
    .comparison-table {
        min-width: 600px;
    }
}


/* diff foter */

        .footer { background: var(--footer-bg); padding: 80px 20px 40px; color: var(--axon-gray); border-top: 1px solid #e2e8f0; }
        .footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; }
        .footer h4 { color: var(--axon-dark); margin-bottom: 20px; }
        .footer ul { list-style: none; }
        .footer li { margin-bottom: 12px; }
        .footer a { color: var(--axon-gray); text-decoration: none; transition: 0.2s; }
        .footer a:hover { color: var(--axon-blue); }
        .footer-bottom { max-width: 1200px; margin: 60px auto 0; padding-top: 30px; border-top: 1px solid #cbd5e1; display: flex; justify-content: space-between; font-size: 0.85rem; }