/* Grammar Guru - Pricing Page Styles */

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.pricing-header {
    animation: fadeInUp 0.8s ease-out;
}

.pricing-card {
    animation: scaleIn 0.6s ease-out;
    animation-fill-mode: both;
}

.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

.pricing-footer-section {
    animation: slideInFromLeft 0.8s ease-out;
    animation-fill-mode: both;
}

.pricing-footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

.pricing-footer-section:nth-child(4) {
    animation-delay: 0.4s;
}

/* Pricing Header */
.pricing-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-header::before {
    content: '';
    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 100 100"><defs><pattern id="pricingheadergrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1.5" fill="white" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23pricingheadergrain)"/></svg>');
    opacity: 0.3;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Breadcrumb Navigation */
.pricing-breadcrumb {
    margin-bottom: 32px;
    opacity: 0.8;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 4px;
}

.breadcrumb-current {
    color: white;
    font-weight: 500;
}

.header-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-subtitle {
    font-size: 1.35rem;
    opacity: 0.95;
    margin-bottom: 48px;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Controls */
.pricing-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.currency-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.currency-selector label {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.currency-select {
    background: rgba(255, 255, 255, 0.95);
    color: #1a202c;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    min-width: 120px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.currency-select:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.currency-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.billing-toggle {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-container {
    display: flex;
    gap: 4px;
}

.toggle-option {
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.toggle-option:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.toggle-option.active {
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.savings-badge {
    background: #10b981;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-subtle 2s infinite;
}

@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

/* Pricing Cards */
.pricing-section {
    padding: 80px 0;
    background: #f8fafc;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border-color: #667eea;
    transform: translateY(-10px);
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.plan-description {
    color: #64748b;
    margin-bottom: 24px;
}

.plan-price {
    margin-bottom: 32px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1a202c;
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price-period {
    color: #64748b;
    font-size: 1rem;
    margin-left: 4px;
}

.price-note {
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 8px;
}

.yearly-savings {
    background: #dcfdf7;
    color: #047857;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 12px;
    display: inline-block;
}

/* Plan Features */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.plan-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4a5568;
}

.plan-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    font-size: 1.125rem;
}

.plan-features li.unavailable {
    opacity: 0.5;
}

.plan-features li.unavailable::before {
    content: '✗';
    color: #ef4444;
}

/* CTA Buttons */
.plan-cta {
    width: 100%;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.plan-cta.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.plan-cta.primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6b42a6);
    transform: translateY(-2px);
}

.plan-cta.secondary {
    background: #f7fafc;
    color: #667eea;
    border: 2px solid #667eea;
}

.plan-cta.secondary:hover {
    background: #667eea;
    color: white;
}

/* Feature Comparison */
.comparison-section {
    padding: 80px 0;
    background: white;
}

.comparison-header {
    text-align: center;
    margin-bottom: 60px;
}

.comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1a202c;
}

.comparison-table td {
    color: #4a5568;
}

.comparison-table .plan-column {
    text-align: center;
    font-weight: 600;
}

.comparison-table .free-column {
    color: #64748b;
}

.comparison-table .premium-column {
    color: #667eea;
}

.feature-check {
    color: #10b981;
    font-size: 1.25rem;
}

.feature-cross {
    color: #ef4444;
    font-size: 1.25rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 24px 32px;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #667eea;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 32px 24px;
    color: #4a5568;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 32px 24px;
}

/* Trust Indicators */
.trust-section {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-weight: 500;
}

.trust-icon {
    width: 24px;
    height: 24px;
    color: #10b981;
}

/* Money Back Guarantee */
.guarantee-section {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.guarantee-section::before {
    content: '';
    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 100 100"><defs><pattern id="guaranteegrain" width="80" height="80" patternUnits="userSpaceOnUse"><circle cx="40" cy="40" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23guaranteegrain)"/></svg>');
    opacity: 0.2;
}

.guarantee-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.guarantee-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guarantee-description {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
}

.guarantee-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.guarantee-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.guarantee-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.guarantee-icon {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Enhanced Footer for Pricing Page */
.pricing-footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 80px 0 40px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.pricing-footer::before {
    content: '';
    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 100 100"><defs><pattern id="pricingfootergrain" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="white" opacity="0.05"/><circle cx="10" cy="50" r="0.5" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23pricingfootergrain)"/></svg>');
    opacity: 0.4;
}

.pricing-footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-footer-section {
    padding: 0;
}

.pricing-footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
}

.pricing-footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.pricing-footer-logo.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.pricing-footer-brand-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-footer-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cbd5e0;
    margin: 0 0 32px 0;
    max-width: 350px;
}

.pricing-footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
}

.pricing-footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.pricing-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-footer-links li {
    margin-bottom: 16px;
}

.pricing-footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 4px 0;
}

.pricing-footer-links a:hover {
    color: #667eea;
    transform: translateX(6px);
}

.pricing-footer-links a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.pricing-footer-links a:hover::before {
    width: 6px;
}

/* Trust Indicators in Footer */
.pricing-trust-section {
    margin: 32px 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-trust-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
    text-align: center;
}

.pricing-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.pricing-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e0;
    font-weight: 500;
    font-size: 0.9rem;
}

.pricing-trust-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
}

/* Footer Bottom */
.pricing-footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 24px;
}

.pricing-footer-bottom p {
    margin: 0;
    color: #a0aec0;
    font-size: 0.95rem;
}

/* Social Links */
.pricing-footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.pricing-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.pricing-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.pricing-social-link:hover::before {
    left: 100%;
}

.pricing-social-link:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Social Icons */
.pricing-social-link[href*="twitter"]::after,
.pricing-social-link[title*="Twitter"]::after { 
    content: "𝕏"; 
    font-size: 16px;
    font-weight: bold;
}

.pricing-social-link[href*="linkedin"]::after,
.pricing-social-link[title*="LinkedIn"]::after { 
    content: "in"; 
    font-size: 12px;
    font-weight: bold;
    text-transform: lowercase;
}

.pricing-social-link[href*="github"]::after,
.pricing-social-link[title*="GitHub"]::after { 
    content: "⚡"; 
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }
    
    .pricing-footer-section:last-child {
        grid-column: 1 / -1;
        margin-top: 20px;
    }
    
    .pricing-controls {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .pricing-header {
        padding: 100px 0 60px;
    }
    
    .header-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .header-subtitle {
        font-size: 1.1rem;
        margin-bottom: 36px;
    }
    
    .pricing-controls {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 24px;
    }
    
    .currency-selector,
    .billing-toggle {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .toggle-container {
        width: 100%;
        display: flex;
    }
    
    .toggle-option {
        flex: 1;
        padding: 14px 16px;
        min-width: auto;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 60px;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 16px 12px;
        font-size: 0.875rem;
    }
    
    .pricing-trust-badges {
        gap: 20px;
    }
    
    .pricing-trust-badge {
        font-size: 0.8rem;
    }
    
    .pricing-footer {
        padding: 60px 0 30px;
    }
    
    .pricing-footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .pricing-footer-brand {
        justify-content: center;
    }
    
    .pricing-footer-description {
        max-width: 100%;
        margin: 0 auto 32px;
    }
    
    .pricing-footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .pricing-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .breadcrumb-nav {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .header-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .pricing-footer-social {
        justify-content: center;
    }
    
    .pricing-social-link {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .pricing-trust-badges {
        flex-direction: column;
        gap: 16px;
    }
    
    .savings-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .toggle-option {
        font-size: 0.85rem;
        padding: 12px 12px;
    }
    
    .guarantee-features {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .guarantee-feature {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .guarantee-title {
        font-size: 1.8rem;
    }
    
    .guarantee-description {
        font-size: 1rem;
    }
    
    .pricing-footer-brand-text {
        font-size: 1.5rem;
    }
    
    .pricing-footer-description {
        font-size: 1rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .pricing-header {
        background: linear-gradient(135deg, #4c51bf 0%, #553c9a 100%);
    }
    
    .toggle-option.active {
        background: #ffffff;
        color: #000000;
        border: 2px solid #000000;
    }
    
    .pricing-social-link:hover {
        background: #ffffff;
        color: #000000;
        border: 2px solid #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .pricing-header,
    .pricing-card,
    .pricing-footer-section {
        animation: none;
    }
    
    .pulse-subtle {
        animation: none;
    }
    
    * {
        transition: none !important;
    }
}

/* Focus improvements for accessibility */
.toggle-option:focus,
.currency-select:focus,
.pricing-footer-links a:focus,
.pricing-social-link:focus {
    outline: 3px solid rgba(102, 126, 234, 0.6);
    outline-offset: 2px;
}

.breadcrumb-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Loading States */
.pricing-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.pricing-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Payment Security Indicators */
.security-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.875rem;
}

.security-icon {
    width: 16px;
    height: 16px;
    color: #10b981;
}

/* Razorpay Branding */
.payment-powered {
    text-align: center;
    margin-top: 24px;
    color: #64748b;
    font-size: 0.875rem;
}

.razorpay-logo {
    width: 80px;
    height: auto;
    margin-left: 8px;
    vertical-align: middle;
}

/* Responsive Design for Pricing Footer */
@media (max-width: 1024px) {
    .pricing-footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }
    
    .pricing-footer-section:last-child {
        grid-column: 1 / -1;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .pricing-footer {
        padding: 60px 0 30px;
    }
    
    .pricing-footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .pricing-footer-brand {
        justify-content: center;
    }
    
    .pricing-footer-description {
        max-width: 100%;
        margin: 0 auto 32px auto;
    }
    
    .pricing-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .pricing-trust-badges {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .pricing-footer-social {
        justify-content: center;
    }
    
    .pricing-social-link {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
    
    .pricing-footer-logo {
        width: 40px;
        height: 40px;
    }
    
    .pricing-footer-brand-text {
        font-size: 1.5rem;
    }
}
