@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Base Styles using Classes */
.body-base {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #8B0000;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #8B0000;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.hero-title span {
    color: #8B0000;
}

.hero-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
    max-width: 500px;
}

.btn-primary {
    display: inline-block;
    background-color: #8B0000;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.3);
    background-color: #a50000;
}

.hero-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.hero-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: scale(1.05);
}

/* Content Sections */
.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.heading-secondary {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #8B0000;
}

.feature-text {
    font-size: 15px;
    color: #777;
}

/* Table Section */
.comparison-table-container {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.th-base {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #eee;
}

.td-base {
    padding: 20px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.highlight-row {
    background-color: #fff9f9;
}

.check-icon {
    color: #27ae60;
    font-weight: bold;
}

.cross-icon {
    color: #e74c3c;
    font-weight: bold;
}

/* Footer */
.footer-main {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0 40px;
}

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

.footer-column-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #D4AF37;
}

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

.footer-item {
    margin-bottom: 12px;
}

.footer-link {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-link:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 14px;
    color: #777;
}

.disclosure-text {
    font-size: 12px;
    color: #666;
    margin-top: 20px;
    line-height: 1.4;
    max-width: 800px;
}

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

/* Responsive */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-title {
        font-size: 40px;
    }
    .hero-description {
        margin: 0 auto 32px;
    }
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
}

.image-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.p-text {
    margin-bottom: 1.5rem;
}

.list-base {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.list-item-base {
    margin-bottom: 0.5rem;
}

.price-tag {
    font-size: 28px;
    font-weight: 700;
    color: #8B0000;
    margin: 20px 0;
    display: block;
    font-family: 'Inter', sans-serif;
}

.price-small {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.ad-disclaimer-bar {
    background-color: #f0f0f0;
    color: #666;
    font-size: 11px;
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

/* Enhanced Responsiveness */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    .hero-section {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 32px;
    }
    .heading-secondary {
        font-size: 28px;
    }
    .feature-card {
        padding: 30px 20px;
    }
    .navbar {
        padding: 15px 0;
    }
    .brand-logo {
        font-size: 24px;
    }
    .nav-links {
        gap: 15px;
    }
    .nav-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    .btn-primary {
        padding: 10px 24px;
        font-size: 14px;
    }
    .price-tag {
        font-size: 24px;
    }
    .footer-bottom {
        text-align: center;
        justify-content: center;
    }
}

/* Prevent horizontal scroll issues */
.body-base, .main-container {
    overflow-x: hidden;
}

/* Image containment */
img {
    max-width: 100%;
    height: auto;
}

/* Overriding inline styles for mobile */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .hero-image-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Ensure no horizontal overflow from long words/links */
.p-text, .feature-text, .disclosure-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.brand-story-grid {
    grid-template-columns: 1.2fr 1fr;
}

@media (max-width: 991px) {
    .brand-story-grid {
        grid-template-columns: 1fr !important;
    }
    .hero-image-container {
        order: 2; /* Image below text */
        margin-top: 30px;
        width: 100%;
    }
    .hero-content {
        order: 1; /* Text on top */
    }
}

.details-hero-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

@media (max-width: 991px) {
    .details-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* Fixing text margins and image size on mobile */
@media (max-width: 768px) {
    .main-container {
        padding: 0 30px; /* More consistent left/right margins */
    }
    .hero-image-container {
        max-width: 80%; /* Reduced image size */
        margin: 30px auto; /* Centered */
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 0 25px;
    }
    .hero-image-container {
        max-width: 90%; /* Slightly larger on very small screens but still not full-width */
    }
}

/* Absolute Symmetry for Mobile */
html, body, div, section, article {
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .main-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .hero-grid, .feature-grid, .footer-grid {
        display: block !important; /* Stack everything */
        width: 100% !important;
    }
    .text-center {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    p, h1, h2, h3 {
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
