/* Pricing Page Specific Styles */

/* Hero Section */
.pricing-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.svg');
    background-size: cover;
    opacity: 0.1;
}

.pricing-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.pricing-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Toggle Switch */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.toggle-label {
    font-weight: 500;
    margin: 0 1rem;
    display: flex;
    align-items: center;
}

.discount {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* Pricing Plans */
.pricing-plans {
    padding: 3rem 0;
    background-color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
    max-width: 1300px; /* önemli */
    margin: 0 auto;
    justify-content: center;
}


.pricing-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--grey-light-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    z-index: 1;
}

.pricing-card.popular:hover {
    transform: translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0 8px 0 8px;
}

.card-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--grey-light-color);
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.price-container {
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price.annually {
    display: none;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--grey-color);
    margin-left: 0.25rem;
}

.card-header p {
    color: var(--grey-color);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.card-body {
    padding: 2rem;
    flex-grow: 1;
}

.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.features-list li:last-child {
    margin-bottom: 0;
}

.features-list li i {
    width: auto;
    margin-right: 0.35rem;
}

.features-list li i.fa-check {
    color: var(--success-color);
}

.features-list li i.fa-times {
    color: var(--danger-color);
}

.features-list li .unavailable {
    color: var(--grey-color);
    text-decoration: line-through;
}

.card-footer {
    padding: 2rem;
    border-top: 1px solid var(--grey-light-color);
    text-align: center;
}

.card-footer .btn {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}

/* Annual toggle active */
body.annual-active .price.monthly {
    display: none;
}

body.annual-active .price.annually {
    display: flex;
}

.features-list li span {
    white-space: nowrap;
}

/* Remaining sections unchanged */
/* Enterprise Contact, FAQ, Testimonials, Guarantee */
/* Responsive styles already support mobile layout */
