@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #0F172A;
    --accent-color: #E11D48;
    --accent-hover: #BE123C;
    --bg-color: #F8FAFC;
    --card-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --text-main: #1E293B;
    --text-muted: #64748B;
}

html, body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.05) 0%, rgba(248, 250, 252, 0) 50%);
    z-index: -1;
}

main {
    flex: 1;
}

/* ===== Premium Navbar ===== */
.navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* ===== Glassmorphism Cards ===== */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.glass-card .card-img-top {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    transition: transform 0.5s ease;
    object-fit: cover;
    height: 200px;
}

.glass-card:hover .card-img-top {
    transform: scale(1.05);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary-color);
}

/* ===== Premium Buttons ===== */
.btn-premium {
    background: linear-gradient(135deg, var(--accent-color), #9f1239);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.btn-premium:hover {
    background: linear-gradient(135deg, var(--accent-hover), #881337);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
}

.btn-outline-premium {
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-premium:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== Tables ===== */
.table-premium {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.table-premium thead th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
}

.table-premium td {
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

/* ===== Brands Carousel Strip ===== */
.brands-strip {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.brands-strip::-webkit-scrollbar {
    display: none;
}

.brand-logo-card {
    flex: 0 0 auto;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-main);
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.brand-logo-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.12);
    color: var(--accent-color);
}

.brand-logo-card img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.brand-logo-card span {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ===== Advantages / Features Section ===== */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(225, 29, 72, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 3.5rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

/* ===== Breadcrumb ===== */
.breadcrumb-custom {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 0;
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    color: #cbd5e1;
    font-weight: 700;
}

/* ===== Brand Grid Cards ===== */
.brand-grid-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-main);
    display: block;
}

.brand-grid-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(225, 29, 72, 0.1);
    color: var(--accent-color);
}

.brand-grid-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.brand-grid-card h5 {
    margin-bottom: 0.25rem;
    font-weight: 700;
}

/* ===== Section Divider ===== */
.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 1.25rem 0;
}

/* ===== Rich Footer ===== */
.footer-rich {
    background: var(--primary-color);
    color: #94a3b8;
    padding-top: 3rem;
}

.footer-rich h6 {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
}

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

.footer-rich .footer-links li {
    margin-bottom: 0.5rem;
}

.footer-rich .footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-rich .footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-rich .footer-brand-text {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
    margin-top: 2rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-social a:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== Responsive Fine-tuning ===== */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .cta-section {
        padding: 2rem 1.25rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .glass-card .card-img-top {
        height: 160px;
    }
}

/* ===== SEO Content Styling ===== */
.seo-content {
    font-size: 1.05rem;
    line-height: 1.85;
}

.seo-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.seo-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.seo-content p {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.seo-content ul, .seo-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.seo-content li {
    margin-bottom: 0.4rem;
}

.seo-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.seo-content table th {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
}

.seo-content table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.seo-content table tr:nth-child(even) {
    background: #f8fafc;
}

.seo-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    background: #fef2f2;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.seo-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
}

.hover-accent {
    transition: color 0.2s ease;
}
.hover-accent:hover {
    color: var(--accent-color) !important;
}