/* 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-tile,
.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-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: 1rem;
}

.category-tile {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    min-height: 88px;
    padding: 1rem 1.125rem;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    color: var(--gray-900);
    font-weight: 700;
    text-align: left;
    transition: var(--transition-base);
}

.category-tile i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    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.25rem;
    flex: 0 0 auto;
    box-shadow: 0 8px 16px -6px color-mix(in srgb, var(--tile-color, #2563eb) 60%, transparent);
}

.category-tile:hover {
    transform: translateY(-5px);
    border-color: var(--blue-100);
    box-shadow: var(--shadow-md);
}

.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;
}

.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;
}

.hero-section {
    position: relative;
    min-height: clamp(320px, 56vw, 720px);
    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: 18%;
    right: 18%;
    width: min(14vw, 180px);
    height: min(14vw, 180px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(4px);
    transform: rotate(22deg);
}

.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);
}

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

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

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

.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-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,
    .hero-copy .btn,
    .cta-section .btn {
        transition: none;
    }
}

@media (max-width: 768px) {
    .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: 112px;
        height: 112px;
        top: 16%;
        right: 10%;
    }

    .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-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));
    }

    .category-tile {
        min-height: 104px;
        align-items: flex-start;
        flex-direction: column;
    }

    .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: 420px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

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