/* ── Domain Landing Page Styles ──────────────────────────────── */

/* Breadcrumbs */
.breadcrumbs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem 0;
}
.breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: #515165;
}
.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: #ccc;
}
.breadcrumbs a {
    color: #2A0E5C;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.breadcrumbs [aria-current="page"] {
    color: #999;
}

/* Nav domain badge — white over the dark hero, flips to brand purple on scroll. */
.nav-domain-badge {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-left: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.main-nav.scrolled .nav-domain-badge {
    color: #2a0e5c;
    text-shadow: none;
}

/* Nav region picker */
.nav-region-picker {
    position: relative;
}
.nav-region-trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.nav-region-trigger:hover {
    background: rgba(255, 255, 255, 0.25);
}
.nav-region-trigger svg {
    flex-shrink: 0;
}
.nav-region-chevron {
    transition: transform 0.2s;
}
.nav-region-trigger[aria-expanded="true"] .nav-region-chevron {
    transform: rotate(180deg);
}

/* Scrolled state */
.main-nav.scrolled .nav-region-trigger {
    color: #2A0E5C;
    background: rgba(42, 14, 92, 0.06);
    border-color: rgba(42, 14, 92, 0.15);
}
.main-nav.scrolled .nav-region-trigger:hover {
    background: rgba(42, 14, 92, 0.12);
}

.nav-region-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 180px;
    background: white;
    border: 1px solid #E0E3E9;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0.35rem;
    z-index: 1001;
}
.nav-region-dropdown.open {
    display: block;
}
.nav-region-option {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2A0E5C;
    text-decoration: none;
    border-radius: 7px;
    transition: background 0.15s;
}
.nav-region-option:hover {
    background: #f5f0ff;
}
.nav-region-option.active {
    background: linear-gradient(135deg, #f5f0ff, #fff0f5);
    color: #FF0F6F;
    font-weight: 700;
}

/* Domain sections */
.domain-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Pain points grid */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.pain-point-card {
    background: #fff;
    border: 1px solid #E0E3E9;
    border-radius: 12px;
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}
.pain-point-card:hover {
    box-shadow: 0 4px 16px rgba(42, 14, 92, 0.08);
}
.pain-point-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2A0E5C;
    margin: 0 0 0.5rem;
}
.pain-point-card p {
    font-size: 0.95rem;
    color: #515165;
    margin: 0;
    line-height: 1.5;
}

/* How it helps grid */
.how-it-helps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.help-card {
    background: linear-gradient(135deg, #f7f0ff, #fff5f9);
    border: 1px solid #e8d5f5;
    border-radius: 12px;
    padding: 1.5rem;
}
.help-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2A0E5C;
    margin: 0 0 0.5rem;
}
.help-card p {
    font-size: 0.95rem;
    color: #515165;
    margin: 0;
    line-height: 1.5;
}

/* Scenario cards grid */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.scenario-card {
    background: #fff;
    border: 1px solid #E0E3E9;
    border-radius: 12px;
    padding: 1.5rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.scenario-card:hover {
    box-shadow: 0 4px 20px rgba(255, 15, 111, 0.1);
    border-color: #FF0F6F;
}
.scenario-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF0F6F, #FF7A30);
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scenario-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2A0E5C;
    margin: 0 0 0.5rem;
}
.scenario-card p {
    font-size: 0.9rem;
    color: #515165;
    margin: 0;
    line-height: 1.5;
}
.scenarios-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Benefits grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.benefit-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
}
.benefit-check {
    color: #2CC98F;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.benefit-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1C1C28;
    margin: 0 0 0.25rem;
}
.benefit-card p {
    font-size: 0.9rem;
    color: #515165;
    margin: 0;
    line-height: 1.4;
}

/* Compliance callout */
.compliance-callout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #f0f7ff;
    border: 1px solid #c8dff7;
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}
.compliance-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.compliance-callout p {
    color: #2a4a7f;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* FAQ accordion */
.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
}
.faq-item {
    border: 1px solid #E0E3E9;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-item summary {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: #2A0E5C;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}
.faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    color: #FF0F6F;
    font-weight: 300;
    transition: transform 0.2s;
}
.faq-item[open] summary::after {
    content: "\2212";
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-answer {
    padding: 0 1.5rem 1rem;
}
.faq-answer p {
    color: #515165;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Region cards */
.region-cards {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
}
.region-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border: 1px solid #E0E3E9;
    border-radius: 10px;
    text-decoration: none;
    color: #2A0E5C;
    font-weight: 600;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.region-card:hover {
    border-color: #FF0F6F;
    box-shadow: 0 4px 12px rgba(255, 15, 111, 0.12);
}
.region-arrow {
    color: #FF0F6F;
}

/* ── Homepage Domain Cards ──────────────────────────────────── */

.domain-cards-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.domain-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.domain-card {
    background: #fff;
    border: 1px solid #E0E3E9;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.domain-card:hover {
    box-shadow: 0 8px 24px rgba(42, 14, 92, 0.1);
    border-color: #FF0F6F;
    transform: translateY(-2px);
}
.domain-card.domain-card-inactive {
    opacity: 0.6;
    pointer-events: none;
}
.domain-card-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2A0E5C;
}
.domain-card-description {
    font-size: 0.9rem;
    color: #515165;
    line-height: 1.4;
}
.domain-card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Footer breadcrumbs */
.footer-breadcrumbs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}
.footer-breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}
.footer-breadcrumbs a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-breadcrumbs [aria-current="page"] {
    color: rgba(255, 255, 255, 0.5);
}

/* Footer coming soon */
.footer-link-coming-soon {
    color: #999;
    display: block;
    padding: 0.2rem 0;
    font-size: 0.9rem;
}
.footer-link-coming-soon small {
    font-size: 0.75rem;
    font-style: italic;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 768px) {
    .nav-domain-badge {
        font-size: 1.25rem;
    }
    .nav-region-trigger {
        color: #2A0E5C;
        background: rgba(42, 14, 92, 0.06);
        border-color: rgba(42, 14, 92, 0.15);
    }
    .nav-region-dropdown {
        left: auto;
        right: 0;
    }
    .footer-breadcrumbs {
        padding: 1rem 1rem 0;
    }
    .domain-section {
        padding: 2.5rem 1rem;
    }
    .pain-points-grid,
    .how-it-helps-grid,
    .scenarios-grid,
    .benefits-grid,
    .domain-cards-grid {
        grid-template-columns: 1fr;
    }
    .region-cards {
        flex-direction: column;
    }
    .region-card {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .nav-domain-badge {
        font-size: 1.125rem;
    }
}
