/* --- Base & Typography --- */
:root {
    --primary-accent: #FF9800; 
    --primary-accent-hover: #E68A00; 
    --tick-color: #10B981; 
    --cross-color: #FF9800; 
    --dark-black: #111111;
    --pure-white: #ffffff;
    --bg-light: #f4f4f5;
    --border-color: #e4e4e7;
    --text-muted: #71717a;
    --text-disabled: #9ca3af; 
    --accent-primary: #FF9800;
    --accent-secondary: #E68A00;
    --accent-warning: #D97706;
    --accent-positive: #10B981;
    --accent-negative: #B91C1C;
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-dark: #0F172A;
    --text-main: #374151;
    --text-muted: #6B7280;
    --text-light: #FFFFFF;
    --ourorange: #FF9800;
}

.pricing-section {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--dark-black);
    padding: 80px 0;
}

/* --- Header & Toggle Section --- */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* The Toggle Switch */
.toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}
.billing-toggle {
    position: relative;
    display: flex;
    background: var(--pure-white);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 600px;
    max-width: 100%;
}
.toggle-btn {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-black);
    background: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.toggle-btn.active {
    color: var(--pure-white);
}
/* The sliding black pill */
.toggle-slider {
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(25% - 3px);
    height: calc(100% - 12px);
    background: var(--text-orange); 
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
}
.billing-toggle.active-1m .toggle-slider {
    transform: translateX(0%);
}
.billing-toggle.active-3m .toggle-slider {
    transform: translateX(100%);
}
.billing-toggle.active-6m .toggle-slider {
    transform: translateX(200%);
}
.billing-toggle.active-12m .toggle-slider {
    transform: translateX(300%);
}

/* --- Accordion Container --- */
.pricing-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* --- Accordion Item (The Card) --- */
.acc-item {
    background: var(--pure-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}
.acc-item:hover {
    border-color: #d4d4d8;
}
.acc-item.active {
    border-color: var(--primary-accent); 
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.15); 
}

/* --- Accordion Header --- */
.acc-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.acc-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.acc-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
}
.popular-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.acc-price-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.strikethrough-price {
    font-size: 1rem;
    color: var(--text-disabled);
    text-decoration: line-through;
    margin-bottom: -4px;
}
.acc-price {
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}
.acc-price span.period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}
.effective-monthly {
    font-size: 0.85rem;
    color: var(--primary-accent);
    font-weight: 600;
    margin-top: -2px;
}

.chevron {
    width: 24px;
    height: 24px;
    stroke: var(--dark-black);
    stroke-width: 2;
    transition: transform 0.3s ease, stroke 0.3s ease;
}
.acc-item.active .chevron {
    transform: rotate(180deg);
    stroke: var(--primary-accent);
}

/* --- Accordion Body (Expanded Content) --- */
.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    opacity: 0;
    background: #fafafa;
    border-top: 1px solid transparent;
}
.acc-item.active .acc-body {
    opacity: 1;
    border-top-color: var(--border-color);
}

.acc-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    padding: 2rem;
}

/* Features */
.feature-list h4 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
}
.feature-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #3f3f46;
}

/* Text styling for disabled features */
.feature-list li.disabled {
    color: #3f3f46;
}

/* Feature Icons */
.check-icon, .cross-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Form */
.form-wrapper {
    background: var(--pure-white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    height: fit-content;
}
.form-wrapper h4 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
}
.checkout-form input {
    width: 100%;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: var(--dark-black);
    color: var(--pure-white);
    transition: all 0.2s;
}
.checkout-form input::placeholder {
    color: var(--text-muted);
}
.checkout-form input:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.checkout-form button {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: var(--primary-accent);
    color: var(--pure-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.1s, background 0.3s;
}
.checkout-form button:hover {
    background-color: var(--primary-accent-hover);
}
.checkout-form button:active {
    transform: scale(0.98);
}

/* Mobile */
@media (max-width: 768px) {
    .acc-content-grid { grid-template-columns: 1fr; padding: 1.5rem; }
    .acc-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .acc-price-group { width: 100%; justify-content: space-between; }
    .price-stack { align-items: flex-start; }
}