:root {
    --bg: #080d17;
    --surface: #111a29;
    --surface-2: #172337;
    --border: rgba(148, 163, 184, .2);
    --text: #f8fafc;
    --muted: #a7b4c8;
    --blue: #4285f4;
    --blue-light: #70a5ff;
    --green: #34a853;
    --gold: #fbbf24;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 10%, rgba(66,133,244,.18), transparent 34rem),
        radial-gradient(circle at 85% 30%, rgba(52,168,83,.10), transparent 28rem),
        var(--bg);
    font-family: var(--font-body);
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-nav {
    position: sticky; top: 0; z-index: 20;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: rgba(8,13,23,.82); backdrop-filter: blur(16px);
}
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 1.25rem var(--font-heading); }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span span { color: var(--blue-light); }
.nav-actions { display: flex; align-items: center; gap: 22px; font-weight: 600; }
.nav-actions > a:not(.button) { color: var(--muted); }
.nav-actions > a:hover { color: white; }
.nav-mobile-choices { display: none; }
.home-nav { border-bottom-color: rgba(112,165,255,.1); box-shadow: 0 12px 45px rgba(0,0,0,.16); }
.home-nav .nav-inner { position: relative; min-height: 84px; }
.home-brand { gap: 7px; }
.home-brand img { width: 108px; height: 108px; margin: -23px; }
.home-brand > span { font: 800 1.3rem/1 var(--font-heading); letter-spacing: -.02em; }
.home-service-tabs { position: absolute; left: 50%; top: 50%; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; border: 1px solid rgba(148,163,184,.17); border-radius: 16px; background: rgba(17,26,41,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 12px 34px rgba(0,0,0,.16); transform: translate(-50%,-50%); }
.home-service-tabs a { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 150px; min-height: 46px; padding: 0 16px; border: 1px solid transparent; border-radius: 11px; color: #b8c5d8; font-size: .9rem; font-weight: 750; transition: transform .2s ease,color .2s ease,background .2s ease,border-color .2s ease; }
.home-service-tabs a:hover { color: white; border-color: rgba(112,165,255,.26); background: linear-gradient(145deg,rgba(47,72,110,.72),rgba(25,39,61,.72)); transform: translateY(-1px); }
.home-service-tabs .tab-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: #8eb7ff; background: rgba(66,133,244,.13); font-size: .75rem; }
.home-service-tabs .code-icon { color: #70d88a; background: rgba(52,168,83,.12); font-size: .62rem; font-weight: 850; }
.home-contact { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 19px; border: 1px solid rgba(112,165,255,.32); border-radius: 13px; color: white; background: linear-gradient(135deg,#4b91ff,#2563eb); box-shadow: 0 10px 28px rgba(37,99,235,.23); font-size: .9rem; font-weight: 750; transition: transform .2s ease,box-shadow .2s ease; }
.home-contact:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37,99,235,.34); }
.service-nav .nav-inner { min-height: 80px; }
.service-brand { gap: 13px; }
.service-brand img { width: 112px; height: 112px; margin: -20px; }
.service-divider { width: 1px; height: 43px; background: rgba(255,255,255,.22); }
.brand .service-title { color: white; font: 800 1.45rem/1.05 var(--font-heading); letter-spacing: -.03em; white-space: nowrap; }
.service-nav-links { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.service-nav-links a { padding: 10px 11px; border-radius: 11px; color: var(--muted); font-size: .92rem; font-weight: 650; transition: .2s ease; }
.service-nav-links a:hover { color: white; background: rgba(255,255,255,.05); }
.service-nav-links .service-switch { color: #8eb7ff; border: 1px solid rgba(66,133,244,.28); background: rgba(66,133,244,.07); }
.service-nav-links .service-cta { padding-inline: 17px; color: white; border: 1px solid rgba(112,165,255,.35); background: linear-gradient(135deg,#4b91ff,#2563eb); box-shadow: 0 8px 24px rgba(37,99,235,.22); }
.service-menu-btn { display: none; width: 46px; height: 46px; place-content: center; gap: 6px; border: 1px solid var(--border); border-radius: 13px; background: rgba(255,255,255,.04); }
.service-menu-btn span { display: block; width: 23px; height: 2px; border-radius: 2px; background: white; transition: .25s ease; }
.service-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.service-menu-btn.active span:nth-child(2) { opacity: 0; }
.service-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.service-mobile-menu { display: none; }
.button {
    display: inline-flex; justify-content: center; align-items: center; gap: 9px;
    min-height: 50px; padding: 0 24px; border-radius: 14px;
    color: white; background: linear-gradient(135deg, #4b91ff, #2563eb);
    box-shadow: 0 12px 32px rgba(37,99,235,.25); font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(37,99,235,.38); }
.button.secondary { background: rgba(255,255,255,.055); border: 1px solid var(--border); box-shadow: none; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
    border: 1px solid rgba(112,165,255,.25); border-radius: 999px;
    color: #99bfff; background: rgba(66,133,244,.1); font-size: .86rem; font-weight: 700;
}
.hero { padding: 96px 0 70px; text-align: center; }
.hero h1 { max-width: 920px; margin: 24px auto 20px; font: 800 clamp(2.6rem, 6vw, 5.25rem)/1.02 var(--font-heading); letter-spacing: -.045em; }
.gradient { background: linear-gradient(110deg,#75a9ff,#d5e5ff); background-clip: text; color: transparent; }
.hero-lead { max-width: 740px; margin: 0 auto; color: var(--muted); font-size: clamp(1.05rem,2vw,1.25rem); }
.choice-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; margin-top: 58px; text-align: left; perspective: 1200px; }
.choice-card {
    --mouse-x: 50%; --mouse-y: 50%; --rotate-x: 0deg; --rotate-y: 0deg;
    position: relative; overflow: hidden; isolation: isolate; min-height: 390px; padding: 36px;
    border: 1px solid var(--border); border-radius: 28px;
    background: linear-gradient(145deg,rgba(23,35,55,.94),rgba(12,19,31,.94));
    box-shadow: 0 24px 70px rgba(0,0,0,.18);
    transform: perspective(900px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y));
    transform-style: preserve-3d;
    transition: transform .16s ease, border-color .25s ease, box-shadow .25s ease;
    animation: offer-enter .7s cubic-bezier(.2,.8,.2,1) backwards;
}
.choice-card:nth-child(2) { animation-delay: .12s; }
.choice-card:hover { border-color: rgba(112,165,255,.64); box-shadow: 0 34px 90px rgba(3,8,18,.48), 0 0 42px rgba(66,133,244,.1); }
.choice-card::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: 0; background: radial-gradient(420px circle at var(--mouse-x) var(--mouse-y),rgba(112,165,255,.2),transparent 48%); transition: opacity .3s ease; }
.choice-card:hover::before { opacity: 1; }
.choice-card::after { content: ''; position: absolute; z-index: -1; width: 230px; height: 230px; right: -80px; top: -90px; border-radius: 50%; background: rgba(66,133,244,.12); filter: blur(4px); animation: ambient-orb 5s ease-in-out infinite; }
.choice-card.web::after { background: rgba(52,168,83,.13); }
.icon-box { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 17px; background: rgba(66,133,244,.14); color: #8bb6ff; font-size: 1.75rem; box-shadow: 0 10px 28px rgba(66,133,244,.09); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.web .icon-box { color: #71dc8c; background: rgba(52,168,83,.13); }
.choice-card:hover .icon-box { transform: translateZ(30px) rotate(-6deg) scale(1.08); box-shadow: 0 16px 34px rgba(66,133,244,.22); }
.choice-card.web:hover .icon-box { transform: translateZ(30px) rotate(6deg) scale(1.08); box-shadow: 0 16px 34px rgba(52,168,83,.19); }
.choice-card h2 { margin: 28px 0 12px; font: 750 2rem var(--font-heading); }
.choice-card p { color: var(--muted); max-width: 470px; }
.card-points { display: grid; gap: 9px; margin: 24px 0 32px; list-style: none; color: #dce6f5; }
.card-points li::before { content: '✓'; color: #60a5fa; margin-right: 9px; font-weight: 900; }
.web .card-points li::before { color: #55cc73; }
.card-link { display: inline-flex; align-items: center; gap: 9px; color: #8bb6ff; font-weight: 800; transition: gap .25s ease, transform .25s ease; }
.web .card-link { color: #71dc8c; }
.choice-card:hover .card-link { gap: 15px; transform: translateX(3px); }
.choice-card h2,.choice-card p,.choice-card ul,.choice-card .card-link { transform: translateZ(12px); }
@keyframes offer-enter { from { opacity: 0; transform: perspective(900px) translateY(34px) scale(.97); } to { opacity: 1; transform: perspective(900px) translateY(0) scale(1); } }
@keyframes ambient-orb { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-18px,16px,0) scale(1.12); } }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 44px; padding: 30px 0 80px; color: var(--muted); font-size: .95rem; }
.trust-strip strong { color: white; }

.sales-hero { padding: 90px 0 76px; }
.sales-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; }
.sales-hero h1 { margin: 22px 0; font: 800 clamp(2.7rem,5.6vw,4.9rem)/1.03 var(--font-heading); letter-spacing: -.04em; }
.sales-hero .lead { color: var(--muted); font-size: 1.2rem; max-width: 680px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.price-card { padding: 34px; border: 1px solid rgba(112,165,255,.3); border-radius: 26px; background: linear-gradient(145deg,rgba(27,43,68,.95),rgba(13,21,34,.97)); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.price-label { color: var(--muted); font-weight: 650; }
.price { margin: 7px 0 2px; font: 800 4.4rem/1 var(--font-heading); }
.price small { color: var(--muted); font-size: 1rem; letter-spacing: 0; }
.one-time { color: #8bb6ff; font-weight: 750; }
.price-list { display: grid; gap: 13px; margin-top: 27px; padding-top: 25px; border-top: 1px solid var(--border); list-style: none; }
.price-list li { display: flex; gap: 10px; color: #dce6f5; }
.price-list li::before { content: '✓'; color: #55cc73; font-weight: 900; }
.notice { margin-top: 20px; padding: 14px 16px; border-radius: 12px; color: #c5d1e2; background: rgba(255,255,255,.045); font-size: .9rem; }
.section { padding: 84px 0; }
.section.alt { background: rgba(255,255,255,.018); border-block: 1px solid rgba(255,255,255,.055); }
.section-head { max-width: 740px; margin-bottom: 40px; }
.section-head h2 { margin: 10px 0 12px; font: 750 clamp(2rem,4vw,3.25rem)/1.1 var(--font-heading); letter-spacing: -.025em; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature { padding: 26px; border: 1px solid var(--border); border-radius: 20px; background: rgba(17,26,41,.72); }
.feature .num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px; border-radius: 11px; color: #9fc2ff; background: rgba(66,133,244,.13); font-weight: 800; }
.feature h3 { margin-bottom: 8px; font: 700 1.22rem var(--font-heading); }
.feature p { color: var(--muted); font-size: .96rem; }
.portfolio-section { padding-top: 96px; }
.portfolio-head { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.portfolio-head > div { max-width: 740px; }
.portfolio-link { flex-shrink: 0; }
.browser-preview { overflow: hidden; border: 1px solid rgba(112,165,255,.28); border-radius: 24px; background: #0d1522; box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.browser-bar { height: 54px; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; gap: 16px; padding: 0 18px; border-bottom: 1px solid var(--border); background: #172235; }
.browser-dots { display: flex; gap: 7px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ef6a64; }
.browser-dots i:nth-child(2) { background: #eebf4c; }
.browser-dots i:nth-child(3) { background: #59bf71; }
.browser-address { overflow: hidden; padding: 7px 16px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; color: #9eabc0; background: rgba(4,9,17,.46); font-size: .82rem; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.browser-open { color: #8eb7ff; font-size: 1.2rem; text-align: right; }
.preview-image-link { position: relative; display: block; overflow: hidden; }
.preview-image-link img { display: block; width: 100%; height: auto; transition: transform .45s ease, filter .45s ease; }
.preview-image-link span { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border: 1px solid rgba(255,255,255,.3); border-radius: 14px; color: white; background: rgba(8,13,23,.86); box-shadow: 0 18px 50px rgba(0,0,0,.4); font-weight: 800; opacity: 0; transform: translate(-50%,-40%); transition: .3s ease; backdrop-filter: blur(10px); }
.preview-image-link:hover img { transform: scale(1.015); filter: brightness(.62); }
.preview-image-link:hover span { opacity: 1; transform: translate(-50%,-50%); }
.preview-note { margin-top: 14px; color: var(--muted); font-size: .88rem; text-align: center; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit-card { padding: 30px; border-radius: 22px; border: 1px solid var(--border); background: var(--surface); }
.fit-card.good { border-color: rgba(52,168,83,.3); }
.fit-card.bad { border-color: rgba(251,191,36,.23); }
.fit-card h3 { font: 700 1.4rem var(--font-heading); margin-bottom: 18px; }
.fit-list { display: grid; gap: 11px; list-style: none; color: var(--muted); }
.fit-list li { display: flex; gap: 10px; }
.good li::before { content: '✓'; color: #55cc73; font-weight: 900; }
.bad li::before { content: '—'; color: var(--gold); font-weight: 900; }
.terms { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.term { padding: 26px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--border); }
.term strong { display: block; margin-bottom: 8px; color: #9fc2ff; font: 700 1.2rem var(--font-heading); }
.term p { color: var(--muted); }
.cta { margin: 80px auto; padding: 55px; text-align: center; border: 1px solid rgba(112,165,255,.28); border-radius: 30px; background: linear-gradient(135deg,rgba(66,133,244,.16),rgba(17,26,41,.82)); }
.cta h2 { font: 750 clamp(2rem,4vw,3.1rem) var(--font-heading); }
.cta p { max-width: 660px; margin: 12px auto 27px; color: var(--muted); }
.footer { border-top: 1px solid rgba(255,255,255,.08); padding: 34px 0; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a:hover { color: white; }

@media (max-width: 820px) {
    .nav-actions > a:not(.button) { display: none; }
    .choice-grid,.sales-grid,.feature-grid,.terms { grid-template-columns: 1fr; }
    .sales-grid { gap: 42px; }
    .hero { padding-top: 68px; }
    .choice-card { min-height: 0; }
    .fit-grid { grid-template-columns: 1fr; }
    .portfolio-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 860px) {
    .home-contact { display: none; }
    .home-service-tabs { position: static; margin-left: auto; transform: none; }
}
@media (max-width: 1050px) {
    .service-nav-links { display: none; }
    .service-menu-btn { display: grid; }
    .service-mobile-menu {
        position: fixed; z-index: 19; inset: 80px 0 0; padding: 26px 22px;
        flex-direction: column; gap: 9px; background: rgba(8,13,23,.98);
        border-top: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(16px);
    }
    .service-mobile-menu.open { display: flex; }
    .service-mobile-menu a { padding: 14px 16px; border-radius: 13px; color: var(--muted); font-size: 1.05rem; font-weight: 650; }
    .service-mobile-menu a:hover { color: white; background: rgba(255,255,255,.05); }
    .service-mobile-menu .mobile-service-switch { margin-top: 8px; color: #9bc0ff; border: 1px solid rgba(66,133,244,.25); background: rgba(66,133,244,.08); }
    .service-mobile-menu .mobile-service-cta { color: white; text-align: center; background: linear-gradient(135deg,#4b91ff,#2563eb); }
}
@media (max-width: 560px) {
    .container { width: min(100% - 28px,1160px); }
    .home-nav .nav-inner { min-height: 76px; padding-block: 7px; flex-direction: row; justify-content: space-between; gap: 7px; }
    .home-brand { gap: 3px; min-width: 0; }
    .home-brand img { width: 88px; height: 88px; margin: -19px; }
    .home-brand > span { display: block; font-size: .98rem; line-height: 1; }
    .home-service-tabs { flex: 1; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 13px; }
    .home-service-tabs a { min-width: 0; min-height: 42px; padding: 0 6px; gap: 5px; border-radius: 10px; font-size: .67rem; line-height: 1.05; text-align: center; }
    .home-service-tabs .tab-icon { width: 21px; height: 21px; flex: 0 0 21px; font-size: .62rem; }
    .home-service-tabs .code-icon { font-size: .5rem; }
    .nav-actions { display: none; }
    .nav-mobile-choices a {
        display: grid; place-items: center; min-height: 43px; padding: 0 7px;
        border: 1px solid rgba(112,165,255,.24); border-radius: 12px;
        color: #c7d8f3; background: linear-gradient(145deg,rgba(30,45,69,.9),rgba(18,28,44,.9));
        box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
        font-size: .7rem; font-weight: 750; line-height: 1.08; text-align: center;
    }
    .nav-mobile-choices a.active {
        color: #a9c8ff; border-color: rgba(66,133,244,.38); background: rgba(66,133,244,.1);
    }
    .service-nav .nav-inner { min-height: 82px; padding-block: 0; flex-direction: row; }
    .service-brand { gap: 9px; }
    .service-brand img { width: 105px; height: 105px; margin: -20px; }
    .service-divider { height: 39px; }
    .brand .service-title { display: block; font-size: 1.12rem; }
    .service-mobile-menu { top: 82px; }
    .portfolio-section { padding-top: 70px; }
    .portfolio-link { width: 100%; }
    .browser-preview { border-radius: 17px; }
    .browser-bar { height: 45px; grid-template-columns: 54px 1fr 24px; gap: 8px; padding-inline: 11px; }
    .browser-dots { gap: 5px; }
    .browser-dots i { width: 7px; height: 7px; }
    .browser-address { padding: 5px 8px; font-size: .66rem; }
    .preview-image-link span { min-height: 44px; padding-inline: 16px; border-radius: 11px; font-size: .78rem; opacity: 1; transform: translate(-50%,-50%); white-space: nowrap; }
    .preview-image-link img { filter: brightness(.78); }
    .hero,.sales-hero { padding-top: 58px; }
    .sales-grid > *, .price-card, .sales-hero h1, .sales-hero .lead { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
    .choice-card,.price-card { padding: 25px; border-radius: 21px; }
    .choice-card { transform: none; }
    .choice-card:active { transform: scale(.985); border-color: rgba(112,165,255,.55); }
    .section { padding: 64px 0; }
    .cta { margin: 55px auto; padding: 38px 22px; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .choice-card,.choice-card::after,.icon-box { animation: none !important; transition: none !important; }
    .choice-card { transform: none !important; }
}
