/* ========================================
   RACEWIN PRICING PAGE - MODERN DESIGN
   Primary Color: #e22d2c (Red)
   ======================================== */

/* ========================================
   PRICING HERO SECTION
   ======================================== */
.pricing-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
}

.pricing-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.pricing-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(226, 45, 44, 0.08) 0%, 
        rgba(255, 255, 255, 1) 50%,
        rgba(226, 45, 44, 0.05) 100%);
}

.pricing-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(226, 45, 44, 0.1);
    color: #e22d2c;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pricing-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.pricing-hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   PRICING CARDS SECTION
   ======================================== */
.pricing-section {
    padding: 4rem 0;
    background: #ffffff;
}

.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #e22d2c;
}

.pricing-card.popular {
    border-color: #e22d2c;
    border-width: 3px;
    box-shadow: 0 10px 30px rgba(226, 45, 44, 0.15);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e22d2c 0%, #ff4544 100%);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(226, 45, 44, 0.3);
    animation: pulse 2s infinite;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
}

.plan-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #e22d2c;
    display: block;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
    display: block;
    margin-top: 0.5rem;
}

.plan-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

.pricing-card-body {
    flex: 1;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.6;
}

.features-list li i {
    color: #e22d2c;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card-footer {
    margin-top: auto;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========================================
   COMPARISON TABLE SECTION
   ======================================== */
.comparison-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

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

.comparison-table thead {
    background: linear-gradient(135deg, #e22d2c 0%, #ff4544 100%);
    color: #ffffff;
}

.comparison-table th {
    padding: 1.5rem;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
}

.column-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.column-header i {
    font-size: 1.5rem;
}

.feature-column {
    width: 40%;
}

.racewin-column,
.others-column {
    width: 30%;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
    background-color: #f9fafb;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
}

.feature-cell {
    font-weight: 600;
    color: #374151;
}

.racewin-cell {
    background-color: rgba(226, 45, 44, 0.03);
}

.comparison-value {
    display: inline-block;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 4rem 0;
    background: #ffffff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #e22d2c;
    box-shadow: 0 4px 12px rgba(226, 45, 44, 0.1);
    transform: translateY(-3px);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.faq-question i {
    color: #e22d2c;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-question h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.faq-answer {
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    padding-left: 2.5rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #e22d2c 0%, #ff4544 100%);
    color: #ffffff;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: #ffffff;
    color: #e22d2c;
    border-color: #ffffff;
}

.cta-section .btn-primary:hover {
    background: #f9fafb;
    border-color: #f9fafb;
}

.cta-section .btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.cta-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Laptop - 1366px */
@media (max-width: 1366px) {
    .pricing-hero-title {
        font-size: 3rem;
    }

    .pricing-cards-container {
        gap: 1.5rem;
    }
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .pricing-hero {
        min-height: 50vh;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .pricing-hero-title {
        font-size: 2.5rem;
    }

    .pricing-hero-subtitle {
        font-size: 1.125rem;
    }

    .pricing-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }
}

/* Tablet and Mobile - 768px */
@media (max-width: 768px) {
    .pricing-hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .pricing-hero-title {
        font-size: 2rem;
    }

    .pricing-hero-subtitle {
        font-size: 1rem;
    }

    .pricing-cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card {
        padding: 2rem;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .plan-name {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .comparison-table-wrapper {
        border-radius: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
        font-size: 0.875rem;
    }

    .column-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.875rem;
        padding-left: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.125rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    .pricing-hero-title {
        font-size: 1.75rem;
    }

    .pricing-badge {
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .plan-name {
        font-size: 1.25rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .features-list li {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
        font-size: 0.8rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 1rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pricing card entrance animation */
.pricing-card {
    animation: fadeInScale 0.6s ease-out;
}

/* Feature list item reveal animation */
.features-list li {
    opacity: 0;
    animation: slideInUp 0.4s ease-out forwards;
}

.features-list li:nth-child(1) { animation-delay: 0.1s; }
.features-list li:nth-child(2) { animation-delay: 0.2s; }
.features-list li:nth-child(3) { animation-delay: 0.3s; }
.features-list li:nth-child(4) { animation-delay: 0.4s; }
.features-list li:nth-child(5) { animation-delay: 0.5s; }
.features-list li:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, #e22d2c 0%, #ff4544 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-red {
    box-shadow: 0 10px 30px rgba(226, 45, 44, 0.2);
}

.border-red {
    border-color: #e22d2c !important;
}

