:root {
    --primary: #635bff;
    --primary-dark: #4b44d1;
    --primary-light: #818cf8;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-700: #374151;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
    color: var(--gray-900);
    line-height: 1.5;
}

.pricing-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
}

/* Navigation */
.pricing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(120deg, #1e293b, #635bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-dashboard {
    background: var(--primary);
    color: white !important;
    padding: 0.45rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
}

/* Hero */
.pricing-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #635bff, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pricing-hero p {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 650px;
    margin: 0 auto;
}

/* Stripe Table container */
.stripe-table-container {
    margin: 2.5rem 0;
    background: transparent;
    border-radius: 32px;
}

/* Info notes grid */
.info-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 3rem 0 2rem;
}

.note-card {
    background: white;
    padding: 1.6rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.note-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.note-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.8rem;
}

.note-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.note-card p {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* FAQ section */
.pricing-faq {
    margin: 3rem 0 2rem;
}

.section-divider {
    border: none;
    height: 1px;
    background: var(--gray-200);
    margin: 1.5rem 0;
}

.faq-item {
    margin-bottom: 1.8rem;
}

.faq-item strong {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.faq-item p {
    color: #4b5563;
    font-size: 0.9rem;
}

/* Footer */
.pricing-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.8rem;
    color: #6b7280;
}

.pricing-footer a {
    color: var(--primary);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 760px) {
    .pricing-page {
        padding: 1.2rem;
    }
    .pricing-hero h1 {
        font-size: 2rem;
    }
    .nav-links {
        gap: 1rem;
    }
    .info-notes {
        grid-template-columns: 1fr;
    }
}

/* ========= SUCCESS PAGE styles (shared) ========= */
.checkout-container {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
}

.success-card {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.success-card .checkmark {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-card h2 {
    color: #15803d;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.success-card p {
    color: #4b5563;
    margin-bottom: 1.8rem;
}

.dashboard-link {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 48px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.dashboard-link:hover {
    background: var(--primary-dark);
}

/* Ensure Stripe pricing table looks integrated */
stripe-pricing-table {
    width: 100%;
    display: block;
}