/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    /* Colors matching the plan pages */
    --bg-dark: #050505;
    --bg-card: #0f0f0f;
    --bg-light-text: #ffffff;
    
    --gold-primary: #d4af37;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f6d365 100%);
    
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --text-danger: #ff4d4d;

    /* Spacing & Layout */
    --padding-main: 40px;
    --border-radius: 12px;
    --transition-fast: 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.header {
    background: var(--bg-card);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: var(--padding-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gold-primary); 
    font-size: 1.5rem;
    font-weight: 700;
    transition: opacity var(--transition-fast);
}

.header .logo:hover {
    opacity: 0.8;
}

.header-logo {
    width: 40px; 
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.header-text {
    max-width: 800px;
}

.header-text h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.header-text p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* =========================================
   3. PLANS GRID LAYOUT
   ========================================= */
.plans-grid {
    padding: var(--padding-main);
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
    /* Responsive Grid */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.plan-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
}

.plan-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-card .target-rate {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

/* =========================================
   4. SELECT BUTTON STYLING
   ========================================= */
.plan-card .select-btn {
    width: 100%;
    padding: 14px 25px;
    margin-top: 10px;
    background: var(--gold-gradient);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.plan-card .select-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 5px rgba(212, 175, 55, 0.5);
}

/* =========================================
   5. FOOTER & DISCLAIMER
   ========================================= */
.disclaimer {
    background: var(--bg-card);
    color: var(--text-danger);
    padding: 20px var(--padding-main);
    margin-top: 40px;
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid rgba(255, 77, 77, 0.2);
}

/* =========================================
   6. MEDIA QUERIES (Responsiveness)
   ========================================= */

@media (max-width: 768px) {
    :root {
        --padding-main: 20px;
    }
    
    .header-text h1 {
        font-size: 1.8rem;
    }

    .header-text p {
        font-size: 1rem;
    }

    .plans-grid {
        grid-template-columns: 1fr; /* Stack plans vertically on small screens */
    }

    .disclaimer {
        padding: 15px 20px;
    }
}