/* ============================================
   PRICING PAGE - Custom Styles
   Dark theme pricing page with guarantee strip
   ============================================ */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (matching design system)
   ========================================================================== */
:root {
    --bg-primary: hsl(0, 0%, 5%);
    --bg-secondary: hsl(0, 0%, 10%);
    --purple-dark: hsl(267, 64%, 11%);
    --purple-accent: hsl(262, 83%, 58%);
    --purple-light: hsl(255, 92%, 76%);
    --gold: hsl(37, 91%, 55%);
    --gold-light: hsl(40, 100%, 63%);
    --text-primary: hsl(0, 0%, 100%);
    --text-secondary: hsl(0, 0%, 100%, 0.7);
    --text-muted: hsl(0, 0%, 100%, 0.5);
    --border-subtle: hsl(0, 0%, 100%, 0.08);
    --border-light: hsl(0, 0%, 100%, 0.15);
}

/* ==========================================================================
   BASE RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'SF Pro Text', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Alpine.js cloak */
[x-cloak] { display: none !important; }

/* ==========================================================================
   CONTAINER
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   NAVIGATION
   Note: Navigation is now handled by centralized header component
   ========================================================================== */

/* ==========================================================================
   PRICING HERO
   ========================================================================== */
.pricing-hero {
    padding-top: calc(48px + 80px + 4rem); /* guarantee strip + nav + spacing */
    padding-bottom: 4rem;
    text-align: center;
    background: linear-gradient(180deg,
        var(--purple-dark) 0%,
        var(--bg-primary) 100%
    );
}

.pricing-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.pricing-hero h1 span {
    color: var(--gold);
}

.pricing-subhead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   GUARANTEE STRIP (very top of page)
   ========================================================================== */
.guarantee-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: linear-gradient(90deg,
        hsl(267, 64%, 11%, 0.98) 0%,
        hsl(0, 0%, 5%, 0.98) 100%
    );
    border-bottom: 1px solid hsl(37, 91%, 55%, 0.3);
    padding: 0.75rem 1rem;
    text-align: center;
    backdrop-filter: blur(8px);
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-strip .guarantee-promise {
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0;
}

/* ==========================================================================
   BILLING TOGGLE
   ========================================================================== */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.billing-toggle span.active {
    color: var(--text-primary);
    font-weight: 500;
}

.billing-toggle em {
    font-style: normal;
    font-size: 0.75rem;
    background: var(--gold);
    color: hsl(0, 0%, 0%);
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 0.5rem;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
    background: hsl(0, 0%, 100%, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch:hover {
    background: hsl(0, 0%, 100%, 0.15);
}

.toggle-switch.is-annual {
    background: var(--purple-accent);
    border-color: var(--purple-accent);
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: hsl(0, 0%, 100%);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle-switch.is-annual .toggle-knob {
    transform: translateX(26px);
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing {
    padding: 2rem 0 6rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* ==========================================================================
   PRICING CARD
   ========================================================================== */
.pricing-card {
    background: hsl(0, 0%, 100%, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

/* Recommended Card */
.pricing-card.recommended {
    background: linear-gradient(180deg,
        hsl(262, 83%, 58%, 0.15) 0%,
        hsl(262, 83%, 58%, 0.05) 100%
    );
    border-color: var(--purple-accent);
    transform: scale(1.03);
}

.pricing-card.recommended:hover {
    transform: scale(1.03) translateY(-4px);
}

/* Scale Tier - Premium but quieter */
.pricing-card.scale-tier {
    border-color: hsl(37, 91%, 55%, 0.25);
}

.pricing-card.scale-tier:hover {
    border-color: hsl(37, 91%, 55%, 0.4);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple-accent);
    color: hsl(0, 0%, 100%);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.scarcity-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--gold) 0%, hsl(37, 88%, 48%) 100%);
    color: hsl(0, 0%, 0%);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.scarcity-badge .material-symbols-rounded {
    font-size: 0.875rem;
}

.scarcity-reason {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0.5rem 0 0;
    text-align: center;
    font-style: italic;
}

/* Card Header */
.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.pricing-tagline {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* Card Price */
.pricing-card-price {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    min-height: 100px;
}

.price {
    display: flex;
    align-items: baseline;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.price-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Card Features */
.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.875rem;
    line-height: 1.4;
}

.feature-icon {
    color: var(--gold);
    font-weight: 600;
    flex-shrink: 0;
}

/* Card CTA */
.pricing-cta {
    display: block;
    width: 100%;
    padding: 1rem;
    background: hsl(0, 0%, 100%, 0.08);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
}

.pricing-cta:hover {
    background: hsl(0, 0%, 100%, 0.12);
    border-color: hsl(0, 0%, 100%, 0.25);
}

.pricing-card.recommended .pricing-cta {
    background: var(--gold);
    border-color: var(--gold);
    color: hsl(0, 0%, 0%);
}

.pricing-card.recommended .pricing-cta:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

/* ==========================================================================
   THE WHAT WORKS KIT SECTION
   ========================================================================== */
.box-section {
    padding: 5rem 0;
    background: linear-gradient(180deg,
        var(--bg-primary) 0%,
        hsl(267, 64%, 11%, 0.3) 100%
    );
}

.box-content-simple {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.box-content-simple h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.box-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.box-features-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    text-align: left;
    margin-bottom: 2.5rem;
}

.box-features-grid li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.box-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(262, 83%, 58%, 0.15);
    border-radius: 8px;
}

.box-icon .material-symbols-rounded {
    font-size: 1.25rem;
    color: var(--purple-light);
}

.box-features-grid li div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.box-features-grid li strong {
    font-size: 0.9375rem;
    font-weight: 600;
}

.box-features-grid li span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.box-cta {
    margin-top: 2rem;
}

.box-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

.guarantee-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.guarantee-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.guarantee-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   DIVIDER
   ========================================================================== */
.zivvy-divider {
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.divider-diamond {
    position: relative;
    width: 100%;
}

.diamond-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        hsl(0, 0%, 100%, 0.2) 50%,
        transparent 100%
    );
}

.diamond {
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq {
    padding: 5rem 0;
}

.faq h2,
.faq-headline {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: hsl(0, 0%, 100%, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.faq-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.cta {
    padding: 5rem 0;
    display: flex;
    justify-content: center;
}

.cta-alt {
    text-align: center;
    max-width: 500px;
}

.cta-alt h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-alt p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gold);
    color: hsl(0, 0%, 0%);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: hsl(257, 24%, 6%);
    border-top: 1px solid hsl(251, 16%, 20%, 1);
    padding: 4rem 1.5rem 3rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
}

.footer-brand .nav-logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand .nav-logo img {
    height: 40px;
    width: auto;
}

.footer-brand p {
    font-size: 14px;
    color: hsl(248, 6%, 50%, 1);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: hsl(253, 10%, 74%, 1);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 14px;
    color: hsl(248, 6%, 50%, 1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: hsl(0, 0%, 100%);
}

.footer-bottom {
    max-width: 1100px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid hsl(251, 16%, 20%, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: hsl(248, 6%, 50%, 1);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: hsl(248, 6%, 50%, 1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: hsl(0, 0%, 100%);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .pricing-card.recommended {
        transform: none;
        order: -1;
    }

    .pricing-card.recommended:hover {
        transform: translateY(-4px);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .box-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 10rem 1.5rem 3rem;
    }

    .guarantee-strip .guarantee-promise {
        font-size: 1.125rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .box-section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .pricing-hero h1 {
        font-size: 2rem;
    }

    .price-amount {
        font-size: 3rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .billing-toggle em {
        display: none;
    }
}
