/*
 * Osiris — AI & Automation
 * 1440px max content width | 40px desktop gutters | 500px small-phone breakpoint
 */

/* ============================================================
   01. DESIGN  BASE
   ============================================================ */
:root {
    --ai-bg: #020617;
    --ai-bg-alt: #050814;
    --ai-bg-card: #07101f;
    --ai-text: #ffffff;
    --ai-muted: #e2e8f0;
    --ai-cyan: #22d3ee;
    --ai-blue: #3b82f6;
    --ai-border: rgba(148, 163, 184, 0.18);

    --page-max: 1440px;
    --gutter-desktop: 40px;
    --gutter-tablet: 28px;
    --gutter-mobile: 20px;

    --section-desktop: 80px;
    --section-tablet: 64px;
    --section-mobile: 40px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--ai-bg);
    color: var(--ai-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

main {
    overflow: clip;
}

::selection {
    background: rgba(34, 211, 238, 0.30);
    color: #ffffff;
}


/* ============================================================
   02. WCAG 2.1 AA / ACCESSIBILITY
   ============================================================ */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 10px 14px;
    border-radius: 6px;
    background: #ffffff;
    color: #020617;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transform: translateY(-170%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--ai-cyan) !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 2px #020617 !important;
}

.nav-link[aria-current="page"],
.mobile-link[aria-current="page"],
.footer a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

svg[aria-hidden="true"] {
    pointer-events: none;
}


/* ============================================================
   03. SHARED PAGE SHELL / TYPOGRAPHY
   ============================================================ */
.section-container,
.feature-container {
    width: 100%;
    max-width: var(--page-max);
    margin-inline: auto;
    padding-inline: var(--gutter-desktop);
}

.hero-new,
.decisions-section,
.cta-section {
    width: 100%;
}

.feature-card h2,
.decisions-title {
    font-family: "GFS Didot", Georgia, serif;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0;
}


/* ============================================================
   04. HERO
   ============================================================ */
.hero-new {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 150px 0 82px;
    overflow: hidden;
    text-align: left;
    background:
        radial-gradient(circle at 18% 12%, rgba(34, 211, 238, .08), transparent 38%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, .07), transparent 35%),
        #020617;
}

.hero-new .hero-title {
    max-width: 820px;
    margin: 0 0 14px;
    font-family: "GFS Didot", Georgia, serif;
    color: #ffffff;
    font-size: clamp(58px, 5.5vw, 82px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.02em;
}

.hero-new .hero-title span {
    color: var(--ai-cyan);
}

.hero-new .hero-subtitle {
    margin: 0 0 30px;
    color: var(--ai-cyan);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-new p:not(.hero-subtitle) {
    max-width: 960px;
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.72;
}

.hero-new p:last-child {
    margin-bottom: 0;
}



/* ============================================================
   04A. HERO — LARGE / ULTRAWIDE DISPLAYS
   Keeps the banner composition balanced on 27–34 inch screens.
   The supplied AI hero is gradient-based (no hero photo in this file),
   so the wide-screen fix controls height/content width rather than
   inventing or stretching a nonexistent image asset.
   ============================================================ */
@media (min-width: 1600px) {
    .hero-new {
        min-height: 660px;
        padding-block: 158px 92px;
    }

    .hero-new .section-container {
        max-width: 1440px;
    }

    .hero-new .hero-title {
        max-width: 820px;
    }

    .hero-new p:not(.hero-subtitle) {
        max-width: 900px;
    }
}
@media (min-width: 2400px) {
   body[data-page="AI-Automation"] .feature-container{
        max-width: 1450px;
        margin-left: auto;
        margin-right: auto;
    }
body[data-page="AI-Automation"]  .feature-card:nth-child(even) .feature-card-content {
    padding-left: 0;
}
body[data-page="AI-Automation"] .feature-card:nth-child(odd) .feature-card-content{
     padding-right: 0;
    
}
    
}

@media (min-width: 2400px) and (min-aspect-ratio: 16/10) {
    .hero-new {
        min-height: 680px;
    }
}

@media (min-width: 3200px) and (min-aspect-ratio: 2/1) {
    .hero-new {
        min-height: 690px;
        padding-block: 170px 96px;
    }

    .hero-new .section-container {
        max-width: 1520px;
    }
}

/* ============================================================
   05. AI USE-CASE FEATURE SECTIONS
   ============================================================ */
.feature-section {
    padding: 0;
    background: var(--ai-bg-alt);
}

.feature-container {
    max-width: none;
    padding-inline: 0;
}

.feature-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 600px;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.06);
    background: #050814;
}

.feature-card:first-of-type {
    border-top: 0;
}

.feature-card:nth-child(even) {
    background: #070b16;
}

.feature-card-image {
    position: relative;
    min-width: 0;
    min-height: 600px;
    overflow: hidden;
    background: #050814;
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    object-position: center;
}

/* Soft image-to-copy blend only; no aggressive hover zoom/jump. */
.feature-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent 55%,
        rgba(5,8,20,.20) 74%,
        rgba(5,8,20,.82) 100%
    );
}

.feature-card:nth-child(even) .feature-card-image {
    order: 2;
}

.feature-card:nth-child(even) .feature-card-image::after {
    background: linear-gradient(
        270deg,
        transparent 55%,
        rgba(7,11,22,.20) 74%,
        rgba(7,11,22,.82) 100%
    );
}

.feature-card-content {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px clamp(48px, 5vw, 78px);
}

.feature-card-content::before {
    content: "";
    width: 58px;
    height: 3px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ai-cyan), var(--ai-blue), transparent);
}

.feature-card h2 {
    max-width: 620px;
    margin: 0 0 22px;
    font-size: clamp(38px, 3.2vw, 50px);
    line-height: 1.08;
}

.feature-card p {
    max-width: 720px;
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.72;
}

.feature-card p:last-child {
    margin-bottom: 0;
}

.feature-card .summary-text {
    margin-top: 6px;
    padding: 14px 0 14px 18px;
    border-left: 2px solid rgba(34, 211, 238, .72);
    background: linear-gradient(90deg, rgba(34,211,238,.06), transparent);
    color: #ffffff;
    font-weight: 600;
}



/* ============================================================
   05A. DEMAND FORECASTING VISUAL
   Replaces the oversized source image with a compact dashboard-
   style visual that stays proportional on desktop and mobile.
   ============================================================ */
.feature-card-image--forecast {
    display: grid;
    place-items: center;
    padding: clamp(36px, 5vw, 72px);
    background:
        radial-gradient(circle at 28% 24%, rgba(34, 211, 238, .08), transparent 38%),
        linear-gradient(145deg, #050b17, #07101f);
}

.forecast-visual {
    width: min(100%, 760px);
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 2.4vw, 32px);
    border: 1px solid rgba(34, 211, 238, .24);
    border-radius: 14px;
    background: linear-gradient(155deg, rgba(10, 24, 42, .96), rgba(4, 10, 21, .98));
    box-shadow:
        0 24px 70px rgba(0, 0, 0, .34),
        inset 0 1px 0 rgba(255, 255, 255, .035);
}

.forecast-visual__header,
.forecast-visual__legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.forecast-visual__header {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: clamp(17px, 1.5vw, 22px);
    font-weight: 700;
}

.forecast-visual__period {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.forecast-visual__chart {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border-left: 1px solid rgba(148, 163, 184, .16);
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.forecast-visual__chart svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.forecast-grid {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(148, 163, 184, .10);
}

.forecast-grid--1 { top: 25%; }
.forecast-grid--2 { top: 50%; }
.forecast-grid--3 { top: 75%; }

.forecast-area {
    fill: url(#forecastArea);
}

.forecast-line {
    fill: none;
    stroke-width: 6;
    vector-effect: non-scaling-stroke;
}

.forecast-line--actual {
    stroke: #22d3ee;
}

.forecast-line--projected {
    stroke: #8b5cf6;
    stroke-dasharray: 11 10;
}

.forecast-point {
    fill: #22d3ee;
    stroke: #07101f;
    stroke-width: 4;
}

.forecast-point--future {
    fill: #8b5cf6;
}

.forecast-visual__legend {
    justify-content: flex-start;
    margin-top: 18px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
}

.forecast-visual__legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.legend-dot {
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 50%;
}

.legend-dot--actual { background: #22d3ee; }
.legend-dot--forecast { background: #8b5cf6; }

/* ============================================================
   06. MAKE BETTER DECISIONS FASTER
   ============================================================ */
.decisions-section {
    padding: var(--section-desktop) 0;
    border-top: 1px solid rgb(255 255 255 / 15%);
    border-bottom: 1px solid rgb(255 255 255 / 15%);
    background: radial-gradient(circle at 50% 30%, rgba(34, 211, 238, .06), transparent 55%), #020617;
}

.decisions-title {
    max-width: 900px;
    margin: 0 auto 28px;
    text-align: center;
    font-size: clamp(40px, 4vw, 54px);
    line-height: 1.08;
}

.decisions-title span {
    color: var(--ai-cyan);
}

.decisions-content {
    max-width: 900px;
    margin: 0 auto;
}

.decisions-content p {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.72;
    text-align: left;
}

.decisions-content p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   07. CTA
   ============================================================ */
.cta-section {
    padding: var(--section-desktop) 0;
    background: #050814;
}

.cta-box {
    max-width: 960px;
    margin: 0 auto;
    padding: 44px 46px;
    border: 1px solid rgba(34,211,238,.24);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(13,20,39,.92), rgba(6,9,19,.97));
    box-shadow: 0 0 34px rgba(34,211,238,.06);
    text-align: left;
}

.cta-text {
    margin-bottom: 26px;
    color: #ffffff;
    font-family: "GFS Didot", Georgia, serif;
    font-size: clamp(28px, 2.5vw, 36px);
    font-weight: 600;
    line-height: 1.20;
}

.cta-text p {
    margin: 14px 0 0;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.70;
    text-transform: none;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--ai-cyan), #2ac9ff);
    color: #001018;
    box-shadow: 0 4px 16px rgba(34,211,238,.12);
}

.btn-primary:hover {
    box-shadow: 0 7px 20px rgba(34,211,238,.18);
}


/* ============================================================
   08. TABLET — 1024px AND BELOW
   ============================================================ */
@media (max-width: 1024px) {
    .section-container {
        padding-inline: var(--gutter-tablet);
    }

    .hero-new {
        min-height: 570px;
        padding-top: 142px;
        padding-bottom: 64px;
    }

    .hero-new .hero-title {
        font-size: clamp(50px, 7vw, 66px);
    }

    .feature-card {
        min-height: 520px;
    }

    .feature-card-image,
    .feature-card-image img {
        min-height: 520px;
    }

    .feature-card-content {
        padding: 56px 42px;
    }

    .feature-card h2 {
        font-size: clamp(34px, 4vw, 44px);
    }

    .decisions-section,
    .cta-section {
        padding-block: var(--section-tablet);
    }
}


/* ============================================================
   09. MOBILE — 767px AND BELOW
   ============================================================ */
@media (max-width: 767px) {
    .section-container {
        padding-inline: var(--gutter-mobile);
    }

    .hero-new {
        min-height: auto;
        padding: 118px 0 58px;
    }

    .hero-new .hero-title {
        font-size: clamp(42px, 11vw, 54px);
        line-height: 1;
    }

    .hero-new .hero-subtitle {
        margin-bottom: 22px;
        font-size: 14px;
        line-height: 1.45;
        letter-spacing: .07em;
    }

    .hero-new p:not(.hero-subtitle) {
        font-size: 16px;
        line-height: 1.66;
    }

    .feature-card,
    .feature-card:nth-child(even) {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .feature-card-image,
    .feature-card:nth-child(even) .feature-card-image {
        order: 1;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .feature-card-image img {
        min-height: 0;
    }

    .feature-card-image--forecast {
        aspect-ratio: auto;
        min-height: 0;
        padding: 28px 20px 34px;
    }

    .forecast-visual {
        width: 100%;
        aspect-ratio: 4 / 3;
        padding: 18px;
        border-radius: 10px;
    }

    .forecast-visual__header {
        margin-bottom: 14px;
        font-size: 17px;
    }

    .forecast-visual__period {
        font-size: 10px;
    }

    .forecast-visual__legend {
        margin-top: 13px;
        gap: 14px;
        font-size: 11px;
    }


    .feature-card-image::after,
    .feature-card:nth-child(even) .feature-card-image::after {
        background: linear-gradient(
            to bottom,
            transparent 60%,
            rgba(5,8,20,.32) 78%,
            #050814 100%
        );
    }

    .feature-card:nth-child(even) .feature-card-image::after {
        background: linear-gradient(
            to bottom,
            transparent 60%,
            rgba(7,11,22,.32) 78%,
            #070b16 100%
        );
    }

    .feature-card-content,
    .feature-card:nth-child(even) .feature-card-content {
        order: 2;
        padding: 22px 20px 50px;
    }

    .feature-card-content::before {
        width: 48px;
        height: 2px;
        margin-bottom: 17px;
    }

    .feature-card h2 {
        margin-bottom: 16px;
        font-size: clamp(30px, 8.2vw, 38px);
        line-height: 1.10;
    }

    .feature-card p {
        font-size: 16px;
        line-height: 1.66;
    }

    .feature-card .summary-text {
        padding-left: 14px;
    }

    .decisions-section,
    .cta-section {
        padding-block: var(--section-mobile);
    }

    .decisions-title {
        margin-bottom: 24px;
        font-size: clamp(32px, 8.7vw, 40px);
    }

    .decisions-content p {
        font-size: 16px;
        line-height: 1.66;
    }

    .cta-box {
        padding: 30px 22px;
    }

    .cta-text {
        font-size: 28px;
    }

    .cta-text p {
        font-size: 16px;
        line-height: 1.66;
    }
}


/* ============================================================
   10. SMALL PHONES — 500px AND BELOW
   Matches the user's updated Home-page mobile breakpoint.
   ============================================================ */
@media (max-width: 500px) {
  section.cta-section {
    margin-bottom: 0;
    padding-bottom: 0;
}
    :root {
        --gutter-mobile: 18px;
        --section-mobile: 50px;
    }

    .hero-new {
        padding-top: 112px;
        padding-bottom: 46px;
    }

    .hero-new .hero-title {
        font-size: clamp(38px, 11vw, 46px);
    }

    .feature-card-image {
        aspect-ratio: 4 / 3;
    }

    .feature-card-image--forecast {
        padding: 22px 16px 28px;
    }

    .forecast-visual {
        aspect-ratio: 1.18 / 1;
        padding: 15px;
    }

    .forecast-visual__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .forecast-visual__legend {
        flex-wrap: wrap;
    }


    .feature-card-content,
    .feature-card:nth-child(even) .feature-card-content {
        padding: 20px 18px 44px;
    }

    .feature-card h2 {
        font-size: 29px;
    }

    .feature-card p,
    .decisions-content p,
    .cta-text p {
        font-size: 15.5px;
    }

    .decisions-title {
        font-size: 31px;
    }

    .cta-box {
        padding: 26px 18px;
    }

    .cta-text {
        font-size: 26px;
    }

    .btn-primary {
        width: 100%;
    }
    section.cta-section {
    padding-top: 0;
}

section.decisions-section {
    border-bottom: none;
    border-top: 1px solid rgb(255 255 255 / 15%);
}

.feature-card:nth-child(even) .feature-card-image::after {
    content: unset;
}
}


/* ============================================================
   11. VERY SMALL / HIGH-ZOOM REFLOW — 360px AND BELOW
   ============================================================ */
@media (max-width: 360px) {
    .hero-new .hero-title {
        font-size: 36px;
    }

    .feature-card h2 {
        font-size: 27px;
    }

    .cta-text {
        font-size: 24px;
    }
}


/* ============================================================
   12. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}



/* ============================================================
   12A. RESPONSIVE SAFEGUARDS
   ============================================================ */
.hero-new .section-container,
.feature-card-content,
.decisions-content,
.cta-box,
.forecast-visual {
    min-width: 0;
}

.hero-new h1,
.feature-card h2,
.feature-card p,
.decisions-title,
.decisions-content p,
.cta-text,
.cta-text p {
    overflow-wrap: normal;
    word-break: normal;
}

@media (max-width: 767px) {
    .feature-card-content,
    .feature-card:nth-child(even) .feature-card-content {
        padding-left: var(--gutter-mobile);
        padding-right: var(--gutter-mobile);
    }
}


