html {
scroll-behavior: smooth;
}

body {
font-family: "DM Sans", sans-serif;
overflow-x: hidden;
}

.font-display {
font-family: "Space Grotesk", sans-serif;
}

#cursorGlow {
position: fixed;
width: 300px;
height: 300px;
border-radius: 999px;
pointer-events: none;
z-index: 1;
background: radial-gradient(
circle,
rgba(37, 99, 235, 0.08),
transparent 65%
);
filter: blur(20px);
transition: transform .12s ease-out;
}

#navbar {
transition:
background .3s ease,
box-shadow .3s ease,
border-color .3s ease;
}

.navbar-scrolled {
background: rgba(255,255,255,.88);
backdrop-filter: blur(18px);
box-shadow: 0 8px 30px rgba(15,23,42,.06);
border-bottom: 1px solid rgba(226,232,240,.8);
}

.logo-mark {
width: 34px;
height: 34px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 11px;
color: white;
background: linear-gradient(135deg, #2563eb, #60a5fa);
font-family: "Space Grotesk", sans-serif;
font-weight: 700;
box-shadow: 0 8px 20px rgba(37,99,235,.22);
}

.logo-mark.small {
width: 28px;
height: 28px;
border-radius: 8px;
font-size: 12px;
}

.nav-link {
position: relative;
transition: color .25s ease;
}

.nav-link:hover {
color: #2563eb;
}

.contact-button {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 17px;
border-radius: 999px;
color: #1d4ed8;
background: #eff6ff;
border: 1px solid #dbeafe;
font-size: 13px;
font-weight: 600;
transition: all .25s ease;
}

.contact-button:hover {
color: white;
background: #2563eb;
border-color: #2563eb;
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(37,99,235,.2);
}

.hero-section {
background:
radial-gradient(
circle at 75% 20%,
rgba(59,130,246,.13),
transparent 30%
),
radial-gradient(
circle at 15% 80%,
rgba(96,165,250,.08),
transparent 28%
),
#f8fafc;
}

.hero-orb {
position: absolute;
border-radius: 999px;
pointer-events: none;
filter: blur(1px);
}

.hero-orb-one {
width: 420px;
height: 420px;
right: -180px;
top: 120px;
background: rgba(59,130,246,.08);
}

.hero-orb-two {
width: 220px;
height: 220px;
left: -100px;
bottom: 100px;
background: rgba(147,197,253,.12);
}

.blue-gradient-text {
background: linear-gradient(
100deg,
#1d4ed8 0%,
#2563eb 45%,
#60a5fa 100%
);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

.live-dot {
width: 7px;
height: 7px;
border-radius: 999px;
background: #22c55e;
box-shadow: 0 0 0 5px rgba(34,197,94,.08);
}

.primary-button {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 14px 21px;
border-radius: 999px;
color: white;
background: #2563eb;
font-size: 14px;
font-weight: 600;
box-shadow: 0 12px 28px rgba(37,99,235,.2);
transition: all .3s ease;
}

.primary-button:hover {
background: #1d4ed8;
transform: translateY(-3px);
box-shadow: 0 18px 35px rgba(37,99,235,.25);
}

.primary-button span {
transition: transform .3s ease;
}

.primary-button:hover span {
transform: translateY(3px);
}

.secondary-button {
padding: 13px 20px;
border-radius: 999px;
border: 1px solid #e2e8f0;
background: white;
color: #475569;
font-size: 14px;
font-weight: 600;
transition: all .3s ease;
}

.secondary-button:hover {
border-color: #bfdbfe;
color: #2563eb;
background: #eff6ff;
}

.mini-avatar {
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 999px;
background: #dbeafe;
color: #2563eb;
border: 2px solid #f8fafc;
font-size: 9px;
font-weight: 700;
}

.hero-card {
position: relative;
padding: 8px;
background: white;
border: 1px solid #e2e8f0;
border-radius: 22px;
box-shadow:
0 30px 80px rgba(15,23,42,.12),
0 10px 30px rgba(37,99,235,.07);
transform: rotate(1.5deg);
transition: transform .5s ease;
}

.hero-card:hover {
transform: rotate(0deg) translateY(-6px);
}

.browser-bar {
height: 34px;
display: grid;
grid-template-columns: 60px 1fr 60px;
align-items: center;
gap: 10px;
padding: 0 10px;
}

.browser-bar > div:first-child {
display: flex;
gap: 5px;
}

.browser-bar > div:first-child span {
width: 6px;
height: 6px;
border-radius: 999px;
background: #cbd5e1;
}

.browser-address {
height: 20px;
display: flex;
align-items: center;
justify-content: center;
background: #f8fafc;
border-radius: 6px;
color: #94a3b8;
font-size: 8px;
}

.hero-preview {
min-height: 430px;
position: relative;
overflow: hidden;
border-radius: 16px;
background:
radial-gradient(
circle at 75% 25%,
rgba(255,255,255,.2),
transparent 25%
),
linear-gradient(135deg, #1d4ed8, #3b82f6 55%, #60a5fa);
}

.hero-preview::after {
content: "";
position: absolute;
width: 350px;
height: 350px;
border-radius: 999px;
right: -100px;
bottom: -140px;
border: 1px solid rgba(255,255,255,.18);
box-shadow:
0 0 0 50px rgba(255,255,255,.03),
0 0 0 100px rgba(255,255,255,.02);
}

.hero-preview-top {
position: relative;
z-index: 2;
display: flex;
justify-content: space-between;
padding: 24px;
}

.hero-preview-content {
position: relative;
z-index: 2;
padding: 70px 35px;
}

.hero-floating-card {
position: absolute;
z-index: 3;
bottom: 28px;
left: 28px;
display: flex;
align-items: center;
gap: 10px;
padding: 12px 15px;
background: rgba(255,255,255,.94);
border-radius: 13px;
box-shadow: 0 15px 35px rgba(15,23,42,.15);
}

.hero-floating-card p {
margin: 0;
}

.floating-stat {
position: absolute;
z-index: 5;
display: flex;
align-items: center;
gap: 10px;
padding: 11px 14px;
background: rgba(255,255,255,.94);
border: 1px solid rgba(226,232,240,.9);
border-radius: 14px;
box-shadow: 0 15px 35px rgba(15,23,42,.1);
animation: floating 4s ease-in-out infinite;
}

.floating-stat strong,
.floating-stat small {
display: block;
}

.floating-stat strong {
font-size: 12px;
}

.floating-stat small {
margin-top: 2px;
color: #94a3b8;
font-size: 9px;
}

.floating-stat-one {
left: -28px;
top: 100px;
}

.floating-stat-two {
right: -20px;
bottom: 65px;
animation-delay: -2s;
}

.floating-icon {
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 9px;
font-size: 12px;
font-weight: 700;
}

.floating-icon.blue {
color: #2563eb;
background: #dbeafe;
}

.floating-icon.green {
color: #16a34a;
background: #dcfce7;
}

@keyframes floating {
0%, 100% {
transform: translateY(0);
}

50% {
    transform: translateY(-8px);
}

}

.stat-item {
padding: 30px 15px;
text-align: center;
border-right: 1px solid #e2e8f0;
}

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

.stat-item strong {
display: block;
font-family: "Space Grotesk", sans-serif;
font-size: 26px;
font-weight: 700;
color: #0f172a;
}

.stat-item span {
display: block;
margin-top: 5px;
color: #94a3b8;
font-size: 11px;
}

.section-label {
display: inline-flex;
align-items: center;
gap: 8px;
color: #2563eb;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: .2em;
}

.section-label::before {
content: "";
width: 18px;
height: 2px;
background: #2563eb;
border-radius: 99px;
}

.section-title {
max-width: 700px;
font-family: "Space Grotesk", sans-serif;
font-size: clamp(2.5rem, 5vw, 4.5rem);
line-height: .98;
letter-spacing: -.055em;
font-weight: 700;
}

.section-title span {
display: block;
color: #94a3b8;
}

.soft-pill {
padding: 8px 13px;
border-radius: 999px;
background: #eff6ff;
border: 1px solid #dbeafe;
color: #2563eb;
font-size: 11px;
font-weight: 600;
}

.project-card {
position: relative;
}

.project-image {
position: relative;
aspect-ratio: 16 / 10;
overflow: hidden;
border-radius: 20px;
background: #f1f5f9;
border: 1px solid #e2e8f0;
}

.project-image img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
transition:
transform .7s cubic-bezier(.2,.7,.2,1),
filter .5s ease;
}

.project-card:hover .project-image img {
transform: scale(1.045);
}

.project-overlay {
position: absolute;
inset: 0;
display: flex;
align-items: flex-end;
justify-content: flex-end;
padding: 20px;
background: linear-gradient(
to top,
rgba(15,23,42,.3),
transparent 45%
);
opacity: 0;
transition: opacity .35s ease;
}

.project-card:hover .project-overlay {
opacity: 1;
}

.project-open {
display: flex;
align-items: center;
gap: 10px;
padding: 11px 15px;
border-radius: 999px;
background: white;
color: #1d4ed8;
font-size: 12px;
font-weight: 700;
box-shadow: 0 10px 25px rgba(15,23,42,.15);
}

.project-number {
position: absolute;
top: 18px;
left: 18px;
padding: 7px 10px;
border-radius: 8px;
color: #475569;
background: rgba(255,255,255,.9);
backdrop-filter: blur(10px);
font-size: 10px;
font-weight: 700;
}

.project-arrow {
width: 42px;
height: 42px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
border: 1px solid #e2e8f0;
border-radius: 999px;
color: #2563eb;
background: white;
transition: all .3s ease;
}

.project-card:hover .project-arrow {
color: white;
background: #2563eb;
border-color: #2563eb;
transform: rotate(45deg);
}

.tag {
padding: 6px 10px;
border-radius: 999px;
background: #f8fafc;
border: 1px solid #e2e8f0;
color: #64748b;
font-size: 10px;
}

.image-error {
background:
radial-gradient(circle at 30% 30%, #dbeafe, transparent 35%),
#f8fafc;
}

.image-error::after {
content: "PROJECT PREVIEW";
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
color: #94a3b8;
font-size: 10px;
letter-spacing: .25em;
}

.service-card {
display: flex;
align-items: flex-start;
gap: 22px;
padding: 27px 0;
border-top: 1px solid #e2e8f0;
transition: padding .35s ease;
}

.service-card:last-child {
border-bottom: 1px solid #e2e8f0;
}

.service-card:hover {
padding-left: 10px;
}

.service-number {
width: 30px;
color: #94a3b8;
font-size: 11px;
}

.service-arrow {
width: 38px;
height: 38px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
border-radius: 999px;
color: #94a3b8;
border: 1px solid #e2e8f0;
transition: all .3s ease;
}

.service-card:hover .service-arrow {
color: #2563eb;
border-color: #bfdbfe;
background: #eff6ff;
transform: rotate(45deg);
}

.process-card {
padding: 28px;
background: white;
border: 1px solid #e2e8f0;
border-radius: 18px;
transition: all .35s ease;
}

.process-card:hover {
transform: translateY(-6px);
border-color: #bfdbfe;
box-shadow: 0 18px 40px rgba(15,23,42,.07);
}

.process-number {
color: #2563eb;
font-size: 11px;
font-weight: 700;
}

.marquee-wrapper {
overflow: hidden;
width: 100%;
mask-image: linear-gradient(
90deg,
transparent,
black 10%,
black 90%,
transparent
);
}

.marquee {
width: max-content;
display: flex;
gap: 18px;
animation: marquee 28s linear infinite;
}

.stack-item {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 14px 19px;
border: 1px solid #e2e8f0;
border-radius: 999px;
background: white;
color: #475569;
font-size: 13px;
font-weight: 600;
white-space: nowrap;
}

.stack-item i {
width: 6px;
height: 6px;
border-radius: 999px;
background: #3b82f6;
}

@keyframes marquee {
from {
transform: translateX(0);
}

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

}

.cta-circle {
position: absolute;
width: 600px;
height: 600px;
right: -250px;
top: -250px;
border: 1px solid rgba(255,255,255,.12);
border-radius: 999px;
box-shadow:
0 0 0 80px rgba(255,255,255,.025),
0 0 0 160px rgba(255,255,255,.02);
}

.cta-circle-two {
position: absolute;
width: 250px;
height: 250px;
left: -100px;
bottom: -100px;
border-radius: 999px;
background: rgba(255,255,255,.06);
}

.reveal {
opacity: 0;
transform: translateY(28px);
transition:
opacity .8s ease,
transform .8s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
opacity: 1;
transform: translateY(0);
}

.delay-1 {
transition-delay: .08s;
}

.delay-2 {
transition-delay: .16s;
}

.delay-3 {
transition-delay: .24s;
}

.delay-4 {
transition-delay: .32s;
}

::selection {
color: white;
background: #2563eb;
}

::-webkit-scrollbar {
width: 6px;
}

::-webkit-scrollbar-track {
background: #f8fafc;
}

::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 999px;
}

@media (max-width: 767px) {

#cursorGlow {
    display: none;
}

.floating-stat-one {
    left: -5px;
    top: 70px;
}

.floating-stat-two {
    right: -5px;
    bottom: 35px;
}

.hero-preview {
    min-height: 360px;
}

.hero-preview-content {
    padding: 55px 25px;
}

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

.stat-item {
    padding: 22px 8px;
}

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

.stat-item:nth-child(-n+2) {
    border-bottom: 1px solid #e2e8f0;
}

.service-card {
    gap: 12px;
}

.service-arrow {
    width: 34px;
    height: 34px;
}

}

@media (prefers-reduced-motion: reduce) {

*,
*::before,
*::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
}

}