/* MoneyPool Pricing Page Styles */
:root {
    --primary-color: #10B981;
    --primary-hover: #059669;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --background: #FFFFFF;
    --surface: #F9FAFB;
    --border: #E5E7EB;
    --accent: #3B82F6;
    --success: #10B981;
    --warning: #F59E0B;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Header */
.header {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.header nav {
    display: flex;
    gap: 2rem;
}

.header nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.header nav a:hover,
.header nav a.active {
    color: var(--primary-color);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Restriction Notice */
.restriction-notice {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border: 2px solid #F59E0B;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem auto 3rem;
    max-width: 600px;
    text-align: center;
}

.restriction-notice h3 {
    color: #92400E;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.restriction-notice p {
    color: #92400E;
    margin-bottom: 0.5rem;
}

.limit-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.amount {
    color: #059669;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Billing Toggle */
.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

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

.save {
    color: var(--success);
    font-weight: 600;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Pricing Cards */
.card {
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
    transform: translateY(-4px);
}

.card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
    transform: scale(1.05);
}

.card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.card h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-secondary);
}

.card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.card li:last-child {
    border-bottom: none;
}

.card li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

.trial {
    font-size: 0.875rem;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--surface);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid var(--border);
}

.btn:hover {
    background: var(--border);
    transform: translateY(-2px);
}

.btn.primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn.primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

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

.footer a:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .header nav {
        gap: 1rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card.featured {
        transform: none;
    }

    .toggle-container {
        flex-direction: column;
        gap: 0.5rem;
    }
}