:root {
--bg: #ffffff;
--bg-soft: #f5f7fb;
--bg-muted: #eef3fb;
--text: #0d172a;
--text-soft: #536079;
--line: #dfe7f3;
--blue: #2563eb;
--blue-dark: #1746b8;
--blue-soft: #e9f0ff;
--green: #16a34a;
--amber: #f59e0b;
--rose: #e11d48;
--shadow: 0 20px 60px rgba(19, 35, 72, 0.12);
--shadow-soft: 0 12px 34px rgba(19, 35, 72, 0.08);
--radius: 8px;
--container: min(1120px, calc(100% - 40px));
--ease: cubic-bezier(.2, .8, .2, 1);
}

* {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
margin: 0;
color: var(--text);
background: var(--bg);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
line-height: 1.6;
overflow-x: hidden;
}

body.menu-open,
body.modal-open {
overflow: hidden;
}

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

button,
input,
textarea {
font: inherit;
}

.skip-link {
position: fixed;
top: 12px;
left: 12px;
z-index: 200;
padding: 10px 14px;
border-radius: var(--radius);
color: #fff;
background: var(--text);
transform: translateY(-150%);
transition: transform .25s var(--ease);
}

.skip-link:focus {
transform: translateY(0);
}

.container {
width: var(--container);
margin: 0 auto;
}

.site-header {
position: sticky;
top: 0;
z-index: 100;
border-bottom: 1px solid rgba(223, 231, 243, 0);
background: rgba(255, 255, 255, 0.82);
backdrop-filter: blur(18px);
transition: padding .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.site-header.is-scrolled {
border-color: rgba(223, 231, 243, 0.9);
box-shadow: 0 10px 30px rgba(13, 23, 42, 0.06);
}

.nav {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 84px;
transition: min-height .25s var(--ease);
}

.site-header.is-scrolled .nav {
min-height: 66px;
}

.logo {
display: inline-flex;
align-items: center;
gap: 10px;
font-size: 1rem;
font-weight: 800;
letter-spacing: 0;
white-space: nowrap;
}

.logo-mark {
display: grid;
width: 36px;
height: 36px;
place-items: center;
border-radius: var(--radius);
color: #fff;
background: linear-gradient(135deg, var(--blue), #60a5fa);
box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.logo-mark svg {
width: 20px;
height: 20px;
}

.nav-links {
display: flex;
align-items: center;
gap: 28px;
color: var(--text-soft);
font-size: .95rem;
font-weight: 650;
}

.nav-links a {
position: relative;
transition: color .2s var(--ease);
}

.nav-links a::after {
position: absolute;
right: 0;
bottom: -8px;
left: 0;
height: 2px;
border-radius: 999px;
background: var(--blue);
content: "";
transform: scaleX(0);
transform-origin: center;
transition: transform .2s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
transform: scaleX(1);
}

.nav-actions {
display: flex;
align-items: center;
gap: 12px;
}

.mobile-toggle {
display: none;
width: 42px;
height: 42px;
align-items: center;
justify-content: center;
border: 1px solid var(--line);
border-radius: var(--radius);
color: var(--text);
background: #fff;
cursor: pointer;
}

.mobile-toggle svg {
width: 22px;
height: 22px;
}

.btn {
position: relative;
display: inline-flex;
min-height: 46px;
align-items: center;
justify-content: center;
gap: 9px;
padding: 0 18px;
border: 1px solid transparent;
border-radius: var(--radius);
font-weight: 800;
line-height: 1;
cursor: pointer;
transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.btn svg {
width: 18px;
height: 18px;
flex: 0 0 auto;
}

.btn:hover {
transform: translateY(-2px);
}

.btn-primary {
color: #fff;
background: linear-gradient(135deg, var(--blue), #60a5fa, var(--blue));
background-size: 220% 220%;
box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
animation: buttonGradient 8s ease infinite;
padding: 10px 50px;
margin-left: 5px;
}

.btn-primary:hover {
box-shadow: 0 18px 36px rgba(37, 99, 235, 0.3);
}

.hero {
position: relative;
padding: 72px 0 56px;
overflow: hidden;
background:
    linear-gradient(180deg, rgba(245, 247, 251, .78), rgba(255, 255, 255, 0) 56%),
    radial-gradient(circle at 88% 8%, rgba(37, 99, 235, 0.12), transparent 28%),
    #fff;
}

.hero::before {
position: absolute;
inset: 0;
z-index: 0;
pointer-events: none;
background-image:
    linear-gradient(rgba(13, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 23, 42, .045) 1px, transparent 1px);
background-size: 44px 44px;
mask-image: linear-gradient(to bottom, black, transparent 68%);
content: "";
}

.hero-grid {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr);
align-items: center;
gap: 54px;
}

h1,
h2,
h3,
p {
margin-top: 0;
}

h1 {
max-width: 760px;
margin-bottom: 22px;
font-size: clamp(3rem, 7vw, 5.8rem);
line-height: .95;
letter-spacing: 0;
}

#title {
    background: linear-gradient(135deg, var(--blue), #60a5fa, var(--blue));
    background-clip: text;
    color: transparent;
}

.hero-copy {
max-width: 625px;
margin-bottom: 32px;
color: var(--text-soft);
font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 14px;
margin-bottom: 32px;
}

.mockup-shell {
position: relative;
min-height: 520px;
}

.browser-mockup {
position: relative;
overflow: hidden;
border: 1px solid rgba(206, 218, 235, 0.95);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow);
transform: perspective(1200px) rotateY(-7deg) rotateX(4deg);
transform-origin: center;
animation: mockupFloat 7s ease-in-out infinite;
}

.browser-bar {
display: flex;
align-items: center;
gap: 8px;
min-height: 42px;
padding: 0 14px;
border-bottom: 1px solid var(--line);
background: #f8fafc;
}

.browser-dot {
width: 10px;
height: 10px;
border-radius: 999px;
background: #cbd5e1;
}

.browser-dot:nth-child(1) {
background: #f87171;
}

.browser-dot:nth-child(2) {
background: #fbbf24;
}

.browser-dot:nth-child(3) {
background: #34d399;
}

.browser-url {
flex: 1;
margin-left: 8px;
padding: 6px 12px;
border-radius: 999px;
color: #64748b;
background: #eef2f7;
font-size: .74rem;
font-weight: 700;
}

.mock-site {
padding: 24px;
}

.mock-nav {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 26px;
}

.mock-logo {
width: 112px;
height: 18px;
border-radius: 999px;
background: var(--text);
}

.mock-links {
display: flex;
gap: 8px;
}

.mock-links span {
width: 42px;
height: 10px;
border-radius: 999px;
background: #d9e2ef;
}

.mock-hero {
display: grid;
grid-template-columns: 1.2fr .8fr;
gap: 24px;
align-items: center;
padding: 26px;
border-radius: var(--radius);
background: linear-gradient(135deg, #f8fbff, #edf4ff);
}

.mock-title span {
display: block;
height: 16px;
margin-bottom: 10px;
border-radius: 999px;
background: var(--text);
}

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

.mock-title span:nth-child(2) {
width: 70%;
}

.mock-copy span {
display: block;
width: 100%;
height: 8px;
margin-top: 12px;
border-radius: 999px;
background: #c7d4e8;
}

.mock-copy span:nth-child(2) {
width: 78%;
}

.mock-cta-row {
display: flex;
gap: 10px;
margin-top: 20px;
}

.mock-cta {
width: 94px;
height: 32px;
border-radius: var(--radius);
background: var(--blue);
}

.mock-cta.light {
border: 1px solid #cad6e7;
background: #fff;
}

.mock-photo {
display: grid;
min-height: 172px;
place-items: center;
border: 1px solid rgba(37, 99, 235, .18);
border-radius: var(--radius);
background:
    linear-gradient(135deg, rgba(37, 99, 235, .16), rgba(22, 163, 74, .12)),
    #fff;
}

.mock-photo-inner {
width: 74%;
height: 104px;
border-radius: var(--radius);
background:
    linear-gradient(90deg, rgba(255,255,255,.72) 18px, transparent 1px) 0 0 / 36px 100%,
    linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.28));
box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}

.mock-card-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
margin-top: 16px;
}

.mock-mini-card {
min-height: 86px;
padding: 14px;
border: 1px solid #e4eaf4;
border-radius: var(--radius);
background: #fff;
box-shadow: 0 8px 18px rgba(13, 23, 42, .04);
}

.mock-mini-card span {
display: block;
height: 8px;
margin-top: 10px;
border-radius: 999px;
background: #d7e0ee;
}

.mock-mini-card span:first-child {
width: 30px;
height: 30px;
margin-top: 0;
border-radius: var(--radius);
background: var(--blue-soft);
}

.section {
padding: 96px 0;
}

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

#services {
padding-top: 76px;
}

.section-heading {
display: flex;
align-items: end;
justify-content: space-between;
gap: 30px;
margin-bottom: 42px;
}

.section-kicker {
display: inline-flex;
margin-bottom: 12px;
color: var(--blue-dark);
font-size: .83rem;
font-weight: 850;
letter-spacing: .08em;
text-transform: uppercase;
}

h2 {
max-width: 700px;
margin-bottom: 0;
font-size: clamp(2rem, 4vw, 3.4rem);
line-height: 1.02;
letter-spacing: 0;
}

.section-heading p {
max-width: 430px;
margin: 0;
color: var(--text-soft);
font-size: 1.04rem;
}

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

.service-card,
.stat-card,
.about-card,
.accepting-card {
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: 0 10px 28px rgba(13, 23, 42, 0.05);
}

.service-card {
min-height: 365px;
padding: 28px;
transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.service-card.featured {
border-color: rgba(37, 99, 235, .24);
background:
    linear-gradient(180deg, rgba(233, 240, 255, .78), rgba(255,255,255,1) 44%),
    #fff;
}

.service-card:hover,
.stat-card:hover {
border-color: rgba(37, 99, 235, .28);
box-shadow: 0 18px 44px rgba(13, 23, 42, 0.1);
transform: translateY(-6px);
}

.service-card .price {
    text-align: center;
    font-size: 25px;
    color: var(--blue);
}

.icon-box {
display: grid;
width: 46px;
height: 46px;
margin-bottom: 22px;
place-items: center;
border-radius: var(--radius);
color: var(--blue);
background: var(--blue-soft);
}

.icon-box svg {
width: 23px;
height: 23px;
}

.service-card h3,
.stat-card h3 {
margin-bottom: 10px;
font-size: 1.28rem;
line-height: 1.2;
}

.service-card p,
.stat-card p {
color: var(--text-soft);
}

.feature-list {
display: grid;
gap: 9px;
margin: 20px 0 0;
padding: 0;
list-style: none;
color: var(--text-soft);
font-weight: 650;
}

.feature-list li {
display: flex;
align-items: center;
gap: 9px;
}

.check {
display: inline-grid;
width: 19px;
height: 19px;
flex: 0 0 auto;
place-items: center;
border-radius: 999px;
color: #fff;
background: var(--green);
font-size: .76rem;
line-height: 1;
}

.tag {
display: inline-flex;
align-items: center;
min-height: 28px;
padding: 0 10px;
border: 1px solid var(--line);
border-radius: 999px;
color: var(--text-soft);
background: #fff;
font-size: .78rem;
font-weight: 800;
}

.comparison {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
align-items: stretch;
}

.compare-panel {
overflow: hidden;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: 0 12px 28px rgba(13, 23, 42, .06);
width: 100%;
}

.compare-preview {
position: relative;
display: block;
width: 100%;
padding: 0;
overflow: hidden;
border: 0;
background: transparent;
cursor: zoom-in;
}

.compare-preview picture {
display: block;
width: 100%;
}

.compare-preview img {
display: block;
width: 100%;
height: 350px;
object-fit: cover;
object-position: top center;
transition: transform .28s var(--ease), filter .28s var(--ease);
}

.compare-preview:hover img,
.compare-preview:focus-visible img {
filter: saturate(1.04);
transform: scale(1.035);
}

.compare-preview:focus-visible {
outline: 4px solid rgba(37, 99, 235, .22);
outline-offset: -4px;
}

.preview-hint {
position: absolute;
right: 14px;
bottom: 14px;
z-index: 2;
padding: 7px 10px;
border: 1px solid rgba(255, 255, 255, .72);
border-radius: 999px;
color: var(--text);
background: rgba(255, 255, 255, .88);
box-shadow: 0 10px 22px rgba(13, 23, 42, .12);
font-size: .78rem;
font-weight: 850;
opacity: 0;
transform: translateY(8px);
transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.compare-preview:hover .preview-hint,
.compare-preview:focus-visible .preview-hint {
opacity: 1;
transform: translateY(0);
}

.compare-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 18px;
border-bottom: 1px solid var(--line);
font-weight: 850;
}

.compare-header span {
padding: 5px 9px;
border-radius: 999px;
color: #fff;
background: var(--text);
font-size: .74rem;
text-transform: uppercase;
}

.compare-header .new-label {
background: var(--blue);
}

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

.stat-card {
min-height: 270px;
padding: 24px;
transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.stat-card h3 {
    color: var(--blue);
    font-size: 32.5px;
}

.about-card {
padding: 36px;
}

.about-card p {
color: var(--text-soft);
font-size: 1.08rem;
}

.about-card h2 {
    background: linear-gradient(135deg, var(--blue), #60a5fa, var(--blue));
    background-clip: text;
    color: transparent;
}

.skill-list {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 24px;
}

.accepting-card {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 18px;
align-items: center;
margin-top: 24px;
padding: 22px;
background:
    linear-gradient(135deg, rgba(233,240,255,.86), rgba(255,255,255,1)),
    #fff;
}

.accepting-card p {
margin: 0;
color: var(--text-soft);
}

.site-footer {
padding: 34px 0;
border-top: 1px solid var(--line);
background: #fff;
}

.footer-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
}

.footer-links,
.social-links {
display: flex;
flex-wrap: wrap;
gap: 18px;
align-items: center;
}

.footer-links a {
color: var(--text-soft);
font-weight: 750;
}

.footer-links a:hover {
color: var(--blue);
}

.social-link {
display: grid;
width: 38px;
height: 38px;
place-items: center;
border: 1px solid var(--line);
border-radius: var(--radius);
color: var(--text);
background: #fff;
transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.social-link:hover {
border-color: rgba(37,99,235,.35);
background: var(--blue-soft);
transform: translateY(-2px);
}

.social-link svg {
width: 19px;
height: 19px;
}

.copyright {
margin: 18px 0 0;
color: var(--text-soft);
font-size: .92rem;
}

.image-modal {
position: fixed;
inset: 0;
z-index: 260;
display: grid;
place-items: center;
padding: 24px;
background: rgba(13, 23, 42, .62);
backdrop-filter: blur(10px);
opacity: 0;
pointer-events: none;
transition: opacity .22s var(--ease);
}

.image-modal.open {
opacity: 1;
pointer-events: auto;
}

.image-modal-card {
width: min(1120px, calc(100vw - 32px));
max-height: calc(100vh - 40px);
overflow: hidden;
border: 1px solid rgba(223, 231, 243, .9);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow);
transform: translateY(18px) scale(.98);
transition: transform .22s var(--ease);
}

.image-modal.open .image-modal-card {
transform: translateY(0) scale(1);
}

.image-modal-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
padding: 16px 18px;
border-bottom: 1px solid var(--line);
}

.image-modal-header h2 {
margin: 0;
font-size: 1.15rem;
line-height: 1.2;
}

.image-modal-close {
display: grid;
width: 40px;
height: 40px;
flex: 0 0 auto;
place-items: center;
border: 1px solid var(--line);
border-radius: var(--radius);
color: var(--text);
background: #fff;
cursor: pointer;
transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.image-modal-close:hover,
.image-modal-close:focus-visible {
border-color: rgba(37, 99, 235, .34);
background: var(--blue-soft);
transform: translateY(-1px);
}

.image-modal-close svg {
width: 20px;
height: 20px;
}

.image-modal-body {
max-height: calc(100vh - 126px);
padding: 14px;
overflow: auto;
background: #f8fafc;
}

.image-modal-body img {
display: block;
width: 100%;
height: auto;
border-radius: var(--radius);
background: #fff;
box-shadow: 0 14px 34px rgba(13, 23, 42, .12);
}

.reveal {
opacity: 0;
transform: translateY(28px);
transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

.load-fade {
opacity: 0;
transform: translateY(18px);
animation: loadFade .8s var(--ease) forwards;
}

.delay-1 {
animation-delay: .12s;
}

.delay-2 {
animation-delay: .24s;
}

.delay-3 {
animation-delay: .36s;
}

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

@keyframes buttonGradient {
0%, 100% {
    background-position: 0% 50%;
}
50% {
    background-position: 100% 50%;
}
}

@keyframes mockupFloat {
0%, 100% {
    transform: perspective(1200px) rotateY(-7deg) rotateX(4deg) translateY(0);
}
50% {
    transform: perspective(1200px) rotateY(-7deg) rotateX(4deg) translateY(-10px);
}
}

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

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

.hero-grid {
    gap: 44px;
}

.mockup-shell {
    min-height: auto;
}

.browser-mockup {
    transform: none;
}

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

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

@media (max-width: 820px) {
:root {
    --container: min(100% - 28px, 1120px);
}

.nav {
    min-height: 72px;
}

.nav-links {
    position: fixed;
    top: 72px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease);
}

.nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-links a {
    padding: 14px;
    border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: var(--bg-soft);
}

.nav-links a::after {
    display: none;
}

.mobile-toggle {
    display: inline-flex;
}

.nav-actions .btn {
    display: none;
}

.hero {
    padding: 64px 0 72px;
}

.section {
    padding: 72px 0;
}

.section-heading {
    display: block;
}

.section-heading p {
    margin-top: 14px;
}

.mock-hero,
.comparison {
    grid-template-columns: 1fr;
}

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

.footer-row,
.accepting-card {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
}
}

@media (max-width: 640px) {
.hero {
    padding: 48px 0;
}

h1 {
    font-size: clamp(2.5rem, 13.5vw, 3.45rem);
}

.hero-actions,
.footer-links,
.social-links {
    width: 100%;
}

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

.browser-url {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mock-site,
.about-card {
    padding: 20px;
}

.card-grid,
.stats-grid {
    grid-template-columns: 1fr;
}

.service-card,
.stat-card {
    min-height: auto;
}

.compare-preview img {
    height: min(640px, 145vw);
}

}

@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
}

.reveal,
.load-fade {
    opacity: 1;
    transform: none;
}
}
