:root {
    --brand-yellow: #FFC300;
    --brand-navy: #0B1F3A;
    --accent-blue: #2563EB;
    --bg: #FFFFFF;
    --surface: #F8FAFC;
    --text: #1E293B;
    --muted: #64748B;
    --border: #E2E8F0;
    --shadow: 0 12px 30px rgba(11, 31, 58, 0.08);
    --shadow-hover: 0 18px 40px rgba(11, 31, 58, 0.12);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
    line-height: 1.65;
}

.ai-product-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: stretch;
    padding: clamp(2rem, 5vw, 4rem);
    background:
        radial-gradient(circle at top right, rgba(255, 195, 0, 0.3), transparent 20%),
        linear-gradient(135deg, #0B1F3A, #102C55 64%, #183E6B);
    border-radius: 30px;
    color: #ffffff;
    box-shadow: 0 30px 60px rgba(11, 31, 58, 0.18);
}

.ai-product-hero h1 {
    margin: 0.3rem 0 0.8rem;
    max-width: 12ch;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(2.7rem, 5vw, 4.4rem);
    line-height: 1.02;
    background: linear-gradient(90deg, #FFC300, #2563EB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #2563EB;
}

.ai-hero-lead {
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
}

.ai-search-shell {
    margin: 1.4rem 0 1.2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    backdrop-filter: blur(12px);
}

.ai-search-topbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.ai-search-signal {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    display: inline-block;
    background: var(--brand-yellow);
    box-shadow: 0 0 0 6px rgba(255, 195, 0, 0.18);
}

.ai-search-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ai-search-icon {
    font-size: 1.2rem;
    color: var(--brand-yellow);
}

.typing-line {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    min-height: 1.4rem;
    color: #ffffff;
    font-weight: 600;
}

.typing-cursor {
    color: var(--brand-yellow);
    animation: blink 1s infinite;
}

.ai-search-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.ai-search-foot span {
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
}

.ai-insight-board {
    display: grid;
    align-items: center;
    padding: 1.4rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.ai-insight-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-metric-card {
    position: relative;
    padding: 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

/* Progress bar container */
.metric-progress-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    z-index: 0;
    overflow: hidden;
}

/* Animated progress bar fill */
.metric-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    border-radius: 20px;
    transition: width 100ms linear;
}

/* Color-coded progress bars */
.ai-insight-grid>.ai-metric-card:nth-child(1) .metric-progress-bar {
    background: linear-gradient(90deg, #FFC300, #FFE066);
    animation: progress-metric-1 1600ms ease-out forwards;
}

.ai-insight-grid>.ai-metric-card:nth-child(2) .metric-progress-bar {
    background: linear-gradient(90deg, #2563EB, #60A5FA);
    animation: progress-metric-2 1600ms ease-out forwards;
}

.ai-insight-grid>.ai-metric-card:nth-child(3) .metric-progress-bar {
    background: linear-gradient(90deg, #10B981, #34D399);
    animation: progress-metric-3 1500ms ease-out forwards;
}

.ai-insight-grid>.ai-metric-card:nth-child(4) .metric-progress-bar {
    background: linear-gradient(90deg, #FFC300, #FFE066);
    animation: progress-metric-4 1400ms ease-out forwards;
}

.ai-metric-card strong {
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 0 0.35rem;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    color: var(--brand-yellow);
}

.ai-metric-card span {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
}

.ai-workflow-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 1.5rem;
    align-items: center;
}

.ai-workflow-visual {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1.2rem;
    background: linear-gradient(180deg, rgba(255, 195, 0, 0.08), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(255, 195, 0, 0.24);
    border-radius: 28px;
}

.ai-engine-core {
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    min-height: 7rem;
    border-radius: 24px;
    background:
        radial-gradient(circle, rgba(255, 195, 0, 0.6), rgba(255, 195, 0, 0.12) 40%, transparent 80%),
        linear-gradient(135deg, rgba(11, 31, 58, 0.92), rgba(24, 62, 107, 0.94));
    color: #ffffff;
    box-shadow: 0 0 38px rgba(255, 195, 0, 0.25);
}

.ai-engine-core span {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.ai-flow-node {
    padding: 0.95rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    box-shadow: var(--shadow);
    font-weight: 700;
    text-align: center;
    color: var(--brand-navy);
}

.ai-workflow-copy {
    display: grid;
    gap: 0.8rem;
}

.ai-capability-list {
    display: grid;
    gap: 0.85rem;
}

.ai-capability-item {
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.ai-capability-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    padding: 1rem 1.1rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.ai-capability-item summary::-webkit-details-marker {
    display: none;
}

.ai-capability-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 195, 0, 0.16);
    color: var(--brand-navy);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.ai-capability-body {
    padding: 0 1.1rem 1rem;
    color: var(--muted);
}

.ai-capability-body p {
    margin: 0;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

@media (max-width: 900px) {

    .ai-product-hero,
    .ai-workflow-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ai-insight-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   INTRO-BAND GRID + GLOBE VISUAL
   (Trademo / Avalara-inspired split layout)
   ============================================= */

.intro-band-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.intro-copy h2 {
    max-width: 22ch;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.intro-copy>p {
    color: rgba(255, 255, 255, 0.72);
    margin-top: 0;
    margin-bottom: 0.8rem;
    max-width: 36rem;
    line-height: 1.6;
}

.intro-copy .eyebrow {
    color: var(--brand-yellow) !important;
}

.intro-stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 2.2rem;
}

.intro-stat {
    padding: 1.2rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 280ms ease;
}

.intro-stat:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 195, 0, 0.32);
    transform: translateY(-3px);
}

.intro-stat strong {
    display: block;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    font-weight: 800;
    color: var(--brand-yellow);
    margin-bottom: 0.5rem;
}

.intro-stat span {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    margin-top: 0.4rem;
    line-height: 1.4;
}

.globe-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 390px;
    overflow: visible;
}

.globe-svg {
    width: 100%;
    max-width: 300px;
    height: auto;
    overflow: visible;
}

.pulse-ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: pulse-ring 2.6s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }

    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

.trade-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.62rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(11, 31, 58, 0.1);
    box-shadow: 0 10px 28px rgba(11, 31, 58, 0.2);
    white-space: nowrap;
    z-index: 2;
}

.trade-float-card strong {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.trade-flag {
    font-size: 1.35rem;
    line-height: 1;
}

.trade-float-card>div>span {
    display: block;
    color: var(--muted);
    font-size: 0.74rem;
    margin-top: 0.1rem;
}

.trade-float-tr {
    top: 6%;
    right: -4%;
    animation: float-gentle 4s ease-in-out infinite;
}

.trade-float-tl {
    top: 18%;
    left: -4%;
    animation: float-gentle 4.5s ease-in-out infinite;
    animation-delay: 1s;
}

.trade-float-br {
    bottom: 18%;
    right: -4%;
    animation: float-gentle 4.5s ease-in-out infinite reverse;
    animation-delay: 1.5s;
}

.trade-float-bl {
    bottom: 6%;
    left: -4%;
    animation: float-gentle 4s ease-in-out infinite reverse;
}

@keyframes float-gentle {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 860px) {
    .intro-band-grid {
        grid-template-columns: 1fr;
    }

    .globe-visual {
        display: none;
    }

    .intro-stats-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 4rem);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.legal,
.contact-strip {
    display: flex;
    align-items: center;
}

.brand {
    gap: 0.08rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-logo {
    display: block;
    width: auto;
    height: 3.8rem;
}

.brand-text {
    display: inline-flex;
    align-items: center;
    margin-left: 0.05rem;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: 3.6rem;
    font-weight: 900;
    color: #FFC300;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.brand-name {
    color: inherit;
    margin-left: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 640px) {
    .brand-logo {
        height: 3rem;
    }

    .brand-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .brand-logo {
        height: 2.6rem;
    }

    .brand-text {
        font-size: 1.05rem;
    }
}

.site-nav {
    gap: 0.45rem;
    font-size: 0.95rem;
}

.site-nav>a,
.nav-dropdown>.nav-link {
    padding: 0.6rem 0.8rem;
    color: var(--brand-navy);
    text-decoration: none;
    border-radius: 999px;
    transition: background 180ms ease, transform 180ms ease, color 180ms ease;
    position: relative;
}

.site-nav>a:hover,
.nav-dropdown>.nav-link:hover,
.site-nav a[aria-current='page'] {
    background: rgba(255, 195, 0, 0.16);
    color: var(--brand-navy);
    transform: translateY(-1px);
}

.site-nav a[aria-current='page'] {
    background: var(--brand-yellow);
    color: var(--brand-navy);
}

.nav-cta {
    color: var(--brand-navy) !important;
    background: var(--brand-yellow) !important;
}

.nav-toggle {
    display: none;
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 22rem;
    display: grid;
    gap: 0.6rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(11, 31, 58, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 30;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    text-decoration: none;
    color: var(--brand-navy);
    background: #ffffff;
    transition: background 180ms ease, transform 180ms ease;
}

.dropdown-panel a:hover {
    background: rgba(255, 195, 0, 0.12);
    transform: translateX(2px);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(245, 247, 255, 0.98);
}

.service-icon-ai {
    background: rgba(255, 230, 153, 0.28);
}

.service-icon-logistics {
    background: rgba(215, 237, 255, 0.75);
}

.service-icon-compliance {
    background: rgba(225, 249, 228, 0.72);
}

.dropdown-label strong {
    display: block;
    font-size: 0.98rem;
}

.dropdown-label span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.hero,
/* MODERN HERO SECTION - AI SaaS Style */
.page-hero-modern {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 5rem);
    border-radius: var(--radius);
}

.hero-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 195, 0, 0.08) 0%,
            rgba(255, 195, 0, 0.04) 25%,
            rgba(37, 99, 235, 0.06) 75%,
            rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(40px);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2.5rem, 6vw, 4rem);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 650px;
}

.hero-content .eyebrow {
    display: block;
    margin: 0 0 1rem;
    color: var(--brand-navy);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0 0 1.2rem;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--brand-navy);
}

.hero-summary {
    max-width: 620px;
    margin: 0 0 1.5rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.hero-visual {
    position: relative;
    height: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* AI Image Container with Glows */
.ai-image-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navy glow behind image */
.image-glow-navy {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(15, 43, 91, 0.4), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: glow-breathe 4s ease-in-out infinite;
}

/* Golden glow behind image */
.image-glow-golden {
    position: absolute;
    inset: -25px;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.25), transparent 60%);
    border-radius: 50%;
    z-index: 0;
    animation: glow-breathe 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Hero image styling */
.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    animation: image-float 7s ease-in-out infinite;
    transition: transform 300ms ease;
    filter: drop-shadow(0 20px 50px rgba(15, 43, 91, 0.2));
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Floating image animation */
@keyframes image-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-25px);
    }
}

/* Breathing glow animation */
@keyframes glow-breathe {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.08);
    }
}

/* Floating Glass Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-navy);
    box-shadow: 0 8px 24px rgba(15, 43, 91, 0.15);
    backdrop-filter: blur(12px);
    animation: badge-float 3.5s ease-in-out infinite;
    z-index: 2;
}

.badge-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

/* Badge positioning - arranged around image */
.badge-1 {
    top: 5%;
    left: -12%;
    animation-delay: 0s;
}

.badge-2 {
    top: 22%;
    right: -8%;
    animation-delay: 0.35s;
}

.badge-3 {
    top: 50%;
    right: -10%;
    animation-delay: 0.7s;
}

.badge-4 {
    bottom: 22%;
    right: -8%;
    animation-delay: 1.05s;
}

.badge-5 {
    bottom: 15%;
    left: -8%;
    animation-delay: 1.4s;
}

.badge-6 {
    bottom: 35%;
    left: -12%;
    animation-delay: 1.75s;
}

/* Badge float animation */
@keyframes badge-float {

    0%,
    100% {
        transform: translateY(0px);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-12px);
        opacity: 1;
    }
}

@keyframes badge-float {

    0%,
    100% {
        transform: translateY(0px);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-15px);
        opacity: 1;
    }
}

/* Product Preview Card */
.product-preview-card {
    position: absolute;
    bottom: -50px;
    right: 15px;
    width: 260px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 195, 0, 0.25);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(11, 31, 58, 0.12);
    backdrop-filter: blur(8px);
    animation: card-slide-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: transform 300ms ease, box-shadow 300ms ease;
    z-index: 5;
}

.product-preview-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 48px rgba(255, 195, 0, 0.2);
}

.card-header {
    padding: 1rem;
    background: linear-gradient(90deg, rgba(255, 195, 0, 0.08), rgba(37, 99, 235, 0.06));
    border-bottom: 1px solid rgba(255, 195, 0, 0.15);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.result-label {
    color: var(--muted);
    font-weight: 600;
}

.result-value {
    color: var(--brand-navy);
    font-weight: 700;
    font-size: 1rem;
}

.result-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(90deg, rgba(255, 195, 0, 0.15), rgba(16, 185, 129, 0.15));
    border-radius: 6px;
    color: #10B981;
    font-weight: 700;
    font-size: 0.85rem;
}

@keyframes card-slide-in {
    0% {
        opacity: 0;
        transform: translateY(30px) translateX(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

.page-hero,
.dashboard-hero,
.form-layout,
.split-section,
.footer-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.hero h1,
.page-hero h1,
.form-layout h1,
.dashboard-hero h1 {
    max-width: 11ch;
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(2.6rem, 6.2vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.hero p,
.page-hero p,
.form-layout p,
.split-section p,
.section-heading p {
    max-width: 44rem;
    color: var(--muted);
    font-size: 1.02rem;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--brand-navy) !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.button,
button.button {
    display: inline-flex;
    min-height: 2.85rem;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.1rem;
    color: var(--brand-navy);
    background: var(--brand-yellow);
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(255, 195, 0, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
button.button:hover {
    background: #E6B000;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(255, 195, 0, 0.28);
}

.button-secondary,
.button-light {
    color: var(--brand-navy);
    background: var(--bg);
    border: 1px solid var(--border);
    box-shadow: none;
}

.hero-panel,
.stat-stack,
.content-panel,
.lead-form,
.metric-grid article,
.article-list article,
.article-list-item,
.image-preview,
.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-list-item {
    padding: 1rem;
    margin-bottom: 1rem;
}

.image-preview {
    display: block;
    margin: 1rem 0;
    max-width: 320px;
}

.image-preview img {
    width: 100%;
    border-radius: var(--radius);
}

.button-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (max-width: 720px) {
    .button-row {
        grid-template-columns: 1fr;
    }
}

.why-hero {
    gap: clamp(1.6rem, 4vw, 3rem);
}

.why-hero-panel {
    display: grid;
    gap: 1.1rem;
    padding: 1.2rem;
    overflow: hidden;
}

.why-logo {
    width: min(240px, 70%);
    max-width: 100%;
    height: auto;
}

.world-map-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: calc(var(--radius) + 0.3rem);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 195, 0, 0.14));
    border: 1px solid rgba(37, 99, 235, 0.16);
}

.world-map-glow {
    position: absolute;
    inset: auto auto -2rem -2rem;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 68%);
    animation: pulseGlow 5.5s ease-in-out infinite;
}

.world-map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: driftMap 7.5s ease-in-out infinite;
}

.map-badge {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.45rem 0.75rem;
    color: var(--brand-navy);
    background: rgba(255, 255, 255, 0.86);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid rgba(37, 99, 235, 0.14);
}

/* =============================================
   BUILD 1: HERO ANIMATIONS + SERVICE ICONS
   ============================================= */

.hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
    padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.float-shape-1 {
    animation: float-shape-1-anim 8s ease-in-out infinite;
}

.float-shape-2 {
    animation: float-shape-2-anim 10s ease-in-out infinite;
}

.float-shape-3 {
    animation: float-shape-3-anim 9s ease-in-out infinite;
}

.float-shape-4 {
    animation: float-shape-4-anim 11s ease-in-out infinite;
}

.float-shape-5 {
    animation: float-shape-5-anim 7s ease-in-out infinite;
}

.hero-content,
.hero-panel {
    position: relative;
    z-index: 1;
}

.button-glow {
    position: relative;
    background: var(--brand-yellow);
    box-shadow: 0 0 20px rgba(255, 195, 0, 0.4), 0 10px 24px rgba(255, 195, 0, 0.22);
}

.button-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    background: linear-gradient(45deg, transparent, rgba(255, 195, 0, 0.5), transparent);
    opacity: 0;
    animation: glow-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

.button-glow:hover {
    box-shadow: 0 0 30px rgba(255, 195, 0, 0.6), 0 14px 28px rgba(255, 195, 0, 0.28);
}

/* Solution Pill Icon Styling */
.solution-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.solution-icon {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--brand-yellow);
    flex-shrink: 0;
    animation: icon-spin 20s linear infinite;
}

.solution-pill:hover .solution-icon {
    animation: icon-bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1 reverse, icon-spin 20s linear infinite;
}

.solution-pill-more .solution-icon {
    animation: icon-arrow-slide 1.5s ease-in-out infinite;
}

/* =============================================
   BUILD 1: KEYFRAME ANIMATIONS
   ============================================= */

@keyframes float-shape-1-anim {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    25% {
        transform: translateY(-20px) translateX(10px);
    }

    50% {
        transform: translateY(0px) translateX(20px);
    }

    75% {
        transform: translateY(20px) translateX(10px);
    }
}

@keyframes float-shape-2-anim {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(15px) rotate(10deg);
    }

    50% {
        transform: translateY(0px) rotate(20deg);
    }

    75% {
        transform: translateY(-15px) rotate(10deg);
    }
}

@keyframes float-shape-3-anim {

    0%,
    100% {
        transform: translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateX(-15px) rotate(-8deg);
    }

    50% {
        transform: translateX(0px) rotate(0deg);
    }

    75% {
        transform: translateX(15px) rotate(8deg);
    }
}

@keyframes float-shape-4-anim {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    25% {
        transform: translateY(-18px) scale(1.05);
    }

    50% {
        transform: translateY(0px) scale(1);
    }

    75% {
        transform: translateY(18px) scale(0.95);
    }
}

@keyframes float-shape-5-anim {

    0%,
    100% {
        transform: rotate(0deg) translateX(0px);
    }

    25% {
        transform: rotate(10deg) translateX(-12px);
    }

    50% {
        transform: rotate(20deg) translateX(0px);
    }

    75% {
        transform: rotate(10deg) translateX(12px);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes icon-spin {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

@keyframes icon-bounce {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.2) rotate(-15deg);
    }

    50% {
        transform: scale(1.3) rotate(0deg);
    }

    75% {
        transform: scale(1.2) rotate(15deg);
    }
}

@keyframes icon-arrow-slide {

    0%,
    100% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(6px);
    }
}

/* =============================================
   BUILD 2: STAT VISUALIZATION
   (Progress bars, color-coded stats)
   ============================================= */

.hero-panel-card {
    position: relative;
    overflow: hidden;
}

.stat-progress-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

.stat-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    transition: width 50ms linear;
    z-index: 0;
}

/* Color-coded stat cards */
.hero-stat-accuracy .stat-progress-bar {
    background: linear-gradient(90deg, rgba(255, 195, 0, 0.25), rgba(255, 195, 0, 0.15));
    animation: progress-fill-98 2000ms ease-out forwards;
}

.hero-stat-documents .stat-progress-bar {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.25), rgba(37, 99, 235, 0.15));
    animation: progress-fill-42 2000ms ease-out forwards;
}

.hero-stat-readiness .stat-progress-bar {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.15));
    animation: progress-fill-100 2000ms ease-out forwards;
}

/* Accent top border for each stat card */
.hero-stat-accuracy {
    border-top: 3px solid var(--brand-yellow);
}

.hero-stat-documents {
    border-top: 3px solid var(--accent-blue);
}

.hero-stat-readiness {
    border-top: 3px solid #10B981;
}

/* Ensure content appears above progress bar */
.hero-panel-card span,
.hero-panel-card strong {
    position: relative;
    z-index: 1;
}

/* Progress bar fill animations synchronized with counters */
@keyframes progress-fill-98 {
    0% {
        width: 0%;
    }

    100% {
        width: 98%;
    }
}

@keyframes progress-fill-42 {
    0% {
        width: 0%;
    }

    100% {
        width: 42%;
    }
}

@keyframes progress-fill-100 {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* =============================================
   BUILD 3: STAGGERED ANIMATIONS + POLISH
   (Reveal cards, hover effects, section dividers)
   ============================================= */

/* Staggered card reveal animations */
.hero-panel-card {
    opacity: 0;
    animation: card-slide-up 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-panel-card:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-panel-card:nth-child(2) {
    animation-delay: 0.25s;
}

.hero-panel-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Enhanced card hover effects */
.hero-panel-card {
    transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-panel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 31, 58, 0.15);
    border-color: rgba(255, 195, 0, 0.2);
}

.hero-stat-accuracy:hover {
    background: rgba(255, 195, 0, 0.04);
}

.hero-stat-documents:hover {
    background: rgba(37, 99, 235, 0.04);
}

.hero-stat-readiness:hover {
    background: rgba(16, 185, 129, 0.04);
}

/* Animated intro-stats row */
.intro-stat {
    opacity: 0;
    animation: stat-fade-in 0.5s ease-out forwards;
}

.intro-stat:nth-child(1) {
    animation-delay: 0.2s;
}

.intro-stat:nth-child(2) {
    animation-delay: 0.35s;
}

.intro-stat:nth-child(3) {
    animation-delay: 0.5s;
}

/* Section divider animation */
.section-heading {
    position: relative;
}

.section-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-yellow), transparent);
    animation: divider-extend 0.8s ease-out forwards;
}

/* Smooth button transitions */
.button,
button.button {
    position: relative;
    overflow: hidden;
}

.button::after,
button.button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    border-radius: inherit;
    pointer-events: none;
    transition: opacity 300ms ease;
}

.button:active::after,
button.button:active::after {
    opacity: 1;
}

/* Service solution card animations */
.solution-pill {
    opacity: 0;
    animation: pill-slide-right 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.solution-pill:nth-child(2) {
    animation-delay: 0.1s;
}

.solution-pill:nth-child(3) {
    animation-delay: 0.2s;
}

.solution-pill:nth-child(4) {
    animation-delay: 0.3s;
}

.solution-pill:nth-child(5) {
    animation-delay: 0.4s;
}

.solution-pill {
    transition: all 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.solution-pill:hover {
    transform: translateX(4px);
}

/* =============================================
   BUILD 3: KEYFRAME ANIMATIONS
   ============================================= */

@keyframes card-slide-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stat-fade-in {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes divider-extend {
    0% {
        width: 0%;
    }

    100% {
        width: 60px;
    }
}

/* =============================================
   PHASE 1: METRIC COUNTERS + PROGRESS BARS
   (Data credibility layer for Sankhya AI page)
   ============================================= */

@keyframes progress-metric-1 {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes progress-metric-2 {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes progress-metric-3 {
    0% {
        width: 0%;
    }

    100% {
        width: 96%;
    }
}

@keyframes progress-metric-4 {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes pill-slide-right {
    0% {
        opacity: 0;
        transform: translateX(-15px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.metric-card {
    display: grid;
    gap: 0.2rem;
    padding: 0.95rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.metric-number {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--brand-navy);
}

.metric-label {
    color: var(--muted);
    font-size: 0.86rem;
}

.why-split-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.4rem;
    align-items: start;
}

.challenge-list,
.platform-proof {
    display: grid;
    gap: 0.9rem;
}

.challenge-list article,
.platform-proof article {
    padding: 1rem 1.1rem;
    background: rgba(37, 99, 235, 0.04);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--radius);
}

.challenge-list article strong,
.platform-proof article strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--brand-navy);
}

.capability-grid,
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.capability-card,
.industry-card,
.cta-panel {
    padding: 1.2rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.capability-card:hover,
.industry-card:hover,
.challenge-list article:hover,
.platform-proof article:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(11, 31, 58, 0.12);
    border-color: rgba(37, 99, 235, 0.24);
}

.capability-card h3,
.industry-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    color: var(--brand-navy);
}

.cta-panel {
    display: grid;
    gap: 0.9rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(255, 195, 0, 0.14));
}

.news-portal-shell {
    display: grid;
    gap: 1.25rem;
}

.news-category-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.news-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.9rem;
    color: var(--brand-navy);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
}

.news-chip.active,
.news-chip:hover {
    color: var(--brand-navy);
    background: rgba(255, 195, 0, 0.22);
    border-color: rgba(255, 195, 0, 0.55);
}

.news-featured-panel {
    padding-top: 2rem;
}

.news-featured-article {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.5rem;
    align-items: center;
}

.news-featured-article img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    max-height: 420px;
}

.news-featured-copy {
    display: grid;
    gap: 0.9rem;
}

.news-featured-copy h2 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.1;
}

.portal-hero {
    align-items: stretch;
}

.customer-profile-card {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.avatar-placeholder {
    width: 4.5rem;
    height: 4.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-navy);
    background: linear-gradient(135deg, rgba(255, 195, 0, 0.35), rgba(37, 99, 235, 0.16));
}

.profile-meta-grid {
    display: grid;
    gap: 0.65rem;
}

.profile-meta-item {
    display: grid;
    gap: 0.25rem;
    padding: 0.75rem 0.9rem;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 16px;
}

.profile-meta-item span {
    color: var(--muted);
    font-size: 0.82rem;
}

.profile-meta-item strong {
    color: var(--brand-navy);
    font-size: 1rem;
}

.dashboard-main {
    display: grid;
    gap: 1.5rem;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.portal-action-card {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    text-decoration: none;
    color: var(--brand-navy);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.portal-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(11, 31, 58, 0.12);
}

.portal-action-card span {
    color: var(--muted);
    font-size: 0.82rem;
}

.portal-action-card strong {
    font-size: 1rem;
}

.portal-activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.portal-activity-card {
    padding: 1rem;
    background: rgba(37, 99, 235, 0.04);
    border-radius: 18px;
    border: 1px solid rgba(11, 31, 58, 0.08);
    display: grid;
    gap: 0.65rem;
}

.portal-activity-card strong {
    font-size: 1rem;
    color: var(--brand-navy);
}

.portal-activity-card p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.service-group {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.service-group-title {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    color: var(--brand-navy);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 195, 0, 0.18);
    color: var(--brand-navy);
    font-size: 0.82rem;
}

.news-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.news-pagination a,
.news-pagination span {
    display: inline-flex;
    min-width: 2.6rem;
    min-height: 2.6rem;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    color: var(--brand-navy);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    text-decoration: none;
}

.news-pagination span {
    color: var(--brand-navy);
    background: rgba(255, 195, 0, 0.22);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    color: var(--muted);
    font-size: 0.92rem;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.article-detail .article-content {
    margin-top: 1.5rem;
}

@keyframes driftMap {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.01);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@media (max-width: 1024px) {

    .capability-grid,
    .industry-grid,
    .metric-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {

    .news-featured-article,
    .why-split-grid,
    .capability-grid,
    .industry-grid,
    .metric-row {
        grid-template-columns: 1fr;
    }
}

.hero-panel {
    display: grid;
    gap: 0.8rem;
    padding: 1.4rem;
}

.hero-panel-card {
    padding: 0.95rem 1rem;
    background: linear-gradient(135deg, rgba(255, 195, 0, 0.14), rgba(37, 99, 235, 0.08));
    border-radius: 14px;
}

.hero-panel-card span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
}

.hero-panel strong,
.stat-stack strong,
.metric-grid strong {
    display: block;
    margin-top: 0.25rem;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(1.8rem, 3.3vw, 2.8rem);
    line-height: 1;
}

.intro-band,
.section-heading,
.newsletter,
.content-panel,
.article-detail {
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: 2rem;
    align-items: start;
}

.intro-panel {
    display: grid;
    gap: 1rem;
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 26px;
    box-shadow: 0 26px 48px rgba(11, 31, 58, 0.08);
}

.intro-panel-header {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}

.intro-panel-header p {
    margin: 0;
    color: var(--brand-navy);
    font-size: 0.98rem;
    line-height: 1.6;
}

.intro-panel-list {
    display: grid;
    gap: 0.9rem;
}

.intro-panel-item {
    padding: 1rem 1.1rem;
    background: #FFFFFF;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 18px;
}

.intro-panel-item strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1rem;
    color: var(--brand-navy);
}

.intro-panel-item span {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


.feature-grid {
    gap: 1.5rem;
}

.feature-grid article {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 24px;
    padding: 1.6rem;
}

.feature-grid article h3 {
    margin-top: 1rem;
}

.feature-grid article p {
    margin: 0.75rem 0 0;
    color: var(--muted);
}

.split-section {
    position: relative;
    background: linear-gradient(90deg, #FFFFFF 56%, rgba(255, 195, 0, 0.12) 100%);
    border-radius: 28px;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.split-section>div:first-child {
    padding-right: 1rem;
}

.split-section>div:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-stack {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.stat-stack strong {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    color: var(--brand-navy);
}

.stat-stack span {
    display: block;
    margin-top: 1.2rem;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 20rem;
    line-height: 1.5;
}

.section-heading {
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: 0.5rem;
}

.section-heading.solutions-panel {
    display: grid;
    grid-template-columns: 1fr minmax(18rem, 22rem);
    gap: 2rem;
    align-items: center;
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
    background: linear-gradient(180deg, rgba(250, 251, 255, 0.98), rgba(255, 255, 255, 1));
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 32px;
    box-shadow: 0 28px 60px rgba(37, 99, 235, 0.08);
}

.solution-text h2 {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.05;
    max-width: 42rem;
}

.solution-text p {
    margin: 1.1rem 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 44rem;
}

.solutions-sidebar {
    display: grid;
    gap: 0.9rem;
    justify-self: end;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 195, 0, 0.22);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.08);
}

.solutions-sidebar .eyebrow {
    margin-bottom: 1rem;
}

.solution-pill {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: var(--brand-yellow);
    color: var(--brand-navy);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 16px 34px rgba(255, 195, 0, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.solution-pill:hover {
    transform: translateY(-1px);
    background: #E6B000;
    box-shadow: 0 20px 36px rgba(255, 195, 0, 0.28);
}

.solution-pill-more {
    background: rgba(255, 195, 0, 0.16);
    color: var(--brand-navy);
}

.solution-pill-more:hover {
    background: rgba(255, 195, 0, 0.26);
}

@media (max-width: 900px) {
    .section-heading.solutions-panel {
        grid-template-columns: 1fr;
    }

    .solutions-sidebar {
        justify-self: stretch;
        padding: 1rem;
    }

    .solution-pill {
        justify-content: center;
    }
}

.service-grid {
    gap: 1.5rem;
    padding-top: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    background: #FFFFFF;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 30px;
    box-shadow: 0 28px 50px rgba(11, 31, 58, 0.08);
    padding: 2rem;
    min-height: 20rem;
    display: grid;
    gap: 1.25rem;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 70px rgba(11, 31, 58, 0.12);
    border-color: rgba(255, 195, 0, 0.2);
}

.service-card-icon,
.service-card span {
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 195, 0, 0.16);
    color: var(--brand-navy);
}

.service-card--ai-hs-classification .service-card-icon {
    background: linear-gradient(135deg, rgba(255, 230, 153, 0.8), rgba(37, 99, 235, 0.14));
}

.service-card--logistics-management .service-card-icon {
    background: linear-gradient(135deg, rgba(215, 237, 255, 0.9), rgba(37, 99, 235, 0.16));
}

.service-card--cross-border-compliance .service-card-icon {
    background: linear-gradient(135deg, rgba(225, 249, 228, 0.9), rgba(37, 99, 235, 0.16));
}

.service-card h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2vw, 1.9rem);
}

.service-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
}

.service-card a:hover {
    text-decoration: underline;
}

@media (max-width: 1080px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.industry-section {
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 5rem);
    background: transparent;
}

.industry-heading h2 {
    margin-top: 0.75rem;
    max-width: 45rem;
}

.industry-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.75rem;
}

.industry-card {
    background: #FFFFFF;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(11, 31, 58, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.industry-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(11, 31, 58, 0.08);
}

.industry-card h3 {
    margin-bottom: 0.75rem;
}

.industry-card p {
    margin: 0;
    color: var(--muted);
}

.contact-cta {
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
    margin: 0 clamp(1rem, 5vw, 5rem) 2rem;
    background: linear-gradient(135deg, var(--brand-navy), #17324f);
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(11, 31, 58, 0.16);
    color: #ffffff;
}

.contact-cta h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.contact-cta .button,
.contact-cta .button-secondary {
    margin-top: 1.5rem;
}

.contact-cta .button:hover,
.contact-cta .button-secondary:hover {
    transform: translateY(-2px);
}

.service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.service-tab-button {
    border: 1px solid rgba(11, 31, 58, 0.12);
    background: #ffffff;
    color: var(--brand-navy);
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.service-tab-button.active,
.service-tab-button:hover {
    background: var(--brand-yellow);
    border-color: rgba(255, 195, 0, 0.55);
}

.service-description {
    display: none;
    margin-top: 2rem;
}

.service-description.active {
    display: block;
}

.industry-card ul,
.service-card ul {
    margin-top: 1rem;
    padding-left: 1.25rem;
}

.industry-card ul li,
.service-card ul li {
    margin-bottom: 0.65rem;
    color: var(--muted);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(11, 31, 58, 0.72);
    z-index: 60;
}

.modal-backdrop.open {
    display: flex;
}

.modal-dialog {
    width: min(100%, 34rem);
    background: #ffffff;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 32px 80px rgba(11, 31, 58, 0.22);
    position: relative;
}

.modal-dialog h2 {
    margin-top: 0.5rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-dialog p:last-of-type {
    margin-bottom: 1.5rem;
}

.intro-band {
    color: var(--bg);
    background: linear-gradient(135deg, var(--brand-navy), #17324f);
}

.intro-band h2,
.split-section h2,
.newsletter h2,
.content-panel h2 {
    max-width: 14ch;
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
}

/* Gradient text for section headings */
.section-heading h2 {
    max-width: 14ch;
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    background: linear-gradient(90deg, #2563EB, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #10B981;
    letter-spacing: -0.02em;
}

.feature-grid,
.service-grid,
.metric-grid,
.admin-grid,
.article-list,
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.feature-grid article,
.service-card,
.article-list article,
.metric-grid article {
    padding: 1.5rem;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-grid article:hover,
.service-card:hover,
.article-list article:hover,
.metric-grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 195, 0, 0.35);
    box-shadow: var(--shadow-hover);
}

.feature-icon,
.service-card span {
    display: inline-grid;
    width: 2.7rem;
    height: 2.7rem;
    margin-bottom: 1rem;
    place-items: center;
    color: var(--brand-navy);
    background: linear-gradient(135deg, var(--brand-yellow), #FFE28A);
    border-radius: 12px;
    font-weight: 700;
}

.service-grid.wide,
.article-list,
.admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card a,
.article-list a,
.text-link {
    color: var(--accent-blue);
    font-weight: 700;
}

.compact {
    grid-template-columns: 1fr;
    padding-bottom: 2rem;
}

.compact h1 {
    max-width: 16ch;
}

.stat-stack {
    padding: 2rem;
}

.newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg, #FFF6D6, #FFFFFF);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 2rem clamp(1rem, 5vw, 5rem) 0;
}

.newsletter-copy {
    max-width: 32rem;
}

.newsletter-form {
    display: flex;
    gap: 0.8rem;
    align-items: end;
}

label {
    display: grid;
    gap: 0.35rem;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand-yellow);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.16);
}

textarea {
    border-radius: 16px;
}

.lead-form {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}

.auth-page {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.9fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    min-height: calc(100vh - 7rem);
    align-items: center;
    padding: clamp(2rem, 4vw, 4rem);
}

.auth-page:not(.auth-split) .auth-panel {
    display: grid;
    gap: 1.4rem;
    padding: clamp(2.25rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(255, 195, 0, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 32px;
    box-shadow: 0 28px 80px rgba(11, 31, 58, 0.08);
}

.auth-page.auth-split {
    align-items: stretch;
}

.auth-page.auth-split>.auth-panel {
    display: grid;
    gap: 1.4rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.auth-page.auth-split>.auth-card {
    padding: 2rem;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    box-shadow: 0 32px 90px rgba(11, 31, 58, 0.08);
}

.auth-panel h1 {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    line-height: 1;
}

.auth-panel p {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.auth-benefits {
    display: grid;
    gap: 1rem;
}

.auth-benefit {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 31, 58, 0.08);
}

.auth-benefit strong {
    display: block;
    font-size: 1rem;
    color: var(--brand-navy);
}

.auth-benefit span {
    color: var(--muted);
    font-size: 0.95rem;
}

.auth-card {
    padding: 2rem;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    box-shadow: 0 32px 90px rgba(11, 31, 58, 0.08);
}

.auth-form {
    width: 100%;
    display: grid;
    gap: 1.3rem;
}

.auth-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--brand-navy);
    font-weight: 700;
}

.auth-form input {
    border-radius: 18px;
    padding: 0.95rem 1rem;
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.auth-actions a,
.auth-footer a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 700;
}

.auth-actions a:hover,
.auth-footer a:hover {
    text-decoration: underline;
}

.auth-footer {
    display: grid;
    gap: 0.7rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.auth-footer span {
    display: block;
}

@media (max-width: 900px) {
    .auth-page {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .auth-panel {
        order: 2;
    }
}

.success,
.error,
.hint {
    margin: 0;
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 0.95rem;
}

.success {
    color: #145c32;
    background: #ddf7e7;
}

.error {
    color: #7c1d1d;
    background: #fde2e2;
}

.hint {
    color: var(--muted);
    background: var(--surface);
}

.contact-strip {
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.dashboard-hero {
    padding-bottom: 1rem;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

th,
td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.lead-card {
    display: grid;
    gap: 0.4rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.article-detail {
    max-width: 58rem;
}

.article-detail h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1;
}

.contact-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
    margin: 0 clamp(1rem, 5vw, 5rem) 2rem;
    color: var(--bg);
    background: linear-gradient(135deg, var(--brand-navy), #17324f);
    border-radius: var(--radius);
}

.contact-cta h2 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.12;
}

.contact-cta .button-secondary {
    color: var(--brand-navy);
    background: var(--bg);
    border: 0;
    box-shadow: none;
}

.check-list {
    font-family: Verdana, Geneva, sans-serif;
}

.site-footer {
    color: var(--bg);
    background: linear-gradient(135deg, var(--brand-navy), #10253f);
}

.footer-cta {
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-cta h2 {
    max-width: 18ch;
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 1.4rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.footer-grid h3 {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-panel-card,
.feature-grid article,
.service-card,
.industry-card,
.split-section,
.newsletter,
.contact-cta,
.intro-band,
.section-heading {
    will-change: opacity, transform;
}

.hero-panel-card {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hero-panel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(11, 31, 58, 0.12);
}

.hero-panel-card strong,
.stat-stack strong {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

.footer-grid a {
    display: block;
    margin: 0.35rem 0;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--brand-yellow);
}

.legal {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 5vw, 5rem) 2rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
}

@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 350px;
        margin-top: 2rem;
    }

    .ai-image-container {
        max-width: 380px;
    }

    .hero-image {
        max-width: 100%;
    }

    .product-preview-card {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }

    .floating-badge {
        position: static;
        width: fit-content;
        margin: 0.5rem;
        animation: none;
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
        padding: 0.6rem 0.8rem;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 10px;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .hero,
    .page-hero,
    .dashboard-hero,
    .form-layout,
    .split-section,
    .footer-cta,
    .feature-grid,
    .service-grid,
    .service-grid.wide,
    .article-list,
    .admin-grid,
    .metric-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .page-hero h1,
    .form-layout h1,
    .dashboard-hero h1 {
        font-size: clamp(2.4rem, 14vw, 3.8rem);
    }

    .newsletter,
    .newsletter-form,
    .contact-cta {
        display: grid;
        align-items: stretch;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 380px;
        margin-top: 1.5rem;
    }
}

@media (max-width: 640px) {
    .page-hero-modern {
        padding: 2rem 1rem 1.5rem;
    }

    .hero-container {
        padding: 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-summary {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .hero-actions {
        margin-top: 1.5rem;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 320px;
        margin-top: 1rem;
    }

    .ai-image-container {
        max-width: 280px;
    }

    .hero-image {
        max-width: 100%;
    }

    .image-glow-navy,
    .image-glow-golden {
        display: none;
    }

    .floating-badge {
        position: static;
        display: inline-block;
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        margin: 0.4rem;
    }

    .badge-icon {
        font-size: 0.9rem;
    }

    .product-preview-card {
        width: 100%;
        max-width: 100%;
        position: static;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding: 0.8rem 1rem;
    }

    .hero,
    .page-hero,
    .dashboard-hero,
    .form-layout,
    .split-section,
    .footer-cta {
        padding: 2.25rem 1rem;
    }

    .feature-grid,
    .service-grid,
    .article-list,
    .metric-grid,
    .admin-grid,
    .footer-grid,
    .intro-band,
    .section-heading,
    .newsletter,
    .content-panel,
    .article-detail {
        padding: 2rem 1rem;
    }

    .hero-actions,
    .contact-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}

/* =============================================
   SERVICE PAGE: SPLIT HEADING + CHECKLIST LAYOUT
   ============================================= */

/* Split layout: heading left, list right */
.svc-split-section {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.svc-split-heading {
    position: sticky;
    top: 5rem;
}

.svc-split-heading h2 {
    margin: 0.5rem 0 1.2rem;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.15;
    color: var(--brand-navy);
}

.svc-split-lead {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.2rem;
}

.svc-split-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.2rem;
}

.svc-split-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.svc-split-stat strong {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-navy);
}

.svc-split-stat span {
    font-size: 0.82rem;
    color: var(--muted);
}

/* Checklist rows */
.svc-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.svc-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(11, 31, 58, 0.07);
    transition: background 200ms ease;
}

.svc-checklist li:first-child {
    border-top: 1px solid rgba(11, 31, 58, 0.07);
}

.svc-checklist li:hover {
    background: rgba(255, 195, 0, 0.03);
    padding-left: 0.5rem;
    border-radius: 8px;
}

.svc-check {
    flex-shrink: 0;
    width: 1.6rem;
    height: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 195, 0, 0.15);
    color: var(--brand-navy);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    margin-top: 0.1rem;
}

.svc-checklist li>div>strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.3rem;
}

.svc-checklist li>div>p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Compact variant for tabs */
.svc-checklist--compact li {
    padding: 0.85rem 0;
}

/* Tab body: intro text left, checklist right */
.svc-tab-body {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
    margin-top: 1.5rem;
}

.svc-tab-intro h3 {
    margin: 0 0 0.75rem;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: 1.35rem;
    color: var(--brand-navy);
}

.svc-tab-intro p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.svc-tabs-heading {
    margin-bottom: 1.5rem;
}

.svc-tabs-heading h2 {
    margin: 0.4rem 0 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--brand-navy);
}

/* Industry 2-column list */
.svc-industry-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.svc-industry-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 1rem 1rem 0;
    border-bottom: 1px solid rgba(11, 31, 58, 0.07);
    transition: background 200ms ease;
}

.svc-industry-list li:nth-child(odd) {
    border-right: 1px solid rgba(11, 31, 58, 0.07);
    padding-right: 1.5rem;
}

.svc-industry-list li:nth-child(even) {
    padding-left: 1.5rem;
}

.svc-industry-dot {
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--brand-yellow);
    margin-top: 0.45rem;
}

.svc-industry-list li strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.2rem;
    white-space: nowrap;
}

.svc-industry-list li span {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
}

/* FAQ list */
.svc-faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.svc-faq-list li {
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(11, 31, 58, 0.07);
}

.svc-faq-list li:first-child {
    border-top: 1px solid rgba(11, 31, 58, 0.07);
}

.svc-faq-list li strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.35rem;
}

.svc-faq-list li p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 860px) {

    .svc-split-section,
    .svc-tab-body {
        grid-template-columns: 1fr;
    }

    .svc-split-heading {
        position: static;
    }

    .svc-industry-list {
        grid-template-columns: 1fr;
    }

    .svc-industry-list li:nth-child(odd) {
        border-right: none;
        padding-right: 0;
    }

    .svc-industry-list li:nth-child(even) {
        padding-left: 0;
    }
}

/* =============================================
   WORKFLOW STEPS SECTION
   ============================================= */

.svc-workflow-section {
    background: linear-gradient(135deg, var(--brand-navy) 0%, #17324f 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 24px 60px rgba(11, 31, 58, 0.15) !important;
    border-radius: 24px;
    color: #fff;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
}

.svc-workflow-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.svc-workflow-header .eyebrow {
    color: var(--brand-yellow) !important;
}

.svc-workflow-header h2 {
    color: #fff;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    margin: 0.5rem 0 0;
}

.svc-workflow-lead-inline {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

.svc-workflow-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
}

.svc-workflow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    margin-top: 2.5rem;
    opacity: 0.7;
    animation: arrow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(4px);
    }
}

.svc-workflow-step {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    opacity: 0;
    animation: step-reveal 0.6s ease-out forwards;
    animation-delay: var(--step-delay, 0s);
    transition: background 250ms ease, border-color 250ms ease, transform 250ms ease;
}

.svc-workflow-step:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 195, 0, 0.35);
    transform: translateY(-4px);
}

.svc-step-ai {
    background: rgba(255, 195, 0, 0.1);
    border-color: rgba(255, 195, 0, 0.3);
    box-shadow: 0 0 40px rgba(255, 195, 0, 0.08);
}

@keyframes step-reveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.svc-step-number {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--brand-yellow);
    opacity: 0.8;
}

.svc-step-icon {
    font-size: 1.8rem;
    line-height: 1;
    margin: 0.2rem 0;
}

.svc-workflow-step h3 {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.svc-workflow-step p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.svc-step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.svc-step-tags span {
    padding: 0.25rem 0.65rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 860px) {
    .svc-workflow-steps {
        grid-template-columns: 1fr;
    }

    .svc-workflow-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
        padding: 0.5rem 0;
    }
}

/* =============================================
   CAPABILITIES GRID
   ============================================= */

.svc-caps-section {
    background: var(--surface, #f8f9fc);
    border-radius: 24px;
}

.svc-caps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(11, 31, 58, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.svc-cap-card {
    background: #fff;
    padding: 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: background 200ms ease;
}

.svc-cap-card:hover {
    background: rgba(255, 195, 0, 0.04);
}

.svc-cap-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.svc-cap-card strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.svc-cap-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 768px) {
    .svc-caps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .svc-caps-grid {
        grid-template-columns: 1fr;
    }
}

/* AI bot widget styles */
#ai-bot {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    font-family: inherit;
}

#ai-toggle {
    background: var(--brand-yellow);
    color: var(--brand-navy);
    border: 0;
    border-radius: 999px;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(11, 31, 58, 0.12);
}

#ai-window {
    width: 320px;
    max-width: calc(100vw - 2rem);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(11, 31, 58, 0.12);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.ai-messages {
    height: 220px;
    overflow-y: auto;
    padding: 0.8rem 1rem;
    background: #fbfdff;
}

.ai-msg {
    margin-bottom: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
}

.ai-msg.bot {
    background: #fff;
    color: var(--text);
}

.ai-msg.user {
    background: var(--brand-yellow);
    color: var(--brand-navy);
    text-align: right;
}

.ai-suggestions {
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    flex-wrap: wrap;
}

.ai-sugg {
    background: #fff;
    border: 1px solid var(--border);
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    cursor: pointer;
}

.ai-form {
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem;
    border-top: 1px solid var(--border);
    background: #fff;
}

.ai-form input {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.ai-form button {
    background: var(--accent-blue);
    color: white;
    border: 0;
    padding: 0 0.8rem;
    border-radius: 6px;
}

@media (max-width:480px) {
    #ai-window {
        width: 92vw;
    }
}