/**
 * Brand Landing Page - Premium CSS v2.0
 * ICD3S Theme - 10/10 Quality
 * Light, clean, professional design
 */

/* ============================================================
   RESET & BASE - Hide theme defaults
   ============================================================ */
.brand-landing-page .entry-header,
.brand-landing-page .page-header,
.brand-landing-page .hentry .entry-header {
    display: none !important;
}

.brand-landing-page .entry-content {
    display: none !important;
}

.brand-landing-page .woocommerce-breadcrumb,
.brand-landing-page nav.woocommerce-breadcrumb,
.brand-landing-page .breadcrumb-trail,
.brand-landing-page .storefront-breadcrumb,
.brand-landing-page [class*="breadcrumb"],
.brand-landing-page .archive-header,
.brand-landing-page .shoptimizer-archive > .archive-header {
    display: none !important;
}

.brand-landing-page #content .col-full {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.brand-landing-page .content-area {
    padding: 0 !important;
    margin: 0 !important;
}

.bl-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #222;
    line-height: 1.6;
    overflow-x: hidden;
}

.bl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   1. HERO SECTION - Clean light design
   ============================================================ */
.bl-hero {
    position: relative;
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
    padding: 56px 0 48px;
    overflow: hidden;
}

.bl-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(77,6,123,0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(233,38,52,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.bl-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 48px;
}

.bl-hero-content {
    flex: 1;
}

.bl-hero-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.bl-hero-brand-logo {
    width: 52px;
    height: 52px;
    background: #f5edf8;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0cff0;
}

.bl-hero-brand-logo svg {
    width: 32px;
    height: 32px;
    fill: #4D067B;
}

.bl-hero-brand-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7B2FAF;
}

.bl-hero h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 14px;
    color: #111;
    letter-spacing: -0.5px;
}

.bl-hero h1 span {
    color: #E92634;
}

.bl-hero-subtitle {
    font-size: 17px;
    line-height: 1.65;
    color: #555;
    margin: 0 0 28px;
    max-width: 540px;
}

.bl-hero-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bl-hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FEFDFB, #FAF8F4);
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.bl-hero-stat-icon {
    width: 20px;
    height: 20px;
    color: #E92634;
    flex-shrink: 0;
}

.bl-hero-stat-icon svg {
    width: 20px;
    height: 20px;
    fill: #E92634;
    stroke: #E92634;
}

.bl-hero-stat-text {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.bl-hero-visual {
    flex: 0 0 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bl-hero-server-icon {
    width: 240px;
    height: 200px;
    opacity: 0.08;
}

.bl-hero-server-icon svg {
    width: 100%;
    height: 100%;
    fill: #4D067B;
}

/* ============================================================
   2. TRUST BAR
   ============================================================ */
.bl-trust {
    padding: 28px 0;
    background: #FAF4E2;
    border-bottom: 1px solid #e8deb8;
}

.bl-trust-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.bl-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bl-trust-icon {
    width: 34px;
    height: 34px;
    background: #f5edf8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bl-trust-icon svg {
    width: 17px;
    height: 17px;
    fill: #7B2FAF;
}

.bl-trust-text {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.bl-section-header {
    text-align: center;
    margin-bottom: 44px;
}

.bl-section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7B2FAF;
    background: #f5edf8;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.bl-section-title {
    font-size: 30px;
    font-weight: 800;
    color: #111;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}

.bl-section-subtitle {
    font-size: 15px;
    color: #666;
    margin: 0;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   3. PRODUCT CATEGORIES GRID
   ============================================================ */
.bl-categories {
    padding: 60px 0;
    background: #fff;
}

.bl-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.bl-cat-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 24px 20px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.bl-cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: #7B2FAF;
    transition: height 0.3s ease;
    border-radius: 0 0 3px 0;
}

.bl-cat-card:hover {
    border-color: #4D067B;
    box-shadow: 0 4px 20px rgba(77, 6, 123, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.bl-cat-card:hover::before {
    height: 100%;
}

.bl-cat-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f5edf8, #ede0f5);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.bl-cat-card:hover .bl-cat-icon {
    background: linear-gradient(135deg, #7B2FAF, #4D067B);
    box-shadow: 0 0 16px rgba(77, 6, 123, 0.15);
}

.bl-cat-icon svg {
    width: 22px;
    height: 22px;
    fill: #7B2FAF;
    transition: fill 0.2s ease;
}

.bl-cat-card:hover .bl-cat-icon svg {
    fill: #fff;
    stroke: #fff;
    color: #fff;
}

.bl-cat-label {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.bl-cat-desc {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

.bl-cat-arrow {
    width: 18px;
    height: 18px;
    color: #ccc;
    margin-top: auto;
    transition: all 0.2s ease;
}

.bl-cat-arrow svg {
    width: 18px;
    height: 18px;
}

.bl-cat-card:hover .bl-cat-arrow {
    color: #7B2FAF;
    transform: translateX(4px);
}

/* ============================================================
   4. SERVER MODELS GRID
   ============================================================ */
.bl-models {
    padding: 60px 0;
    background: linear-gradient(180deg, #FEFDFB 0%, #FAF8F4 100%);
}

.bl-gen-group {
    margin-bottom: 36px;
}

.bl-gen-group:last-child {
    margin-bottom: 0;
}

.bl-gen-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.bl-gen-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

.bl-gen-badge--latest {
    background: linear-gradient(135deg, #7B2FAF, #4D067B);
    color: #fff;
}

.bl-gen-badge--current {
    background: #f5edf8;
    color: #7B2FAF;
    border: 1px solid #e0cff0;
}

.bl-gen-badge--legacy {
    background: #FAF4E2;
    color: #8a7a4a;
    border: 1px solid #e8deb8;
}

.bl-gen-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.bl-model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.bl-model-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.bl-model-card:hover {
    border-color: #4D067B;
    box-shadow: 0 4px 16px rgba(77, 6, 123, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.bl-model-icon {
    width: 38px;
    height: 38px;
    background: #f5edf8;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.bl-model-card:hover .bl-model-icon {
    background: linear-gradient(135deg, #7B2FAF, #4D067B);
}

.bl-model-icon svg {
    width: 20px;
    height: 20px;
    fill: #7B2FAF;
    transition: fill 0.2s ease;
}

.bl-model-card:hover .bl-model-icon svg {
    fill: #fff;
}

.bl-model-info {
    flex: 1;
    min-width: 0;
}

.bl-model-name {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin: 0 0 1px;
}

.bl-model-type {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* ============================================================
   5. COMPATIBILITY TABLE
   ============================================================ */
.bl-compat {
    padding: 60px 0;
    background: #fff;
}

.bl-compat-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 2px solid #eee;
    -webkit-overflow-scrolling: touch;
}

.bl-compat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
}

.bl-compat-table thead {
    background: linear-gradient(135deg, #FAF4E2 0%, #f5edf8 100%);
}

.bl-compat-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 12px;
    color: #4D067B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e0cff0;
    white-space: nowrap;
}

.bl-compat-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    vertical-align: middle;
}

.bl-compat-table tbody tr:last-child td {
    border-bottom: none;
}

.bl-compat-table tbody tr:hover {
    background: #faf8f6;
}

.bl-compat-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

.bl-compat-badge--ddr5 {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.bl-compat-badge--ddr4 {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.bl-compat-model {
    font-weight: 600;
    color: #111;
}

/* ============================================================
   6. WHY ICD SECTION
   ============================================================ */
.bl-why {
    padding: 60px 0;
    background: linear-gradient(180deg, #FEFDFB 0%, #FAF8F4 100%);
}

.bl-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bl-why-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 28px 24px;
    transition: all 0.2s ease;
}

.bl-why-card:hover {
    border-color: #4D067B;
    box-shadow: 0 4px 20px rgba(77, 6, 123, 0.1);
    transform: translateY(-3px);
}

.bl-why-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f5edf8, #ede0f5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.bl-why-card:hover .bl-why-icon {
    background: linear-gradient(135deg, #7B2FAF, #4D067B);
    box-shadow: 0 0 16px rgba(77, 6, 123, 0.15);
}

.bl-why-icon svg {
    width: 24px;
    height: 24px;
    fill: #7B2FAF;
    transition: fill 0.2s ease;
}

.bl-why-card:hover .bl-why-icon svg {
    fill: #fff;
}

.bl-why-title {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
}

.bl-why-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   7. CTA BANNER - Purple gradient
   ============================================================ */
.bl-cta {
    padding: 52px 0;
    background: linear-gradient(135deg, #4D067B 0%, #7B2FAF 50%, #3A0460 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bl-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(233, 38, 52, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.bl-cta-inner {
    position: relative;
    z-index: 2;
}

.bl-cta h2 {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #fff;
}

.bl-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.bl-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.bl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.bl-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.bl-btn--primary {
    background: #E92634;
    color: #fff;
    border-color: #E92634;
}

.bl-btn--primary:hover {
    background: #d11f2d;
    border-color: #d11f2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(233, 38, 52, 0.3);
    color: #fff;
    text-decoration: none;
}

.bl-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.bl-btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* ============================================================
   8. FAQ ACCORDION
   ============================================================ */
.bl-faq {
    padding: 60px 0;
    background: #fff;
}

.bl-faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.bl-faq-item {
    border: 2px solid #eee;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.bl-faq-item.bl-faq-open {
    border-color: #e0cff0;
}

.bl-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    background: #fff;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    gap: 14px;
    transition: background 0.2s ease;
    font-family: inherit;
}

.bl-faq-question:hover {
    background: #faf8f6;
}

.bl-faq-open .bl-faq-question {
    background: #f5edf8;
    color: #4D067B;
}

.bl-faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #999;
}

.bl-faq-chevron svg {
    width: 20px;
    height: 20px;
}

.bl-faq-open .bl-faq-chevron {
    transform: rotate(180deg);
    color: #7B2FAF;
}

.bl-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.bl-faq-open .bl-faq-answer {
    max-height: 500px;
}

.bl-faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.bl-faq-answer-inner a {
    color: #7B2FAF;
    text-decoration: underline;
}

/* ============================================================
   SEO CONTENT
   ============================================================ */
.bl-seo {
    padding: 48px 0;
    background: #FEFDFB;
    border-top: 1px solid #f0f0f0;
}

.bl-seo-content {
    max-width: 780px;
    margin: 0 auto;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.bl-seo-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 28px 0 10px;
}

.bl-seo-content h2:first-child {
    margin-top: 0;
}

.bl-seo-content p {
    margin: 0 0 14px;
}

.bl-seo-content a {
    color: #7B2FAF;
    text-decoration: underline;
}

/* ============================================================
   STAGGER ENTRANCE ANIMATIONS
   ============================================================ */
@keyframes blFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.bl-cat-card,
.bl-model-card,
.bl-why-card {
    animation: blFadeUp 0.4s ease both;
}

.bl-cat-card:nth-child(1) { animation-delay: 0.03s; }
.bl-cat-card:nth-child(2) { animation-delay: 0.06s; }
.bl-cat-card:nth-child(3) { animation-delay: 0.09s; }
.bl-cat-card:nth-child(4) { animation-delay: 0.12s; }
.bl-cat-card:nth-child(5) { animation-delay: 0.15s; }
.bl-cat-card:nth-child(6) { animation-delay: 0.18s; }
.bl-cat-card:nth-child(7) { animation-delay: 0.21s; }
.bl-cat-card:nth-child(8) { animation-delay: 0.24s; }

.bl-why-card:nth-child(1) { animation-delay: 0.05s; }
.bl-why-card:nth-child(2) { animation-delay: 0.1s; }
.bl-why-card:nth-child(3) { animation-delay: 0.15s; }
.bl-why-card:nth-child(4) { animation-delay: 0.2s; }
.bl-why-card:nth-child(5) { animation-delay: 0.25s; }
.bl-why-card:nth-child(6) { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .bl-cat-card, .bl-model-card, .bl-why-card { animation: none; }
}

/* ============================================================
   RESPONSIVE - TABLET (768px)
   ============================================================ */
@media (max-width: 768px) {
    .bl-hero { padding: 40px 0 32px; }

    .bl-hero-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .bl-hero h1 { font-size: 28px; }
    .bl-hero-subtitle { font-size: 15px; margin-left: auto; margin-right: auto; }
    .bl-hero-brand { justify-content: center; }
    .bl-hero-stats { justify-content: center; }
    .bl-hero-visual { display: none; }

    .bl-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .bl-model-grid { grid-template-columns: repeat(2, 1fr); }
    .bl-why-grid { grid-template-columns: repeat(2, 1fr); }

    .bl-section-title { font-size: 24px; }
    .bl-cta h2 { font-size: 24px; }

    .bl-trust-inner { gap: 20px; }
    .bl-trust-text { font-size: 12px; }

    .bl-categories, .bl-models, .bl-compat, .bl-why, .bl-faq, .bl-seo { padding: 44px 0; }
    .bl-cta { padding: 40px 0; }
}

/* ============================================================
   RESPONSIVE - MOBILE (480px)
   ============================================================ */
@media (max-width: 480px) {
    .bl-container { padding: 0 16px; }

    .bl-hero { padding: 32px 0 24px; }
    .bl-hero h1 { font-size: 24px; }
    .bl-hero-subtitle { font-size: 14px; }

    .bl-hero-stats {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .bl-hero-stat { justify-content: center; }

    .bl-cat-grid { grid-template-columns: 1fr; gap: 12px; }
    .bl-model-grid { grid-template-columns: 1fr; gap: 10px; }
    .bl-why-grid { grid-template-columns: 1fr; gap: 14px; }

    .bl-section-title { font-size: 22px; }
    .bl-section-header { margin-bottom: 28px; }
    .bl-cta h2 { font-size: 22px; }

    .bl-cta-buttons { flex-direction: column; align-items: stretch; }
    .bl-btn { justify-content: center; }

    .bl-gen-header { flex-direction: column; align-items: flex-start; gap: 6px; }

    .bl-faq-question { padding: 14px 16px; font-size: 14px; }
    .bl-faq-answer-inner { padding: 0 16px 14px; font-size: 13px; }

    .bl-trust-inner { flex-direction: column; gap: 12px; }

    .bl-categories, .bl-models, .bl-compat, .bl-why, .bl-faq, .bl-seo { padding: 36px 0; }
    .bl-cta { padding: 36px 0; }

    .bl-compat-table th, .bl-compat-table td { padding: 10px 12px; font-size: 12px; }
}
