:root {
    --cdm-ink: #101828;
    --cdm-muted: #667085;
    --cdm-line: #e6eaf0;
    --cdm-blue: #155eef;
    --cdm-green: #099250;
    --cdm-gold: #b7791f;
    --cdm-soft: #f6f8fb;
    --cdm-radius: 8px;
    --cdm-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: var(--cdm-ink);
    font-family: "Inter", Arial, Helvetica, sans-serif;
    line-height: 1.65;
    padding-top: 78px;
}

a {
    color: var(--cdm-blue);
    text-decoration: none;
}

a:hover {
    color: #00359e;
}

.navbar {
    min-height: 78px;
}

.brand-mark {
    align-items: center;
    background: var(--cdm-ink);
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    margin-right: 0.55rem;
    width: 36px;
}

.navbar-brand {
    align-items: center;
    color: var(--cdm-ink);
    display: inline-flex;
    letter-spacing: 0;
}

.nav-link {
    border-radius: 8px;
    color: #344054;
    font-weight: 700;
    padding: 0.55rem 0.75rem !important;
}

.nav-link.active,
.nav-link:hover {
    background: var(--cdm-soft);
    color: var(--cdm-blue);
}

.hero {
    background: #ffffff;
    padding: 76px 0 42px;
}

.eyebrow {
    color: var(--cdm-blue);
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    color: var(--cdm-ink);
    font-size: clamp(2.25rem, 4.6vw, 4.9rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.02;
    margin-bottom: 1rem;
}

.hero p,
.page-hero p {
    color: var(--cdm-muted);
    font-size: 1.08rem;
    max-width: 680px;
}

.hero-panel {
    background: #ffffff;
    border: 1px solid var(--cdm-line);
    border-radius: var(--cdm-radius);
    box-shadow: var(--cdm-shadow);
    padding: 1.25rem;
}

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

.metric {
    background: var(--cdm-soft);
    border: 1px solid var(--cdm-line);
    border-radius: var(--cdm-radius);
    padding: 1rem;
}

.metric strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1.1;
}

.metric span {
    color: var(--cdm-muted);
    font-size: 0.88rem;
}

.btn {
    border-radius: 8px;
    font-weight: 800;
    min-height: 44px;
    padding: 0.7rem 1rem;
}

.btn-primary {
    background: var(--cdm-blue);
    border-color: var(--cdm-blue);
}

.btn-outline-dark {
    border-color: var(--cdm-ink);
    color: var(--cdm-ink);
}

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

.section-alt {
    background: var(--cdm-soft);
}

.section-title {
    margin-bottom: 2rem;
    max-width: 780px;
}

.section-title h2 {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 800;
    letter-spacing: 0;
}

.section-title p {
    color: var(--cdm-muted);
    margin-bottom: 0;
}

.service-card,
.content-card,
.pricing-card,
.post-card {
    background: #ffffff;
    border: 1px solid var(--cdm-line);
    border-radius: var(--cdm-radius);
    height: 100%;
    padding: 1.35rem;
}

.service-card,
.content-card,
.portfolio-tile {
    position: relative;
    z-index: 0;
}

.service-card:hover,
.pricing-card.featured {
    box-shadow: var(--cdm-shadow);
    transform: translateY(-2px);
}

.service-icon {
    align-items: center;
    background: #eef4ff;
    border-radius: 8px;
    color: var(--cdm-blue);
    display: flex;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    margin-bottom: 1rem;
    width: 42px;
}

.service-card h3,
.content-card h3,
.pricing-card h3,
.post-card h3 {
    font-size: 1.12rem;
    font-weight: 800;
}

.service-card p,
.content-card p,
.pricing-card p,
.post-card p {
    color: var(--cdm-muted);
    margin-bottom: 0;
}

.process-list {
    counter-reset: step;
    display: grid;
    gap: 1rem;
}

.process-item {
    background: #ffffff;
    border: 1px solid var(--cdm-line);
    border-radius: var(--cdm-radius);
    padding: 1.25rem 1.25rem 1.25rem 4rem;
    position: relative;
}

.process-item::before {
    align-items: center;
    background: var(--cdm-green);
    border-radius: 8px;
    color: #ffffff;
    content: counter(step);
    counter-increment: step;
    display: flex;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    left: 1.25rem;
    position: absolute;
    top: 1.25rem;
    width: 34px;
}

.tech-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-strip span {
    background: #ffffff;
    border: 1px solid var(--cdm-line);
    border-radius: 8px;
    color: #344054;
    font-weight: 800;
    padding: 0.7rem 0.9rem;
}

.portfolio-tile {
    background: #ffffff;
    border: 1px solid var(--cdm-line);
    border-radius: var(--cdm-radius);
    min-height: 230px;
    overflow: hidden;
}

.portfolio-visual {
    background:
        linear-gradient(135deg, rgba(21, 94, 239, 0.14), rgba(9, 146, 80, 0.12)),
        repeating-linear-gradient(90deg, #ffffff 0, #ffffff 22px, #f2f5f9 22px, #f2f5f9 23px);
    border-bottom: 1px solid var(--cdm-line);
    height: 128px;
}

.portfolio-tile div:last-child {
    padding: 1rem;
}

.testimonial {
    background: #ffffff;
    border: 1px solid var(--cdm-line);
    border-radius: var(--cdm-radius);
    padding: 1.35rem;
}

.cta-band {
    background: var(--cdm-ink);
    color: #ffffff;
    padding: 64px 0;
}

.cta-band p {
    color: #d0d5dd;
}

.page-hero {
    background: #ffffff;
    border-bottom: 1px solid var(--cdm-line);
    padding: 72px 0 52px;
}

.form-control,
.form-select {
    border-radius: 8px;
    min-height: 48px;
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--cdm-line);
    padding: 56px 0 24px;
}

.site-footer h2 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.site-footer a {
    color: var(--cdm-muted);
    display: block;
    margin-bottom: 0.55rem;
}

.site-footer p {
    color: var(--cdm-muted);
}

.footer-brand {
    align-items: center;
    display: flex;
}

.footer-bottom {
    border-top: 1px solid var(--cdm-line);
    color: var(--cdm-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.25rem;
}

.placeholder-sidebar {
    background: #ffffff;
    border: 1px dashed var(--cdm-line);
    border-radius: var(--cdm-radius);
    padding: 1rem;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 72px;
    }

    .navbar-collapse {
        padding: 1rem 0;
    }

    .hero {
        padding-top: 48px;
    }
}

@media (max-width: 575.98px) {
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 52px 0;
    }
}

.scroll-progress {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    height: 3px;
    left: 0;
    position: fixed;
    top: 0;
    transform-origin: left center;
    transform: scaleX(0);
    width: 100%;
    z-index: 2000;
}

.premium-navbar {
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.72);
    transition: box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.premium-navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.brand-mark {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
}

.brand-copy {
    display: grid;
    line-height: 1.05;
}

.brand-copy small {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
}

.nav-shell {
    background: rgba(248, 250, 252, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 999px;
    padding: 0.35rem;
}

.nav-link {
    overflow: hidden;
    position: relative;
}

.nav-link::after {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 999px;
    bottom: 0.25rem;
    content: "";
    height: 2px;
    left: 0.8rem;
    position: absolute;
    right: 0.8rem;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active,
.nav-link:hover {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.premium-hero {
    overflow: hidden;
    position: relative;
}

.hero-glow {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2), rgba(96, 165, 250, 0));
    border-radius: 999px;
    filter: blur(6px);
    height: 420px;
    pointer-events: none;
    position: absolute;
    width: 420px;
}

.hero-glow-one {
    right: 6%;
    top: 8%;
}

.hero-glow-two {
    bottom: -150px;
    left: -80px;
}

.gradient-text {
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-gradient {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    border: 0;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
}

.lift-btn,
.btn-gradient,
.service-card,
.content-card,
.portfolio-tile,
.testimonial {
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.lift-btn:hover,
.btn-gradient:hover,
.service-card:hover,
.content-card:hover,
.portfolio-tile:hover,
.testimonial:hover {
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.1);
    transform: translateY(-5px);
}

.ripple-btn {
    isolation: isolate;
    overflow: hidden;
    position: relative;
}

.ripple-btn .ripple {
    animation: ripple 0.65s linear;
    background: rgba(255, 255, 255, 0.52);
    border-radius: 999px;
    pointer-events: none;
    position: absolute;
    transform: translate(-50%, -50%);
}

@keyframes ripple {
    from {
        height: 0;
        opacity: 0.7;
        width: 0;
    }
    to {
        height: 360px;
        opacity: 0;
        width: 360px;
    }
}

.hero-illustration {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(37, 99, 235, 0.13);
    min-height: 360px;
    overflow: hidden;
    padding: 2rem;
    position: relative;
}

.dashboard-mock {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
    inset: 56px 34px 74px;
    padding: 1rem;
    position: absolute;
}

.mock-top {
    display: flex;
    gap: 0.45rem;
}

.mock-top span {
    background: #dbeafe;
    border-radius: 999px;
    height: 9px;
    width: 36px;
}

.mock-chart {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(96, 165, 250, 0.08)),
        linear-gradient(160deg, transparent 48%, #2563eb 49%, #2563eb 51%, transparent 52%);
    border-radius: 16px;
    height: 132px;
    margin: 1rem 0;
}

.mock-bars {
    display: grid;
    gap: 0.65rem;
}

.mock-bars span {
    background: #eff6ff;
    border-radius: 999px;
    height: 14px;
}

.mock-bars span:nth-child(1) {
    width: 92%;
}

.mock-bars span:nth-child(2) {
    width: 72%;
}

.mock-bars span:nth-child(3) {
    width: 84%;
}

.orbit {
    animation: floatShape 7s ease-in-out infinite;
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 999px;
    position: absolute;
}

.orbit-one {
    height: 170px;
    right: 18px;
    top: 16px;
    width: 170px;
}

.orbit-two {
    animation-delay: -2s;
    bottom: 20px;
    height: 120px;
    left: 22px;
    width: 120px;
}

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

.floating-chip {
    align-items: center;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 999px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
    color: #111827;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 800;
    gap: 0.45rem;
    padding: 0.7rem 0.9rem;
    position: absolute;
}

.chip-one {
    left: 18px;
    top: 38px;
}

.chip-two {
    bottom: 30px;
    right: 22px;
}

.hero-panel,
.service-card,
.content-card,
.pricing-card,
.post-card,
.testimonial {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    border-color: rgba(226, 232, 240, 0.9);
}

.service-card::before,
.content-card::before,
.portfolio-tile::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.5), rgba(96, 165, 250, 0));
    border-radius: inherit;
    content: "";
    inset: -1px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 0.25s ease;
    z-index: -1;
}

.service-card:hover::before,
.content-card:hover::before,
.portfolio-tile:hover::before {
    opacity: 1;
}

.service-image {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(96, 165, 250, 0.08)),
        repeating-linear-gradient(90deg, #ffffff 0, #ffffff 18px, #eff6ff 18px, #eff6ff 19px);
    border: 1px solid #e0edff;
    border-radius: 16px;
    height: 92px;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}

.service-image span {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 999px;
    bottom: 18px;
    height: 10px;
    left: 18px;
    position: absolute;
    width: 58%;
}

.service-image img,
.service-detail-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.service-detail-image {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(96, 165, 250, 0.08)),
        #ffffff;
    border: 1px solid #e0edff;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
    display: flex;
    height: 360px;
    justify-content: center;
    overflow: hidden;
}

.service-detail-image i {
    color: #2563eb;
    font-size: 5rem;
}

.service-feature-item {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    font-weight: 800;
    gap: 0.6rem;
    padding: 0.9rem;
}

.service-feature-item i {
    color: #2563eb;
}

.live-search-results {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    display: none;
    margin-top: 0.35rem;
    overflow: hidden;
    position: absolute;
    z-index: 50;
}

.live-search-results a {
    border-bottom: 1px solid #eef2f7;
    color: #111827;
    display: block;
    min-width: 280px;
    padding: 0.75rem 1rem;
}

.live-search-results small {
    color: #64748b;
    display: block;
}

.service-icon {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.service-card:hover .service-icon {
    animation: iconPulse 0.7s ease;
}

@keyframes iconPulse {
    50% {
        transform: scale(1.12) rotate(6deg);
    }
}

.learn-more {
    align-items: center;
    display: inline-flex;
    font-weight: 800;
    gap: 0.4rem;
    margin-top: 1rem;
}

.icon-card i {
    color: #2563eb;
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stat-card strong {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.75rem;
}

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

.horizontal-timeline::before {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    content: "";
    height: 2px;
    left: 8%;
    position: absolute;
    right: 8%;
    top: 17px;
}

.horizontal-timeline .process-item {
    padding: 4.25rem 1.25rem 1.25rem;
}

.horizontal-timeline .process-item::before {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    left: 1.25rem;
    top: 0;
    z-index: 2;
}

.tech-strip span {
    align-items: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    display: inline-flex;
    gap: 0.5rem;
}

.tech-strip i {
    color: #2563eb;
    font-size: 1.2rem;
}

.portfolio-tile {
    position: relative;
}

.portfolio-visual {
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
}

.portfolio-visual span {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #2563eb;
    font-weight: 900;
    padding: 0.45rem 0.85rem;
}

.portfolio-visual a {
    align-items: center;
    background: #2563eb;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-weight: 800;
    inset: auto auto 16px 16px;
    opacity: 0;
    padding: 0.55rem 0.85rem;
    position: absolute;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.portfolio-tile:hover .portfolio-visual a {
    opacity: 1;
    transform: translateY(0);
}

.client-logo-section {
    overflow: hidden;
    padding: 34px 0;
}

.logo-slider {
    border-bottom: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
    overflow: hidden;
    padding: 1rem 0;
}

.logo-track {
    animation: logoScroll 24s linear infinite;
    display: flex;
    gap: 1rem;
    width: max-content;
}

.logo-track span {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #475569;
    font-weight: 900;
    min-width: 170px;
    padding: 0.75rem 1rem;
    text-align: center;
}

@keyframes logoScroll {
    to {
        transform: translateX(-50%);
    }
}

.stars {
    color: #f59e0b;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.avatar-placeholder {
    background: linear-gradient(135deg, #dbeafe, #ffffff);
    border: 1px solid #dbeafe;
    border-radius: 999px;
    height: 48px;
    margin-bottom: 1rem;
    width: 48px;
}

.accordion-item {
    border-color: #e5e7eb;
}

.accordion-button {
    font-weight: 800;
}

.accordion-button:not(.collapsed) {
    background: #eff6ff;
    color: #2563eb;
}

.contact-gradient-cta {
    background:
        radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.25), transparent 28%),
        linear-gradient(135deg, #f8fbff, #ffffff);
    border-bottom: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
    color: #111827;
}

.contact-gradient-cta p {
    color: #475569;
}

.site-footer {
    background:
        linear-gradient(180deg, #ffffff, #f8fbff);
}

.social-row {
    display: flex;
    gap: 0.65rem;
}

.social-row a {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #2563eb;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.newsletter-form .input-group {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0.3rem;
}

.newsletter-form .form-control {
    border: 0;
    min-height: 40px;
}

.newsletter-form .btn {
    border-radius: 999px;
    min-height: 40px;
}

.floating-whatsapp,
.back-to-top {
    align-items: center;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16);
    display: inline-flex;
    height: 52px;
    justify-content: center;
    position: fixed;
    right: 22px;
    width: 52px;
    z-index: 1200;
}

.floating-whatsapp {
    background: #22c55e;
    bottom: 88px;
    color: #ffffff;
    font-size: 1.45rem;
}

.back-to-top {
    background: #2563eb;
    bottom: 24px;
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 991.98px) {
    .nav-shell {
        align-items: stretch !important;
        border-radius: 18px;
        margin-top: 1rem;
    }

    .horizontal-timeline {
        grid-template-columns: 1fr 1fr;
    }

    .horizontal-timeline::before {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-illustration {
        min-height: 300px;
    }

    .dashboard-mock {
        inset: 54px 18px 70px;
    }

    .horizontal-timeline {
        grid-template-columns: 1fr;
    }

    .floating-whatsapp,
    .back-to-top {
        height: 46px;
        right: 14px;
        width: 46px;
    }
}
