/* style/price.css - Extends index.css styles */
@import url('index.css');

/* Hero Section */
.hero {
    background: linear-gradient(to right, #eff6ff, #e0e7ff);
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    min-height: 400px; /* Ensure enough height for content */
}

.hero .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px; /* Restrict container width */
}

.hero-image {
    flex: 0 0 40%; /* Image takes ~40% of container */
    max-width: 40%;
    height: auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 300px; /* Limit image height */
    object-fit: cover;
    border-radius: 0.5rem;
}

.hero-text {
    flex: 0 0 50%; /* Text takes ~50% of container */
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    max-width: 100%; /* Ensure text doesn't overflow */
    color: #1f2937; /* Match text color for consistency */
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero-image {
        flex: 0 0 100%;
        max-width: 90%;
        max-height: 250px;
    }
    .hero-text {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 1.5rem;
    }
}

/* Marketing Content */
.marketing-content {
    padding: 2rem 1rem;
}

.marketing-content h2 {
    margin-bottom: 1.5rem;
}

.prose {
    margin-bottom: 1.5rem;
}

.prose p {
    margin-bottom: 1rem;
}

.prose .highlighted-text {
    background-color: #e6f3ff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

/* Comparison Table */
.comparison {
    padding: 2rem 1rem;
}

.comparison h2 {
    margin-bottom: 1.5rem;
}

.comparison table {
    border-collapse: collapse;
    width: 100%;
}

.comparison th, .comparison td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

.comparison th {
    background-color: #f3f4f6;
    font-weight: 600;
}

.comparison th:nth-child(2), .comparison td:nth-child(2) {
    background-color: #e6f3ff;
}

.comparison tr:nth-child(even) {
    background-color: #f9fafb;
}

.comparison tr:nth-child(even) td:nth-child(2) {
    background-color: #e6f3ff;
}

.comparison p {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .comparison table {
        font-size: 0.875rem;
    }
    .comparison th, .comparison td {
        padding: 0.5rem;
    }
}

/* Pricing Enhancements */
.pricing {
    padding: 2rem 1rem;
}

.pricing h2 {
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
}

.pricing-card li i {
    min-width: 20px;
}

.bestseller-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: #fbbf24;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0 0.5rem 0 0.5rem;
    transform: translateY(-100%) translateX(25%);
}