/* ===== CSS Variables & Reset ===== */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);

    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --bg-elevated: #1e1e2a;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;

    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(139, 92, 246, 0.3);

    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Background Effects ===== */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ===== Container ===== */
.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 120px;
}

/* ===== Header ===== */
.header {
    text-align: center;
    margin-bottom: 48px;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.top-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-link {
    color: var(--text-secondary);
    font-weight: 600;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.top-link:hover {
    color: var(--text-primary);
    border-color: var(--border-highlight);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-centered {
    justify-content: center;
}

.logo-mark {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(192, 255, 0, 0.25));
}

.logo-word {
    height: 26px;
    width: auto;
}

.logo-icon {
    font-size: 42px;
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.4));
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-gradient);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    }
}

.header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a0a0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== Member Input Section ===== */
.member-input-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-soft);
}

.member-input-wrapper {
    max-width: 500px;
    margin: 0 auto 32px;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    cursor: default;
}

.input-label svg {
    color: var(--accent-purple);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group input {
    flex: 1;
    padding: 16px 20px;
    padding-right: 100px;
    background: var(--bg-elevated);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: var(--transition-base);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.input-suffix {
    position: absolute;
    right: 20px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
}

.plan-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 20px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-highlight);
}

.indicator-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.indicator-value {
    font-size: 16px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Plan Range Visualizer ===== */
.plan-range-visual {
    position: relative;
    margin-top: 32px;
}

.range-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    position: relative;
}

.range-segment {
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-base);
}

.range-segment.active {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.segment-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.segment-range {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.range-marker {
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--primary-gradient);
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.5);
    transform: translateX(-50%);
    transition: left 0.3s ease;
    z-index: 2;
}

.range-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

/* ===== Billing Toggle ===== */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.toggle-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.toggle-label[data-billing="monthly"].active,
.toggle-label[data-billing="yearly"].active {
    color: var(--text-primary);
    font-weight: 700;
}

.save-badge {
    background: var(--success-gradient);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--bg-elevated);
    border-radius: 50px;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-gradient);
    border-radius: 50%;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateY(-50%) translateX(26px);
}

/* ===== Pricing Table ===== */
.pricing-table-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.pricing-table {
    width: 100%;
}

/* ===== Table Header ===== */
.table-header {
    display: grid;
    grid-template-columns: 280px repeat(4, 1fr);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

.feature-header {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-header p {
    font-size: 13px;
    color: var(--text-secondary);
}

.plan-headers {
    display: contents;
}

.plan-header {
    padding: 24px 16px;
    text-align: center;
    position: relative;
    transition: var(--transition-base);
    border-left: 1px solid var(--border-color);
}

.plan-header:hover {
    background: rgba(139, 92, 246, 0.05);
}

.plan-header[data-plan="enterprise"] {
    background: rgba(139, 92, 246, 0.08);
}

.plan-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 8px 8px;
}

.plan-badge.recommended {
    background: var(--primary-gradient);
}

.plan-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 8px;
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 16px;
}

.currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
}

.amount {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-base);
}

.period {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== CTA Buttons ===== */
.cta-btn {
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    width: 100%;
    max-width: 160px;
}

.cta-btn.primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.5);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.billing-summary {
    margin-top: 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 20px;
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.summary-kicker {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.summary-mode {
    font-size: 12px;
    color: var(--text-secondary);
}

.summary-total {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.summary-total-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.summary-total-amount {
    font-size: 24px;
    font-weight: 800;
}

.summary-total-period {
    font-size: 12px;
    color: var(--text-muted);
}

.summary-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.secondary-toggle {
    width: 56px;
    height: 30px;
}

.save-badge.inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.summary-rows {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    margin: 8px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 14px;
    color: var(--text-secondary);
    gap: 12px;
}

.summary-value {
    color: var(--text-primary);
    font-weight: 600;
}

.summary-columns {
    display: flex;
    gap: 16px;
}

.summary-rows {
    flex: 1;
}

.summary-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.summary-note {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 0;
}

.summary-btn {
    white-space: nowrap;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 13px;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.billing-summary {
    margin-bottom: 20px;
}

.modal.hidden {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 300;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.modal-content {
    position: relative;
    max-width: 560px;
    margin: 60px auto;
    padding: 28px 24px 24px;
    background: radial-gradient(circle at 20% 20%, rgba(192, 255, 0, 0.06), transparent 40%), var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow-soft), 0 30px 80px rgba(0, 0, 0, 0.55);
}

.modal-header {
    text-align: center;
    margin-bottom: 16px;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
}

.modal-close:hover {
    color: var(--text-primary);
    border-color: var(--border-highlight);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.modal-form .full-span {
    grid-column: span 2;
}

.modal-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-weight: 600;
}

.modal-form input:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.modal-submit {
    width: 100%;
    max-width: none;
    text-align: center;
    padding: 14px;
    margin-top: 4px;
}

.modal-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-purple);
}

/* ===== Feature Categories ===== */
.feature-category {
    border-bottom: 1px solid var(--border-color);
}

.feature-category:last-child {
    border-bottom: none;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(139, 92, 246, 0.03);
    cursor: pointer;
    transition: var(--transition-base);
    user-select: none;
}

.category-header:hover {
    background: rgba(139, 92, 246, 0.08);
}

.category-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    color: white;
}

.category-header h4 {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
}

.expand-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-base);
}

.category-header.collapsed .expand-icon {
    transform: rotate(-90deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.category-content.expanded {
    max-height: 1000px;
}

.category-content.disabled-category {
    max-height: 0;
    opacity: 0.4;
    pointer-events: none;
}

.feature-category.is-disabled .category-header {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== Feature Rows ===== */
.feature-row {
    display: grid;
    grid-template-columns: 280px repeat(4, 1fr);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-row:hover {
    background: rgba(139, 92, 246, 0.03);
}

.feature-info {
    padding: 16px 24px;
    display: flex;
    align-items: center;
}

.feature-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: default;
}

.info-tooltip {
    font-size: 12px;
    color: var(--text-muted);
    cursor: help;
    position: relative;
}

.info-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-elevated);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    white-space: nowrap;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    z-index: 100;
}

.plan-cells {
    display: contents;
}

.plan-cell {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--border-color);
}

.plan-cell[data-plan="enterprise"] {
    background: rgba(139, 92, 246, 0.05);
}

/* ===== Custom Checkbox ===== */
.custom-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    background: rgba(255, 255, 255, 0.02);
}

.custom-checkbox:hover .checkmark {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
}

.custom-checkbox input:checked~.checkmark {
    background: var(--primary-gradient);
    border-color: transparent;
    animation: check-pop 0.3s ease;
}

@keyframes check-pop {
    0% {
        transform: scale(0.8);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: var(--transition-fast);
}

.custom-checkbox input:checked~.checkmark::after {
    transform: rotate(45deg) scale(1);
}

/* ===== Price Summary Bar ===== */
/* ===== Discount Drawer (Floating) ===== */
.discount-floating {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.discount-fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--border-highlight);
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: var(--shadow-soft), 0 10px 30px rgba(0, 0, 0, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    pointer-events: auto;
}

.discount-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.coupon-drawer {
    width: min(460px, calc(100vw - 32px));
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow-glow), 0 15px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
    pointer-events: auto;
}

.coupon-drawer.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.drawer-close {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
}

.drawer-close:hover {
    color: var(--text-primary);
    border-color: var(--border-highlight);
}

.price-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(18, 18, 26, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 16px 20px;
    z-index: 100;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.summary-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.summary-item[data-plan="enterprise"] {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--accent-purple);
}

.summary-item .plan-name {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.summary-item .total-price {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Toast Notification ===== */
.toast {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-elevated);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    border: 1px solid var(--border-highlight);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 200;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: var(--success-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {

    .table-header,
    .feature-row {
        grid-template-columns: 220px repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .table-header {
        display: flex;
        flex-direction: column;
    }

    .feature-header {
        border-bottom: 1px solid var(--border-color);
    }

    .plan-headers {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .plan-header {
        padding: 16px 8px;
    }

    .plan-header h2 {
        font-size: 14px;
    }

    .amount {
        font-size: 24px;
    }

    .cta-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .feature-row {
        grid-template-columns: 160px repeat(4, 1fr);
    }

    .feature-info {
        padding: 12px 16px;
    }

    .feature-name {
        font-size: 12px;
    }

    .plan-cell {
        padding: 12px 8px;
    }

    .summary-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 20px 12px 140px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .plan-headers {
        grid-template-columns: repeat(2, 1fr);
    }

    .plan-header:nth-child(3),
    .plan-header:nth-child(4) {
        border-top: 1px solid var(--border-color);
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .plan-cells {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .plan-cell {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }

    .plan-cell::before {
        content: attr(data-plan);
        position: absolute;
        top: 4px;
        font-size: 8px;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.5px;
    }

    .summary-item .total-price {
        font-size: 16px;
    }
}
