.pricing {
    padding: 6rem 0;
    background: #050505;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.subtitle {
    color: #888;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.toggleWrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.period {
    font-weight: 600;
    color: #666;
    transition: color 0.2s;
}

.active {
    color: white;
}

.toggle {
    width: 50px;
    height: 26px;
    background: #333;
    border-radius: 50px;
    position: relative;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.toggled {
    background: var(--primary);
}

.handle {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s;
}

.toggled .handle {
    transform: translateX(24px);
}

.saveTag {
    background: #2ecc71;
    color: #000;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 800;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.card {
    background: #0a0a0a;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #444;
}

.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(30, 144, 255, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
}

.popularTag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.planName {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
}

.currency {
    font-size: 1.5rem;
    margin-right: 0.2rem;
}

.duration {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    margin-left: 0.2rem;
}

.desc {
    color: #888;
    margin-bottom: 2rem;
}

.btnOutline {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid #444;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: background 0.2s;
    text-align: center;
}

.btnOutline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btnPrimary {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    border: none;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: background 0.2s;
    text-align: center;
}

.btnPrimary:hover {
    background: var(--primary-hover);
}

.features {
    list-style: none;
    margin-top: auto;
}

.features li {
    margin-bottom: 0.8rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}