/* --- SUBS_STYLE.CSS --- */

body.calculator-page .site-header,
.site-header { 
    padding: 6px 0 !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15) !important;
    position: sticky !important;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.site-header .main-nav a {
    font-size: 14px !important;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.site-header .site-logo img {
    transform: scale(0.75) !important;
    transform-origin: left center;
}

/* 2. Header Typography */
.pricing-header h2 {
    color: var(--heading-color); /* White because it's over the dark top bar */
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 5px;
}

.pricing-header p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

/* 3. Compact Geometric Grid */

.pricing-grid {
    display: grid;
    /* Force exactly 3 columns */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    max-width: 1200px;
    margin: 40px auto 0 auto;
    align-items: stretch; /* All cards equal height */
}

/* 4. Sharp Pricing Cards */
.pricing-card {
    background: #ffffff;
    border: 1px solid #000; /* Professional black border */
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    border-radius: 0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* Featured / Premium Card Overrides */
.pricing-card.featured {
    z-index: 2;
    border: 1px solid #0f172a;
    background: #ffffff;
    outline: 4px solid rgba(15, 23, 42, 0.05);
}

.pricing-card .badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #0f172a;
    color: #fff;
    font-size: 0.65rem;
    padding: 5px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 !important;
}

/* 5. Card Headers */


.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    display: block;
}

.price small {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 400;
}

.price-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 5px;
    min-height: 34px;
}

/* 6. Feature List (Compact) */
.feature-list {
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #f1f5f9;
    list-style: none;
    flex-grow: 1;
}

.feature-list li {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li.yes::before {
    content: "\f00c"; /* FontAwesome check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #36C95F;
}

.feature-list li.no {
    color: #cbd5e1;
    text-decoration: line-through;
}

.feature-list li.no::before {
    content: "\f00d"; /* FontAwesome times */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ef4444;
}

/* 7. Footer & Buttons */
.pricing-footer {
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.best-for {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 1rem;
    font-weight: 600;
}

.btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background: #0f172a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 !important;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: transparent;
    color: #0f172a;
    text-decoration: none;
}

/* Ghost version for the non-featured card */
.btn-primary.solid {
    background: transparent;
    color: #0f172a;
    border:#64748b 1px solid;
}

.btn-primary.solid:hover {
    background: #0f172a;
    color: #fff;
}

/* --- Checkout/Success --- */

/* Success Page Specifics */
.success-icon-wrapper {
    margin-bottom: 2rem;
}

/* Ensure any Stripe containers/iframes (if used later) follow the sharp edge rule */
.StripeElement {
    border-radius: 0 !important;
    border: 1px solid #cbd5e1;
    padding: 12px;
    background: #fff;
}

/* Specific button override to ensure no rounding exists on any browser */
.btn-primary, .btn-accent, .btn-primary.solid {
    border-radius: 0 !important;
    box-shadow: none !important; /* Serious apps avoid bubbly shadows */
}

/* Dark Navigation pop-out bar */
.pricing-section::before {
    background: #000000; /* Absolute black for the highest contrast with white nav */
}

/* Darken card borders for a "Defined" look */
.pricing-card {
    border: 1px solid #000;
}

.pricing-card.featured {
    outline: 5px solid rgba(0,0,0,0.1);
}

/* Center auth section in viewport */
.auth-wrapper {
    min-height: 80vh;              /* main requirement */
    display: flex;
    align-items: center;           /* vertical center */
    justify-content: center;       /* horizontal center */
    padding: 20px;                 /* breathing room on small screens */
}

/* Keep container nicely constrained */
.auth-container {
    width: 100%;
    max-width: 600px;
}

/* Optional: tighten card look */
.auth-card {
    padding: 2rem 1.75rem;
    border-radius: 0;
}


@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
}