:root {
    --primary: #7c3aed;
    --primary-hover: #6d28d9;
    --bg-gradient: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --card-bg: #ffffff;
    --border: #e5e7eb;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
}

.logo {
    width: 32px;
    height: 32px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    background: linear-gradient(to right, #7c3aed, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 0 30px 0;
}

/* Toggle Switch */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}

.toggle-label {
    cursor: pointer;
    transition: color 0.2s;
}

.toggle-label.active {
    color: var(--text-main);
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.badge-save {
    background: #dbeafe;
    color: #2563eb;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 4px;
}

/* Radio Buttons for Plan Type */
.radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    align-items: flex-start;
}

/* Cards */
.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 30px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    background: linear-gradient(to bottom, #fcfaff, #fff);
    transform: scale(1.02);
    z-index: 1;
}

.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-5px);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-header {
    text-align: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 24px;
}

.plan-name {
    font-size: 1.4rem;
    margin: 0 0 10px 0;
    color: var(--text-main);
}

.price-area {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--text-main);
}

.currency {
    font-size: 1.2rem;
    font-weight: 500;
    margin-right: 2px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 4px;
}

.plan-desc {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Button */
.btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 24px;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid #d1d5db;
    color: var(--text-main);
}

.btn-outline[disabled] {
    cursor: default;
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
}

/* Features */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.4;
}

.check {
    color: #10b981;
    font-weight: bold;
}

.cross {
    color: #ef4444;
    font-weight: bold;
}

.disabled {
    color: #9ca3af !important;
    text-decoration: line-through;
}

/* FAQ */
.faq-section {
    margin-top: 80px;
    text-align: center;
}

.faq-section h2 {
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.faq-item h4 {
    margin: 0 0 10px 0;
    color: var(--text-main);
}

.faq-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}