/* 
===================================================================
PRICING & SUBSCRIPTION PLANS STYLESHEET
===================================================================

Bu dosya subscription plans sayfası için özel stiller içerir.
Includes: pricing cards, billing toggle, feature comparison, testimonials

Son Güncelleme: Eylül 2025
===================================================================
*/

/* Pricing Hero Section */
.pricing-hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0 80px;
    overflow: hidden;
}

.pricing-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0.05)"/></linearGradient></defs><polygon fill="url(%23grad)" points="0,0 1000,200 1000,800 0,1000"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.8;
}

.pricing-hero-content {
    position: relative;
    z-index: 2;
}

.pricing-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pricing-highlight {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Billing Toggle */
.billing-toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.billing-toggle {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.billing-label {
    padding: 12px 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    white-space: nowrap;
}

.billing-label.active {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    cursor: pointer;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.save-badge {
    background: linear-gradient(45deg, #FF6B6B, #FF4757);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

/* Pricing Cards Section */
.pricing-cards-section {
    padding: 100px 0 60px;
    background: #ffffff;
}

.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 20px;
}

/* Responsive grid for pricing cards */
@media (max-width: 1200px) {
    .pricing-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .pricing-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .pricing-card {
        min-height: auto;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

.pricing-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    opacity: 0;
    transform: translateY(20px);
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.pricing-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    animation: slideInUp 0.5s ease-out forwards;
}

/* Popular Plan Styling */
.pricing-card.popular {
    border-color: var(--corporate-primary);
    border-width: 2px;
    transform: scale(1);
    z-index: 2;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.08);
}

.pricing-card.popular:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.12);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #111827;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    border: 3px solid #ffffff;
}

.popular-badge i {
    font-size: 0.75rem;
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes badgePulse {
    0%, 100% { 
        transform: translateX(-50%) scale(1);
        box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    }
    50% { 
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
    }
}

@keyframes starRotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* Card Inner Content */
.pricing-card-inner {
    padding: 32px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular .pricing-card-inner {
    padding-top: 52px;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.plan-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--corporate-primary);
    background: #f3f4f6;
    transition: all 0.3s ease;
}

.pricing-card:hover .plan-icon {
    background: #e5e7eb;
}

.free-plan .plan-icon {
    color: var(--corporate-success);
    background: #f3f4f6;
}

.enterprise-plan .plan-icon {
    color: var(--corporate-secondary-dark);
    background: #f3f4f6;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.plan-description {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.4;
    font-weight: 400;
}

/* Pricing Amount */
.pricing-amount {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    padding: 0;
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    vertical-align: top;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
    letter-spacing: -1px;
}

.period {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 400;
}

.annual-save {
    margin-top: 12px;
    font-size: 0.85rem;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    margin-right: 8px;
}

.save-amount {
    color: var(--success-color);
    font-weight: 600;
}

/* Plan Features */
.plan-features {
    margin-bottom: 32px;
    flex: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.feature-item i {
    margin-right: 10px;
    margin-top: 1px;
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-item:not(.disabled) {
    color: #374151;
    font-weight: 400;
}

.feature-item:not(.disabled) i {
    color: var(--corporate-primary);
}

.feature-item.disabled i {
    color: #d1d5db;
}

.feature-item.disabled span {
    color: #9ca3af;
}

/* CTA Buttons */
.plan-cta {
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border: 1px solid;
    transition: all 0.2s ease;
    width: 100%;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--corporate-primary);
    border-color: var(--corporate-primary);
    color: white;
}

.cta-button.primary:hover {
    background: var(--corporate-primary-dark);
    border-color: var(--corporate-primary-dark);
    color: white;
}

.cta-button.secondary {
    background: #ffffff;
    border-color: #d1d5db;
    color: #374151;
}

.cta-button.secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
}

.cta-button.pulse {
    animation: buttonPulse 3s infinite;
}

.trial-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.enterprise-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Premium Features Highlight */
.premium-features-highlight {
    display: flex;
    justify-content: space-around;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(108, 117, 125, 0.05));
    border-top: 1px solid rgba(0, 123, 255, 0.1);
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.highlight-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 6px;
}

/* Feature Comparison Section */
.feature-comparison-section {
    padding: 80px 0;
    background: #f9fafb;
}

.section-header {
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    background: white;
    border: 1px solid #e5e7eb;
}

.comparison-table {
    width: 100%;
    min-width: 800px;
    background: white;
    border-collapse: collapse;
}

.comparison-header {
    display: grid;
    grid-template-columns: 250px repeat(4, 1fr);
    background: #111827;
    color: #ffffff;
    border-bottom: 2px solid #e5e7eb;
}

.comparison-header > div {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-header > div:last-child {
    border-right: none;
}

.comparison-header .feature-column {
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 700;
}

.comparison-header .popular {
    background: var(--corporate-accent);
    color: #111827;
    position: relative;
    font-weight: 700;
}

.comparison-body .feature-group {
    border-bottom: none;
}

.group-title {
    background: #f3f4f6;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.8125rem;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: grid;
    grid-template-columns: 250px repeat(4, 1fr);
    border-bottom: 1px solid #e5e7eb;
}

.feature-row {
    display: grid;
    grid-template-columns: 250px repeat(4, 1fr);
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.15s ease;
}

.feature-row:hover {
    background: #f9fafb;
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-name {
    padding: 16px 20px;
    font-weight: 500;
    font-size: 0.875rem;
    color: #374151;
    border-right: 1px solid #f3f4f6;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.feature-value {
    padding: 16px 20px;
    text-align: center;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f3f4f6;
    color: #111827;
}

.feature-value:last-child {
    border-right: none;
}

.feature-value i.bi-check-lg {
    color: #10b981;
    font-size: 1.25rem;
}

.feature-value i.bi-x-lg {
    color: #d1d5db;
    font-size: 1.125rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    margin-bottom: 24px;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.stars i {
    color: #FFD700;
    font-size: 1.1rem;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-accordion {
    margin-top: 40px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    justify-content: between;
    align-items: center;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question.active {
    background: var(--primary-color);
    color: white;
}

.faq-question h6 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-left: 16px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 30px;
    background: #f8f9fa;
}

.faq-answer.active {
    max-height: 200px;
    padding: 24px 30px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Final CTA Section */
.final-cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 800"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect fill="url(%23grid)" width="100%" height="100%"/></svg>');
    opacity: 0.6;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 8px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.1rem;
    min-width: 280px;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 24px;
}

.cta-guarantee i {
    color: #28a745;
    font-size: 1.1rem;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .pricing-hero-section {
        padding: 80px 0 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .pricing-hero-section {
        padding: 60px 0 40px;
    }
    
    .pricing-cards-container {
        grid-template-columns: 1fr;
        max-width: 450px;
        gap: 24px;
    }
    
    .pricing-card {
        transform: scale(1);
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card-inner {
        padding: 30px 20px 20px;
    }
    
    .amount {
        font-size: 3rem;
    }
    
    .comparison-header {
        grid-template-columns: 1fr;
        font-size: 0.8125rem;
    }
    
    .comparison-header > div {
        padding: 12px 16px;
    }
    
    .group-title {
        grid-template-columns: 1fr;
        padding: 10px 16px;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
    }
    
    .feature-name {
        border-right: none;
        border-bottom: 1px solid #f3f4f6;
        padding: 12px 16px;
        font-weight: 600;
    }
    
    .feature-value {
        padding: 12px 16px;
        border-right: none;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .feature-value:last-child {
        border-bottom: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .billing-toggle {
        flex-direction: column;
        padding: 16px;
    }
    
    .toggle-switch {
        margin: 8px 0;
    }
}

@media (max-width: 576px) {
    .pricing-hero-section {
        padding: 40px 0 20px;
    }
    
    .pricing-hero-content h1 {
        font-size: 2rem;
    }
    
    .pricing-card-inner {
        padding: 20px 15px 15px;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .cta-button {
        min-width: 200px;
        padding: 14px 28px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}