/* Home page */

.home-animate .hero-media {
    animation: heroImageReveal 900ms ease-out both, heroSlowZoom 14s ease-out both;
}

.animate-section {
    overflow: hidden;
}

.animate-rise,
.animate-left,
.animate-right {
    animation-duration: 700ms;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-animation-ready .animate-rise,
.home-animation-ready .animate-left,
.home-animation-ready .animate-right {
    opacity: 0;
}

.home-animation-ready .animate-rise {
    transform: translateY(28px);
}

.home-animation-ready .animate-left {
    transform: translateX(-32px);
}

.home-animation-ready .animate-right {
    transform: translateX(32px);
}

.animate-rise.is-visible {
    animation-name: riseIn;
}

.animate-left.is-visible {
    animation-name: slideInLeft;
}

.animate-right.is-visible {
    animation-name: slideInRight;
}

.animate-delay-1 {
    animation-delay: 100ms;
}

.animate-delay-2 {
    animation-delay: 200ms;
}

.animate-delay-3 {
    animation-delay: 300ms;
}

.animate-delay-4 {
    animation-delay: 400ms;
}

.feature-card,
.insight-card,
.category-card,
.portfolio-card,
.step-card,
.pricing-card,
.blog-card,
.stat-item,
.cta-section .btn,
.hero-copy .btn {
    will-change: transform;
}

.bg-soft {
    background: #f8fafc;
}

.bg-dark-blue {
    background: #0f172a;
}

.home-section {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(180deg, var(--section-bg-start, #ffffff), var(--section-bg-end, #f8fafc));
}

.home-section > .container {
    position: relative;
    z-index: 2;
}

.home-section::before,
.home-section::after {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    content: "";
}

.home-section::before {
    width: clamp(220px, 28vw, 430px);
    height: clamp(150px, 18vw, 260px);
    border: 1px solid var(--section-shape-border, rgba(37, 99, 235, 0.14));
    border-radius: 18px;
    background:
        radial-gradient(circle at 18px 18px, var(--section-node-color, rgba(37, 99, 235, 0.2)) 0 2px, transparent 2.5px),
        linear-gradient(var(--section-grid-color, rgba(37, 99, 235, 0.08)) 1px, transparent 1px),
        linear-gradient(90deg, var(--section-grid-color, rgba(37, 99, 235, 0.08)) 1px, transparent 1px),
        linear-gradient(135deg, var(--section-shape-primary, rgba(37, 99, 235, 0.1)), transparent 66%);
    background-size: 54px 54px, 24px 24px, 24px 24px, auto;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.32),
        0 24px 60px rgba(15, 23, 42, 0.06);
    clip-path: polygon(0 18px, 18px 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
    opacity: 0.68;
}

.home-section::after {
    width: clamp(170px, 20vw, 310px);
    height: clamp(120px, 13vw, 210px);
    border: 1px solid var(--section-shape-border, rgba(37, 99, 235, 0.14));
    border-radius: 14px;
    background:
        linear-gradient(90deg, transparent 0 18%, var(--section-circuit-color, rgba(37, 99, 235, 0.16)) 18% 19%, transparent 19% 100%),
        linear-gradient(0deg, transparent 0 38%, var(--section-circuit-color, rgba(37, 99, 235, 0.16)) 38% 39%, transparent 39% 100%),
        radial-gradient(circle at 18% 38%, var(--section-node-color, rgba(37, 99, 235, 0.22)) 0 4px, transparent 4.5px),
        radial-gradient(circle at 64% 38%, var(--section-node-color, rgba(37, 99, 235, 0.18)) 0 3px, transparent 3.5px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)),
        var(--section-shape-secondary, rgba(14, 165, 233, 0.08));
    clip-path: polygon(14% 0, 100% 0, 100% 78%, 84% 100%, 0 100%, 0 22%);
    opacity: 0.62;
}

.section-services {
    --section-bg-start: #ffffff;
    --section-bg-end: #eef7ff;
    --section-shape-primary: rgba(37, 99, 235, 0.12);
    --section-shape-secondary: rgba(125, 211, 252, 0.16);
    --section-shape-border: rgba(37, 99, 235, 0.16);
    --section-grid-color: rgba(37, 99, 235, 0.08);
    --section-circuit-color: rgba(37, 99, 235, 0.18);
    --section-node-color: rgba(14, 165, 233, 0.24);
}

.section-services::before {
    top: -88px;
    right: -90px;
}

.section-services::after {
    bottom: 54px;
    left: -82px;
    transform: rotate(-18deg);
}

.section-ideal {
    --section-bg-start: #fffaf4;
    --section-bg-end: #f7fbff;
    --section-shape-primary: rgba(249, 115, 22, 0.12);
    --section-shape-secondary: rgba(37, 99, 235, 0.08);
    --section-shape-border: rgba(249, 115, 22, 0.16);
    --section-grid-color: rgba(249, 115, 22, 0.07);
    --section-circuit-color: rgba(249, 115, 22, 0.16);
    --section-node-color: rgba(37, 99, 235, 0.18);
}

.section-ideal::before {
    top: 58px;
    left: -120px;
}

.section-ideal::after {
    right: -84px;
    bottom: 42px;
    transform: rotate(17deg);
}

.section-pain {
    --section-bg-start: #fff7f7;
    --section-bg-end: #ffffff;
    --section-shape-primary: rgba(244, 63, 94, 0.1);
    --section-shape-secondary: rgba(251, 146, 60, 0.12);
    --section-shape-border: rgba(244, 63, 94, 0.16);
    --section-grid-color: rgba(244, 63, 94, 0.07);
    --section-circuit-color: rgba(244, 63, 94, 0.15);
    --section-node-color: rgba(251, 146, 60, 0.2);
}

.section-pain::before {
    right: -96px;
    bottom: -100px;
}

.section-pain::after {
    top: 48px;
    left: -72px;
    transform: rotate(14deg);
}

.section-features {
    --section-bg-start: #f0fdfa;
    --section-bg-end: #f8fafc;
    --section-shape-primary: rgba(20, 184, 166, 0.11);
    --section-shape-secondary: rgba(59, 130, 246, 0.1);
    --section-shape-border: rgba(20, 184, 166, 0.18);
    --section-grid-color: rgba(20, 184, 166, 0.08);
    --section-circuit-color: rgba(20, 184, 166, 0.17);
    --section-node-color: rgba(59, 130, 246, 0.2);
}

.section-features::before {
    top: -86px;
    left: 8%;
}

.section-features::after {
    right: 7%;
    bottom: 28px;
    transform: rotate(-10deg);
}

.section-why {
    --section-bg-start: #ffffff;
    --section-bg-end: #f1f5ff;
    --section-shape-primary: rgba(79, 70, 229, 0.1);
    --section-shape-secondary: rgba(14, 165, 233, 0.11);
    --section-shape-border: rgba(79, 70, 229, 0.16);
    --section-grid-color: rgba(79, 70, 229, 0.07);
    --section-circuit-color: rgba(79, 70, 229, 0.16);
    --section-node-color: rgba(14, 165, 233, 0.2);
}

.section-why::before {
    top: 64px;
    right: -96px;
}

.section-why::after {
    bottom: 48px;
    left: -76px;
    transform: rotate(19deg);
}

.section-categories {
    --section-bg-start: #f8fbff;
    --section-bg-end: #ffffff;
    --section-shape-primary: rgba(2, 132, 199, 0.1);
    --section-shape-secondary: rgba(234, 179, 8, 0.12);
    --section-shape-border: rgba(2, 132, 199, 0.15);
    --section-grid-color: rgba(2, 132, 199, 0.07);
    --section-circuit-color: rgba(2, 132, 199, 0.16);
    --section-node-color: rgba(234, 179, 8, 0.22);
}

.section-categories::before {
    left: -104px;
    bottom: -98px;
}

.section-categories::after {
    top: 54px;
    right: -68px;
    transform: rotate(-16deg);
}

.section-plan-categories {
    --section-bg-start: #0f172a;
    --section-bg-end: #172554;
    --section-shape-primary: rgba(59, 130, 246, 0.22);
    --section-shape-secondary: rgba(249, 115, 22, 0.12);
    --section-shape-border: rgba(147, 197, 253, 0.2);
    --section-grid-color: rgba(147, 197, 253, 0.11);
    --section-circuit-color: rgba(125, 211, 252, 0.2);
    --section-node-color: rgba(249, 115, 22, 0.3);
}

.section-plan-categories::before {
    top: -80px;
    right: -90px;
}

.section-plan-categories::after {
    bottom: -50px;
    left: -70px;
    transform: rotate(18deg);
}

.section-portfolio {
    --section-bg-start: #ffffff;
    --section-bg-end: #f3f7ff;
    --section-shape-primary: rgba(37, 99, 235, 0.1);
    --section-shape-secondary: rgba(124, 58, 237, 0.09);
    --section-shape-border: rgba(37, 99, 235, 0.14);
    --section-grid-color: rgba(37, 99, 235, 0.07);
    --section-circuit-color: rgba(124, 58, 237, 0.15);
    --section-node-color: rgba(14, 165, 233, 0.22);
}

.section-portfolio::before {
    top: 70px;
    left: -100px;
}

.section-portfolio::after {
    right: -70px;
    bottom: 45px;
    transform: rotate(-17deg);
}

.plan-section-copy {
    color: rgba(255, 255, 255, 0.68);
}

.section-process {
    --section-bg-start: #0f172a;
    --section-bg-end: #172554;
    --section-shape-primary: rgba(59, 130, 246, 0.22);
    --section-shape-secondary: rgba(34, 211, 238, 0.1);
    --section-shape-border: rgba(147, 197, 253, 0.2);
    --section-grid-color: rgba(147, 197, 253, 0.12);
    --section-circuit-color: rgba(125, 211, 252, 0.22);
    --section-node-color: rgba(255, 255, 255, 0.34);
}

.section-process::before {
    top: -110px;
    right: 8%;
}

.section-process::after {
    left: 8%;
    bottom: 50px;
    transform: rotate(12deg);
}

.section-pricing {
    --section-bg-start: #ffffff;
    --section-bg-end: #f5f9ff;
    --section-shape-primary: rgba(37, 99, 235, 0.1);
    --section-shape-secondary: rgba(16, 185, 129, 0.1);
    --section-shape-border: rgba(37, 99, 235, 0.16);
    --section-grid-color: rgba(37, 99, 235, 0.07);
    --section-circuit-color: rgba(37, 99, 235, 0.16);
    --section-node-color: rgba(16, 185, 129, 0.22);
}

.section-pricing::before {
    top: 64px;
    left: -110px;
}

.section-pricing::after {
    right: -72px;
    bottom: 64px;
    transform: rotate(-15deg);
}

.section-faq {
    --section-bg-start: #f7fee7;
    --section-bg-end: #f8fafc;
    --section-shape-primary: rgba(132, 204, 22, 0.12);
    --section-shape-secondary: rgba(14, 165, 233, 0.08);
    --section-shape-border: rgba(132, 204, 22, 0.18);
    --section-grid-color: rgba(132, 204, 22, 0.08);
    --section-circuit-color: rgba(132, 204, 22, 0.16);
    --section-node-color: rgba(14, 165, 233, 0.2);
}

.section-faq::before {
    right: -90px;
    top: 54px;
}

.section-faq::after {
    left: -78px;
    bottom: 48px;
    transform: rotate(18deg);
}

.section-stats {
    --section-bg-start: #2563eb;
    --section-bg-end: #1e40af;
    --section-shape-primary: rgba(255, 255, 255, 0.16);
    --section-shape-secondary: rgba(125, 211, 252, 0.18);
    --section-shape-border: rgba(255, 255, 255, 0.22);
    --section-grid-color: rgba(255, 255, 255, 0.13);
    --section-circuit-color: rgba(255, 255, 255, 0.22);
    --section-node-color: rgba(125, 211, 252, 0.36);
}

.section-stats::before {
    top: -100px;
    left: -80px;
}

.section-stats::after {
    right: 7%;
    bottom: 38px;
    transform: rotate(-12deg);
}

.section-blog {
    --section-bg-start: #fffdf7;
    --section-bg-end: #f7fbff;
    --section-shape-primary: rgba(245, 158, 11, 0.11);
    --section-shape-secondary: rgba(37, 99, 235, 0.08);
    --section-shape-border: rgba(245, 158, 11, 0.16);
    --section-grid-color: rgba(245, 158, 11, 0.07);
    --section-circuit-color: rgba(245, 158, 11, 0.16);
    --section-node-color: rgba(37, 99, 235, 0.18);
}

.section-blog::before {
    top: 50px;
    right: -104px;
}

.section-blog::after {
    bottom: 42px;
    left: 7%;
    transform: rotate(14deg);
}

.section-testimonials {
    --section-bg-start: #ffffff;
    --section-bg-end: #f3f0ff;
    --section-shape-primary: rgba(124, 58, 237, 0.09);
    --section-shape-secondary: rgba(249, 115, 22, 0.1);
    --section-shape-border: rgba(124, 58, 237, 0.14);
    --section-grid-color: rgba(124, 58, 237, 0.07);
    --section-circuit-color: rgba(124, 58, 237, 0.15);
    --section-node-color: rgba(249, 115, 22, 0.2);
}

.section-testimonials::before {
    left: -96px;
    top: 72px;
}

.section-testimonials::after {
    right: -72px;
    bottom: 50px;
    transform: rotate(-18deg);
}

.section-contact {
    --section-bg-start: #1d4ed8;
    --section-bg-end: #0f172a;
    --section-shape-primary: rgba(255, 255, 255, 0.14);
    --section-shape-secondary: rgba(251, 146, 60, 0.16);
    --section-shape-border: rgba(255, 255, 255, 0.24);
    --section-grid-color: rgba(255, 255, 255, 0.12);
    --section-circuit-color: rgba(255, 255, 255, 0.2);
    --section-node-color: rgba(251, 146, 60, 0.32);
}

.section-contact::before {
    top: -94px;
    right: -76px;
}

.section-contact::after {
    left: 10%;
    bottom: 36px;
    transform: rotate(12deg);
}

.section-heading p,
.section-copy {
    max-width: 720px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--blue-600);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-kicker-light {
    color: #93c5fd;
}

.section-with-bg {
    position: relative;
    overflow: hidden;
}

.section-with-bg > .container {
    position: relative;
    z-index: 2;
}

.section-bg-media,
.section-bg-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.section-bg-media {
    z-index: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.22;
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1.01);
}

.section-bg-overlay {
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 250, 252, 0.88));
}

.section-with-bg-dark .section-bg-media {
    opacity: 0.32;
    filter: saturate(1.08) contrast(1.04);
}

.section-with-bg-dark .section-bg-overlay {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.78), rgba(30, 64, 175, 0.82)),
        linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.72));
}

.insight-card,
.feature-card {
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-base);
    height: 100%;
}

.insight-card {
    background: #ffffff;
    border-color: #fee2e2;
}

.insight-card:hover,
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.feature-card:hover .icon-box {
    transform: translateY(-3px) rotate(-3deg);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.icon-indigo {
    background-color: var(--indigo-50);
    color: var(--indigo-600);
}

.icon-warm {
    background: #fff7ed;
    color: #ea580c;
}

.why-card,
.testimonial-card {
    height: 100%;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.why-card:hover,
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-model-card {
    height: 100%;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.service-model-card:hover,
.ideal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-model-list {
    display: grid;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.service-model-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--gray-700);
}

.service-model-list i {
    color: #0cc21b;
    margin-top: 0.125rem;
}

.ideal-card {
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.ideal-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 1.25rem;
    flex: 0 0 auto;
}

.hero-slides-section {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(219, 234, 254, 0.8), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

#service-models .section-bg-media {
    background-position: center right;
    opacity: 0.2;
}

#service-models .section-bg-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 252, 0.9));
}

#why-twin-core .section-bg-media {
    background-position: center;
    opacity: 0.24;
}

#why-twin-core .section-bg-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.9));
}

#testimonials .section-bg-media {
    background-position: center top;
    opacity: 0.18;
}

#testimonials .section-bg-overlay {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 250, 252, 0.9)),
        linear-gradient(90deg, rgba(219, 234, 254, 0.22), rgba(255, 247, 237, 0.18));
}

.faq-wrap {
    max-width: 920px;
}

.faq-accordion {
    display: grid;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 18px !important;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.faq-item .accordion-button {
    padding: 1.25rem 1.35rem;
    color: var(--gray-900);
    font-size: 1rem;
    font-weight: 700;
    background: #ffffff;
    box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
    color: var(--blue-700);
    background: #eff6ff;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
}

.faq-item .accordion-body {
    padding: 0 1.35rem 1.35rem;
    color: var(--gray-600);
    line-height: 1.75;
}

.logo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.logo-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.7rem 1.15rem;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--gray-700);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.testimonial-mark {
    margin-bottom: 1rem;
    color: #c2410c;
    font-size: 3rem;
    font-weight: 800;
    line-height: 0.9;
}

.testimonial-quote {
    color: var(--gray-700);
    line-height: 1.8;
}

.testimonial-meta {
    display: grid;
    gap: 0.2rem;
}

.testimonial-meta strong {
    color: var(--gray-900);
}

.testimonial-meta span {
    color: var(--gray-500);
    font-size: 0.92rem;
}

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

.category-card {
    position: relative;
    display: flex;
    min-height: 320px;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--tile-color, #2563eb) 10%, transparent), transparent 42%),
        #ffffff;
    color: var(--gray-900);
    text-align: left;
    transition: var(--transition-base);
}

.category-card-topline {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--tile-color, #2563eb), color-mix(in srgb, var(--tile-color, #2563eb) 35%, white));
}

.category-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.category-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tile-color, var(--blue-600)), color-mix(in srgb, var(--tile-color, #2563eb) 72%, #000));
    color: #ffffff;
    font-size: 1.35rem;
    box-shadow: 0 8px 16px -6px color-mix(in srgb, var(--tile-color, #2563eb) 60%, transparent);
}

.category-count {
    padding: 0.35rem 0.65rem;
    border: 1px solid color-mix(in srgb, var(--tile-color, #2563eb) 20%, var(--gray-200));
    border-radius: 999px;
    color: color-mix(in srgb, var(--tile-color, #2563eb) 75%, var(--gray-600));
    background: color-mix(in srgb, var(--tile-color, #2563eb) 6%, white);
    font-size: 0.75rem;
    font-weight: 750;
}

.category-card h3 {
    margin-bottom: 0.65rem;
    color: var(--gray-900);
    font-size: 1.15rem;
    font-weight: 800;
}

.category-card > p {
    margin-bottom: 1rem;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.65;
}

.category-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0;
    margin: 0 0 1.25rem;
    list-style: none;
}

.category-features li {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.55rem;
    border: 1px solid color-mix(in srgb, var(--tile-color, #2563eb) 18%, var(--gray-200));
    border-radius: 999px;
    color: var(--gray-700);
    background: color-mix(in srgb, var(--tile-color, #2563eb) 5%, white);
    font-size: 0.72rem;
    font-weight: 650;
}

.category-card:first-child {
    grid-column: span 2;
}

.category-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.8rem 0 0;
    margin-top: auto;
    border: 0;
    border-top: 1px solid var(--gray-200);
    color: var(--tile-color, #2563eb);
    background: transparent;
    font-size: 0.8rem;
    font-weight: 750;
    text-align: left;
}

.category-link i {
    transition: transform 180ms ease;
}

.category-card:hover {
    border-color: color-mix(in srgb, var(--tile-color, #2563eb) 38%, var(--gray-200));
    box-shadow: 0 18px 45px -24px color-mix(in srgb, var(--tile-color, #2563eb) 48%, transparent);
    transform: translateY(-6px);
}

.category-card:hover .category-link i {
    transform: translate(3px, -3px);
}

.plan-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.plan-category-panel {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--plan-accent) 20%, transparent), transparent 38%),
        rgba(15, 23, 42, 0.64);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.2);
    backdrop-filter: blur(12px);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.plan-category-panel:hover {
    border-color: color-mix(in srgb, var(--plan-accent) 58%, white);
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.34);
    transform: translateY(-6px);
}

.plan-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.plan-category-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--plan-accent) 50%, transparent);
    border-radius: 14px;
    color: #ffffff;
    background: color-mix(in srgb, var(--plan-accent) 75%, transparent);
    font-size: 1.25rem;
}

.plan-category-total {
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-category-panel > h3 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
}

.plan-category-panel > p {
    min-height: 4.5em;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    line-height: 1.65;
}

.plan-category-list {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.plan-preview-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.055);
    text-align: left;
    transition: background 180ms ease, border-color 180ms ease;
}

.plan-preview-item:hover {
    border-color: color-mix(in srgb, var(--plan-accent) 48%, transparent);
    background: rgba(255, 255, 255, 0.1);
}

.plan-preview-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    color: color-mix(in srgb, var(--plan-accent) 55%, white);
    background: color-mix(in srgb, var(--plan-accent) 18%, transparent);
}

.plan-preview-content {
    display: grid;
    min-width: 0;
    gap: 0.1rem;
}

.plan-preview-content strong {
    overflow: hidden;
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plan-preview-content small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
}

.plan-preview-arrow {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
}

.plan-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 0 0;
    margin-top: auto;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: color-mix(in srgb, var(--plan-accent) 52%, white);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 750;
    text-align: left;
}

.plan-category-link i {
    transition: transform 180ms ease;
}

.plan-category-link:hover i {
    transform: translate(3px, -3px);
}

.portfolio-grid {
    display: grid;
    gap: 1.5rem;
}

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

.portfolio-grid-custom {
    grid-template-columns: 1fr;
}

.home-portfolio-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.home-portfolio-nav a {
    --nav-color: #2563eb;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px solid color-mix(in srgb, var(--nav-color) 20%, var(--gray-200));
    border-radius: 18px;
    color: var(--gray-900);
    background: color-mix(in srgb, var(--nav-color) 4%, #fff);
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-portfolio-nav a:hover {
    border-color: color-mix(in srgb, var(--nav-color) 45%, var(--gray-200));
    box-shadow: 0 18px 35px -26px var(--nav-color);
    transform: translateY(-3px);
}

.home-portfolio-nav-custom { --nav-color: #7c3aed !important; }
.home-portfolio-nav a > i { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #fff; background: var(--nav-color); }
.home-portfolio-nav a > span { display: flex; min-width: 0; flex-direction: column; font-size: 0.9rem; font-weight: 600; }
.home-portfolio-nav small { color: var(--nav-color); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }
.home-portfolio-nav b { color: var(--gray-500); font-size: 0.7rem; font-weight: 500; white-space: nowrap; }

.home-portfolio-group {
    scroll-margin-top: 110px;
}

.home-portfolio-group + .home-portfolio-group {
    padding-top: 3.5rem;
}

.home-portfolio-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.home-portfolio-group-title {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.home-portfolio-group-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: #2563eb;
}

.home-portfolio-group-custom .home-portfolio-group-icon { background: #7c3aed; }
.home-portfolio-group-heading small { color: var(--blue-600); font-size: 0.67rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.home-portfolio-group-custom .home-portfolio-group-heading small { color: #7c3aed; }
.home-portfolio-group-heading h3 { margin: 0.1rem 0 0.3rem; color: var(--gray-900); font-size: 1.35rem; font-weight: 700; }
.home-portfolio-group-heading p { max-width: 700px; margin: 0; color: var(--gray-500); font-size: 0.86rem; line-height: 1.6; }
.home-portfolio-group-link { display: inline-flex; align-items: center; gap: 0.4rem; flex: 0 0 auto; color: var(--blue-700); font-size: 0.8rem; font-weight: 600; text-decoration: none; }
.home-portfolio-group-custom .home-portfolio-group-link { color: #7c3aed; }

.portfolio-grid-custom .portfolio-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.portfolio-grid-custom .portfolio-preview {
    min-height: 390px;
    aspect-ratio: auto;
}

.portfolio-card {
    border: 1px solid var(--gray-200);
    border-radius: 26px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.portfolio-card:hover {
    border-color: color-mix(in srgb, var(--portfolio-accent) 35%, var(--gray-200));
    box-shadow: 0 24px 55px -30px color-mix(in srgb, var(--portfolio-accent) 55%, transparent);
    transform: translateY(-7px);
}

.portfolio-preview {
    position: relative;
    aspect-ratio: 16 / 8.5;
    padding: 1rem 1rem 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 10%, color-mix(in srgb, var(--portfolio-accent) 35%, transparent), transparent 32%),
        linear-gradient(145deg, #0f172a, color-mix(in srgb, var(--portfolio-accent) 24%, #0f172a));
}

.portfolio-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    height: 28px;
    padding: 0 0.65rem;
    border-radius: 12px 12px 0 0;
    background: #e8edf5;
}

.portfolio-browser-bar > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
}

.portfolio-browser-bar > span:first-child {
    background: #fb7185;
}

.portfolio-browser-bar > span:nth-child(2) {
    background: #fbbf24;
}

.portfolio-browser-bar > span:nth-child(3) {
    background: #4ade80;
}

.portfolio-browser-address {
    width: 42%;
    height: 8px;
    margin-left: 0.5rem;
    border-radius: 999px;
    background: #cbd5e1;
}

.portfolio-screen {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    height: calc(100% - 28px);
    min-height: 150px;
    border: 5px solid #e8edf5;
    border-top: 0;
    background: #f8fafc;
    box-shadow: 0 20px 45px rgba(2, 6, 23, 0.35);
}

.portfolio-screen-nav {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.85rem 0.6rem;
    color: #ffffff;
    background: color-mix(in srgb, var(--portfolio-accent) 80%, #0f172a);
}

.portfolio-screen-nav i {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.portfolio-screen-nav span {
    width: 80%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
}

.portfolio-screen-content {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.85rem;
}

.portfolio-screen-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portfolio-screen-heading span {
    width: 36%;
    height: 7px;
    border-radius: 999px;
    background: #334155;
}

.portfolio-screen-heading b {
    width: 18%;
    height: 16px;
    border-radius: 5px;
    background: var(--portfolio-accent);
}

.portfolio-screen-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.portfolio-screen-stats span {
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.portfolio-screen-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    min-height: 54px;
    padding: 0.55rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

.portfolio-screen-chart i {
    width: 100%;
    height: 42%;
    border-radius: 3px 3px 0 0;
    background: color-mix(in srgb, var(--portfolio-accent) 55%, #dbeafe);
}

.portfolio-screen-chart i:nth-child(2) {
    height: 72%;
}

.portfolio-screen-chart i:nth-child(3) {
    height: 50%;
}

.portfolio-screen-chart i:nth-child(4) {
    height: 86%;
}

.portfolio-screen-chart i:nth-child(5) {
    height: 65%;
}

.portfolio-screen-chart i:nth-child(6) {
    height: 92%;
}

.portfolio-preview-calendar .portfolio-screen-chart i,
.portfolio-preview-booking .portfolio-screen-chart i {
    height: 80%;
    border-radius: 4px;
    background: color-mix(in srgb, var(--portfolio-accent) 18%, #ffffff);
    outline: 1px solid color-mix(in srgb, var(--portfolio-accent) 35%, #e2e8f0);
}

.portfolio-preview-workflow .portfolio-screen-stats span:nth-child(2) {
    transform: translateY(8px);
}

.portfolio-preview-workflow .portfolio-screen-stats span:nth-child(3) {
    transform: translateY(16px);
}

.portfolio-mockup-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(8px);
    font-size: 0.65rem;
    font-weight: 600;
}

.portfolio-body {
    padding: 1.5rem;
}

.portfolio-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.7rem;
}

.portfolio-category {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--portfolio-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-heading h3 {
    margin: 0;
    color: var(--gray-900);
    font-size: 1.15rem;
    font-weight: 700;
}

.portfolio-icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 11px;
    color: var(--portfolio-accent);
    background: color-mix(in srgb, var(--portfolio-accent) 9%, white);
}

.portfolio-body > p {
    margin-bottom: 1.1rem;
    color: var(--gray-600);
    font-size: 0.86rem;
    line-height: 1.65;
}

.portfolio-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.portfolio-metrics > div {
    display: grid;
    gap: 0.1rem;
    padding: 0.7rem;
    border-left: 3px solid var(--portfolio-accent);
    border-radius: 0 9px 9px 0;
    background: var(--gray-50);
}

.portfolio-metrics strong {
    color: var(--gray-900);
    font-size: 0.85rem;
}

.portfolio-metrics span {
    color: var(--gray-500);
    font-size: 0.68rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.portfolio-tags span {
    padding: 0.3rem 0.55rem;
    border: 1px solid color-mix(in srgb, var(--portfolio-accent) 18%, var(--gray-200));
    border-radius: 999px;
    color: var(--gray-600);
    background: color-mix(in srgb, var(--portfolio-accent) 4%, white);
    font-size: 0.68rem;
    font-weight: 650;
}

.step-card {
    height: 100%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-xl);
}

.step-number {
    width: 52px;
    height: 52px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--blue-600);
    font-weight: 800;
}

.pricing-card {
    position: relative;
    height: 100%;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
    border-color: var(--blue-600);
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.14);
}

.pricing-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--blue-600);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
}

.pricing-price {
    color: var(--blue-600);
    font-size: 1.35rem;
    font-weight: 800;
}

.pricing-list {
    display: grid;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    color: var(--gray-700);
}

.pricing-list i {
    color: var(--success);
    margin-top: 0.125rem;
}

.blog-card {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-card:hover img {
    transform: scale(1.04);
}

.blog-card img {
    transition: transform 0.45s ease;
}

.home-blog-categories {
    display: flex;
    gap: 0.55rem;
    padding-bottom: 0.35rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.home-blog-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
    padding: 0.48rem 0.8rem;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    color: var(--gray-600);
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-base);
}

.home-blog-category span {
    display: inline-grid;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.3rem;
    place-items: center;
    border-radius: 999px;
    color: var(--blue-700);
    background: var(--blue-50);
    font-size: 0.68rem;
}

.home-blog-category:hover,
.home-blog-category.is-active {
    border-color: var(--blue-600);
    color: #ffffff;
    background: var(--blue-600);
}

.home-blog-category.is-active span {
    color: var(--blue-700);
    background: #ffffff;
}

.home-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
    align-items: stretch;
    gap: 1.5rem;
}

.home-blog-featured {
    border: 1px solid var(--gray-200);
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.home-blog-featured {
    display: grid;
    grid-template-rows: minmax(270px, 1fr) auto;
    border-radius: 26px;
}

.home-blog-featured-media {
    position: relative;
    display: block;
    min-height: 270px;
    overflow: hidden;
}

.home-blog-featured-media::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.55));
    content: "";
}

.home-blog-featured-media img,
.home-blog-latest-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.home-blog-featured:hover .home-blog-featured-media img,
.home-blog-news-card:hover .home-blog-latest-media img {
    transform: scale(1.04);
}

.home-blog-featured-label {
    position: absolute;
    z-index: 1;
    top: 1rem;
    left: 1rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(8px);
    font-size: 0.72rem;
    font-weight: 750;
}

.home-blog-featured-body {
    padding: 1.5rem;
}

.home-blog-featured-body h3 {
    margin: 0.85rem 0 0.65rem;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.35;
}

.home-blog-featured-body h3 a,
.home-blog-latest-body h4 a {
    color: var(--gray-900);
    text-decoration: none;
}

.home-blog-featured-body h3 a:hover,
.home-blog-latest-body h4 a:hover {
    color: var(--blue-600);
}

.home-blog-featured-body > p {
    margin-bottom: 1rem;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
}

.home-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    color: var(--gray-500);
    font-size: 0.72rem;
}

.home-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-blog-meta i {
    color: var(--blue-600);
}

.home-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.1rem;
    color: var(--blue-600);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.home-blog-read-more i {
    transition: transform 180ms ease;
}

.home-blog-read-more:hover i {
    transform: translateX(4px);
}

.home-blog-latest {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 1.25rem;
    border: 1px solid var(--gray-200);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.home-blog-latest-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.home-blog-latest-heading > div > span {
    color: var(--blue-600);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-blog-latest-heading h3 {
    margin: 0.15rem 0 0;
    color: var(--gray-900);
    font-size: 1.15rem;
    font-weight: 800;
}

.home-blog-latest-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--blue-600);
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.home-blog-latest-all i {
    transition: transform 180ms ease;
}

.home-blog-latest-all:hover i {
    transform: translateX(3px);
}

.home-blog-news-list {
    display: grid;
    gap: 0.85rem;
    padding-top: 1rem;
}

.home-blog-news-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: stretch;
    min-height: 156px;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    overflow: hidden;
    color: inherit;
    background: #ffffff;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-blog-news-card:hover {
    border-color: var(--blue-100);
    box-shadow: 0 14px 30px -20px rgba(37, 99, 235, 0.55);
    transform: translateY(-3px);
}

.home-blog-latest-media {
    display: block;
    min-height: 156px;
    overflow: hidden;
}

.home-blog-latest-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.home-blog-news-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    color: var(--gray-500);
    font-size: 0.65rem;
    font-weight: 700;
}

.home-blog-news-kicker span:first-child {
    color: var(--blue-600);
    font-weight: 800;
}

.home-blog-news-kicker span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.home-blog-latest-body h4 {
    display: -webkit-box;
    margin-bottom: 0.8rem;
    overflow: hidden;
    color: var(--gray-900);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-blog-news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-top: auto;
    color: var(--gray-500);
    font-size: 0.65rem;
}

.home-blog-news-footer > span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.home-blog-news-arrow {
    display: inline-grid !important;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 50%;
    color: var(--blue-600);
    background: var(--blue-50);
    font-size: 0.72rem;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.home-blog-news-card:hover .home-blog-news-arrow {
    color: #ffffff;
    background: var(--blue-600);
    transform: translate(2px, -2px);
}

.stat-item {
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 1.5rem;
}

.stat-item h2,
.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
}

.cta-section {
    background: linear-gradient(135deg, var(--section-bg-start, #4e73df) 0%, var(--section-bg-end, #224abe) 100%);
    border-radius: 0;
}

.home-contact-heading {
    max-width: 850px;
    margin: 0 auto 2.25rem;
}

.home-contact-kicker {
    display: inline-flex;
    margin-bottom: 0.75rem;
    color: #bfdbfe;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.home-contact-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    min-width: 0;
    padding: 1.25rem;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.25rem;
    backdrop-filter: blur(12px);
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.home-contact-card:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.38);
    transform: translateY(-4px);
}

.home-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    color: #fff;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
}

.home-contact-line .home-contact-icon { background: #06c755; }
.home-contact-facebook .home-contact-icon { background: #1877f2; }
.home-contact-instagram .home-contact-icon { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }

.home-contact-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.home-contact-content small {
    color: #bfdbfe;
    font-weight: 700;
}

.home-contact-content strong {
    overflow: hidden;
    margin: 0.15rem 0 0.3rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-contact-content span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    line-height: 1.45;
}

.home-contact-arrow {
    color: #bfdbfe;
}

.home-contact-action {
    margin-top: 2rem;
}

@media (max-width: 991.98px) {
    .home-contact-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
    }
}

.hero-section {
    position: relative;
    min-height: clamp(420px, 48vw, 620px);
    padding: clamp(48px, 7vw, 96px) 0;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: center;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-overlay,
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-overlay {
    z-index: 1;
    background:
        linear-gradient(115deg, rgb(15 23 42 / 96%) 0%, rgb(5 29 107 / 90%) 47%, rgb(14 165 233 / 12%) 100%),
        linear-gradient(180deg, rgba(14, 165, 233, 0.12) 0%, rgba(15, 23, 42, 0.58) 100%);
}

.hero-shapes {
    z-index: 2;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    display: block;
    border-radius: 999px;
    filter: blur(0);
    opacity: 0.95;
}

.hero-shape-one {
    top: -9%;
    right: -6%;
    width: min(28vw, 360px);
    height: min(28vw, 360px);
    background: radial-gradient(circle at 35% 35%, rgba(125, 211, 252, 0.88), rgba(37, 99, 235, 0.18) 62%, rgba(37, 99, 235, 0) 72%);
}

.hero-shape-two {
    bottom: -18%;
    left: -4%;
    width: min(24vw, 320px);
    height: min(24vw, 320px);
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.4), rgba(15, 23, 42, 0) 70%);
}

.hero-shape-three {
    top: 12%;
    right: 42%;
    width: min(12vw, 160px);
    height: min(12vw, 160px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(4px);
    transform: rotate(22deg);
    animation: heroShapeFloat 8s ease-in-out infinite;
}

.hero-orbit {
    position: absolute;
    top: 50%;
    right: -8%;
    width: min(48vw, 680px);
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--site-accent-soft, #ffffff) 38%, transparent);
    border-radius: 50%;
    opacity: 0.48;
    transform: translateY(-50%) rotate(-18deg);
}

.hero-orbit::before,
.hero-orbit::after {
    position: absolute;
    border-radius: 50%;
    content: "";
}

.hero-orbit::before {
    inset: 13%;
    border: 1px dashed color-mix(in srgb, var(--site-accent-soft, #ffffff) 34%, transparent);
}

.hero-orbit::after {
    top: 18%;
    left: 5%;
    width: clamp(10px, 1.2vw, 16px);
    aspect-ratio: 1;
    background: var(--site-accent-soft, #ffffff);
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--site-accent-soft, #ffffff) 14%, transparent);
    animation: heroOrbitPulse 3.6s ease-in-out infinite;
}

.hero-dots {
    position: absolute;
    top: 13%;
    left: 3%;
    width: min(18vw, 220px);
    height: min(14vw, 170px);
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.42) 1.5px, transparent 1.7px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(135deg, #000 22%, transparent 82%);
    mask-image: linear-gradient(135deg, #000 22%, transparent 82%);
    opacity: 0.52;
    transform: rotate(-8deg);
}

.hero-ribbon {
    position: absolute;
    right: 19%;
    bottom: -12%;
    width: min(44vw, 620px);
    height: min(16vw, 210px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(105deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.13));
    clip-path: polygon(8% 0, 100% 24%, 88% 100%, 0 72%);
    transform: rotate(-7deg);
}

.hero-grid {
    position: absolute;
    inset: auto 6% 8% auto;
    width: min(26vw, 340px);
    height: min(16vw, 210px);
    display: block;
    border-radius: 28px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 100%);
    opacity: 0.4;
    transform: rotate(-10deg);
}

@keyframes heroShapeFloat {
    0%,
    100% {
        transform: translateY(0) rotate(22deg);
    }

    50% {
        transform: translateY(-14px) rotate(28deg);
    }
}

@keyframes heroOrbitPulse {
    0%,
    100% {
        opacity: 0.72;
        transform: scale(0.9);
    }

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

.hero-content-section {
    padding: 64px 0 72px;
    background: #ffffff;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

.hero-copy {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
}

.hero-copy .display-3 {
    font-size: clamp(2.6rem, 4.2vw, 4rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.hero-copy h1,
.hero-eyebrow {
    color: #ffffff;
}

.hero-copy h1 span {
    /* background: linear-gradient(90deg, #2563eb 0%, #f97316 100%); */
    background: linear-gradient(90deg, #CDDC39 0%, #FF9800 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(6px);
    /* font-size: 0.82rem; */
    font-size: 0.9rem;
    /* font-weight: 700; */
}

.hero-copy .lead {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
    margin-bottom: 1.5rem;
}

.hero-copy .btn {
    min-width: 170px;
    padding: 0.85rem 1.5rem;
    font-weight: 700;
}

.hero-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.hero-signals span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
}

.hero-signals i {
    color: #fdba74;
}

.hero-services {
    position: relative;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(15, 23, 42, 0.38));
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.42);
    backdrop-filter: blur(18px);
}

.hero-services::before {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.1), transparent 45%);
    content: "";
    pointer-events: none;
}

.hero-services-heading,
.hero-services-list {
    position: relative;
    z-index: 1;
}

.hero-services-heading {
    margin-bottom: 1rem;
}

.hero-services-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #7dd3fc;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-services-heading h2 {
    margin-bottom: 0.35rem;
    color: #ffffff;
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    font-weight: 800;
}

.hero-services-heading p {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.86rem;
    line-height: 1.55;
}

.hero-services-list {
    display: grid;
    gap: 0.85rem;
}

.hero-service-card {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.62);
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-service-card:hover {
    border-color: rgba(125, 211, 252, 0.48);
    background: rgba(15, 23, 42, 0.78);
    transform: translateY(-2px);
}

.hero-service-card-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.hero-service-icon {
    display: inline-grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    place-items: center;
    border: 1px solid rgba(125, 211, 252, 0.3);
    border-radius: 12px;
    color: #7dd3fc;
    background: rgba(14, 165, 233, 0.13);
    font-size: 1.1rem;
}

.hero-service-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 750;
}

.hero-service-card > p {
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
    line-height: 1.55;
}

.hero-service-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    padding: 0;
    margin: 0 0 0.8rem;
    list-style: none;
}

.hero-service-card li {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.75rem;
}

.hero-service-card li i {
    color: #86efac;
}

.hero-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    border: 0;
    color: #7dd3fc;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 750;
}

.hero-service-link i {
    transition: transform 180ms ease;
}

.hero-service-link:hover i {
    transform: translateX(4px);
}

/* Hero product-planner UI */
.hero-planner-section {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    border-bottom: 1px solid var(--site-border, #e2e8f0);
    background:
        radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--site-primary, #2563eb) 14%, transparent), transparent 28%),
        radial-gradient(circle at 8% 92%, color-mix(in srgb, var(--site-accent, #0ea5e9) 10%, transparent), transparent 26%),
        linear-gradient(180deg, var(--site-section-soft, #f8fafc), #ffffff 72%);
    isolation: isolate;
}

.hero-planner-section::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(color-mix(in srgb, var(--site-primary, #2563eb) 7%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--site-primary, #2563eb) 7%, transparent) 1px, transparent 1px);
    background-size: 38px 38px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 76%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 76%);
    content: "";
}

.hero-planner-backdrop {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
}

.hero-planner-backdrop span {
    position: absolute;
    border: 1px solid color-mix(in srgb, var(--site-primary, #2563eb) 18%, transparent);
    border-radius: 50%;
}

.hero-planner-backdrop span:first-child {
    top: -170px;
    right: -120px;
    width: 420px;
    height: 420px;
    box-shadow:
        0 0 0 48px color-mix(in srgb, var(--site-primary, #2563eb) 3%, transparent),
        0 0 0 96px color-mix(in srgb, var(--site-primary, #2563eb) 2%, transparent);
}

.hero-planner-backdrop span:last-child {
    bottom: -110px;
    left: -90px;
    width: 260px;
    height: 260px;
    border-style: dashed;
}

.hero-planner-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    width: min(100%, 1120px);
    margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
}

.hero-planner-heading-copy {
    max-width: 720px;
}

.hero-planner-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--site-primary-text, var(--site-primary-dark, #1d4ed8));
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-planner-kicker i {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid var(--site-border, #dbeafe);
    border-radius: 9px;
    background: var(--site-accent-soft, #eff6ff);
    font-size: 0.95rem;
}

.hero-planner-heading h2 {
    margin: 0;
    color: var(--site-card-text, #0f172a);
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.hero-planner-heading p {
    max-width: 640px;
    margin: 0.8rem 0 0;
    color: var(--site-card-muted, #64748b);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
}

.hero-planner-badges {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

.hero-planner-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.58rem 0.78rem;
    border: 1px solid var(--site-card-border, #e2e8f0);
    border-radius: 999px;
    color: var(--site-card-muted, #64748b);
    background: color-mix(in srgb, var(--site-card, #ffffff) 88%, transparent);
    box-shadow: 0 8px 20px var(--site-shadow-soft, rgba(15, 23, 42, 0.05));
    font-size: 0.72rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.hero-planner-badges i {
    color: var(--site-primary-dark, #1d4ed8);
}

.service-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
    width: min(100%, 1120px);
    margin: 0 auto;
}

.service-path-card {
    --path-accent: var(--site-primary, #2563eb);
    position: relative;
    overflow: hidden;
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    padding: clamp(1.4rem, 3vw, 2.15rem);
    border: 1px solid color-mix(in srgb, var(--path-accent) 24%, var(--site-card-border, #e2e8f0));
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--path-accent) 10%, transparent), transparent 34%),
        var(--site-card, #ffffff);
    box-shadow: 0 20px 46px -30px color-mix(in srgb, var(--path-accent) 42%, transparent);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.service-path-card:nth-child(2) {
    --path-accent: var(--site-accent, #0ea5e9);
}

.service-path-card:hover {
    border-color: color-mix(in srgb, var(--path-accent) 54%, var(--site-card-border, #e2e8f0));
    box-shadow: 0 26px 58px -28px color-mix(in srgb, var(--path-accent) 48%, transparent);
    transform: translateY(-5px);
}

.service-path-card-topline {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--path-accent), color-mix(in srgb, var(--path-accent) 26%, transparent) 70%, transparent);
}

.service-path-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.service-path-icon {
    display: inline-grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--path-accent) 24%, transparent);
    border-radius: 16px;
    color: var(--path-accent);
    background: color-mix(in srgb, var(--path-accent) 9%, white);
    box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--path-accent) 70%, transparent);
    font-size: 1.35rem;
}

.service-path-index {
    color: color-mix(in srgb, var(--path-accent) 44%, var(--site-card-muted, #64748b));
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.service-path-label {
    align-self: flex-start;
    padding: 0.35rem 0.6rem;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    color: color-mix(in srgb, var(--path-accent) 76%, #0f172a);
    background: color-mix(in srgb, var(--path-accent) 10%, white);
    font-size: 0.7rem;
    font-weight: 800;
}

.service-path-card h3 {
    margin: 0;
    color: var(--site-card-text, #0f172a);
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.3;
}

.service-path-card > p {
    margin: 0.8rem 0 1.2rem;
    color: var(--site-card-muted, #64748b);
    font-size: 0.9rem;
    line-height: 1.7;
}

.service-path-card ul {
    display: grid;
    gap: 0.65rem;
    padding: 1.1rem 0 0;
    margin: 0 0 1.5rem;
    border-top: 1px solid var(--site-card-border, #e2e8f0);
    list-style: none;
}

.service-path-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--site-card-muted, #64748b);
    font-size: 0.82rem;
    line-height: 1.5;
}

.service-path-card li i {
    flex: 0 0 auto;
    margin-top: 0.08rem;
    color: var(--path-accent);
}

.service-path-action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.7rem 0.9rem;
    margin-top: auto;
    border: 1px solid color-mix(in srgb, var(--path-accent) 42%, transparent);
    border-radius: 12px;
    color: color-mix(in srgb, var(--path-accent) 76%, #0f172a);
    background: transparent;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-path-action:hover,
.service-path-action:focus-visible {
    color: #ffffff;
    background: var(--path-accent);
    box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--path-accent) 70%, transparent);
    transform: translateY(-1px);
}

.service-path-action:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--path-accent) 24%, transparent);
    outline-offset: 3px;
}

.hero-planner-section .hero-product-ui {
    width: min(100%, 1120px);
    margin: 0 auto;
    border-color: color-mix(in srgb, var(--site-primary, #2563eb) 22%, var(--site-card-border, #e2e8f0));
    box-shadow:
        0 28px 80px -34px color-mix(in srgb, var(--site-primary, #2563eb) 38%, transparent),
        0 18px 42px var(--site-shadow-soft, rgba(15, 23, 42, 0.06));
}

.hero-product-ui {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--site-card-border, rgba(255, 255, 255, 0.2));
    border-radius: 24px;
    color: var(--site-card-text, #0f172a);
    background: var(--site-card, #ffffff);
    box-shadow: 0 24px 60px var(--site-shadow-strong, rgba(15, 23, 42, 0.18));
}

.hero-ui-window-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 42px;
    padding: 0.55rem 0.8rem;
    border-bottom: 1px solid var(--site-card-border, #e2e8f0);
    background: var(--site-card-soft, #f8fafc);
}

.hero-ui-window-dots {
    display: flex;
    gap: 0.3rem;
}

.hero-ui-window-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--site-border, #cbd5e1);
}

.hero-ui-window-dots i:first-child {
    background: var(--site-primary, #2563eb);
}

.hero-ui-window-title {
    overflow: hidden;
    color: var(--site-card-muted, #64748b);
    font-size: 0.66rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-ui-window-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--site-card-muted, #64748b);
    font-size: 0.62rem;
    font-weight: 600;
}

.hero-ui-window-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
}

.hero-ui-workspace {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 540px;
}

.hero-ui-sidebar {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.85rem 0.55rem;
    border-right: 1px solid var(--site-card-border, #e2e8f0);
    background: var(--site-card-soft, #f8fafc);
}

.hero-ui-brand,
.hero-ui-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.hero-ui-brand {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.45rem;
    color: #ffffff;
    background: var(--site-primary-dark, #1d4ed8);
}

.hero-ui-nav-item {
    min-height: 54px;
    flex-direction: column;
    gap: 0.3rem;
    color: var(--site-card-muted, #64748b);
    font-size: 0.58rem;
    text-align: center;
}

.hero-ui-nav-item i {
    font-size: 0.95rem;
}

.hero-ui-nav-item b {
    font-weight: 600;
}

.hero-ui-nav-item.is-active {
    color: var(--site-primary-dark, #1d4ed8);
    background: var(--site-accent-soft, #eff6ff);
}

.hero-ui-main {
    min-width: 0;
    padding: clamp(1.2rem, 2.2vw, 1.65rem);
}

.hero-ui-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.hero-ui-heading h2 {
    margin: 0;
    color: var(--site-card-text, #0f172a);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
}

.hero-ui-step,
.hero-ui-option-label {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--site-card-border, #e2e8f0);
    border-radius: 999px;
    color: var(--site-primary-dark, #1d4ed8);
    background: var(--site-card-soft, #f8fafc);
    font-size: 0.62rem;
    font-weight: 600;
    white-space: nowrap;
}

.hero-ui-step {
    padding: 0.35rem 0.55rem;
}

.hero-ui-intro {
    margin: 0.55rem 0 1rem;
    color: var(--site-card-muted, #64748b);
    font-size: 0.82rem;
    line-height: 1.55;
}

.hero-ui-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hero-ui-option {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 1.1rem;
    border: 1px solid var(--site-card-border, #e2e8f0);
    border-radius: 16px;
    background: var(--site-card, #ffffff);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hero-ui-option.is-recommended {
    border-color: var(--site-primary, #2563eb);
}

.hero-ui-option:hover {
    border-color: var(--site-primary, #2563eb);
    box-shadow: 0 12px 28px var(--site-shadow, rgba(15, 23, 42, 0.08));
    transform: translateY(-2px);
}

.hero-ui-option-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.hero-ui-option-label {
    padding: 0.2rem 0.45rem;
    margin-bottom: 0.25rem;
}

.hero-ui-option h3 {
    margin: 0;
    color: var(--site-card-text, #0f172a);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.hero-ui-option > p {
    margin: 0 0 0.65rem;
    color: var(--site-card-muted, #64748b);
    font-size: 0.75rem;
    line-height: 1.55;
}

.hero-ui-option ul {
    display: grid;
    gap: 0.35rem;
    padding: 0;
    margin: 0 0 0.75rem;
    list-style: none;
}

.hero-ui-option li {
    display: flex;
    gap: 0.35rem;
    color: var(--site-card-muted, #64748b);
    font-size: 0.72rem;
}

.hero-ui-option li i {
    color: var(--site-primary-dark, #1d4ed8);
}

.hero-ui-action {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    padding: 0.45rem 0.65rem;
    margin-top: auto;
    border: 1px solid var(--site-primary, #2563eb);
    border-radius: 9px;
    color: var(--site-primary-dark, #1d4ed8);
    background: transparent;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.hero-ui-option.is-recommended .hero-ui-action,
.hero-ui-action:hover {
    color: #ffffff;
    background: var(--site-primary-dark, #1d4ed8);
}

.hero-ui-action:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--site-primary, #2563eb) 28%, transparent);
    outline-offset: 2px;
}

.hero-ui-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    margin-top: 0.9rem;
}

.hero-ui-progress span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--site-card-muted, #64748b);
    font-size: 0.68rem;
    white-space: nowrap;
}

.hero-ui-progress i {
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border: 1px solid var(--site-card-border, #e2e8f0);
    border-radius: 50%;
    color: var(--site-card-muted, #64748b);
    background: var(--site-card, #ffffff);
    font-style: normal;
}

.hero-ui-progress .is-active,
.hero-ui-progress .is-active i {
    color: var(--site-primary-dark, #1d4ed8);
}

.hero-ui-progress .is-active i {
    border-color: var(--site-primary, #2563eb);
    background: var(--site-accent-soft, #eff6ff);
}

/* Technology workspace treatment for the planner below the hero. */
.hero-planner-section .hero-product-ui::before {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--site-primary, #2563eb), var(--site-accent, #0ea5e9), transparent 88%);
    content: "";
    pointer-events: none;
}

.hero-planner-section .hero-ui-window-bar {
    min-height: 48px;
    padding-inline: 1rem;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--site-card-soft, #f8fafc) 94%, var(--site-primary, #2563eb)), var(--site-card-soft, #f8fafc));
}

.hero-planner-section .hero-ui-window-dots i {
    width: 9px;
    height: 9px;
}

.hero-planner-section .hero-ui-window-dots i:first-child {
    background: var(--site-primary, #2563eb);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--site-primary, #2563eb) 12%, transparent);
}

.hero-planner-section .hero-ui-window-dots i:nth-child(2) {
    background: var(--site-accent, #0ea5e9);
}

.hero-planner-section .hero-ui-window-title {
    color: var(--site-card-text, #0f172a);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.02em;
}

.hero-planner-section .hero-ui-window-status {
    padding: 0.3rem 0.55rem;
    border: 1px solid color-mix(in srgb, #16a34a 22%, transparent);
    border-radius: 999px;
    color: #15803d;
    background: color-mix(in srgb, #dcfce7 72%, transparent);
}

.hero-planner-section .hero-ui-window-status i {
    box-shadow: 0 0 0 4px color-mix(in srgb, #16a34a 13%, transparent);
}

.hero-planner-section .hero-ui-sidebar {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--site-accent-soft, #eff6ff) 70%, white), var(--site-card-soft, #f8fafc));
}

.hero-planner-section .hero-ui-brand {
    background: linear-gradient(135deg, var(--site-primary, #2563eb), var(--site-primary-dark, #1d4ed8));
    box-shadow: 0 10px 22px color-mix(in srgb, var(--site-primary, #2563eb) 24%, transparent);
}

.hero-planner-section .hero-ui-nav-item {
    border: 1px solid transparent;
}

.hero-planner-section .hero-ui-nav-item.is-active {
    border-color: color-mix(in srgb, var(--site-primary, #2563eb) 18%, transparent);
    background: color-mix(in srgb, var(--site-accent-soft, #eff6ff) 82%, white);
    box-shadow: 0 8px 18px var(--site-shadow-soft, rgba(15, 23, 42, 0.05));
}

.hero-planner-section .hero-ui-main {
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--site-primary, #2563eb) 6%, transparent), transparent 34%),
        var(--site-card, #ffffff);
}

.hero-planner-section .hero-ui-step {
    border-color: color-mix(in srgb, var(--site-primary, #2563eb) 22%, var(--site-card-border, #e2e8f0));
    color: var(--site-primary-text, var(--site-primary-dark, #1d4ed8));
    background: var(--site-accent-soft, #eff6ff);
}

.hero-planner-section .hero-ui-option {
    overflow: hidden;
    border-color: color-mix(in srgb, var(--site-card-border, #e2e8f0) 82%, transparent);
    background: color-mix(in srgb, var(--site-card, #ffffff) 96%, var(--site-accent-soft, #eff6ff));
}

.hero-planner-section .hero-ui-option::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: transparent;
    content: "";
}

.hero-planner-section .hero-ui-option.is-recommended {
    border-color: color-mix(in srgb, var(--site-primary, #2563eb) 46%, var(--site-card-border, #e2e8f0));
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--site-accent-soft, #eff6ff) 58%, white), var(--site-card, #ffffff) 62%);
    box-shadow: 0 16px 34px -24px color-mix(in srgb, var(--site-primary, #2563eb) 58%, transparent);
}

.hero-planner-section .hero-ui-option.is-recommended::before {
    background: linear-gradient(180deg, var(--site-primary, #2563eb), var(--site-accent, #0ea5e9));
}

.hero-planner-section .hero-service-icon {
    border-radius: 12px;
    box-shadow: 0 9px 20px var(--site-shadow-soft, rgba(15, 23, 42, 0.05));
}

.hero-planner-section .hero-ui-action {
    min-height: 40px;
    border-radius: 11px;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hero-planner-section .hero-ui-option.is-recommended .hero-ui-action,
.hero-planner-section .hero-ui-action:hover {
    background: linear-gradient(135deg, var(--site-primary, #2563eb), var(--site-primary-dark, #1d4ed8));
    box-shadow: 0 10px 22px color-mix(in srgb, var(--site-primary, #2563eb) 22%, transparent);
    transform: translateY(-1px);
}

.hero-planner-section .hero-ui-progress {
    padding: 0.45rem;
    border: 1px solid var(--site-card-border, #e2e8f0);
    border-radius: 14px;
    background: var(--site-card-soft, #f8fafc);
}

.hero-planner-section .hero-ui-progress span {
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    padding: 0.5rem 0.65rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--site-card, #ffffff);
    line-height: 1.25;
    text-align: center;
    white-space: normal;
}

.hero-planner-section .hero-ui-progress span.is-active {
    border-color: color-mix(in srgb, var(--site-primary, #2563eb) 22%, var(--site-card-border, #e2e8f0));
    background: var(--site-accent-soft, #eff6ff);
    box-shadow: 0 6px 16px var(--site-shadow-soft, rgba(15, 23, 42, 0.05));
}

.hero-planner-section .hero-ui-progress i {
    flex: 0 0 auto;
    box-shadow: none;
}

.hero-copy .btn:hover,
.cta-section .btn:hover {
    transform: translateY(-2px);
}

@keyframes heroImageReveal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes heroSlowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.04);
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-animate .hero-media img,
    .home-animation-ready .animate-rise,
    .home-animation-ready .animate-left,
    .home-animation-ready .animate-right,
    .animate-rise,
    .animate-left,
    .animate-right {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .feature-card,
    .blog-card,
    .blog-card img,
    .service-path-card,
    .service-path-action,
    .hero-copy .btn,
    .cta-section .btn,
    .hero-shape-three,
    .hero-orbit::after {
        animation: none;
        transition: none;
    }
}

@media (max-width: 991.98px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

    .plan-category-grid {
        grid-template-columns: 1fr;
    }

    .plan-category-panel > p {
        min-height: 0;
    }

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

}

@media (max-width: 1199.98px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .category-card:first-child {
        grid-column: span 2;
    }

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

@media (max-width: 991.98px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-product-ui {
        width: 100%;
        max-width: 820px;
    }

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

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

    .portfolio-grid-custom .portfolio-preview {
        min-height: 0;
        aspect-ratio: 16 / 8.5;
    }
}

@media (max-width: 768px) {
    .hero-planner-section {
        padding: 3rem 0;
    }

    .hero-planner-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
    }

    .hero-planner-badges {
        justify-content: flex-start;
    }

    .service-path-grid {
        grid-template-columns: 1fr;
    }

    .hero-ui-window-status,
    .hero-ui-nav-item b {
        display: none;
    }

    .hero-ui-workspace {
        grid-template-columns: 1fr;
    }

    .hero-ui-sidebar {
        display: grid;
        grid-template-columns: auto repeat(3, 1fr);
        align-items: center;
        padding: 0.55rem;
        border-right: 0;
        border-bottom: 1px solid var(--site-card-border, #e2e8f0);
    }

    .hero-ui-brand {
        margin: 0;
    }

    .hero-ui-nav-item {
        min-height: 36px;
    }

    .hero-ui-options {
        grid-template-columns: 1fr;
    }

    .home-section::before {
        width: 220px;
        height: 136px;
        background-size: 42px 42px, 18px 18px, 18px 18px, auto;
        opacity: 0.48;
    }

    .home-section::after {
        width: 156px;
        height: 108px;
        opacity: 0.4;
    }

    .hero-section {
        min-height: clamp(240px, 58vw, 420px);
        padding: 2.5rem 0;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.68) 100%),
            linear-gradient(120deg, rgba(14, 165, 233, 0.1) 0%, rgba(15, 23, 42, 0.18) 100%);
    }

    .hero-shape-one {
        width: 220px;
        height: 220px;
        top: -10%;
        right: -18%;
    }

    .hero-shape-two {
        width: 180px;
        height: 180px;
        left: -14%;
        bottom: -14%;
    }

    .hero-shape-three {
        width: 96px;
        height: 96px;
        top: 14%;
        right: 8%;
        border-radius: 24px;
        opacity: 0.62;
    }

    .hero-orbit {
        top: 62%;
        right: -42%;
        width: 440px;
        opacity: 0.3;
    }

    .hero-dots {
        top: 8%;
        left: -3%;
        width: 150px;
        height: 120px;
        background-size: 16px 16px;
        opacity: 0.34;
    }

    .hero-ribbon {
        right: -18%;
        bottom: -4%;
        width: 360px;
        height: 140px;
        opacity: 0.55;
    }

    .hero-grid {
        width: 180px;
        height: 116px;
        right: -4%;
        bottom: 10%;
        opacity: 0.28;
    }

    .hero-media img {
        object-position: center center;
    }

    .hero-content-section {
        padding: 40px 0 52px;
    }

    .hero-copy {
        max-width: 92vw;
    }

    .hero-services {
        padding: 1rem;
        border-radius: 22px;
    }

    .hero-services-list {
        grid-template-columns: 1fr;
    }

    .hero-copy .display-3 {
        font-size: 2.6rem;
    }

    .hero-copy .lead {
        font-size: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-signals {
        flex-direction: column;
        gap: 0.6rem;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

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

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

    .home-portfolio-group-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-card {
        min-height: 300px;
        padding: 1.25rem;
    }

    .insight-card,
    .feature-card,
    .why-card,
    .service-model-card,
    .step-card,
    .pricing-card {
        padding: 1.5rem;
    }

    .stat-item {
        border-left: 0;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .hero-ui-window-title {
        text-align: right;
    }

    .hero-ui-heading {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-ui-progress span {
        justify-content: center;
    }

    .hero-ui-progress span {
        font-size: 0;
    }

    .hero-ui-progress i {
        font-size: 0.6rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card:first-child {
        grid-column: span 1;
    }

    .portfolio-grid-ready {
        grid-template-columns: 1fr;
    }

    .home-portfolio-nav a {
        grid-template-columns: auto 1fr;
    }

    .home-portfolio-nav b {
        display: none;
    }

    .home-blog-featured-body {
        padding: 1.25rem;
    }

    .home-blog-latest {
        padding: 1rem;
    }

    .home-blog-news-card {
        grid-template-columns: 108px minmax(0, 1fr);
        min-height: 140px;
    }

    .home-blog-latest-media {
        min-height: 140px;
    }

    .home-blog-news-kicker span:last-child {
        display: none;
    }

    .hero-copy .display-3 {
        font-size: 2.25rem;
    }
}
