/* --- RESET & BASE --- */
body {
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}

/* --- HEADER --- */
#header {
    background: #fff;
}

/* --- HERO SECTION --- */
#hero-section {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(227, 232, 239, 0.6);
    padding-top: 90px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/images/dx/hero.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 43, 82, 0.75);
}

.hero-inner {
    position: relative;
    max-width: 64rem;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-inner {
        padding: 112px 24px;
    }
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--orange);
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: none;
    margin: 20px 0 0;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
}

.hero-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.625;
    color: rgba(255, 255, 255, 0.8);
    max-width: 39rem;
    margin: 24px auto 0;
}

.hero-cta {
    margin-top: 36px;
}

/* --- TECH FEATURE SECTION COMMON --- */
.tech-feature-section {
    background: #fff;
}

.tech-feature-section--alt {
    background: color-mix(in srgb, #f7f4f0 30%, white);
}

.tech-section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tech-num {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0;
    padding: 0;
    flex-shrink: 0;
}

.tech-feature-header {
    display: block;
    text-align: center;
    max-width: 768px;
    margin: 0 auto 48px;
}

.tech-feature-title {
    display: inline;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    background: none;
    -webkit-text-fill-color: var(--brand-navy);
    color: var(--brand-navy);
    flex: none;
    max-width: none;
}

@media (min-width: 768px) {
    .tech-feature-title {
        font-size: 30px;
    }
}

.tech-feature-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--muted-foreground);
    margin: 16px auto 0;
    text-align: center;
}

/* --- VIDEO + BULLETS LAYOUT --- */
.tech-feature-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.tech-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 12px 40px rgba(9, 67, 106, 0.14);
}

.tech-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- PLATFORM BULLETS --- */
.platform-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.platform-bullet-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid rgba(227, 232, 239, 0.6);
    border-radius: 12px;
    background: var(--white);
    padding: 20px;
    transition: border-color 0.2s, background 0.2s;
}

.platform-bullet-item:hover {
    border-color: var(--border-color);
    background: color-mix(in srgb, #f7f4f0 40%, white);
}

.platform-bullet-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, #2980b9 10%, white);
    color: #2980b9;
}

.platform-bullet-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--brand-navy);
    line-height: 1.3;
}

.platform-bullet-text {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--muted-foreground);
    margin: 0;
}

/* --- FEATURE CARD GRID --- */
.feature-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-card {
    border: 1px solid rgba(227, 232, 239, 0.6);
    border-radius: 12px;
    background: var(--white);
    padding: 16px;
    transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
    border-color: var(--border-color);
    background: color-mix(in srgb, #f7f4f0 40%, white);
}

.feature-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, #8e44ad 10%, white);
    color: #8e44ad;
    flex-shrink: 0;
}

.feature-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--brand-navy);
    margin: 12px 0 4px;
    line-height: 1.3;
}

.feature-card-text {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin: 0;
}

/* --- AI CARDS --- */
.ai-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 0;
}

.ai-card {
    background: var(--white);
    border: 1px solid rgba(227, 232, 239, 0.6);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.ai-card:hover {
    border-color: var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.ai-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f7f4f0;
}

.ai-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ai-card:hover .ai-card-img img {
    transform: scale(1.02);
}

.ai-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ai-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--brand-navy);
    margin: 0 0 8px;
    line-height: 1.3;
}

.ai-card-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--muted-foreground);
    margin: 0;
    flex: 1;
}

.ai-card-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid rgba(227, 232, 239, 0.6);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--brand-navy);
    line-height: 1.4;
}

.ai-card-list li .ai-check {
    flex-shrink: 0;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ai-card--green .ai-check {
    background: color-mix(in srgb, #3d9970 15%, white);
    color: #3d9970;
}

.ai-card--pink .ai-check {
    background: color-mix(in srgb, #c0392b 15%, white);
    color: #c0392b;
}

.ai-card--blue .ai-check {
    background: color-mix(in srgb, #2980b9 15%, white);
    color: #2980b9;
}

/* --- CTA SECTION --- */
#cta-section {
    text-align: center;
    background: var(--brand-cream);
    padding-block: 80px;
}

@media (min-width: 768px) {
    #cta-section {
        padding-block: 96px;
    }
}

.cta-inner {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-title {
    margin: 0 0 16px;
    padding: 0;
    letter-spacing: -.025em;
    color: var(--brand-navy);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    font-family: 'Roboto', sans-serif;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 36px;
    }
}

.cta-subtitle {
    line-height: 1.625;
    margin: 0 0 32px;
    margin-inline: auto;
    color: var(--muted-foreground);
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

.cta-btn {
    background: var(--orange);
    color: #fff;
    border-radius: calc(var(--radius, 10px) - 2px);
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    transition: background .15s;
    display: inline-flex;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.cta-btn:hover,
.cta-btn:focus {
    background: var(--orange-dark);
    color: #fff;
}

.cta-btn svg {
    flex-shrink: 0;
}

/* --- RESEARCH SOLUTION HEADING --- */
.research-solution-heading {
    margin-bottom: 8px;
}

.research-solution-heading h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 34px;
    line-height: 1.2;
    background: var(--gradient-navy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.research-solution-heading p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.65;
}

/* --- RESPONSIVE --- */
/* ── 1366px: small desktop / laptop ── */
@media (max-width: 1366px) {
    .tech-feature-title {
        flex: 0 0 300px;
        max-width: 300px;
        font-size: 28px;
    }
}

/* ── 1024px: tablet landscape ── */
@media (max-width: 1024px) {
    .tech-feature-header {
        flex-direction: column;
        gap: 16px;
    }

    .tech-feature-title {
        flex: none;
        max-width: 100%;
    }

    .tech-feature-body {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ── 992px+: tablet ── */
@media (max-width: 992px) {
    .ai-cards {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── 768px: mobile ── */
@media (max-width: 768px) {
    .tech-feature-title {
        font-size: 24px;
    }

    .ai-cards {
        grid-template-columns: 1fr;
    }

    .feature-card-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 26px;
    }

    #cta-section {
        padding: 60px 24px;
    }
}

/* ── 480px: small phone ── */
@media (max-width: 480px) {
    .tech-section-label {
        margin-left: 16px;
    }
}
