/* Theme tokens */
:root {
    --navy: #0b0f19;
    --navy-2: #111827;
    --ink: #060a12;
    --panel: #ffffff;
    --panel-2: #f4f6f8;
    --white: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --muted-2: #9ca3af;
    --yellow: #ffc107;
    --purple: #7c3aed;
    --purple-2: #a855f7;
    --pink: #ec4899;
    --orange: #ff7a1a;
    --line: rgba(17, 24, 39, 0.10);
    --line-dark: rgba(255, 255, 255, 0.12);
    --shadow: 0 22px 55px rgba(17, 24, 39, 0.10);
    --shadow-dark: 0 30px 80px rgba(0, 0, 0, 0.42);
    --radius: 14px;
}

/* Global base */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #f4f6f8;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    color: var(--muted);
    line-height: 1.75;
}

.section-padding {
    padding: 96px 0;
    background: #ffffff;
}

.section-padding-sm {
    padding: 80px 0;
    background: #ffffff;
}

.section-title {
    max-width: 760px;
    margin-bottom: 46px;
}

.section-title.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--purple);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--yellow), var(--purple));
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.45rem, 4.8vw, 4.35rem);
    line-height: 1.08;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.12;
}

.lead {
    color: #4b5563;
    font-size: 1.08rem;
}

.hero .lead,
.page-hero .lead {
    color: #e5e7eb;
}

.bg-deep {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 12% 10%, rgba(124, 58, 237, 0.28), transparent 28%),
        radial-gradient(circle at 88% 80%, rgba(255, 193, 7, 0.13), transparent 30%),
        linear-gradient(180deg, #070b15 0%, #111827 100%);
}

.text-gradient {
    background: linear-gradient(90deg, var(--yellow), #ffe082 38%, var(--purple-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Header and navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    background: transparent;
    border-bottom: 1px solid transparent;
    backdrop-filter: none;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(6, 10, 18, 0.88);
    border-color: var(--line-dark);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
}

.navbar {
    min-height: 86px;
}

.navbar-brand img,
.footer-logo img {
    width: 174px;
    height: auto;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.94rem;
    font-weight: 600;
    padding: 0.7rem 0.72rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--yellow);
}

.navbar-dark .navbar-nav .nav-link.active {
    position: relative;
}

.navbar-dark .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0.72rem;
    right: 0.72rem;
    bottom: 0.32rem;
    height: 2px;
    border-radius: 999px;
    background: var(--yellow);
}

.light-header-page .site-header:not(.is-scrolled) .navbar-dark .navbar-nav .nav-link {
    color: rgba(15, 23, 42, 0.78);
}

.light-header-page .site-header:not(.is-scrolled) .navbar-dark .navbar-nav .nav-link:hover,
.light-header-page .site-header:not(.is-scrolled) .navbar-dark .navbar-nav .nav-link.active {
    color: #315bff;
}

.light-header-page .site-header:not(.is-scrolled) .navbar-dark .navbar-nav .nav-link.active::after {
    background: #315bff;
}

.btn {
    border-radius: var(--radius);
    font-weight: 700;
    padding: 0.9rem 1.35rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn-brand {
    color: #0b0f19;
    background: linear-gradient(135deg, var(--yellow), #ffb300);
    border: 0;
    box-shadow: 0 18px 34px rgba(255, 193, 7, 0.24);
}

.btn-brand:hover {
    color: #0b0f19;
    transform: translateY(-2px);
    box-shadow: 0 24px 44px rgba(255, 193, 7, 0.32);
}

.btn-outline-brand {
    color: var(--text);
    border: 1px solid rgba(17, 24, 39, 0.22);
    background: var(--white);
}

.btn-outline-brand:hover {
    color: var(--white);
    border-color: var(--navy-2);
    background: var(--navy-2);
}

.hero .btn-outline-brand,
.page-hero .btn-outline-brand,
.bg-deep .btn-outline-brand {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.04);
}

.hero .btn-outline-brand:hover,
.page-hero .btn-outline-brand:hover,
.bg-deep .btn-outline-brand:hover {
    color: #0b0f19;
    border-color: var(--white);
    background: var(--white);
}

.mega-menu {
    left: 0;
    right: 0;
    width: 100vw;
    margin-top: 0;
    padding: 34px 0;
    color: var(--white);
    background: rgba(8, 13, 31, 0.98);
    border: 0;
    border-top: 1px solid var(--line-dark);
    border-radius: 0;
    box-shadow: var(--shadow);
}

.mega-menu h3 {
    color: var(--white);
    font-size: 1.45rem;
}

.mega-menu p {
    color: #cbd5e1;
}

.mega-cta {
    color: var(--yellow);
    font-weight: 700;
}

.mega-link {
    display: flex;
    gap: 14px;
    min-height: 98px;
    padding: 18px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mega-link i {
    color: var(--yellow);
    font-size: 1.35rem;
}

.mega-link strong,
.mega-link small {
    display: block;
}

.mega-link small {
    margin-top: 6px;
    color: #cbd5e1;
}

.mega-link:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 216, 77, 0.42);
    background: rgba(255, 255, 255, 0.075);
}

/* Hero sections */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    min-height: 760px;
    padding: 132px 0 104px;
    background:
        radial-gradient(circle at 78% 52%, rgba(124, 58, 237, 0.32), transparent 28%),
        radial-gradient(circle at 92% 68%, rgba(255, 193, 7, 0.13), transparent 26%),
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.06), transparent 30%),
        linear-gradient(145deg, #060a12 0%, #0b0f19 48%, #111827 100%);
}

.hero::before,
.page-hero::before,
.bg-deep::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 75% 45%, black, transparent 55%);
}

.hero h1,
.hero h2,
.hero h3,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.bg-deep h1,
.bg-deep h2,
.bg-deep h3,
.bg-deep h4,
.cta-section h2,
.site-footer h3 {
    color: var(--white);
}

.hero p,
.page-hero p,
.bg-deep p,
.cta-section p {
    color: #d1d5db;
}

.hero::after,
.page-hero::after,
.cta-section::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.45), rgba(124, 58, 237, 0.48), transparent);
}

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

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

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 36px;
}

.hero-proof span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dbe2f4;
    font-weight: 600;
}

.hero-proof i {
    color: var(--yellow);
}

.digital-mockup {
    position: relative;
    padding: 14px;
    border: 1px solid var(--line-dark);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow-dark);
    transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
}

.digital-mockup img {
    width: 100%;
    aspect-ratio: 1.18 / 1;
    object-fit: cover;
    object-position: top center;
    border-radius: 18px;
}

.floating-card {
    position: absolute;
    right: -10px;
    bottom: 28px;
    max-width: 222px;
    padding: 16px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(8, 13, 31, 0.9);
    box-shadow: var(--shadow-dark);
}

.floating-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--yellow);
    font-size: 1.45rem;
}

/* Homepage reference layout */
.homepage-hero {
    isolation: isolate;
    min-height: 760px;
    padding: 150px 0 86px;
    background:
        linear-gradient(90deg, rgba(7, 11, 21, 0.98) 0%, rgba(7, 11, 21, 0.9) 33%, rgba(7, 11, 21, 0.28) 62%, rgba(7, 11, 21, 0.16) 100%),
        url('../images/hero-banner.png') right center / auto 100% no-repeat,
        #070b15;
}

.homepage-hero h1 {
    max-width: 600px;
    font-size: clamp(2.15rem, 3.7vw, 3.65rem);
    line-height: 1.1;
}

.homepage-hero::before {
    display: none;
}

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

.hero-counter-stack {
    position: absolute;
    top: 118px;
    right: 0;
    z-index: 2;
    display: grid;
    gap: 14px;
    width: min(300px, 24vw);
}

.hero-counter-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 18px;
    min-height: 104px;
    padding: 20px 22px;
    border: 1px solid rgba(168, 85, 247, 0.55);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(7, 11, 21, 0.58)),
        rgba(7, 11, 21, 0.58);
    box-shadow:
        inset 0 0 28px rgba(124, 58, 237, 0.16),
        0 20px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

.hero-counter-card i {
    color: #d946ef;
    font-size: 2.25rem;
    text-shadow: 0 0 18px rgba(217, 70, 239, 0.62);
}

.hero-counter-card strong {
    display: block;
    color: var(--white);
    font-size: clamp(1.8rem, 2.2vw, 2.45rem);
    line-height: 1;
}

.hero-counter-card span {
    display: block;
    margin-top: 8px;
    color: #f1f5f9;
    font-weight: 600;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 12px;
    margin-bottom: 24px;
    color: #f4e8ff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-badge i,
.card-link,
.view-link {
    color: var(--purple-2);
}

.btn-gradient {
    color: var(--white);
    border: 0;
    background: linear-gradient(135deg, #6d5dfc 0%, #d946ef 52%, #ff8a3d 100%);
    box-shadow: 0 18px 42px rgba(217, 70, 239, 0.25);
}

.btn-gradient:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 26px 54px rgba(217, 70, 239, 0.32);
}

.hero-device-wrap {
    position: relative;
    min-height: 520px;
}

.hero-laptop {
    position: absolute;
    inset: 42px 40px auto 0;
    min-height: 390px;
}

.hero-laptop img {
    aspect-ratio: 16 / 10;
}

.hero-phone {
    position: absolute;
    right: 0;
    bottom: 34px;
    width: min(210px, 30vw);
    padding: 10px;
    border: 1px solid var(--line-dark);
    border-radius: 28px;
    background: #0b0f19;
    box-shadow: var(--shadow-dark);
    transform: rotate(4deg);
}

.hero-phone img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: top center;
    border-radius: 22px;
}

.hero-metric-card {
    position: absolute;
    left: 76px;
    bottom: 22px;
    min-width: 180px;
    padding: 16px 18px;
    border: 1px solid var(--line-dark);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-dark);
}

.hero-metric-card strong {
    display: block;
    color: var(--purple);
    font-size: 1.65rem;
    line-height: 1;
}

.hero-metric-card span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-play {
    position: absolute;
    top: 46%;
    left: 46%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: var(--white);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    box-shadow: 0 16px 42px rgba(168, 85, 247, 0.35);
}

.home-services {
    padding-top: 78px;
}

.home-service-card {
    min-height: 270px;
}

.home-service-card h3 {
    font-size: 1.05rem;
}

.home-service-card p {
    min-height: 74px;
    font-size: 0.88rem;
}

.icon-box.purple,
.process-icon.purple {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.14);
}

.icon-box.orange,
.process-icon.orange {
    color: #f97316;
    background: rgba(249, 115, 22, 0.14);
}

.icon-box.pink,
.process-icon.pink {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.14);
}

.icon-box.blue,
.process-icon.blue {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.14);
}

.icon-box.green {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.14);
}

.card-link,
.view-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 800;
}

.process-band,
.testimonial-band {
    position: relative;
    overflow: hidden;
    padding: 78px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 28% 30%, rgba(124, 58, 237, 0.24), transparent 26%),
        radial-gradient(circle at 84% 48%, rgba(236, 72, 153, 0.20), transparent 28%),
        linear-gradient(145deg, #060a12, #0b0f19 58%, #111827);
}

.process-band::before,
.testimonial-band::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 70%, rgba(124, 58, 237, 0.24), transparent 2px),
        linear-gradient(120deg, transparent 15%, rgba(124, 58, 237, 0.22), transparent 55%);
    opacity: 0.65;
}

.process-band .container,
.testimonial-band .container {
    position: relative;
    z-index: 1;
}

.process-band h2,
.testimonial-band h2 {
    color: var(--white);
}

.process-band p,
.testimonial-band p {
    color: #cbd5e1;
}

.process-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.process-line::before {
    display: none;
}

.process-step {
    position: relative;
    text-align: center;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 62%;
    z-index: 0;
    width: 78%;
    height: 74px;
    pointer-events: none;
    opacity: 0.86;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 74'%3E%3Cpath d='M7 50 C45 7 100 8 137 43' fill='none' stroke='%23a855f7' stroke-width='2.5' stroke-linecap='round' stroke-dasharray='6 7'/%3E%3Cpath d='M128 32 L141 44 L123 46' fill='none' stroke='%23a855f7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.process-step:nth-child(2)::after {
    top: 28px;
    transform: scaleY(-1);
}

.process-step:nth-child(3)::after {
    top: 20px;
}

.process-icon {
    position: relative;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.55rem;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.process-step strong {
    display: block;
    color: var(--white);
    font-size: 0.78rem;
}

.process-step h3 {
    color: var(--white);
    font-size: 0.95rem;
}

.process-step p {
    max-width: 170px;
    margin: 0 auto;
    font-size: 0.78rem;
    line-height: 1.55;
}

.home-portfolio,
.why-home,
.blog-home {
    background: #f8fafc;
}

.compact-project .project-body {
    position: relative;
    padding: 16px 18px 18px;
}

.compact-project h3 {
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.compact-project p {
    margin: 0;
    font-size: 0.78rem;
}

.compact-project .project-body a {
    position: absolute;
    right: 16px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--purple);
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
}

.why-home {
    padding-top: 26px;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    padding: 26px 30px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.metric-card .icon-box {
    flex: 0 0 auto;
    margin: 0;
}

.metric-card strong {
    display: block;
    color: var(--text);
    font-size: 2rem;
    line-height: 1;
}

.metric-card p {
    margin: 6px 0 0;
    font-size: 0.88rem;
}

.dark-card {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: none;
}

.testimonial-band .testimonial-card {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}

.dark-card h4 {
    color: var(--white);
    font-size: 0.9rem;
}

.dark-card p,
.testimonial-band .testimonial-card p {
    color: #cbd5e1;
    font-size: 0.86rem;
}

.testimonial-band .testimonial-card h4 {
    color: var(--white);
}

.quote-icon {
    color: var(--pink);
    font-size: 1.6rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
}

.slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--purple);
}

.blog-card .project-body {
    padding: 22px;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.blog-meta span {
    padding: 5px 10px;
    color: var(--purple);
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.10);
    font-size: 0.72rem;
    font-weight: 800;
}

.blog-meta small {
    color: var(--muted);
}

.blog-card h3 {
    min-height: 64px;
    font-size: 1.08rem;
}

.homepage-cta {
    padding-top: 24px;
}

.homepage-cta .container {
    padding: 34px 54px;
}

.homepage-cta .col-lg-8 {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px 26px;
    align-items: center;
}

.homepage-cta .cta-icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    color: var(--white);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    font-size: 1.65rem;
}

.homepage-cta h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.homepage-cta p {
    margin: 0;
}

/* About page reference layout */
.about-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 92px;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 38%, rgba(124, 58, 237, 0.28), transparent 30%),
        linear-gradient(145deg, #060a12, #0b0f19 62%, #111827);
}

.about-hero::before,
.about-founder::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 44% 70%, rgba(168, 85, 247, 0.35), transparent 2px),
        linear-gradient(125deg, transparent 20%, rgba(124, 58, 237, 0.18), transparent 55%);
    opacity: 0.55;
}

.about-hero .container,
.about-founder .container {
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 4.2vw, 4rem);
}

.about-hero p {
    color: #d1d5db;
}

.about-hero-image {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    box-shadow: var(--shadow-dark);
}

.about-hero-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: 50% 8%;
}

.about-team-badge {
    position: absolute;
    right: 22px;
    bottom: 18px;
    display: grid;
    grid-template-columns: repeat(3, 28px) auto;
    align-items: center;
    gap: 4px 10px;
    min-width: 280px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(7, 11, 21, 0.76);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-dark);
}

.about-team-badge .avatar {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
}

.about-team-badge strong {
    color: var(--white);
    font-size: 1.08rem;
}

.about-team-badge em {
    color: #fb7185;
    font-style: normal;
}

.about-team-badge small {
    grid-column: 4;
    color: #d1d5db;
}

.about-stat-strip {
    position: relative;
    z-index: 3;
    background: #ffffff;
}

.about-stat-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: -52px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.about-stat-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 28px 34px;
    border-right: 1px solid var(--line);
}

.about-stat-item:last-child {
    border-right: 0;
}

.about-stat-item .icon-box {
    grid-row: span 2;
    margin: 0;
}

.about-stat-item strong {
    color: var(--text);
    font-size: 2rem;
    line-height: 1;
}

.about-stat-item p {
    margin: 0;
    font-size: 0.88rem;
}

.about-mission {
    padding-top: 82px;
}

.about-value-card {
    height: 100%;
    padding: 30px 22px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.about-value-card h3 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 1rem;
}

.about-value-card p {
    margin: 0;
    font-size: 0.86rem;
}

.about-founder {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 70% 20%, rgba(124, 58, 237, 0.24), transparent 28%),
        linear-gradient(145deg, #060a12, #0b0f19 62%, #111827);
}

.about-founder h2,
.about-founder h3 {
    color: var(--white);
}

.about-founder p {
    color: #d1d5db;
}

.about-founder blockquote {
    position: relative;
    margin: 28px 0;
    padding-left: 34px;
    color: var(--white);
    line-height: 1.75;
}

.about-founder blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -12px;
    color: var(--purple-2);
    font-size: 4rem;
    line-height: 1;
}

.founder-sign {
    margin-bottom: 12px;
    color: var(--yellow);
    font-family: cursive;
    font-size: 1.75rem;
}

.founder-photo {
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow-dark);
}

.founder-photo img {
    width: 100%;
    aspect-ratio: 4 / 4.5;
    object-fit: cover;
    object-position: 50% 48%;
}

.founder-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 22px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.founder-stat .icon-box {
    grid-row: span 2;
    margin: 0;
}

.founder-stat strong {
    color: var(--white);
    font-size: 1.85rem;
    line-height: 1;
}

.founder-stat p {
    margin: 0;
    font-size: 0.86rem;
}

.about-culture {
    background: #ffffff;
}

.culture-card {
    position: relative;
    height: 100%;
    padding: 0 0 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.culture-card img {
    width: 100%;
    aspect-ratio: 4 / 2.7;
    object-fit: cover;
    object-position: 50% 12%;
}

.culture-card .icon-box {
    width: 42px;
    height: 42px;
    margin: -21px 0 16px 18px;
    border: 4px solid var(--white);
    font-size: 1rem;
}

.culture-card h3,
.culture-card p {
    margin-left: 18px;
    margin-right: 18px;
}

.culture-card h3 {
    color: var(--text);
    font-size: 1rem;
}

.culture-card p {
    margin-bottom: 0;
    font-size: 0.86rem;
}

.about-cta {
    padding-top: 8px;
}

.about-cta .container {
    padding: 34px 54px;
}

.about-cta .col-lg-8 {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 26px;
    align-items: center;
}

.about-cta .cta-icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    color: var(--white);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    font-size: 1.55rem;
}

.about-cta h2,
.about-cta p {
    margin: 0;
}

/* Reusable cards and content blocks */
.stat-strip {
    position: relative;
    z-index: 2;
    padding: 0 0 32px;
    border: 0;
    background: #f4f6f8;
}

.stat-strip .row {
    overflow: hidden;
    margin-top: -46px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 30px;
    border-right: 1px solid var(--line);
}

.stat-card:last-child {
    border-right: 0;
}

.stat-card strong {
    display: block;
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.content-card,
.service-card,
.project-card,
.testimonial-card,
.process-card,
.contact-card,
.value-card,
.feature-card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.content-card:hover,
.service-card:hover,
.project-card:hover,
.testimonial-card:hover,
.process-card:hover,
.contact-card:hover,
.value-card:hover,
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.24);
    background: var(--white);
    box-shadow: 0 26px 65px rgba(17, 24, 39, 0.14);
}

.content-card h3,
.service-card h3,
.project-card h3,
.testimonial-card h3,
.process-card h3,
.contact-card h3,
.value-card h3,
.feature-card h3,
.content-card h4,
.service-card h4,
.project-card h4,
.testimonial-card h4,
.process-card h4,
.contact-card h4,
.value-card h4,
.feature-card h4 {
    color: var(--text);
}

.content-card p,
.service-card p,
.project-card p,
.testimonial-card p,
.process-card p,
.contact-card p,
.value-card p,
.feature-card p {
    color: var(--muted);
}

.bg-deep .content-card,
.bg-deep .service-card,
.bg-deep .project-card,
.bg-deep .testimonial-card,
.bg-deep .process-card,
.bg-deep .contact-card,
.bg-deep .value-card,
.bg-deep .feature-card {
    border-color: var(--line-dark);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: none;
}

.bg-deep .content-card h3,
.bg-deep .service-card h3,
.bg-deep .project-card h3,
.bg-deep .testimonial-card h3,
.bg-deep .process-card h3,
.bg-deep .contact-card h3,
.bg-deep .value-card h3,
.bg-deep .feature-card h3,
.bg-deep .content-card h4 {
    color: var(--white);
}

.bg-deep .content-card p,
.bg-deep .service-card p,
.bg-deep .project-card p,
.bg-deep .testimonial-card p,
.bg-deep .process-card p,
.bg-deep .contact-card p,
.bg-deep .value-card p,
.bg-deep .feature-card p {
    color: #cbd5e1;
}

.icon-box {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    color: var(--purple);
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.10);
    font-size: 1.35rem;
}

.project-card {
    padding: 0;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: top center;
}

.project-body {
    padding: 24px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    color: var(--purple);
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: var(--radius);
    background: rgba(124, 58, 237, 0.08);
    font-size: 0.75rem;
    font-weight: 700;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--purple);
    background: #f3e8ff;
    font-weight: 800;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    min-height: 560px;
    padding: 116px 0 92px;
    background:
        radial-gradient(circle at 74% 46%, rgba(124, 58, 237, 0.32), transparent 32%),
        radial-gradient(circle at 90% 70%, rgba(255, 193, 7, 0.14), transparent 28%),
        linear-gradient(145deg, #060a12, #0b0f19 58%, #111827);
}

.page-hero.light-hero {
    color: var(--text);
    background:
        radial-gradient(circle at 72% 45%, rgba(37, 99, 235, 0.12), transparent 32%),
        radial-gradient(circle at 90% 16%, rgba(255, 193, 7, 0.10), transparent 24%),
        linear-gradient(180deg, #ffffff, #f6f9ff);
}

.page-hero.light-hero::before {
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    mask-image: radial-gradient(circle at 75% 45%, black, transparent 60%);
}

.page-hero.light-hero h1,
.page-hero.light-hero h2,
.page-hero.light-hero h3 {
    color: var(--text);
}

.page-hero.light-hero p,
.page-hero.light-hero .lead,
.page-hero.light-hero .breadcrumb-lite {
    color: #4b5563;
}

.page-hero.light-hero .btn-outline-brand {
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.32);
    background: var(--white);
}

.breadcrumb-lite {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    color: #cbd5e1;
}

.breadcrumb-lite a {
    color: var(--yellow);
}

.image-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.page-hero .image-panel,
.hero .image-panel {
    border-color: var(--line-dark);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-dark);
}

.image-panel img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    object-position: top center;
}

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

.list-check li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 15px;
    color: #374151;
}

.bg-deep .list-check li,
.hero .list-check li,
.page-hero .list-check li {
    color: #dce3f6;
}

.list-check li::before {
    content: '\F26E';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--yellow);
    font-family: 'bootstrap-icons';
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 16px;
    margin: 0 8px 10px 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
    font-weight: 700;
}

.bg-deep .tech-pill {
    color: var(--white);
    border-color: var(--line-dark);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: none;
}

.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.filter-btn {
    min-height: 42px;
    padding: 8px 16px;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    font-weight: 700;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--white);
    border-color: var(--purple);
    background: linear-gradient(135deg, var(--purple), #5b37ef);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.22);
}

.testimonial-card .stars {
    color: var(--yellow);
    margin-bottom: 18px;
}

.author {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 22px;
}

.avatar {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--purple), var(--pink));
    font-weight: 800;
}

.cta-section {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    background: #ffffff;
}

.cta-section .container {
    position: relative;
    overflow: hidden;
    padding: 46px 58px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 8% 50%, rgba(255, 255, 255, 0.22), transparent 16%),
        radial-gradient(circle at 94% 22%, rgba(255, 193, 7, 0.28), transparent 28%),
        linear-gradient(135deg, #5b37ef 0%, #a855f7 38%, #ec4899 70%, #ff7a1a 100%);
    box-shadow: var(--shadow);
}

.cta-section .btn-outline-brand {
    color: #0b0f19;
    border: 0;
    background: var(--white);
}

.cta-section .eyebrow {
    color: var(--white);
}

.cta-section .eyebrow::before {
    background: var(--yellow);
}

.map-placeholder {
    display: grid;
    place-items: center;
    min-height: 360px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
        linear-gradient(90deg, rgba(59, 130, 246, 0.14) 1px, transparent 1px),
        linear-gradient(rgba(59, 130, 246, 0.14) 1px, transparent 1px),
        #eef4ff;
    background-size: auto, 54px 54px, 54px 54px, auto;
    text-align: center;
}

/* Forms, footer, and utilities */
.form-control,
.form-select,
textarea.form-control {
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: var(--white);
}

.form-control:focus,
.form-select:focus {
    color: var(--text);
    border-color: var(--yellow);
    background-color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.14);
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-label {
    font-weight: 700;
}

.site-footer {
    padding: 82px 0 0;
    background:
        radial-gradient(circle at 88% 28%, rgba(124, 58, 237, 0.18), transparent 30%),
        linear-gradient(135deg, #060a12, #0b0f19 70%, #111827);
    border-top: 1px solid var(--line-dark);
}

.site-footer h3 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.site-footer p {
    color: #cbd5e1;
}

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

.site-footer li {
    margin-bottom: 12px;
    color: #cbd5e1;
}

.site-footer a {
    color: #cbd5e1;
}

.site-footer a:hover {
    color: var(--yellow);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    color: #080814;
    background: var(--yellow);
}

.contact-list i {
    color: var(--yellow);
    margin-right: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 58px;
    padding: 24px 0;
    border-top: 1px solid var(--line-dark);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    margin-left: 18px;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1020;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #080814;
    border: 0;
    border-radius: var(--radius);
    background: var(--yellow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 992px) {
    .has-mega {
        position: static;
    }

    .has-mega:hover .mega-menu {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 76px;
    }

    .navbar-collapse {
        padding: 18px 0 24px;
    }

    .mega-menu {
        width: auto;
        padding: 18px;
        border-radius: var(--radius);
    }

    .section-padding {
        padding: 78px 0;
    }

    .hero,
    .page-hero {
        padding: 92px 0 72px;
    }

    .floating-card {
        right: 16px;
        bottom: 16px;
    }

    .homepage-hero {
        min-height: auto;
        padding-bottom: 74px;
        background:
            linear-gradient(90deg, rgba(7, 11, 21, 0.98) 0%, rgba(7, 11, 21, 0.9) 48%, rgba(7, 11, 21, 0.42) 100%),
            url('../images/hero-banner.png') 72% center / auto 100% no-repeat,
            #070b15;
    }

    .hero-counter-stack {
        position: relative;
        top: auto;
        right: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        margin-top: 42px;
    }

    .hero-counter-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        min-height: 148px;
    }

    .hero-device-wrap {
        min-height: 430px;
    }

    .hero-laptop {
        inset: 12px 70px auto 0;
    }

    .hero-phone {
        right: 20px;
    }

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

    .process-line::before {
        display: none;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .homepage-cta .col-lg-8 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .homepage-cta .cta-icon {
        grid-row: auto;
        margin: 0 auto;
    }

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

    .about-stat-item:nth-child(2) {
        border-right: 0;
    }

    .about-founder {
        padding: 72px 0;
    }

    .about-cta .col-lg-8 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-cta .cta-icon {
        grid-row: auto;
        margin: 0 auto 10px;
    }

    .stat-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img,
    .footer-logo img {
        width: 150px;
    }

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

    .floating-card {
        position: static;
        max-width: none;
        margin-top: 14px;
    }

    .homepage-hero h1 {
        font-size: clamp(2.2rem, 12vw, 3.35rem);
    }

    .about-hero {
        padding: 118px 0 74px;
    }

    .about-team-badge {
        position: static;
        grid-template-columns: repeat(3, 28px) 1fr;
        min-width: 0;
        margin: 14px;
    }

    .about-stat-panel {
        grid-template-columns: 1fr;
        margin-top: -34px;
    }

    .about-stat-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .about-stat-item:last-child {
        border-bottom: 0;
    }

    .founder-photo img {
        aspect-ratio: 4 / 3.4;
    }

    .about-cta .container {
        padding: 32px 24px;
    }

    .hero-counter-stack {
        grid-template-columns: 1fr;
    }

    .hero-counter-card {
        grid-template-columns: 48px 1fr;
        justify-items: start;
        min-height: 104px;
        text-align: left;
    }

    .hero-device-wrap {
        min-height: auto;
        padding-top: 12px;
    }

    .hero-laptop {
        position: relative;
        inset: auto;
        min-height: 0;
        transform: none;
    }

    .hero-phone,
    .hero-metric-card,
    .hero-play {
        display: none;
    }

    .process-line {
        grid-template-columns: 1fr;
    }

    .metric-card {
        align-items: flex-start;
        padding: 22px;
    }

    .homepage-cta .container {
        padding: 32px 24px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom a {
        margin: 0 16px 0 0;
    }
}

/* Service detail pages */
.service-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 148px 0 72px;
    color: #ffffff;
    background:
        radial-gradient(circle at 72% 36%, rgba(124, 58, 237, 0.38), transparent 28%),
        radial-gradient(circle at 90% 78%, rgba(255, 122, 26, 0.16), transparent 30%),
        linear-gradient(135deg, #050815 0%, #080d1b 48%, #140824 100%);
}

.service-detail-hero.light {
    color: var(--text);
    background:
        radial-gradient(circle at 74% 36%, rgba(59, 130, 246, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(124, 58, 237, 0.10) 1px, transparent 1px),
        linear-gradient(0deg, rgba(124, 58, 237, 0.08) 1px, transparent 1px);
    background-size: 74px 74px;
    opacity: 0.16;
}

.service-detail-hero .container {
    position: relative;
    z-index: 1;
}

.service-detail-hero h1 {
    margin-bottom: 22px;
    color: #ffffff;
    font-size: clamp(2.55rem, 5vw, 4.35rem);
}

.service-detail-hero.light h1 {
    color: var(--text);
}

.service-detail-hero h1 span,
.service-section-title strong,
.service-heading-row strong,
.service-tech-section strong {
    background: linear-gradient(90deg, #315bff, #8b5cf6, #ef4bc7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-detail-hero h2 {
    position: relative;
    display: inline-block;
    margin: -4px 0 24px;
    color: #ffffff;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.service-detail-hero h2::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--orange));
}

.service-detail-hero p {
    max-width: 600px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.82);
}

.service-detail-hero.light p {
    color: #334155;
}

.service-eyebrow,
.service-mini-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #9b5cff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-eyebrow.blue,
.service-mini-label {
    color: #315bff;
}

.service-eyebrow.amber {
    color: #ffbd59;
}

.service-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-bottom: 34px;
}

.service-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.84rem;
    font-weight: 700;
}

.service-hero-points i {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #d946ef;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.18);
}

.service-hero-points.pill span {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.service-hero-points.simple {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-hero-points.simple span {
    display: grid;
    gap: 8px;
    color: #172033;
    font-size: 0.8rem;
}

.service-hero-points.simple i {
    color: #315bff;
    background: rgba(49, 91, 255, 0.10);
}

.service-hero-visual {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.42);
}

.service-hero-visual.clean {
    box-shadow: 0 28px 80px rgba(49, 91, 255, 0.14);
}

.service-hero-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9.6;
    object-fit: cover;
    object-position: center;
}

.btn-gradient,
.btn-primary-custom {
    color: #ffffff;
    border: 0;
    border-radius: 10px;
    padding: 15px 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #6d4dfc 0%, #e247dc 52%, #ff914d 100%);
    box-shadow: 0 16px 36px rgba(124, 58, 237, 0.25);
}

.btn-primary-custom {
    background: linear-gradient(135deg, #315bff, #654cff);
}

.btn-outline-primary-custom {
    color: #315bff;
    border: 1px solid rgba(49, 91, 255, 0.55);
    border-radius: 10px;
    padding: 14px 26px;
    font-weight: 800;
    background: #ffffff;
}

.btn-gradient:hover,
.btn-primary-custom:hover,
.btn-outline-primary-custom:hover {
    transform: translateY(-2px);
}

.service-top-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: 1160px;
    margin: 38px auto -116px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.10);
}

.service-top-stats span {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
    padding: 0 24px;
    border-right: 1px solid var(--line);
}

.service-top-stats span:last-child {
    border-right: 0;
}

.service-top-stats i {
    display: grid;
    place-items: center;
    grid-row: span 2;
    width: 48px;
    height: 48px;
    color: #315bff;
    border-radius: 50%;
    background: rgba(49, 91, 255, 0.10);
    font-size: 1.3rem;
}

.service-top-stats strong {
    color: var(--text);
    font-size: 1.8rem;
    line-height: 1;
}

.service-top-stats small {
    color: var(--muted);
    font-weight: 600;
}

.service-hero-google .service-top-stats {
    color: #ffffff;
    border-color: rgba(124, 58, 237, 0.42);
    background:
        radial-gradient(circle at 90% 20%, rgba(124, 58, 237, 0.30), transparent 32%),
        linear-gradient(135deg, rgba(7, 11, 24, 0.98), rgba(31, 13, 70, 0.96));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.service-hero-google .service-top-stats span {
    border-color: rgba(255, 255, 255, 0.12);
}

.service-hero-google .service-top-stats i {
    color: #c084fc;
    background: rgba(124, 58, 237, 0.22);
}

.service-hero-google .service-top-stats strong,
.service-hero-google .service-top-stats small {
    color: #ffffff;
}

.service-section {
    padding: 86px 0;
    background: #ffffff;
}

.service-hero-google + .service-section {
    padding-top: 148px;
}

.service-section.soft {
    background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.service-section.compact {
    padding-top: 44px;
}

.service-section-title {
    max-width: 780px;
    margin-bottom: 44px;
}

.service-section-title.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.service-section-title span {
    display: block;
    margin-bottom: 10px;
    color: #635bff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.service-section-title h2,
.service-heading-row h2,
.service-tech-section h2 {
    font-size: clamp(1.85rem, 3.4vw, 2.75rem);
}

.service-section-title.light h2,
.service-section-title.light span {
    color: #ffffff;
}

.service-feature-grid {
    display: grid;
    gap: 24px;
}

.service-feature-grid.five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-feature-grid.six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-feature-card {
    min-height: 220px;
    padding: 32px 22px;
    text-align: center;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(17, 24, 39, 0.12);
}

.service-feature-card i {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    color: #6d4dfc;
    border-radius: 50%;
    background: rgba(109, 77, 252, 0.10);
    font-size: 1.6rem;
}

.service-feature-card:nth-child(2n) i {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.10);
}

.service-feature-card:nth-child(3n) i {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
}

.service-feature-card:nth-child(4n) i {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
}

.service-feature-card h3,
.service-process-step h3,
.service-icon-list h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.service-feature-card p,
.service-process-step p,
.service-icon-list p {
    margin: 0;
    font-size: 0.88rem;
}

.service-benefit-ribbon {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(99, 91, 255, 0.08), rgba(236, 72, 153, 0.06));
}

.service-benefit-ribbon span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 0.84rem;
}

.service-benefit-ribbon i {
    color: #6d4dfc;
    font-size: 1.3rem;
}

.service-benefit-ribbon strong {
    display: block;
    color: var(--text);
}

.service-process,
.service-icon-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 26px;
}

.service-process.six-step,
.service-process.color,
.service-icon-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-process-step {
    position: relative;
    text-align: center;
}

.service-process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 34px;
    left: calc(50% + 52px);
    width: calc(100% - 58px);
    height: 2px;
    background-image: linear-gradient(90deg, rgba(99, 91, 255, 0.36) 45%, transparent 45%);
    background-size: 14px 2px;
}

.service-process-step span {
    display: inline-grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin-bottom: 18px;
    color: #7c3aed;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(17, 24, 39, 0.10);
    font-size: 1.8rem;
}

.service-process-step strong {
    display: block;
    color: #ec4899;
    font-size: 0.86rem;
}

.service-process-dark {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 35%, rgba(124, 58, 237, 0.25), transparent 28%),
        radial-gradient(circle at 76% 34%, rgba(59, 130, 246, 0.22), transparent 30%),
        #070b18;
}

.service-process-dark p,
.service-process-dark h3,
.service-process-dark strong {
    color: #ffffff;
}

.service-process.color .service-process-step:nth-child(2) span { color: #ec4899; box-shadow: 0 0 34px rgba(236, 72, 153, 0.36); }
.service-process.color .service-process-step:nth-child(3) span { color: #ff8a00; box-shadow: 0 0 34px rgba(255, 138, 0, 0.32); }
.service-process.color .service-process-step:nth-child(4) span { color: #22c55e; box-shadow: 0 0 34px rgba(34, 197, 94, 0.32); }
.service-process.color .service-process-step:nth-child(5) span { color: #3b82f6; box-shadow: 0 0 34px rgba(59, 130, 246, 0.32); }

.service-tech-section {
    padding: 70px 0;
    background: #ffffff;
}

.service-tech-row,
.service-logo-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 18px;
}

.service-tech-row.wide {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.service-tech-row span,
.service-logo-row span {
    display: grid;
    min-height: 86px;
    place-items: center;
    gap: 8px;
    padding: 14px;
    color: var(--text);
    font-weight: 800;
    text-align: center;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(17, 24, 39, 0.06);
}

.service-tech-row i {
    color: #315bff;
    font-size: 2rem;
}

.service-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.service-heading-row a {
    color: #4f46e5;
    font-weight: 800;
}

.service-work-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.service-work-card {
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
}

.service-work-card img {
    width: 100%;
    aspect-ratio: 1.8 / 1;
    object-fit: cover;
}

.service-work-card > div {
    position: relative;
    padding: 18px;
}

.service-work-card h3 {
    margin-bottom: 3px;
    font-size: 1rem;
}

.service-work-card p,
.service-work-card small {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.service-work-card i {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #ffffff;
    border-radius: 50%;
    background: #8b5cf6;
}

.service-work-card.metric b {
    display: inline-block;
    margin: 16px 18px 0 0;
    color: #4f46e5;
    font-size: 1.2rem;
}

.service-stat-band {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 22px;
    align-items: center;
    margin-top: 46px;
    padding: 34px 42px;
    color: #ffffff;
    border-radius: 16px;
    background:
        radial-gradient(circle at 85% 25%, rgba(124, 58, 237, 0.38), transparent 30%),
        linear-gradient(135deg, #040814, #25104a);
}

.service-stat-band.compact,
.service-stat-band.flat {
    grid-template-columns: repeat(5, 1fr);
}

.service-stat-band.flat {
    grid-template-columns: repeat(6, 1fr);
    margin-top: 0;
    background: transparent;
    border-radius: 0;
    padding: 18px 0 0;
}

.service-stat-band h2,
.service-stat-band strong,
.service-stat-band small {
    color: #ffffff;
}

.service-stat-band span {
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
}

.service-stat-band i {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: #c084fc;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.28);
    font-size: 1.45rem;
}

.service-stat-band strong {
    font-size: 1.9rem;
    line-height: 1;
}

.service-final-cta {
    padding: 0 0 70px;
    background: #ffffff;
}

.service-final-cta.on-dark {
    background: #070b18;
}

.service-cta-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 36px 58px;
    color: #ffffff;
    border-radius: 16px;
    background:
        radial-gradient(circle at 90% 50%, rgba(255, 193, 7, 0.24), transparent 25%),
        linear-gradient(135deg, #5436e8 0%, #cf3ad1 52%, #ff684f 100%);
}

.service-cta-banner.google {
    background: linear-gradient(135deg, #315bff 0%, #744bff 100%);
}

.service-cta-banner.brand {
    background:
        radial-gradient(circle at 90% 30%, rgba(255, 193, 7, 0.25), transparent 28%),
        linear-gradient(135deg, #5937e7 0%, #9b35ed 100%);
}

.service-cta-banner h2,
.service-cta-banner p {
    margin: 0;
    color: #ffffff;
}

.service-cta-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.18);
    font-size: 2rem;
}

.service-icon-list article {
    text-align: center;
}

.service-icon-list i {
    display: inline-grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    color: #7c3aed;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.10);
    font-size: 1.6rem;
}

.brand-work-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin-top: 34px;
}

.brand-work-row article {
    min-height: 118px;
    display: grid;
    place-items: center;
    padding: 22px;
    color: #ffffff;
    border-radius: 10px;
    background:
        radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.38), transparent 50%),
        linear-gradient(135deg, #0b1324, #18112a);
}

.brand-work-row strong {
    display: block;
    font-size: 1.35rem;
    letter-spacing: 0.1em;
}

.brand-work-row small {
    color: rgba(255, 255, 255, 0.64);
    text-transform: uppercase;
}

.service-results-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 36px;
    align-items: stretch;
}

.local-result-card {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 24px;
    padding: 24px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(17, 24, 39, 0.08);
}

.local-result-card img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    border-radius: 12px;
}

.before-after {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 18px 0;
}

.before-after span {
    color: var(--muted);
    font-size: 0.82rem;
}

.before-after small,
.before-after b {
    display: block;
}

.before-after b {
    color: var(--text);
    font-size: 1.55rem;
}

.growth-pill {
    display: inline-flex;
    padding: 9px 18px;
    color: #16a34a;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.14);
}

.service-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-metric-grid span {
    display: grid;
    align-content: center;
    min-height: 130px;
    padding: 24px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(17, 24, 39, 0.06);
}

.service-metric-grid i {
    color: #315bff;
    font-size: 1.45rem;
}

.service-metric-grid strong {
    margin-top: 12px;
    color: var(--text);
    font-size: 1.6rem;
}

.service-metric-grid small {
    color: var(--muted);
}

@media (max-width: 1199.98px) {
    .service-feature-grid.five,
    .service-feature-grid.six,
    .service-process,
    .service-process.six-step,
    .service-process.color,
    .service-icon-list,
    .service-tech-row,
    .service-tech-row.wide,
    .service-logo-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-process-step::after {
        display: none;
    }

    .service-stat-band,
    .service-stat-band.compact,
    .service-stat-band.flat {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .service-detail-hero {
        padding: 124px 0 66px;
    }

    .service-hero-points.simple,
    .service-top-stats,
    .service-results-grid,
    .service-benefit-ribbon,
    .service-work-grid,
    .brand-work-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-top-stats {
        margin-bottom: -92px;
    }

    .service-top-stats span {
        border-right: 0;
    }

    .service-hero-google + .service-section {
        padding-top: 124px;
    }

    .service-cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-cta-icon {
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .service-detail-hero h1 {
        font-size: clamp(2.2rem, 12vw, 3.3rem);
    }

    .service-feature-grid.five,
    .service-feature-grid.six,
    .service-process,
    .service-process.six-step,
    .service-process.color,
    .service-icon-list,
    .service-tech-row,
    .service-tech-row.wide,
    .service-logo-row,
    .service-work-grid,
    .service-hero-points.simple,
    .service-top-stats,
    .service-results-grid,
    .service-metric-grid,
    .service-benefit-ribbon,
    .brand-work-row,
    .service-stat-band,
    .service-stat-band.compact,
    .service-stat-band.flat,
    .local-result-card {
        grid-template-columns: 1fr;
    }

    .service-top-stats {
        margin-bottom: -70px;
        padding: 20px;
    }

    .service-top-stats span {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }

    .service-top-stats span:last-child {
        border-bottom: 0;
    }

    .service-hero-google + .service-section {
        padding-top: 104px;
    }

    .service-heading-row {
        display: block;
    }

    .service-cta-banner {
        padding: 30px 24px;
    }
}

/* Portfolio, case study, and contact reference pages */
.page-showcase-hero {
    position: relative;
    overflow: hidden;
    padding: 148px 0 90px;
    color: #ffffff;
    background:
        radial-gradient(circle at 72% 28%, rgba(124, 58, 237, 0.30), transparent 26%),
        radial-gradient(circle at 90% 75%, rgba(236, 72, 153, 0.18), transparent 30%),
        linear-gradient(135deg, #050815 0%, #080d1b 52%, #030712 100%);
}

.portfolio-hero,
.case-hero {
    overflow: visible;
}

.page-showcase-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle, rgba(124, 58, 237, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 22px 22px, 80px 80px;
    opacity: 0.18;
}

.page-showcase-hero .container {
    position: relative;
    z-index: 1;
}

.page-showcase-hero h1 {
    color: #ffffff;
    font-size: clamp(2.45rem, 4.9vw, 4.4rem);
}

.page-showcase-hero h1 span,
.contact-form-panel h2 span,
.contact-info-panel h2 span,
.portfolio-result-band strong {
    background: linear-gradient(90deg, #8b5cf6, #d946ef, #ff5f6d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-showcase-hero p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.84);
}

.page-hero-points,
.contact-hero-benefits,
.case-meta-grid {
    display: grid;
    gap: 22px;
    margin-top: 34px;
}

.page-hero-points {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-hero-points span,
.contact-hero-benefits span,
.case-meta-grid span {
    display: grid;
    gap: 8px;
    color: #ffffff;
    font-size: 0.84rem;
}

.page-hero-points i,
.contact-hero-benefits i,
.case-meta-grid i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #c084fc;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.24);
    font-size: 1.25rem;
}

.page-hero-points small,
.contact-hero-benefits small,
.case-meta-grid small {
    color: rgba(255, 255, 255, 0.70);
}

.portfolio-hero-collage,
.case-hero-device,
.contact-hero-visual {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.portfolio-hero-collage img,
.case-hero-device img,
.contact-hero-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 1.58 / 1;
    object-fit: cover;
    object-position: center;
}

.case-hero-device img,
.contact-hero-visual img {
    object-position: top center;
}

.portfolio-hero-collage span {
    position: absolute;
    left: 6%;
    top: 42%;
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    color: #ffffff;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    box-shadow: 0 20px 55px rgba(124, 58, 237, 0.35);
    font-size: 1.45rem;
    font-weight: 900;
}

.portfolio-hero-collage small {
    max-width: 80px;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.25;
}

.page-top-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin: 58px auto -152px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
}

.page-top-stats span {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    padding: 0 22px;
    border-right: 1px solid var(--line);
}

.page-top-stats span:last-child {
    border-right: 0;
}

.page-top-stats i {
    display: grid;
    place-items: center;
    grid-row: span 2;
    width: 52px;
    height: 52px;
    color: #7c3aed;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.10);
    font-size: 1.35rem;
}

.page-top-stats strong {
    color: var(--text);
    font-size: 1.75rem;
    line-height: 1;
}

.page-top-stats small {
    color: var(--muted);
    font-weight: 700;
}

.portfolio-showcase-section {
    padding: 172px 0 72px;
    background: #ffffff;
}

.portfolio-pill-filter {
    justify-content: center;
    margin-bottom: 38px;
}

.portfolio-pill-filter .filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    background: #ffffff;
}

.portfolio-pill-filter .filter-btn.active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #6d4dfc, #9b5cff);
    box-shadow: 0 16px 34px rgba(124, 58, 237, 0.24);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.portfolio-card {
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 22px 56px rgba(17, 24, 39, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(17, 24, 39, 0.13);
}

.portfolio-card img {
    width: 100%;
    aspect-ratio: 1.42 / 1;
    object-fit: cover;
}

.portfolio-card div {
    padding: 22px;
}

.portfolio-card span {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 6px 11px;
    color: #7c3aed;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.10);
    font-size: 0.72rem;
    font-weight: 800;
}

.portfolio-card h3 {
    font-size: 1.08rem;
}

.portfolio-card p {
    min-height: 74px;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.portfolio-card a {
    color: #5b3df2;
    font-weight: 800;
}

.portfolio-result-band {
    display: grid;
    grid-template-columns: 1.1fr 1.35fr;
    gap: 46px;
    align-items: center;
    margin-top: 64px;
    padding: 50px;
    color: #ffffff;
    border-radius: 16px;
    background:
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.32), transparent 30%),
        linear-gradient(135deg, #080b1a, #1a0b3c);
}

.portfolio-result-band h2,
.portfolio-result-band p {
    color: #ffffff;
}

.portfolio-result-band > div > span {
    display: block;
    margin-bottom: 12px;
    color: #c084fc;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mini-client {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: center;
}

.mini-client span {
    display: grid;
    place-items: center;
    grid-row: span 2;
    width: 48px;
    height: 48px;
    color: #ffffff;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff914d, #7c3aed);
    font-weight: 900;
}

.mini-client small {
    color: rgba(255, 255, 255, 0.62);
}

.portfolio-rating-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.portfolio-rating-grid span {
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 18px 8px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-rating-grid i {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: #c084fc;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.18);
    font-size: 1.55rem;
}

.portfolio-rating-grid strong {
    color: #ffffff;
    font-size: 1.9rem;
}

.portfolio-rating-grid small {
    color: rgba(255, 255, 255, 0.72);
}

.case-hero {
    padding-bottom: 52px;
}

.case-hero h1 {
    font-size: clamp(2rem, 3.45vw, 3.15rem);
}

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

.case-meta-grid b {
    color: #ffffff;
}

.case-hero-device img {
    aspect-ratio: 1.68 / 1;
}

.case-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 34px auto -78px;
    padding: 24px 34px;
    color: #ffffff;
    border: 1px solid rgba(124, 58, 237, 0.46);
    border-radius: 14px;
    background: rgba(24, 10, 55, 0.94);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.case-hero-stats span {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    align-items: center;
}

.case-hero-stats i {
    display: grid;
    place-items: center;
    grid-row: span 2;
    width: 58px;
    height: 58px;
    color: #c084fc;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.22);
    font-size: 1.4rem;
}

.case-hero-stats strong {
    color: #ffffff;
    font-size: 1.85rem;
    line-height: 1;
}

.case-hero-stats small {
    color: rgba(255, 255, 255, 0.74);
}

.case-content-section {
    padding: 118px 0 72px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.case-timeline {
    display: grid;
    gap: 34px;
    position: relative;
}

.case-timeline::before {
    content: '';
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 20px;
    width: 1px;
    background: rgba(124, 58, 237, 0.22);
}

.case-timeline article {
    position: relative;
    padding-left: 58px;
}

.case-timeline i {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 50%;
    background: #ffffff;
}

.case-timeline h3 {
    font-size: 1.05rem;
}

.case-timeline p {
    font-size: 0.92rem;
}

.case-tech-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.case-tech-mini span {
    padding: 10px 12px;
    color: #334155;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
}

.case-results-card {
    padding: 36px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(17, 24, 39, 0.08);
}

.case-results-card h2::after,
.case-gallery h2::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 16px;
    border-radius: 999px;
    background: #7c3aed;
}

.case-results-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 32px;
    align-items: center;
    margin-top: 30px;
}

.case-result-list {
    display: grid;
    gap: 22px;
}

.case-result-list span {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: center;
}

.case-result-list i {
    display: grid;
    place-items: center;
    grid-row: span 2;
    width: 52px;
    height: 52px;
    color: #7c3aed;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.10);
    font-size: 1.35rem;
}

.case-result-list strong {
    color: var(--text);
    font-size: 1.65rem;
    line-height: 1;
}

.case-result-list small {
    color: var(--muted);
}

.case-chart {
    min-width: 0;
}

.case-chart svg {
    width: 100%;
    height: auto;
}

.chart-legend {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 700;
}

.case-results-card blockquote {
    margin: 34px 0 0;
    padding: 28px;
    border-radius: 14px;
    background: #f7f5ff;
}

.case-results-card blockquote p {
    color: #334155;
}

.case-results-card footer {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: center;
}

.case-results-card footer span {
    display: grid;
    place-items: center;
    grid-row: span 2;
    width: 48px;
    height: 48px;
    color: #ffffff;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff914d, #7c3aed);
    font-weight: 900;
}

.case-results-card footer small {
    color: var(--muted);
}

.case-gallery {
    margin-top: 58px;
    text-align: center;
}

.case-gallery h2::after {
    margin: 16px auto 30px;
}

.case-gallery > div {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}

.case-gallery img {
    width: 100%;
    aspect-ratio: 1.65 / 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.10);
}

.case-nav-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 52px;
}

.case-nav-row a {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 22px;
    border: 1px solid rgba(124, 58, 237, 0.20);
    border-radius: 10px;
    background: #ffffff;
}

.case-nav-row a:last-child {
    grid-template-columns: 1fr 42px;
    text-align: right;
}

.case-nav-row i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #7c3aed;
    border-radius: 8px;
    background: rgba(124, 58, 237, 0.08);
}

.case-nav-row span {
    color: var(--muted);
    font-size: 0.82rem;
}

.case-nav-row b {
    display: block;
    color: var(--text);
}

.contact-hero-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-hero-visual img {
    aspect-ratio: 1.5 / 1;
}

.contact-main-section {
    padding: 76px 0 70px;
    background: #ffffff;
}

.contact-form-panel,
.contact-info-panel {
    height: 100%;
    padding: 42px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(17, 24, 39, 0.08);
}

.contact-form-panel h2,
.contact-info-panel h2 {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.contact-form-panel .form-control {
    min-height: 58px;
    padding: 16px 18px;
    border-color: rgba(17, 24, 39, 0.12);
    border-radius: 8px;
}

.contact-form-panel textarea.form-control {
    min-height: 138px;
}

.secure-note {
    margin: 12px 0 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.84rem;
}

.contact-info-panel article {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    align-items: center;
    margin-top: 14px;
    padding: 20px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    box-shadow: 0 16px 38px rgba(17, 24, 39, 0.06);
}

.contact-info-panel article > i {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: #ffffff;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #5b8cff);
    font-size: 1.45rem;
}

.contact-info-panel article:nth-of-type(2) > i {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.contact-info-panel article:nth-of-type(3) > i {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.contact-info-panel article:nth-of-type(4) > i {
    background: linear-gradient(135deg, #ff5f00, #ff914d);
}

.contact-info-panel h3 {
    margin: 0 0 2px;
    font-size: 0.98rem;
}

.contact-info-panel p {
    margin: 0;
    color: #111827;
    line-height: 1.45;
}

.contact-info-panel small {
    color: var(--muted);
}

.contact-map-panel {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    margin-top: 54px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 60% 46%, rgba(124, 58, 237, 0.16) 0 7px, transparent 8px),
        linear-gradient(30deg, transparent 48%, rgba(49, 91, 255, 0.12) 49%, rgba(49, 91, 255, 0.12) 51%, transparent 52%),
        linear-gradient(150deg, transparent 48%, rgba(34, 197, 94, 0.16) 49%, rgba(34, 197, 94, 0.16) 51%, transparent 52%),
        linear-gradient(90deg, rgba(148, 163, 184, 0.16) 1px, transparent 1px),
        linear-gradient(0deg, rgba(148, 163, 184, 0.16) 1px, transparent 1px),
        #eef5fb;
    background-size: auto, 160px 160px, 170px 170px, 44px 44px, 44px 44px, auto;
}

.map-info-card {
    position: absolute;
    left: 34px;
    top: 34px;
    width: min(350px, calc(100% - 68px));
    padding: 28px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.14);
}

.map-pin {
    position: absolute;
    left: 62%;
    top: 42%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: #ffffff;
    border-radius: 50% 50% 50% 0;
    background: #7c3aed;
    transform: rotate(-45deg);
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.28);
}

.map-pin i {
    transform: rotate(45deg);
}

.contact-dark-cta {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 36px 64px;
    color: #ffffff;
    border-radius: 14px;
    background:
        radial-gradient(circle at 72% 35%, rgba(124, 58, 237, 0.35), transparent 32%),
        linear-gradient(135deg, #080b1a, #1b0b44);
}

.contact-dark-cta > span {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #6d4dfc;
    font-size: 2rem;
}

.contact-dark-cta h2,
.contact-dark-cta p {
    margin: 0;
    color: #ffffff;
}

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

    .page-top-stats,
    .page-hero-points,
    .case-meta-grid,
    .case-hero-stats,
    .case-gallery > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 991.98px) {
    .page-showcase-hero {
        padding: 122px 0 76px;
    }

    .page-top-stats {
        margin-bottom: -112px;
    }

    .portfolio-showcase-section {
        padding-top: 138px;
    }

    .portfolio-result-band,
    .case-results-layout,
    .contact-dark-cta {
        grid-template-columns: 1fr;
    }

    .case-hero-stats {
        margin-bottom: -94px;
    }

    .case-content-section {
        padding-top: 132px;
    }
}

@media (max-width: 767.98px) {
    .portfolio-grid,
    .page-top-stats,
    .page-hero-points,
    .contact-hero-benefits,
    .case-meta-grid,
    .case-hero-stats,
    .portfolio-result-band,
    .portfolio-rating-grid,
    .case-gallery > div,
    .case-nav-row {
        grid-template-columns: 1fr;
    }

    .page-top-stats span {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 14px 0;
    }

    .page-top-stats span:last-child {
        border-bottom: 0;
    }

    .portfolio-showcase-section {
        padding-top: 126px;
    }

    .case-hero-stats span {
        grid-template-columns: 48px 1fr;
    }

    .case-nav-row a,
    .case-nav-row a:last-child {
        grid-template-columns: 42px 1fr;
        text-align: left;
    }

    .contact-form-panel,
    .contact-info-panel {
        padding: 28px;
    }

    .contact-dark-cta {
        padding: 30px 24px;
        text-align: center;
    }

    .contact-dark-cta > span {
        margin: 0 auto;
    }
}
