/* PROJETO MEU DORAMA - PLANS.CINEMATIC.CSS 
   Reconstrução Total - Visual Premium
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-deep: #050505;
    --bg-card: #121212;
    --bg-card-highlight: #1a1a1a;
    --accent-gold: #fbbf24;
    --accent-purple: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.4);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px -5px rgba(139, 92, 246, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* BACKGROUND AMBIANCE */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(30, 30, 40, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* MAIN CONTAINER */
.page-container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* HEADER SIMPLE */
header {
    text-align: center;
    margin-bottom: 3rem;
}

.brand-logo {
    display: inline-block;
    transition: var(--transition);
}

.logo-img {
    height: 40px;
    /* Adjust based on preference, standard size */
    width: auto;
    display: block;
}

.brand-logo:hover {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* HEADLINES */
.hero-text {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #a1a1aa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

.unlock-context {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* PLANS GRID */
.plans-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    /* Right card slightly larger */
    gap: 2rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

/* CARD COMMON STYLES */
.plan-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.card-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

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

.billing-info {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* MONTHLY CARD (Secondary) */
.card-monthly {
    background: rgba(18, 18, 18, 0.6);
}

.btn-monthly {
    width: 100%;
    padding: 1.2rem;
    border-radius: var(--radius-md);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: auto;
}

.btn-monthly:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
}

/* LIFETIME CARD (Primary - Best Seller) */
.card-lifetime {
    background: linear-gradient(145deg, #1a1a1a, #151515);
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    transform: scale(1.02);
    z-index: 10;
    padding: 3.5rem 2.5rem;
    /* Slightly larger padding */
}

.card-lifetime:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.2);
}

.best-seller-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-purple);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
    white-space: nowrap;
}

.btn-lifetime {
    width: 100%;
    padding: 1.2rem;
    border-radius: var(--radius-md);
    background: var(--text-main);
    color: black;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.btn-lifetime:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    background: white;
}

/* CHECK LIST */
.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #e4e4e7;
}

.feature-item.highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

.icon-check {
    width: 20px;
    height: 20px;
    fill: currentColor;
    opacity: 0.7;
}

.card-lifetime .icon-check {
    color: var(--accent-purple);
    opacity: 1;
}

/* FOOTER */
.safe-checkout {
    text-align: center;
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lock-icon {
    width: 16px;
    height: 16px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 0.5rem;
    }

    .card-lifetime {
        transform: none;
        order: -1;
        /* Show lifetime first? Often better for conversion, but prompts said stacked. Let's keep logic. */
    }

    .card-lifetime:hover {
        transform: none;
    }

    .best-seller-badge {
        top: -12px;
    }
}