/* ==========================================================================
   AETNIC INFERENCE ENGINE PAGE STYLES
   Harmonized with ATS Design System & deal4less.blade.php typography
   ========================================================================== */

.atnic-page {
    --atnic-bg: #020a10;
    --atnic-card-bg: #030e18;
    --atnic-border: rgba(131, 182, 219, 0.28);
    --atnic-border-bright: rgba(143, 207, 255, 0.55);
    background: var(--atnic-bg);
    color: #f4f6f8;
    font-family: var(--font, "Montserrat", "Segoe UI", sans-serif);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

.atnic-page *,
.atnic-page *::before,
.atnic-page *::after {
    box-sizing: border-box;
}

.atnic-page h1,
.atnic-page h2,
.atnic-page h3,
.atnic-page p {
    margin: 0;
}

.atnic-page a {
    text-decoration: none;
    color: inherit;
}

.atnic-page img {
    display: block;
    max-width: 100%;
}

.atnic-symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Container matching .container-ats exactly */
.atnic-wrap,
.atnic-page .container-ats {
    width: 91%;
    margin-inline: auto;
}

.atnic-line-icon {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.atnic-hero {
    position: relative;
    min-height: 85vh;
    min-height: 85dvh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse 65% 55% at 75% 30%, rgba(0, 140, 255, 0.18), transparent 70%),
        #020a11;
    overflow: hidden;
    padding: 4.5rem 0 3.5rem;
}

.atnic-hero-art {
    position: absolute;
    inset: 0 0 0 auto;
    width: 80%;
    pointer-events: none;
}

.atnic-hero-art>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
}

.atnic-hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 10, 17, 0.45) 0%, rgba(2, 10, 17, 0.3) 30%, transparent 65%);
    pointer-events: none;
}

.atnic-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
    width: 91%;
    margin-inline: auto;
}

.atnic-hero-copy {
    width: 54%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
}

/* Brand Lockup Pill Badge - matches Fitnass aesthetic */
.atnic-brand-lockup {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 1rem 0.45rem 0.55rem;
    border: 1px solid rgba(0, 210, 255, 0.28);
    border-radius: 999px;
    background: rgba(6, 22, 33, 0.72);
    box-shadow: inset 0 0 24px rgba(0, 210, 255, 0.05);
    margin-bottom: 1.5rem;
}

.atnic-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.14);
    border: 1px solid rgba(0, 210, 255, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #67e8f9;
    flex-shrink: 0;
}

.atnic-brand-icon svg {
    width: 16px;
    height: 16px;
}

.atnic-hero-kicker {
    margin: 0;
    color: #b9d7df;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Legacy eyebrow compatibility */
.atnic-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan, #00d2ff);
    margin-bottom: 1.25rem;
}

.atnic-eyebrow span {
    margin-left: 0.4rem;
    font-weight: 500;
    color: #94a3b8;
}

/* Hero Brand Logo */
.atnic-hero-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.6rem;
}

.atnic-hero-logo img {
    width: auto;
    height: clamp(74px, 6.2vw, 96px);
    display: block;
    filter: drop-shadow(0 0 24px rgba(166, 247, 111, 0.32)) drop-shadow(0 0 44px rgba(54, 86, 201, 0.22));
}

/* Hero H1 */
.atnic-page .atnic-hero h1,
.atnic-hero h1 {
    margin: 0 0 1.4rem;
    max-width: 40rem;
    font-size: clamp(2.1rem, 3.8vw, 3.3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.atnic-hero h1 span,
.atnic-hero h1 .glow {
    background: linear-gradient(90deg, #ffffff 0%, #67e8f9 48%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero description - relaxed line-height and generous space before buttons */
.atnic-page .atnic-hero-description {
    max-width: 41rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #b8c6ce;
    margin: 0 0 2.25rem 0;
}

/* Hero Actions - matches Fitnass .hero-actions */
.atnic-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.atnic-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: var(--radius-pill, 999px);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.85rem 1.85rem;
    white-space: nowrap;
    transition: all 0.25s ease;
    cursor: pointer;
    line-height: 1;
}

.atnic-button>span {
    display: inline-block;
    line-height: 1;
}

.atnic-button .atnic-btn-arrow {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    position: relative;
    top: 0;
    transition: transform 0.2s ease;
}

.atnic-button:hover .atnic-btn-arrow {
    transform: translateX(3px);
}

.atnic-button-gradient {
    background: linear-gradient(135deg, #a6f76f 0%, #3656c9 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 0 28px rgba(166, 247, 111, 0.35), 0 0 45px rgba(54, 86, 201, 0.28);
    text-shadow: 0 1px 3px rgba(2, 10, 17, 0.7);
}

.atnic-button-gradient:hover {
    background: linear-gradient(135deg, #b8fa88 0%, #4668df 100%);
    box-shadow: 0 0 38px rgba(166, 247, 111, 0.55), 0 0 60px rgba(54, 86, 201, 0.45);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.atnic-button-white {
    background: #ffffff;
    color: #02120e !important;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.atnic-button-white:hover {
    background: #eafff8;
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
    color: #02120e !important;
}

.atnic-button-outline {
    background: rgba(6, 22, 33, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.atnic-button-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
    color: #ffffff;
}

.atnic-page a:focus-visible {
    outline: 2px solid var(--cyan, #00d2ff);
    outline-offset: 4px;
}

/* Highlights */
.atnic-highlights {
    display: flex;
    list-style: none;
    padding: 1.25rem 0 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.atnic-highlights li {
    padding: 0 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.76rem;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #cbd5e1;
}

.atnic-highlights li:first-child {
    padding-left: 0;
    border-left: 0;
}

/* Floating art labels */
.atnic-hero-label {
    position: absolute;
    z-index: 1;
    color: #e2e8f0;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
    background: rgba(2, 10, 18, 0.6);
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    border: 1px solid rgba(143, 207, 255, 0.25);
    backdrop-filter: blur(4px);
}

.atnic-label-data {
    top: 12%;
    left: 10%;
}

.atnic-label-models {
    top: 12%;
    right: 8%;
}

.atnic-label-context {
    bottom: 20%;
    left: 14%;
}

.atnic-label-action {
    bottom: 20%;
    right: 8%;
}

/* ==========================================================================
   SECTIONS & SECTION HEADINGS (Matches Deal4Less .section & .section-head)
   ========================================================================== */
.atnic-section {
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(14, 50, 80, 0.18), transparent 70%);
}

.atnic-section-heading {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.75rem;
}

.atnic-section-heading h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #ffffff;
}

.atnic-section-heading>span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(143, 207, 255, 0.35), rgba(255, 255, 255, 0.05));
}

.atnic-section-heading>p {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan, #00d2ff);
    white-space: nowrap;
}

.atnic-section-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-soft, #c4c4cc);
    max-width: 52rem;
    margin: -1.25rem 0 0;
}

/* ==========================================================================
   WORKFLOW / HOW IT WORKS (CONTINUOUS GLOWING S-CURVE RIBBON FLOW)
   ========================================================================== */

.atnic-how {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    border-top: 1px solid rgba(0, 210, 255, 0.12);
    border-bottom: none;
    background:
        radial-gradient(ellipse 75% 45% at 50% 12%, rgba(0, 210, 255, 0.14), transparent 65%),
        radial-gradient(ellipse 65% 55% at 15% 45%, rgba(0, 255, 178, 0.1), transparent 60%),
        radial-gradient(ellipse 65% 55% at 85% 75%, rgba(0, 140, 255, 0.12), transparent 60%),
        radial-gradient(ellipse 70% 50% at 50% 95%, rgba(2, 45, 40, 0.2), transparent 65%),
        linear-gradient(180deg, #010810 0%, #020f1a 50%, #010912 100%);
}

.atnic-how-head {
    text-align: center;
    max-width: 62rem;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem !important;
}

.atnic-how-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 !important;
    text-align: center;
    text-shadow: 0 0 24px rgba(0, 210, 255, 0.25);
}

.atnic-how-lead {
    font-size: clamp(1.02rem, 1.25vw, 1.15rem);
    line-height: 1.65;
    color: #c4d9eb;
    max-width: 58rem;
    width: 100%;
    margin: 0 auto !important;
    text-align: center;
}

.aetnic-ribbon-flow {
    position: relative;
    max-width: 960px;
    margin: 3.5rem auto 1rem;
    padding: 1.5rem 0;
}

.aetnic-ribbon-path {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.aetnic-ribbon-path svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.aetnic-ribbon-line {
    stroke: url(#aetnicRibbonGrad);
    stroke-width: 2.75px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aetnic-ribbon-line-glow {
    stroke: #00d2ff;
    stroke-width: 12px;
    fill: none;
    opacity: 0.35;
    filter: url(#aetnicRibbonGlow);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aetnic-ribbon-steps {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.aetnic-ribbon-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2.5rem;
}

.aetnic-ribbon-row--right {
    flex-direction: row;
    padding-left: 2rem;
}

.aetnic-ribbon-row--left {
    flex-direction: row-reverse;
    padding-right: 2rem;
}

.aetnic-ribbon-card {
    flex: 1 1 520px;
    max-width: 540px;
    padding: 1.85rem 2.1rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 210, 255, 0.22);
    background:
        radial-gradient(ellipse at 80% 0%, rgba(0, 210, 255, 0.12), transparent 60%),
        linear-gradient(180deg, rgba(3, 16, 28, 0.92) 0%, rgba(1, 9, 16, 0.96) 100%);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.aetnic-ribbon-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 178, 0.55);
    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.65),
        0 0 35px rgba(0, 210, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.aetnic-ribbon-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.aetnic-ribbon-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #00ffb2;
}

.aetnic-ribbon-num {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #4fe4ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.aetnic-ribbon-card h3 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.aetnic-ribbon-card p {
    margin: 0;
    color: #b5cadc;
    font-size: 0.94rem;
    line-height: 1.6;
}

.aetnic-ribbon-card-foot {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.aetnic-ribbon-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #00ffb2;
}

.aetnic-ribbon-card-foot code {
    font-size: 0.76rem;
    color: #e4edf5;
    background: transparent;
    padding: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.aetnic-ribbon-node {
    position: relative;
    flex-shrink: 0;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aetnic-stream-packet {
    pointer-events: none;
    will-change: transform;
}

.aetnic-ribbon-node-glow {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 178, 0.45) 0%, rgba(0, 210, 255, 0.2) 50%, transparent 70%);
    animation: aetnicGlowPulse 3s infinite ease-in-out;
}

@keyframes aetnicGlowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

.aetnic-ribbon-node-inner {
    position: relative;
    z-index: 2;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 35% 30%, rgba(0, 255, 178, 0.35), transparent 60%),
        #021320;
    border: 2px solid #00ffb2;
    box-shadow:
        0 0 24px rgba(0, 255, 178, 0.45),
        inset 0 0 15px rgba(0, 210, 255, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.aetnic-ribbon-row:hover .aetnic-ribbon-node-inner {
    transform: scale(1.08);
    border-color: #00d2ff;
    box-shadow:
        0 0 32px rgba(0, 210, 255, 0.65),
        inset 0 0 18px rgba(0, 255, 178, 0.45);
}

.aetnic-ribbon-node-icon {
    width: 32px;
    height: 32px;
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(0, 255, 178, 0.7));
}

.aetnic-ribbon-node--terminal.is-arriving .aetnic-ribbon-node-glow {
    animation: aetnicTerminalGlow 0.85s ease-out forwards;
}

.aetnic-ribbon-node--terminal.is-arriving .aetnic-ribbon-node-inner {
    animation: aetnicTerminalBloom 0.85s ease-out forwards;
}

.aetnic-ribbon-node--terminal.is-arriving .aetnic-ribbon-node-icon {
    animation: aetnicTerminalIcon 0.85s ease-out forwards;
}

@keyframes aetnicTerminalBloom {
    0% {
        transform: scale(1);
        border-color: #00ffb2;
        box-shadow: 0 0 24px rgba(0, 255, 178, 0.45), inset 0 0 15px rgba(0, 210, 255, 0.35);
    }

    30% {
        transform: scale(1.06);
        border-color: #8affd4;
        box-shadow: 0 0 30px rgba(0, 255, 178, 0.65), inset 0 0 18px rgba(0, 210, 255, 0.5);
    }

    100% {
        transform: scale(1);
        border-color: #00ffb2;
        box-shadow: 0 0 24px rgba(0, 255, 178, 0.45), inset 0 0 15px rgba(0, 210, 255, 0.35);
    }
}

@keyframes aetnicTerminalGlow {
    0% {
        opacity: 0.6;
        transform: scale(0.96);
    }

    30% {
        opacity: 0.85;
        transform: scale(1.12);
        background: radial-gradient(circle, rgba(0, 255, 178, 0.55) 0%, rgba(0, 210, 255, 0.3) 50%, transparent 70%);
    }

    100% {
        opacity: 0.6;
        transform: scale(0.96);
    }
}

@keyframes aetnicTerminalIcon {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(0, 255, 178, 0.7));
    }

    30% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 16px rgba(0, 255, 178, 0.6));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(0, 255, 178, 0.7));
    }
}

@media (max-width: 991.98px) {
    .aetnic-ribbon-flow {
        max-width: 100%;
        margin-top: 3rem;
    }

    .aetnic-ribbon-path {
        display: none;
    }

    .aetnic-ribbon-row,
    .aetnic-ribbon-row--left,
    .aetnic-ribbon-row--right {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 0;
        gap: 1.25rem;
    }

    .aetnic-ribbon-card {
        max-width: 100%;
        width: 100%;
    }
}



/* ==========================================================================
   KEY FEATURES (6-BOX BENTO GRID WITH AMBIENT GLOW & METALLIC TOKENS)
   ========================================================================== */
.atnic-capabilities-heading {
    margin-bottom: 2rem;
    display: block;
}

.atnic-capabilities-heading h2 {
    font-size: clamp(1.75rem, 2.8vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-transform: none;
    margin: 0;
}

.atnic-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.atnic-bento-card {
    position: relative;
    border-radius: 18px;
    padding: 1.65rem 1.5rem 1.4rem;
    background: linear-gradient(180deg, rgba(14, 18, 24, 0.94) 0%, rgba(9, 12, 17, 0.98) 70%, rgba(10, 16, 28, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1.5px solid rgba(0, 255, 178, 0.45);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 235px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Ambient bottom aura - Green & Blue combination */
.atnic-bento-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 115px;
    background: radial-gradient(ellipse 90% 100% at 50% 120%, rgba(0, 255, 178, 0.32) 0%, rgba(0, 210, 255, 0.26) 38%, rgba(20, 90, 200, 0.18) 65%, transparent 85%);
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Subtle top sheen reflection */
.atnic-bento-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    pointer-events: none;
}

.atnic-bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.16);
    border-bottom-color: rgba(0, 255, 178, 0.85);
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 16px 32px -12px rgba(0, 255, 178, 0.32), 0 16px 32px -12px rgba(0, 210, 255, 0.3);
}

/* Featured Hero Bento Card (Autonomous Orchestration) */
.atnic-bento-card--hero {
    grid-column: span 2;
    background: linear-gradient(180deg, rgba(16, 26, 38, 0.96) 0%, rgba(10, 16, 24, 0.98) 70%, rgba(12, 24, 40, 1) 100%);
    border: 1px solid rgba(0, 210, 255, 0.24);
    border-bottom: 2px solid rgba(0, 255, 178, 0.75);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 255, 178, 0.12);
}

.atnic-bento-card--hero::after {
    height: 135px;
    background: radial-gradient(ellipse 95% 100% at 50% 120%, rgba(0, 255, 178, 0.44) 0%, rgba(0, 210, 255, 0.35) 38%, rgba(20, 90, 200, 0.22) 65%, transparent 85%);
}

.atnic-bento-card--hero .atnic-bento-title {
    font-size: 1.25rem;
}

.atnic-bento-card--hero .atnic-bento-token {
    box-shadow:
        inset 0 1.5px 2px rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.65),
        0 4px 14px rgba(0, 0, 0, 0.6),
        0 0 14px rgba(0, 210, 255, 0.35);
    border-color: rgba(0, 210, 255, 0.4);
}

.atnic-bento-card--wide {
    grid-column: span 2;
}

.atnic-bento-kicker {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00ffb2;
    margin-bottom: 0.35rem;
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Skeuomorphic 3D metallic token puck */
.atnic-bento-token {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #3e4754 0%, #222934 55%, #10141a 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1.5px 2px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.65),
        0 4px 12px rgba(0, 0, 0, 0.5),
        0 0 0 3px rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    margin-bottom: 1.15rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: transform 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.atnic-bento-card:hover .atnic-bento-token {
    transform: scale(1.05);
    color: #ffffff;
    box-shadow:
        inset 0 1.5px 2px rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(0, 0, 0, 0.65),
        0 6px 16px rgba(0, 0, 0, 0.6),
        0 0 16px rgba(0, 210, 255, 0.4);
}

.atnic-bento-token svg {
    width: 22px;
    height: 22px;
}

.atnic-bento-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin: 0 0 0.7rem !important;
    position: relative;
    z-index: 1;
}

.atnic-bento-desc {
    font-size: 0.86rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0 0 1.25rem;
    position: relative;
    z-index: 1;
}

.atnic-bento-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    position: relative;
    z-index: 1;
    transition: gap 0.2s ease, color 0.2s ease;
}

.atnic-bento-link svg {
    transition: transform 0.2s ease;
}

.atnic-bento-link:hover {
    color: #00ffb2;
    gap: 0.55rem;
}

.atnic-bento-link:hover svg {
    transform: translateX(3px);
}

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

    .atnic-bento-card--hero,
    .atnic-bento-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 767.98px) {
    .atnic-bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .atnic-bento-card--hero,
    .atnic-bento-card--wide {
        grid-column: auto;
    }
}

/* ==========================================================================
   USE CASES (5 CARDS WITH IMAGES)
   ========================================================================== */
.atnic-case-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.atnic-case {
    overflow: hidden;
    border: 1px solid rgba(145, 173, 193, 0.3);
    border-radius: 16px;
    background: linear-gradient(180deg, #07111a, #030b12);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.atnic-case:hover {
    transform: translateY(-4px);
    border-color: rgba(143, 207, 255, 0.6);
    box-shadow: 0 8px 28px rgba(0, 160, 255, 0.18);
}

.atnic-case>img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: center;
}

.atnic-case-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem 1.15rem 1.25rem;
}

.atnic-case-copy .atnic-line-icon {
    position: absolute;
    top: -18px;
    left: 1.15rem;
    width: 34px;
    height: 34px;
    padding: 6px;
    background: #030c15;
    border: 1px solid rgba(143, 207, 255, 0.45);
    border-radius: 50%;
    color: var(--cyan, #00d2ff);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
}

.atnic-page .atnic-case h3,
.atnic-case h3 {
    font-size: 1.08rem;
    line-height: 1.3;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.atnic-page .atnic-case p,
.atnic-case p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-soft, #c4c4cc);
    text-transform: none;
    font-weight: 400;
}

/* ==========================================================================
   WHY AETNIC MATTERS (4 REASON CARDS)
   ========================================================================== */
.atnic-why {
    background: linear-gradient(0deg, rgba(140, 159, 185, 0.08), transparent 60%);
}

.atnic-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.atnic-page .atnic-reason,
.atnic-reason {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 140px;
    padding: 1.5rem 1.25rem;
    border: 1px solid rgba(148, 174, 198, 0.3);
    border-radius: 16px;
    background: linear-gradient(135deg, #10202d, #050d15 70%, #1c2834);
    box-shadow: inset 0 0 20px rgba(148, 187, 208, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease;
    text-transform: none;
}

.atnic-reason:hover {
    transform: translateY(-3px);
    border-color: rgba(143, 207, 255, 0.55);
}

.atnic-reason .atnic-line-icon {
    width: 32px;
    height: 32px;
    color: var(--cyan, #00d2ff);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.atnic-page .atnic-reason h3,
.atnic-reason h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.atnic-page .atnic-reason p,
.atnic-reason p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-soft, #c4c4cc);
    text-transform: none;
    font-weight: 400;
}

/* ==========================================================================
   KEY FEATURES & CTA SECTION
   ========================================================================== */
.atnic-power {
    border-bottom: none !important;
}

.atnic-cta {
    position: relative;
    min-height: 280px;
    border-top: none !important;
    border-bottom: none !important;
    background: #010811;
    overflow: hidden;
}

.atnic-cta-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}

.atnic-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(1, 8, 17, 0.88) 0%, rgba(1, 8, 17, 0.35) 45%, rgba(1, 8, 17, 0.35) 70%, rgba(1, 8, 17, 0.82) 100%);
    pointer-events: none;
}

.atnic-cta-inner {
    position: relative;
    z-index: 2;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 5.25rem;
    gap: 3.5rem;
}

.atnic-cta-title {
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: #ffffff;
    max-width: 44rem;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.atnic-cta-aside {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.atnic-cta-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #a6f76f 0%, #3656c9 100%);
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 0.88rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    text-shadow: 0 1px 3px rgba(2, 10, 17, 0.7);
    box-shadow: 0 0 28px rgba(166, 247, 111, 0.35), 0 0 45px rgba(54, 86, 201, 0.28);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.atnic-cta-pill-btn:hover {
    background: linear-gradient(135deg, #b8fa88 0%, #4668df 100%);
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 38px rgba(166, 247, 111, 0.55), 0 0 60px rgba(54, 86, 201, 0.45);
}

.atnic-cta-pill-btn:active {
    transform: translateY(0) scale(0.99);
}

.atnic-page~.site-footer,
body:has(.atnic-page) .site-footer {
    border-top: none !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1199.98px) {
    .atnic-workflow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .atnic-step-arrow {
        display: none;
    }

    .atnic-case-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .atnic-hero {
        padding: 2.5rem 0 2rem;
        min-height: auto;
    }

    .atnic-hero-art {
        position: relative;
        width: 100%;
        height: 320px;
        order: -1;
        margin-bottom: 1.5rem;
        border-radius: 16px;
        overflow: hidden;
    }

    .atnic-hero-art::after {
        background: linear-gradient(0deg, #020a11 5%, transparent 40%);
    }

    .atnic-hero-inner {
        min-height: auto;
    }

    .atnic-hero-copy {
        width: 100%;
        max-width: 100%;
    }

    .atnic-highlights {
        flex-wrap: wrap;
        gap: 0.75rem 1.5rem;
    }

    .atnic-highlights li {
        border-left: none;
        padding-left: 0;
    }

    .atnic-section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .atnic-section-heading>span {
        display: none;
    }

    .atnic-workflow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .atnic-blueprint-card {
        min-height: auto;
    }

    .atnic-blueprint-connector {
        display: none;
    }

    .atnic-power-grid,
    .atnic-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .atnic-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .atnic-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.75rem;
    }

    .atnic-cta-aside {
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .atnic-wrap {
        width: calc(100% - 2rem);
    }

    .atnic-section {
        padding: 3.5rem 0;
    }

    .atnic-page .atnic-hero h1,
    .atnic-hero h1 {
        font-size: clamp(2.2rem, 7.5vw, 3.2rem);
        letter-spacing: -0.04em;
    }

    .atnic-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .atnic-button {
        width: 100%;
    }

    .atnic-workflow {
        grid-template-columns: 1fr;
    }

    .atnic-power-grid,
    .atnic-case-grid,
    .atnic-why-grid {
        grid-template-columns: 1fr;
    }
}