/*
Theme Name: AMR
Description: AMR WordPress theme with advanced mega menu functionality
Version: 1.0
Author: AMR
*/

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.site-main {
    min-height: calc(100vh - 200px);
}

.site-main h2 {
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 20px;
}

.site-main h3 {
    font-size: 1.5rem;
    color: #111827;
    margin: 30px 0 15px 0;
}

.site-main h4 {
    font-size: 1.25rem;
    color: #111827;
    margin: 20px 0 10px 0;
}

.site-main p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
}

.site-main ul, .site-main ol {
    margin: 20px 0;
    padding-left: 30px;
}

.site-main li {
    margin-bottom: 8px;
    color: #4b5563;
}

.site-main a {
    color: #3b82f6;
    text-decoration: none;
}

.site-main a:hover {
    text-decoration: underline;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hero-background-start) 0%, var(--hero-background-end) 100%);
}

.hero-background-media {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.12;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    padding-top: 56px;
    padding-bottom: 56px;
}

.hero-content-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 40px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 32px;
    background: color-mix(in srgb, var(--hero-surface-color) 88%, transparent);
    box-shadow: 0 30px 80px rgba(79, 70, 229, 0.14);
    backdrop-filter: blur(16px);
}

.hero-copy {
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-button-primary {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.18);
}

.hero-button-primary:hover {
    color: #ffffff;
    box-shadow: 0 22px 36px rgba(17, 24, 39, 0.24);
}

.hero-button-secondary {
    background: rgba(255, 255, 255, 0.75);
    color: #111827;
    border: 1px solid rgba(79, 70, 229, 0.14);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.08);
}

.hero-button-secondary:hover {
    color: #111827;
    background: rgba(255, 255, 255, 0.95);
}

.hero-title {
    margin: 0 0 18px;
    color: #111827;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    margin: 0;
    max-width: 540px;
    color: var(--hero-subheading-color);
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.9;
}

.hero-visual-shell {
    position: relative;
    min-height: 480px;
    border-radius: 28px;
    background: linear-gradient(160deg, #0a0f1e 0%, #0d1528 55%, #0b1220 100%);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.12), 0 24px 56px rgba(6, 10, 22, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    isolation: isolate;
    overflow: hidden;
}

.hero-visual-shell::before,
.hero-visual-shell::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    pointer-events: none;
}

.hero-visual-shell::before {
    top: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
    filter: blur(18px);
}

.hero-visual-shell::after {
    right: -24px;
    bottom: -24px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.14) 0%, transparent 65%);
    filter: blur(22px);
}

.hero-robot-scene {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 28px;
}

.hero-robot-scene canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 28px;
}

.hero-floating-card {
    position: absolute;
    z-index: 2;
    min-width: 180px;
    max-width: 220px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
    animation: heroFloat 5.5s ease-in-out infinite;
}

.hero-floating-card-top {
    top: 24px;
    right: 18px;
}

.hero-floating-card-bottom {
    left: 18px;
    bottom: 24px;
    animation-delay: -2.2s;
}

.hero-floating-card-kicker {
    display: block;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-floating-card-value {
    display: block;
    color: #111827;
    font-size: 15px;
    line-height: 1.45;
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.homepage-sections {
    position: relative;
    overflow: hidden;
    padding: 28px 0 96px;
    background:
        radial-gradient(circle at top left, rgba(148, 163, 184, 0.12) 0, rgba(148, 163, 184, 0) 34%),
        radial-gradient(circle at 88% 18%, rgba(226, 232, 240, 0.22) 0, rgba(226, 232, 240, 0) 28%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 34%, #f8fafc 100%);
    isolation: isolate;
}

.homepage-sections::before,
.homepage-sections::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.5;
}

.homepage-sections::before {
    top: 120px;
    left: -120px;
    width: 380px;
    height: 380px;
    background: rgba(148, 163, 184, 0.16);
}

.homepage-sections::after {
    right: -140px;
    bottom: 140px;
    width: 420px;
    height: 420px;
    background: rgba(203, 213, 225, 0.18);
}

.homepage-sections-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.46;
}

.homepage-sections-scene canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.homepage-section {
    position: relative;
    padding: 42px 0;
    z-index: 1;
}

.homepage-section .container {
    position: relative;
    z-index: 1;
}

.homepage-section-trust .container,
.homepage-section-features .container,
.homepage-section-usecases .container,
.homepage-section-testimonials .container {
    padding: 36px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(10px);
}

.homepage-section-trust .container::before,
.homepage-section-features .container::before,
.homepage-section-usecases .container::before,
.homepage-section-testimonials .container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 36px;
    pointer-events: none;
}

.homepage-section-trust .container::before {
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.85) 0%, rgba(255, 255, 255, 0) 30%);
}

.homepage-section-features .container::before {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(255, 255, 255, 0) 36%);
}

.homepage-section-usecases .container::before {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(255, 255, 255, 0) 34%);
}

.homepage-section-testimonials .container::before {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0) 34%);
}

.homepage-section-heading {
    margin-bottom: 40px;
}

.homepage-section-heading-centered {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.homepage-section-heading-split {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
}

.homepage-section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 10px 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.homepage-section-title {
    margin: 0;
    color: #111827;
    font-size: clamp(2.35rem, 4vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.homepage-section-description {
    margin: 14px 0 0;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.85;
    max-width: 680px;
}

.homepage-section-description-split {
    max-width: 500px;
}

.homepage-section-trust .container {
    padding-top: 34px;
    padding-bottom: 30px;
}

.homepage-card-carousel {
    --homepage-carousel-columns: 3;
    position: relative;
    overflow: hidden;
    padding: 14px 0 8px;
}

.homepage-card-carousel-scene {
    position: absolute;
    inset: 56px 0 0;
    border-radius: 30px;
    pointer-events: none;
    opacity: 0.9;
}

.homepage-card-carousel-controls {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.homepage-card-carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.homepage-card-carousel-arrow:hover {
    transform: translateY(-2px);
    border-color: rgba(100, 116, 139, 0.3);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.09);
}

.homepage-card-carousel-arrow.is-disabled,
.homepage-card-carousel-arrow:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.homepage-card-carousel-pagination {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
}

.homepage-card-carousel-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.34);
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, width 0.2s ease;
}

.homepage-card-carousel-dot.is-active {
    width: 28px;
    background: #334155;
}

.homepage-card-carousel-viewport {
    position: relative;
    z-index: 2;
    overflow-x: hidden;
    overflow-y: visible;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 2px 18px;
}

.homepage-card-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.homepage-card-carousel-track {
    display: flex;
    gap: 24px;
}

.homepage-card-carousel-slide {
    flex: 0 0 calc((100% - (24px * (var(--homepage-carousel-columns) - 1))) / var(--homepage-carousel-columns));
    min-width: calc((100% - (24px * (var(--homepage-carousel-columns) - 1))) / var(--homepage-carousel-columns));
    perspective: 1200px;
    scroll-snap-align: start;
}

.homepage-card-carousel-slide .home-logo-card,
.homepage-card-carousel-slide .home-feature-card,
.homepage-card-carousel-slide .home-usecase-card {
    min-height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
}

.homepage-card-carousel:not(.has-multiple-pages) .homepage-card-carousel-controls {
    justify-content: flex-end;
}

.homepage-card-carousel:not(.has-multiple-pages) .homepage-card-carousel-pagination,
.homepage-card-carousel:not(.has-multiple-pages) .homepage-card-carousel-arrow {
    display: none;
}

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

.home-logo-card {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-logo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(100, 116, 139, 0.24);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
}

.home-logo-image {
    display: block;
    width: 100%;
    max-width: min(100%, 260px);
    max-height: 96px;
    height: auto;
    object-fit: contain;
    filter: saturate(1.08);
}

.home-logo-name {
    color: #374151;
    font-size: 15px;
    font-weight: 600;
}

.home-feature-grid,
.home-usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.home-feature-card,
.home-usecase-card {
    position: relative;
    overflow: hidden;
    display: block;
    padding: 36px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(8px);
    text-decoration: none;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-feature-card::before,
.home-usecase-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #334155 0%, #94a3b8 100%);
    opacity: 0.7;
}

.home-feature-card::after,
.home-usecase-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(226, 232, 240, 0.6) 0%, rgba(226, 232, 240, 0) 70%);
    pointer-events: none;
}

.home-feature-card:hover,
.home-usecase-card:hover {
    transform: translateY(-4px);
    border-color: rgba(100, 116, 139, 0.24);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
}

.home-feature-title,
.home-usecase-title {
    margin: 0 0 12px;
    color: #111827;
    font-size: 24px;
    line-height: 1.25;
}

.home-feature-text,
.home-usecase-text {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.85;
}

.home-feature-card-link .home-feature-title,
.home-usecase-card-link .home-usecase-title,
.home-feature-card-link .home-feature-text,
.home-usecase-card-link .home-usecase-text {
    transition: color 0.24s ease;
}

.home-feature-card-link:hover .home-feature-title,
.home-usecase-card-link:hover .home-usecase-title {
    color: #0f172a;
}

.home-feature-card-link:hover .home-feature-text,
.home-usecase-card-link:hover .home-usecase-text {
    color: #334155;
}

.homepage-section-usecases {
    background: transparent;
}

.home-usecase-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
}

.home-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.home-testimonial-card {
    position: relative;
    overflow: hidden;
    margin: 0;
    display: block;
    padding: 34px;
    border: 1px solid rgba(30, 41, 59, 0.1);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.96) 100%);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
    color: #f9fafb;
    text-decoration: none;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-testimonial-card::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.18) 0%, rgba(148, 163, 184, 0) 70%);
    pointer-events: none;
}

.home-testimonial-card:hover {
    transform: translateY(-3px);
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.18);
}

.home-testimonial-quote {
    margin: 0 0 24px;
    font-size: 19px;
    line-height: 1.85;
    color: #eef2ff;
}

.home-testimonial-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-testimonial-media {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 56px;
    padding: 8px 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.home-testimonial-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: contain;
    border: 0;
    background: transparent;
}

.home-testimonial-identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-testimonial-card-link:hover .home-testimonial-author,
.home-testimonial-card-link:hover .home-testimonial-role {
    color: #ffffff;
}

.home-testimonial-author {
    font-size: 15px;
    color: #ffffff;
}

.home-testimonial-role {
    color: #cbd5e1;
    font-size: 14px;
}

.home-cta-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 42px;
    border: 1px solid rgba(51, 65, 85, 0.14);
    border-radius: 32px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 56%, #334155 100%);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.16);
}

.home-cta-panel::before,
.home-cta-panel::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.home-cta-panel::before {
    top: -80px;
    right: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.14) 0%, rgba(148, 163, 184, 0) 70%);
}

.home-cta-panel::after {
    bottom: -110px;
    left: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(100, 116, 139, 0.14) 0%, rgba(100, 116, 139, 0) 68%);
}

.home-cta-copy {
    position: relative;
    z-index: 1;
}

.home-cta-panel .homepage-section-title,
.home-cta-panel .homepage-section-description {
    color: #ffffff;
}

.home-cta-panel .homepage-section-kicker {
    color: #111827;
}

.home-cta-panel .homepage-section-description {
    max-width: 560px;
    opacity: 0.88;
}

.home-cta-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.home-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.2);
}

/* Footer Styles */
.site-footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 72px 0 24px;
    text-align: left;
    color: #6b7280;
    font-size: 14px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 56px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-branding {
    flex: 0 0 260px;
    max-width: 260px;
}

.footer-branding-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 24px;
}

.footer-brand-logo {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 40px;
    height: auto;
}

.footer-brand-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.footer-brand-description {
    margin: 0 0 28px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
    max-width: 240px;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-badge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-badge-image {
    display: block;
    width: auto;
    max-width: 56px;
    max-height: 56px;
    height: auto;
}

.footer-navigation {
    flex: 1;
    min-width: 0;
}

.footer-columns {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px 36px;
}

.footer-column {
    min-width: 0;
}

.footer-column-title {
    display: block;
    margin-bottom: 18px;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-column-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column-link-item {
    margin: 0 0 10px;
}

.footer-column-link {
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s;
}

.footer-column-link:hover {
    color: #111827;
}

.footer-bottom-bar {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.footer-copyright {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

/* Widget Area Styles */
.site-content {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 200px);
}

.content-area {
    flex: 1;
    display: flex;
    gap: 40px;
}

.site-main {
    flex: 1;
    min-width: 0;
}

.widget-area {
    width: 300px;
    flex-shrink: 0;
}

.widget {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f4f6;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    margin-bottom: 8px;
}

.widget a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
}

.widget a:hover {
    color: #111827;
}

/* Single Post Styles */
.single-post-page .container {
    max-width: 1280px;
}

.single-post-page .content-area {
    align-items: flex-start;
    gap: 48px;
}

.single-post-main {
    flex: 1 1 auto;
    min-width: 0;
}

.post-article {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.post-hero {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.post-hero-inner {
    max-width: 780px;
}

.post-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.post-eyebrow a {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.08);
    color: #4338ca;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.post-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(2.4rem, 4.4vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.post-summary {
    margin: 18px 0 0;
    max-width: 700px;
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.85;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.post-meta-separator {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.9);
}

.post-cover {
    overflow: hidden;
    border-radius: 28px;
    background: #e2e8f0;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
}

.post-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.post-content {
    max-width: 760px;
    padding: 8px 8px 0;
}

.post-content > *:first-child {
    margin-top: 0;
}

.post-content > *:last-child {
    margin-bottom: 0;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: #0f172a;
    letter-spacing: -0.03em;
}

.post-content h2 {
    margin-top: 56px;
    margin-bottom: 18px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.12;
}

.post-content h3 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    line-height: 1.2;
}

.post-content h4 {
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.post-content p,
.post-content li {
    color: #334155;
    font-size: 1.04rem;
    line-height: 1.95;
}

.post-content a {
    color: #4338ca;
    text-underline-offset: 3px;
}

.post-content blockquote {
    margin: 32px 0;
    padding: 20px 24px;
    border-left: 4px solid #6366f1;
    border-radius: 0 20px 20px 0;
    background: linear-gradient(180deg, rgba(238, 242, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
    color: #334155;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.post-content .wp-caption,
.post-content figure {
    max-width: 100%;
    margin: 28px 0;
}

.post-content figcaption,
.post-content .wp-caption-text {
    margin-top: 12px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.post-content pre,
.post-content code {
    font-family: Consolas, Monaco, 'Courier New', monospace;
}

.post-content pre {
    overflow-x: auto;
    padding: 18px 20px;
    border-radius: 20px;
    background: #0f172a;
    color: #e2e8f0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
}

.post-content th,
.post-content td {
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.post-footer {
    max-width: 760px;
    padding-top: 12px;
}

.post-taxonomy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.post-taxonomy-label,
.post-author-label,
.post-pagination-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-taxonomy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-taxonomy-links a {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.post-author-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 28px;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.post-author-avatar img {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 999px;
}

.post-author-name {
    margin: 6px 0 0;
    color: #0f172a;
    font-size: 1.35rem;
    line-height: 1.2;
}

.post-author-bio {
    margin: 10px 0 0;
    color: #475569;
    line-height: 1.8;
}

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

.post-pagination-item a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100%;
    padding: 20px 22px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post-pagination-item a:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.post-pagination-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.post-sidebar {
    width: min(100%, 280px);
    flex: 0 0 280px;
    position: sticky;
    top: 110px;
}

.post-sidebar .widget {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.05);
}

.post-sidebar .widget-title {
    margin-bottom: 12px;
    padding-bottom: 8px;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.post-sidebar .widget ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-sidebar .widget li {
    margin-bottom: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.post-sidebar .widget a {
    color: #334155;
    line-height: 1.55;
}

.post-sidebar .widget_recent_entries li,
.post-sidebar .widget_recent_comments li,
.post-sidebar .widget_archive li,
.post-sidebar .widget_categories li,
.post-sidebar .widget_meta li,
.post-sidebar .widget_pages li,
.post-sidebar .widget_nav_menu li {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.post-sidebar .widget_recent_entries li:last-child,
.post-sidebar .widget_recent_comments li:last-child,
.post-sidebar .widget_archive li:last-child,
.post-sidebar .widget_categories li:last-child,
.post-sidebar .widget_meta li:last-child,
.post-sidebar .widget_pages li:last-child,
.post-sidebar .widget_nav_menu li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.post-sidebar .widget select,
.post-sidebar .widget input,
.post-sidebar .widget_search .search-field {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 12px;
    background: #ffffff;
    color: #334155;
}

.post-sidebar .widget_search .search-submit {
    margin-top: 10px;
    padding: 10px 14px;
    border: 0;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .homepage-section-heading-split,
    .home-cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .homepage-card-carousel {
        --homepage-carousel-columns: 2;
    }

    .homepage-card-carousel-controls {
        margin-bottom: 18px;
    }

    .home-logo-grid,
    .home-feature-grid,
    .home-usecase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .hero-content-card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-actions {
        margin-top: 24px;
    }

    .hero-visual-shell,
    .hero-robot-scene {
        min-height: 400px;
        height: 400px;
    }

    .hero-floating-card-top {
        right: 16px;
    }

    .hero-floating-card-bottom {
        left: 16px;
        bottom: 16px;
    }

    .content-area {
        flex-direction: column;
    }

    .single-post-page .content-area {
        gap: 28px;
    }

    .post-hero {
        padding: 28px;
        border-radius: 28px;
    }

    .post-content,
    .post-footer {
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    .post-sidebar {
        position: static;
        top: auto;
        width: 100%;
        flex-basis: auto;
    }
    
    .widget-area {
        width: 100%;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-branding {
        max-width: none;
    }

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

@media (max-width: 640px) {
    .container {
        padding: 24px 16px;
    }

    .post-hero {
        padding: 24px 20px;
    }

    .post-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .post-meta {
        gap: 10px;
    }

    .post-meta-separator {
        display: none;
    }

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

    .post-pagination {
        grid-template-columns: 1fr;
    }

    .homepage-section-heading {
        margin-bottom: 24px;
    }

    .homepage-card-carousel {
        --homepage-carousel-columns: 1;
    }

    .homepage-card-carousel-viewport {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        padding: 6px 2px 18px;
    }

    .homepage-card-carousel-controls {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 22px;
    }

    .homepage-card-carousel-arrow {
        width: 42px;
        height: 42px;
    }

    .homepage-card-carousel-track {
        flex-wrap: nowrap;
        gap: 18px;
    }

    .homepage-card-carousel-slide {
        flex-basis: 100%;
        min-width: 100%;
        scroll-snap-align: start;
    }

    .home-logo-grid,
    .home-feature-grid,
    .home-usecase-grid {
        grid-template-columns: 1fr;
    }

    .home-feature-card,
    .home-usecase-card,
    .home-testimonial-card,
    .home-cta-panel {
        padding: 22px;
        border-radius: 22px;
    }

    .home-cta-button {
        width: 100%;
    }

    .home-testimonial-meta {
        align-items: flex-start;
    }

    .home-testimonial-image {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .home-testimonial-media {
        width: 68px;
        height: 52px;
        padding: 8px;
    }

    .hero-container {
        padding-top: 12px;
        padding-bottom: 24px;
    }

    .hero-content-card {
        gap: 18px;
        padding: 18px;
        border-radius: 22px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 2.7rem);
        line-height: 1.04;
        letter-spacing: -0.035em;
        text-wrap: balance;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-actions {
        gap: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-button {
        width: 100%;
        min-height: 52px;
    }

    .hero-visual-shell,
    .hero-robot-scene {
        min-height: 240px;
        height: 240px;
        border-radius: 20px;
    }

    .hero-floating-card {
        min-width: 0;
        max-width: 150px;
        padding: 10px 12px;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    }

    .hero-floating-card-top {
        top: 12px;
        right: 12px;
    }

    .hero-floating-card-bottom {
        left: 12px;
        bottom: 12px;
    }

    .hero-floating-card-kicker {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .hero-floating-card-value {
        font-size: 13px;
        line-height: 1.35;
    }

    .hero-robot-scene canvas {
        border-radius: 20px;
    }

    .site-footer {
        padding: 56px 0 24px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand-description {
        max-width: none;
    }
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header Styles */
.site-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(148, 163, 184, 0.24);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-branding-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 16px;
    transition: background 0.22s ease, transform 0.22s ease;
}

.site-branding-link:hover {
    background: rgba(255, 255, 255, 0.72);
    transform: translateY(-1px);
}

.site-logo {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    border-radius: 14px;
    display: inline-block;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 24px rgba(15, 23, 42, 0.18);
}

.site-custom-logo {
    display: block;
    width: auto;
    height: 78px;
    max-width: 380px;
    max-height: none;
}

.site-title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0;
    line-height: 1;
}

/* Mega Menu Styles */
.mega-menu-container {
    flex: 1;
    margin-left: 20px;
}

.mega-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu > li {
    position: relative;
}

.mega-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    border-radius: 999px;
    transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.mega-menu > li > a:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

/* Current menu item highlighting */
.mega-menu > li.current-menu-item > a,
.mega-menu > li.current-menu-ancestor > a,
.mega-menu > li.current-menu-parent > a {
    color: #0f172a;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 245, 249, 0.9) 100%);
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.12), 0 8px 18px rgba(15, 23, 42, 0.05);
    font-weight: 600;
}

/* Enhanced Mega Menu Dropdown Styles */
.mega-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 600px;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.985);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    margin-top: 10px;
    z-index: 1000;
    overflow: hidden;
}

.mega-menu > li:hover .mega-menu-dropdown,
.mega-menu > li.hover .mega-menu-dropdown,
.mega-menu > li.focused .mega-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Sections sit side-by-side */
.mega-menu-content {
    display: flex;
    align-items: stretch;
}

/* Individual section */
.mega-menu-section {
    flex: 1;
    min-width: 240px;
    padding: 28px 30px 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.88) 100%);
}

/* Vertical separator between sections */
.mega-menu-section:not(:last-child) {
    border-right: 1px solid rgba(226, 232, 240, 0.9);
}

/* Section heading — uppercase like Strapi */
.mega-menu-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #4f46e5;
    margin-bottom: 22px;
}

/* Links grid — auto-column after 6 rows */
.mega-menu-section-links {
    display: grid;
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    gap: 4px 40px;
}

/* Individual link — icon + text block */
.mega-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.mega-link:hover {
    background: linear-gradient(180deg, rgba(245, 247, 255, 0.96) 0%, rgba(238, 242, 255, 0.96) 100%);
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.08);
}

/* Link icon */
.mega-link-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
    margin-top: 2px;
}

/* Link text wrapper */
.mega-link-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

/* Link name — bold */
.mega-link-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

/* Link description — smaller, muted */
.mega-link-desc {
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.4;
}

/* Header Button Styles */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 24px;
}

.header-button {
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.01em;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
    border: 1px solid transparent;
}

.header-button-primary {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border-color: rgba(15, 23, 42, 0.9);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.header-button-primary:hover {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.2);
}

.header-button-secondary {
    background: rgba(255, 255, 255, 0.82);
    color: #334155;
    border-color: rgba(148, 163, 184, 0.2);
}

.header-button-secondary:hover {
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    border-color: rgba(99, 102, 241, 0.18);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

/* Mobile responsiveness for header buttons */
@media (max-width: 1024px) {
    .header-buttons {
        display: none;
    }
}

.menu-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: cover;
}

/* Traditional Submenu Styles */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px) scale(0.985);
    transition: all 0.2s;
    margin-top: 10px;
    list-style: none;
    padding: 10px;
    z-index: 999;
}

.mega-menu > li:hover .sub-menu,
.mega-menu > li.hover .sub-menu,
.mega-menu > li.focused .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.sub-menu li {
    margin: 0;
}

.sub-menu li a {
    display: block;
    padding: 10px 14px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    border-radius: 10px;
    transition: all 0.2s;
}

.sub-menu li a:hover {
    background: #f8fafc;
    color: #0f172a;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.24);
    padding: 10px;
    border-radius: 14px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.mobile-menu {
    display: none;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 12px 20px 20px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list > li {
    margin: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.mobile-menu-list > li > a {
    display: block;
    padding: 14px 0;
    color: #0f172a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding-right: 52px;
}

.mobile-submenu-toggle {
    position: absolute;
    top: 8px;
    right: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.9);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-submenu-toggle:hover {
    background: rgba(241, 245, 249, 1);
}

.mobile-submenu-toggle-icon {
    font-size: 20px;
    line-height: 1;
}

.mobile-menu-list .sub-menu {
    position: static;
    min-width: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 0 0 12px;
    padding: 0 0 0 16px;
    display: none;
}

.mobile-menu-list .submenu-open > .sub-menu {
    display: block;
}

.mobile-menu-list .sub-menu li {
    margin: 0;
}

.mobile-menu-list .sub-menu a {
    display: block;
    padding: 10px 0;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
}

/* Solutions content system */
.solutions-page,
.solutions-archive,
.single-solution-page {
    background:
        radial-gradient(circle at top left, rgba(226, 232, 240, 0.45) 0%, rgba(226, 232, 240, 0) 30%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 36%, #f8fafc 100%);
}

.solutions-hero {
    padding: 48px 0 24px;
}

.solutions-shell,
.solution-hero {
    position: relative;
    overflow: hidden;
    padding: 38px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%);
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.08);
}

.solutions-shell-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: stretch;
}

.solutions-shell-services {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 255, 0.98) 100%);
}

.solutions-shell-licensing {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 249, 240, 0.98) 100%);
}

.solutions-shell-industries {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 251, 247, 0.98) 100%);
}

.solutions-shell::before,
.solution-hero::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.14) 0%, rgba(148, 163, 184, 0) 70%);
    pointer-events: none;
}

.solutions-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 10px 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.solutions-hero-copy {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: start;
    gap: 0;
}

.solutions-hero-panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
}

.solutions-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.solutions-lead {
    margin: 18px 0 0;
    max-width: 780px;
    color: #475569;
    font-size: 18px;
    line-height: 1.85;
}

.solutions-section-description {
    margin: 0;
    max-width: 720px;
    color: #475569;
    font-size: 17px;
    line-height: 1.8;
}

.solutions-journey-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.solutions-hero-stage {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    margin-top: 30px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 22%, rgba(148, 163, 184, 0.18) 0%, rgba(148, 163, 184, 0) 28%),
        radial-gradient(circle at 82% 18%, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0) 30%),
        linear-gradient(160deg, rgba(248, 250, 252, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 18px 42px rgba(15, 23, 42, 0.05);
}

.solutions-hero-stage::before,
.solutions-hero-stage::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.solutions-hero-stage::before {
    top: 22px;
    left: 28px;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    opacity: 0.7;
}

.solutions-hero-stage::after {
    right: -28px;
    bottom: -34px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(226, 232, 240, 0.5) 0%, rgba(226, 232, 240, 0) 68%);
}

.solutions-hero-stage-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 26px;
}

.solutions-hero-orbit {
    position: absolute;
    inset: 18px auto auto 22px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px dashed rgba(148, 163, 184, 0.32);
    opacity: 0.7;
}

.solutions-hero-stage-node {
    position: relative;
    min-height: 108px;
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(8px);
}

.solutions-hero-stage-node-primary {
    margin-top: 54px;
}

.solutions-hero-stage-node-secondary {
    margin-left: 24px;
}

.solutions-hero-stage-node-tertiary {
    margin-left: 10px;
}

.solutions-hero-stage-node-accent {
    margin-top: -12px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 100%);
}

.solutions-hero-stage-label {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.solutions-hero-stage-title {
    display: block;
    margin-top: 12px;
    color: #0f172a;
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.solutions-hero-stage-node-accent .solutions-hero-stage-label,
.solutions-hero-stage-node-accent .solutions-hero-stage-title {
    color: #ffffff;
}

.solutions-hero-stage-ribbon {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-top: 8px;
}

.solutions-hero-stage-ribbon span {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.solutions-journey-pill {
    display: inline-flex;
    align-items: center;
    padding: 11px 15px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.solutions-journey-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 70, 229, 0.18);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

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

.solutions-insight-card {
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.05);
}

.solutions-insight-card .solutions-spotlight-title {
    color: #0f172a;
}

.solutions-insight-card .solutions-spotlight-text {
    color: #475569;
}

.solutions-insight-card .solutions-spotlight-label {
    color: #64748b;
}

.solutions-insight-card .solutions-spotlight-list {
    margin-top: 18px;
}

.solutions-insight-card .solutions-spotlight-item {
    justify-content: flex-start;
    background: #f8fafc;
    border-color: rgba(226, 232, 240, 0.9);
    color: #334155;
}

.solutions-insight-card .solutions-spotlight-item:hover {
    transform: none;
    border-color: rgba(203, 213, 225, 0.95);
    background: #ffffff;
}

.solutions-spotlight-card,
.solution-sidebar-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.96) 100%);
    color: #f8fafc;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
}

.solution-sidebar-card,
.solution-sidebar-card h2,
.solution-sidebar-card p,
.solution-sidebar-card a,
.solutions-spotlight-card,
.solutions-spotlight-card h2,
.solutions-spotlight-card p,
.solutions-spotlight-card a {
    color: #f8fafc !important;
}

.solution-sidebar-card .solutions-kicker,
.solutions-spotlight-card .solutions-kicker {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.96);
    color: #334155 !important;
    box-shadow: none;
}

.solution-sidebar-card .solution-sidebar-title,
.solution-sidebar-card .solutions-spotlight-title,
.solutions-spotlight-card .solution-sidebar-title,
.solutions-spotlight-card .solutions-spotlight-title {
    color: #ffffff !important;
}

.solution-sidebar-card .solution-sidebar-text,
.solution-sidebar-card .solutions-spotlight-text,
.solutions-spotlight-card .solution-sidebar-text,
.solutions-spotlight-card .solutions-spotlight-text {
    color: #ffffff !important;
}

.solution-sidebar-card .solutions-card-link,
.solution-sidebar-card .solutions-back-link,
.solutions-spotlight-card .solutions-card-link,
.solutions-spotlight-card .solutions-back-link {
    color: #bfdbfe !important;
}

.solution-sidebar-card .solutions-card-link:hover,
.solution-sidebar-card .solutions-back-link:hover,
.solutions-spotlight-card .solutions-card-link:hover,
.solutions-spotlight-card .solutions-back-link:hover {
    color: #ffffff !important;
}

.solutions-spotlight-label,
.solution-sidebar-list-label {
    display: inline-flex;
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.solutions-spotlight-title,
.solution-sidebar-title {
    margin: 0;
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1.18;
}

.solutions-spotlight-title a {
    color: inherit;
    text-decoration: none;
}

.solutions-spotlight-text,
.solution-sidebar-text {
    margin: 12px 0 0;
    color: #dbe4f0;
    line-height: 1.8;
}

.solutions-spotlight-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.solutions-spotlight-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.solutions-spotlight-item:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.solutions-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-top: 24px;
}

.solutions-content > :last-child {
    margin-bottom: 0;
}

.solutions-section {
    padding: 24px 0 40px;
}

.solutions-section-alt {
    padding-bottom: 72px;
}

.solutions-section-heading {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
}

.solutions-section-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.solutions-term-grid,
.solutions-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.solutions-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    align-self: start;
}

.solutions-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, 0.18);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.solutions-card::after {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0f172a 0%, #94a3b8 100%);
    opacity: 0.75;
}

.solutions-card-eyebrow {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.solutions-card-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.solutions-card-title {
    margin: 0;
    color: #0f172a;
    font-size: 1.08rem;
    line-height: 1.18;
}

.solutions-card-title a {
    color: inherit;
    text-decoration: none;
}

.solutions-card-title a:hover,
.solutions-card-link:hover,
.solutions-back-link:hover {
    text-decoration: underline;
}

.solutions-card-text {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.48;
}

.solutions-card-link,
.solutions-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
}

.solutions-card-link {
    margin-top: 2px;
}

.solution-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: 30px;
    align-items: start;
}

.solution-main-column {
    display: grid;
    gap: 22px;
}

.solutions-card-tags,
.solutions-filter-row,
.solutions-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.solutions-tag,
.solutions-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.solutions-filter-row {
    margin-bottom: 24px;
}

.solutions-filter-pill.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.solutions-card-media {
    display: block;
    margin: -16px -16px 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
}

.solutions-card-media img,
.solution-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.solutions-card:hover .solutions-card-media img {
    transform: scale(1.03);
}

.solutions-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(219, 228, 238, 0.95);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
}

.solutions-card-icon-image {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.solutions-empty-state {
    margin: 0;
    padding: 26px 28px;
    border: 1px dashed rgba(148, 163, 184, 0.34);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    color: #475569;
}

.solutions-editor-section {
    padding-top: 0;
    padding-bottom: 72px;
}

.solutions-editor-shell {
    padding: 32px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05);
}

.solutions-editor-shell > :last-child {
    margin-bottom: 0;
}

.solutions-editor-shell .wp-block-details {
    padding: 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: #f8fafc;
}

.solutions-editor-shell .wp-block-columns {
    gap: 24px;
}

.solutions-editor-shell .wp-block-column {
    padding: 22px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.single-solution-main {
    min-height: auto;
    padding: 48px 0 80px;
}

.solution-article {
    display: grid;
    gap: 28px;
}

.solution-content {
    max-width: 820px;
    padding: 0 8px;
}

.solution-content .wp-block-table,
.solution-content table {
    width: 100%;
}

.solution-content .wp-block-table {
    overflow-x: auto;
    margin: 28px 0;
}

.solution-content .wp-block-table table {
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #dbe4ee;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.06);
}

.solution-content .wp-block-table thead th {
    padding: 18px 20px;
    border-bottom: 1px solid #dbe4ee;
    background: linear-gradient(180deg, #eef4fa 0%, #e2ebf5 100%);
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    text-align: center;
}

.solution-content .wp-block-table thead th:first-child {
    text-align: left;
}

.solution-content .wp-block-table tbody td,
.solution-content .wp-block-table tbody th {
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: middle;
}

.solution-content .wp-block-table tbody tr:last-child td,
.solution-content .wp-block-table tbody tr:last-child th {
    border-bottom: 0;
}

.solution-content .wp-block-table tr > *:last-child {
    border-right: 0;
}

.solution-content .wp-block-table tbody td:not(:first-child),
.solution-content .wp-block-table thead th:not(:first-child) {
    text-align: center;
}

.solution-content .megamenu-edition-table tbody tr:nth-child(odd) td {
    background: #f8fbff;
}

.solution-content .megamenu-edition-table tbody tr:nth-child(even) td {
    background: #ffffff;
}

.solution-content .megamenu-edition-table tbody tr:first-child td:first-child,
.solution-content .megamenu-edition-table tbody tr:nth-child(2) td:first-child,
.solution-content .megamenu-edition-table tbody tr:nth-child(3) td:first-child,
.solution-content .megamenu-edition-table tbody tr:last-child td:first-child {
    font-weight: 700;
    color: #0f172a;
}

.solution-content .megamenu-edition-table a,
.solution-content .megamenu-addon-table a {
    color: #0b7acb;
    font-weight: 700;
    text-decoration: none;
}

.solution-content .megamenu-edition-table a:hover,
.solution-content .megamenu-addon-table a:hover {
    text-decoration: underline;
}

.solution-content .megamenu-addon-table table {
    min-width: 520px;
}

.solution-content .megamenu-addon-table thead th {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.solution-content .megamenu-addon-table tbody td:first-child {
    color: #0b7acb;
    font-weight: 600;
}

@media (max-width: 767px) {
    .solution-content .wp-block-table table {
        min-width: 640px;
    }

    .solution-content .wp-block-table thead th,
    .solution-content .wp-block-table tbody td,
    .solution-content .wp-block-table tbody th {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
}

.solution-sidebar-panel {
    position: sticky;
    top: 110px;
}

.solution-cover {
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 22px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    height: 290px;
    min-height: 290px;
    max-height: none;
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
}

.solution-related {
    padding-top: 8px;
}

.solutions-pagination {
    margin-top: 28px;
}

.solutions-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.solutions-pagination a.page-numbers,
.solutions-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.solutions-pagination span.page-numbers.current {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.solutions-pagination a.page-numbers:hover {
    border-color: rgba(15, 23, 42, 0.22);
    background: #f8fafc;
}

/* WPForms theme styling */
.wpforms-container {
    margin-top: 0;
    margin-bottom: 0;
}

.wpforms-container .wpforms-form {
    display: grid;
    gap: 16px;
}

.wpforms-container .wpforms-field-container {
    display: grid;
    gap: 16px;
}

.wpforms-container .wpforms-field {
    padding: 0;
}

.wpforms-container .wpforms-field-label {
    margin-bottom: 8px;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.wpforms-container .wpforms-field-label-inline {
    margin-left: 8px;
    color: #334155;
    font-weight: 500;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="url"],
.wpforms-container input[type="number"],
.wpforms-container input[type="password"],
.wpforms-container select,
.wpforms-container textarea,
.wpforms-container .wpforms-field-row input,
.wpforms-container .wpforms-field-row select {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 16px;
    background: #f8fafc;
    color: #111827;
    font-size: 0.98rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.wpforms-container textarea {
    min-height: 160px;
    resize: vertical;
}

.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder {
    color: #94a3b8;
}

.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
    outline: none;
    border-color: #4f46e5;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.wpforms-container .wpforms-field-checkbox ul,
.wpforms-container .wpforms-field-radio ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wpforms-container .wpforms-field-checkbox li,
.wpforms-container .wpforms-field-radio li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #334155;
}

.wpforms-container input[type="checkbox"],
.wpforms-container input[type="radio"] {
    accent-color: #0f172a;
}

.wpforms-container .wpforms-submit-container {
    margin-top: 8px;
    padding: 0;
}

.wpforms-container button[type="submit"],
.wpforms-container .wpforms-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.wpforms-container button[type="submit"]:hover,
.wpforms-container .wpforms-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(17, 24, 39, 0.24);
}

.wpforms-container button[type="submit"]:focus-visible,
.wpforms-container .wpforms-submit:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.16), 0 20px 38px rgba(17, 24, 39, 0.24);
}

.wpforms-container .wpforms-error {
    color: #b91c1c !important;
    font-size: 0.86rem;
    margin-top: 6px;
}

.wpforms-container .wpforms-field input.wpforms-error,
.wpforms-container .wpforms-field select.wpforms-error,
.wpforms-container .wpforms-field textarea.wpforms-error {
    border-color: rgba(220, 38, 38, 0.45);
    background: #fffafa;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.wpforms-container .wpforms-confirmation-container-full,
.wpforms-container .wpforms-confirmation-container {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    background: rgba(236, 253, 245, 0.8);
    color: #065f46;
}

.wpforms-container .wpforms-page-indicator-page-progress-wrap {
    overflow: hidden;
    height: 10px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.9);
}

.wpforms-container .wpforms-page-indicator-page-progress {
    background: linear-gradient(90deg, #0f172a 0%, #4f46e5 100%);
}

.wpforms-container .wpforms-page-button,
.wpforms-container .wpforms-previous {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-container {
        height: auto;
        min-height: 72px;
        gap: 16px;
    }

    .mega-menu-container {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .mobile-menu {
        display: none;
    }

    .site-custom-logo {
        height: 56px;
        max-width: 280px;
    }

    /* Stack mega dropdown sections vertically on tablet/mobile */
    .mega-menu-dropdown {
        position: static;
        min-width: 0;
        max-width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
    }

    .mega-menu-content {
        flex-direction: column;
    }

    .mega-menu-section {
        min-width: 0;
        padding: 20px;
    }

    .mega-menu-section:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .mega-menu-section-links {
        grid-template-rows: none;
        grid-auto-flow: row;
    }

    .solutions-term-grid,
    .solutions-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solutions-shell,
    .solution-hero {
        padding: 28px;
        border-radius: 28px;
    }

    .solutions-shell-split,
    .solution-layout {
        grid-template-columns: 1fr;
    }

    .solutions-hero-stage {
        min-height: 0;
    }

    .solutions-hero-stage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solutions-hero-stage-node-primary,
    .solutions-hero-stage-node-secondary,
    .solutions-hero-stage-node-tertiary,
    .solutions-hero-stage-node-accent {
        margin: 0;
    }

    .solutions-editor-shell {
        padding: 24px;
    }

    .solution-sidebar-panel {
        position: static;
        top: auto;
    }

    .wpforms-container button[type="submit"],
    .wpforms-container .wpforms-submit {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .solutions-hero {
        padding-top: 28px;
    }

    .solutions-term-grid,
    .solutions-card-grid {
        grid-template-columns: 1fr;
    }

    .solutions-shell,
    .solution-hero,
    .solutions-card {
        padding: 22px;
        border-radius: 22px;
    }

    .solutions-metric-grid {
        grid-template-columns: 1fr;
    }

    .solutions-card-media {
        margin: -22px -22px 6px;
    }

    .solutions-hero-stage-grid {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .solutions-hero-orbit {
        width: 120px;
        height: 120px;
        inset: 16px auto auto 16px;
    }

    .solutions-hero-stage-node-secondary,
    .solutions-hero-stage-node-tertiary,
    .solutions-hero-stage-node-accent,
    .solutions-hero-stage-node-primary {
        margin: 0;
    }

    .solutions-hero-stage-ribbon {
        padding-top: 0;
    }

    .solutions-lead {
        font-size: 16px;
    }

    .solutions-editor-shell {
        padding: 22px;
        border-radius: 22px;
    }

}
