* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Override main layout styles for pricing page */
.main-content {
    display: block !important;
    flex-grow: 1 !important;
}

.pricing-main {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 60px 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.pricing-container {
    max-width: calc(100vw - 60px);
    margin: 0 30px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 100%;
    width: 100%;
}

.pricing-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
    max-width: 100%;
    white-space: normal;
}

.pricing-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-cards {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    justify-content: center;
    width: 100%;
}

.pricing-cards::-webkit-scrollbar {
    height: 8px;
}

.pricing-cards::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.pricing-cards::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.pricing-cards::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    min-width: 300px;
    max-width: 300px;
    width: 300px;
    flex: 0 0 300px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 400px; /* Ensure consistent minimum height */
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
    max-width: 100%;
    white-space: normal;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-features {
    flex-grow: 1;
}

.card-button {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.card-button .btn {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-button form {
    width: 100%;
    display: flex;
}

.price {
    margin-bottom: 32px;
}

.price .amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.price .period {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.feature {
    margin-bottom: 24px;
}

.feature strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.feature-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.feature-value .number {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
}

.feature-value .unit {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Price with offer styling */
.price-with-offer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.original-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: line-through;
    text-decoration-color: #6b7280;
    text-decoration-thickness: px;
    text-decoration-style: solid;
    opacity: 0.7;
}

.offer-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: #22c55e;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.offer-price::after {
    content: "🎉";
    margin-left: 4px;
    font-size: 0.875rem;
}

.monthly-cost {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    text-align: center;
}

.billing-type {
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 24px;
    text-align: center;
}

.pricing-card .btn {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: #22C55E;
    color: white;
}

.btn-primary:hover {
    background-color: #22C55E;
    transform: translateY(-1px);
}

.btn-enterprise {
    background-color: #F97316;
    color: white;
}

.btn-enterprise:hover {
    background-color: #F97316;
    transform: translateY(-1px);
}

.pricing-card.enterprise {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.enterprise h3 {
    text-align: left; /* Keep title on the left */
    margin-bottom: 16px;
}

.pricing-card.enterprise .card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.pricing-card.enterprise .card-features {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.enterprise-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
}

.enterprise-content p {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-container {
        margin: 0 20px;
        max-width: calc(100vw - 40px);
    }
}

@media (max-width: 768px) {
    .pricing-container {
        margin: 0 15px;
        max-width: calc(100vw - 30px);
    }
    
    .pricing-header h1 {
        font-size: 2rem;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.2;
    }
    
    .pricing-header p {
        font-size: 1rem;
    }
    
    .pricing-cards {
        gap: 16px;
        justify-content: flex-start;
    }
    
    .pricing-card {
        min-width: 300px;
        max-width: 300px;
        width: 300px;
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .pricing-main {
        padding: 40px 0;
    }
    
    .pricing-container {
        margin: 0 10px;
        max-width: calc(100vw - 20px);
        padding: 0 16px;
    }
    
    .pricing-header {
        margin-bottom: 40px;
    }
    
    .pricing-card {
        min-width: 300px;
        max-width: 300px;
        width: 300px;
    }
}