/* Reset & Base Styles */
:root {
    --primary: #940B92;
    --secondary: #E95793;
    --accent: #DA0C81;
    --text-main: #2D3748;
    --text-light: #718096;
    --bg-main: #FFFFFF;
    --bg-light: #F7FAFC;
    --border: #E2E8F0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-headline: 'Elms Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.skip-link {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    left: 16px;
    padding: 10px 14px;
    position: fixed;
    top: -80px;
    z-index: 2000;
}

.skip-link:focus {
    top: 12px;
}

:focus-visible {
    outline: 3px solid rgba(218, 12, 129, 0.45);
    outline-offset: 3px;
}

main:focus {
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

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

.container-wide {
    max-width: 90%;
}

.section {
    padding: 50px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.bg-dark {
    background-color: #1A202C;
    color: white;
}

.bg-primary h2, .bg-primary p,
.bg-dark h2, .bg-dark p {
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 12, 129, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary) !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white !important;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 55px; /* adjust based on logo actual aspect ratio */
}

.desktop-nav {
    display: flex;
    gap: 22px;
    align-items: center;
}

.desktop-nav a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
}

.desktop-nav a:hover {
    color: var(--secondary);
}

.mobile-menu-btn,
.mobile-nav,
.mobile-action-bar {
    display: none;
}

.mobile-menu-btn {
    width: 44px;
    height: 44px;
    padding: 7px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 6px;
}

.mobile-menu-btn:focus-visible {
    outline: 3px solid rgba(148, 11, 146, 0.25);
    outline-offset: 2px;
}

/* Hero */
.hero {
    padding: 140px 0 60px;
    background: linear-gradient(to right, rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('assets/hero_bg.png') center/cover;
    background-attachment: fixed;
    position: relative;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-headline);
    font-size: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-style: normal;
    font-weight: 400;
}

.hero h2 {
    font-size: 40px;
    color: #5E2A8E;
    margin-bottom: 24px;
}

.hero p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-text-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 18px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.subpage-hero.industry-hero {
    background: linear-gradient(to right, rgba(255,255,255,0.86), rgba(255,255,255,0.86)), url('assets/hero_industries.png') center/cover;
}

/* Split Cards */
.split-cards-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.split-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.split-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.split-card-header {
    background-color: #4A205E;
    padding: 16px 30px;
    text-align: left;
}

.split-card-header h3 {
    color: white;
    margin: 0;
    font-size: 22px;
}

.split-card-body {
    display: flex;
    align-items: stretch;
}

.split-card-body.reverse {
    flex-direction: row-reverse;
}

.split-card-img {
    flex: 0 0 40%;
    padding: 0;
    background: #fdfdfd;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.split-card-body:not(.reverse) .split-card-img {
    border-right: 1px solid var(--border);
}

.split-card-body.reverse .split-card-img {
    border-left: 1px solid var(--border);
}

.split-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.split-card-content {
    flex: 0 0 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-card-content h4 {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.split-card-content p {
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.6;
}

.explore-section {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.explore-label {
    font-weight: 600;
    color: #4A205E;
    font-size: 15px;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #4A205E;
    color: #4A205E;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    background: transparent;
}

.btn-pill:hover {
    background-color: #4A205E;
    color: white !important;
}

/* Services */
.service-card {
    display: block;
    background: white;
    padding: 24px 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(148, 11, 146, 0.1);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 0;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.link-text {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* Industries */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.industry-item {
    background: white;
    padding: 24px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.industry-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(148, 11, 146, 0.1);
}

.industry-item img {
    width: 32px;
    height: 32px;
    filter: none;
}

.industry-item.focus-industry {
    color: var(--text-main);
    min-height: 210px;
    text-decoration: none;
}

.industry-item.focus-industry span {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 19px;
    line-height: 1.25;
}

.industry-item.focus-industry small {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

/* Updates */
.update-card {
    display: block;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.update-card .link-text {
    display: inline-block;
    margin-top: 16px;
}

.guided-start {
    background: white;
}

.guided-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guided-option {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    display: block;
    min-height: 230px;
    padding: 26px;
}

.guided-option:hover {
    border-color: var(--secondary);
    box-shadow: 0 12px 28px rgba(45, 55, 72, 0.08);
    color: var(--text-main);
    transform: translateY(-3px);
}

.guided-option h3 {
    color: var(--text-main);
    font-size: 21px;
    margin: 28px 0 10px;
}

.guided-option p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 18px;
}

.guided-number {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.claims-option {
    background: #fff7fb;
    border-color: rgba(218, 12, 129, 0.25);
}

.process-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1000px;
}

.process-step {
    border-top: 3px solid var(--secondary);
    padding: 22px 6px 0;
}

.process-step > span {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
}

.process-step h3 {
    color: var(--text-main);
    font-size: 20px;
    margin: 10px 0;
}

.process-step p {
    color: var(--text-light);
}

.claims-band {
    background: #f7f3f8;
}

.claims-band-inner {
    align-items: center;
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
}

.claims-band h2 {
    color: var(--text-main);
    font-size: 30px;
    margin-bottom: 10px;
}

.claims-band p {
    color: var(--text-light);
}

.update-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.update-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Trust */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}

.trust-grid img {
    height: 80px !important;
    width: 140px !important;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.trust-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: #1A202C;
    color: white;
    padding: 80px 0 40px;
}

.footer h3 {
    color: white;
    margin-bottom: 24px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 60px;
}

.footer-col p {
    color: #A0AEC0;
    margin-bottom: 16px;
    font-size: 14px;
}

.contact-details p {
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-details a {
    display: inline;
    margin: 0;
}

.footer-col a {
    display: block;
    color: #A0AEC0;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: #A0AEC0;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1100px) {
    .guided-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }

    .hero {
        background-attachment: scroll !important;
        padding: 122px 0 48px !important;
    }

    .hero h1 { font-size: 40px; }
    .hero h2 { font-size: 28px; }
    .hero-buttons { flex-direction: column; }
    .desktop-nav { display: none; }
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }
    .mobile-menu-btn span {
        width: 30px;
        height: 3px;
        background: var(--primary);
        border-radius: 3px;
        transition: transform 0.2s, opacity 0.2s;
    }
    .mobile-menu-btn.is-open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-btn.is-open span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.is-open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .mobile-nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        padding: 10px 20px 20px;
        background: white;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(45, 55, 72, 0.12);
    }
    .mobile-nav[hidden] {
        display: none;
    }
    .mobile-nav a {
        padding: 13px 8px;
        color: var(--text-main);
        font-weight: 500;
        border-bottom: 1px solid var(--border);
    }
    .mobile-nav .btn-primary {
        margin-top: 12px;
        padding: 12px 20px;
        text-align: center;
        border-bottom: 0;
    }

    .mobile-action-bar {
        align-items: stretch;
        background: white;
        border-top: 1px solid var(--border);
        bottom: 0;
        box-shadow: 0 -8px 24px rgba(45, 55, 72, 0.1);
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        left: 0;
        position: fixed;
        right: 0;
        z-index: 1500;
    }

    .mobile-action-bar a {
        color: var(--text-main);
        font-size: 13px;
        font-weight: 600;
        padding: 14px 8px;
        text-align: center;
    }

    .mobile-action-bar .primary-action {
        background: var(--accent);
        color: white;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .split-card-body, .split-card-body.reverse {
        flex-direction: column;
    }
    .split-card-img {
        border-right: none !important;
        border-left: none !important;
        border-bottom: 1px solid var(--border);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .hero {
        background-attachment: scroll !important;
    }
}

/* Subpage Content Layout */
.subpage-content {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-main);
}

.subpage-content h3 {
    font-size: 24px;
    color: var(--primary);
    margin: 40px 0 20px;
}

.subpage-content h3:first-child {
    margin-top: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.feature-item {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.feature-item h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 16px;
    margin-bottom: 0;
}

.advisory-box {
    background: linear-gradient(135deg, rgba(148, 11, 146, 0.05), rgba(233, 87, 147, 0.05));
    border: 1px solid rgba(148, 11, 146, 0.2);
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
    text-align: center;
}

.advisory-box h4 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 16px;
}

.advisory-box p {
    margin-bottom: 24px;
}

.comparison-checklist {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 20px 0 30px;
}

.comparison-checklist span {
    background: var(--bg-light);
    border-left: 3px solid var(--secondary);
    font-size: 15px;
    padding: 12px 14px;
}

.faq-list {
    border-top: 1px solid var(--border);
    margin-top: 18px;
}

.faq-list details {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.faq-list summary {
    color: var(--text-main);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
}

.faq-list details p {
    color: var(--text-light);
    font-size: 15px;
    margin: 12px 0 0;
}

.readiness-panel {
    background: var(--bg-light);
    border-left: 4px solid var(--secondary);
    margin: 36px 0;
    padding: 22px 24px;
}

.readiness-panel h3 {
    margin-top: 0;
}

.service-readiness {
    background: var(--bg-light);
    border-left: 4px solid var(--secondary);
    margin: 36px 0;
    padding: 24px;
}

.service-readiness h3 {
    margin: 0 0 18px;
}

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

.readiness-grid div {
    background: white;
    border: 1px solid var(--border);
    padding: 16px;
}

.readiness-grid strong,
.readiness-grid span {
    display: block;
}

.readiness-grid strong {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 7px;
}

.readiness-grid span {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.55;
}

.back-link {
    margin-top: 34px;
    text-align: center;
}

.back-link a {
    font-weight: 600;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .comparison-checklist {
        grid-template-columns: 1fr;
    }

    .readiness-grid {
        grid-template-columns: 1fr;
    }
    .subpage-content {
        padding: 30px 20px;
    }

    .guided-grid,
    .process-grid,
    .claims-band-inner {
        grid-template-columns: 1fr;
    }

    .guided-option {
        min-height: auto;
    }

    .claims-band-inner {
        gap: 12px;
    }
}

/* Company, contact, and legal pages */
.page-kicker {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.content-stack {
    display: grid;
    gap: 24px;
    margin: 0 auto;
    max-width: 980px;
}

.content-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 36px;
}

.content-panel h2,
.content-panel h3 {
    color: var(--text-main);
    margin-bottom: 14px;
}

.content-panel h2 {
    font-size: 28px;
}

.content-panel h3 {
    font-size: 20px;
    margin-top: 26px;
}

.content-panel p,
.content-panel li {
    font-size: 16px;
    line-height: 1.75;
}

.content-panel p + p {
    margin-top: 14px;
}

.content-panel ul,
.content-panel ol {
    margin: 12px 0 0 22px;
}

.content-panel li + li {
    margin-top: 8px;
}

.fact-grid,
.contact-grid,
.principle-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fact,
.contact-option,
.principle {
    background: var(--bg-light);
    border-left: 3px solid var(--secondary);
    padding: 20px;
}

.fact strong,
.contact-option strong,
.principle strong {
    color: var(--text-main);
    display: block;
    font-family: var(--font-heading);
    margin-bottom: 6px;
}

.fact span,
.contact-option span,
.principle span {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.55;
}

.contact-option a {
    display: inline-block;
    font-weight: 600;
    margin-top: 10px;
}

.legal-document {
    max-width: 900px;
}

.legal-document .effective-date {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 24px;
}

.notice-box {
    background: #fff7fb;
    border: 1px solid rgba(218, 12, 129, 0.2);
    border-left: 4px solid var(--accent);
    padding: 20px;
}

.notice-box p {
    margin: 0;
}

.page-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.text-link {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .fact-grid,
    .contact-grid,
    .principle-grid {
        grid-template-columns: 1fr;
    }

    .content-panel {
        padding: 26px 22px;
    }

    .content-panel h2 {
        font-size: 24px;
    }
}
