/* Web hero: overlapping browser frames */
.web-showcase { height: 520px; }
.browser-frame { position: absolute; overflow: hidden; border: 1px solid rgba(144, 177, 240, .24); border-radius: 16px; background: #080b12; box-shadow: 0 34px 75px rgba(0, 0, 0, .45); }
.browser-frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.browser-frame-main { top: 30px; right: 0; width: 90%; rotate: 1.4deg; }
.browser-frame-secondary { bottom: 20px; left: 0; width: 66%; z-index: 2; rotate: -3deg; }
.browser-bar { display: flex; align-items: center; gap: 5px; height: 30px; padding-inline: 12px; background: #0c1220; color: #76829b; font-size: 9px; font-weight: 700; letter-spacing: .05em; }
.browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: #48536a; }
.browser-bar span { margin-left: 8px; }
.web-showcase .hero-note { right: -10px; bottom: 30px; flex-direction: column; align-items: flex-start; gap: 8px; width: 200px; }

/* Web: selected work */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.work-card { display: block; }
.work-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.4s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-link { position: absolute; right: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 12px 30px rgba(38, 102, 221, .4); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .7s var(--ease); }
.work-card:hover .work-link, .work-card:focus-visible .work-link { opacity: 1; transform: none; }
@media (hover: none) { .work-link { opacity: 1; transform: none; } }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 24px; }
.work-meta h3 { font-size: clamp(30px, 3vw, 42px); letter-spacing: -.04em; }
.work-meta span { color: var(--muted-soft); font-size: 13px; font-weight: 700; }
.work-category { margin-top: 6px; color: var(--blue-light); font-size: 13px; font-weight: 800; }
.work-summary { max-width: 560px; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.75; }

/* Web: services */
.web-services { background: var(--night-soft); border-block: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(160deg, rgba(17, 26, 49, .8), rgba(10, 16, 32, .6)); transition: border-color .5s, background .5s; }
.service-card:hover { border-color: var(--line-strong); background: linear-gradient(160deg, rgba(22, 34, 64, .9), rgba(12, 19, 38, .7)); }
.service-card svg { width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(127, 176, 255, .3); border-radius: 14px; background: rgba(79, 141, 247, .1); fill: none; stroke: var(--blue-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-top: 34px; font-size: 26px; letter-spacing: -.03em; }
.service-card p { max-width: 480px; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.75; }

/* Web: investment */
.investment { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; padding: clamp(36px, 5.5vw, 76px); overflow: hidden; border: 1px solid rgba(127, 176, 255, .28); border-radius: 40px; background: linear-gradient(150deg, #16295180, #0b1427 60%), #0b1427; box-shadow: 0 50px 120px rgba(0, 0, 0, .35); }
.investment::before { content: ""; position: absolute; z-index: -1; left: -10%; top: -40%; width: 70%; height: 140%; background: radial-gradient(circle, rgba(79, 141, 247, .32), transparent 60%); pointer-events: none; }
.investment::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(rgba(122, 151, 211, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(122, 151, 211, .05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); mask-image: linear-gradient(90deg, #000, transparent 55%); pointer-events: none; }
.investment > *, .investment-details li { min-width: 0; }
.investment-copy h2 { max-width: 560px; font-size: calc(var(--display-scale, 1) * clamp(42px, 4.8vw, 70px)); line-height: 1; }
.investment-copy h2 em { display: inline-block; background: linear-gradient(100deg, var(--blue-light), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.investment-copy > p { max-width: 500px; margin-top: 24px; color: #b4bfd2; font-size: 16px; line-height: 1.8; }
.investment-copy .button { margin-top: 34px; }
.investment-label { margin-bottom: 16px; color: var(--blue-light); font-size: 13px; font-weight: 800; }
.investment-details ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.investment-details li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(7, 11, 22, .55); backdrop-filter: blur(8px); transition: border-color .5s, background .5s; }
.investment-details li:hover { border-color: rgba(127, 176, 255, .4); background: rgba(14, 23, 44, .7); }
.investment-details svg { display: block; width: 42px; height: 42px; margin-bottom: 22px; padding: 10px; border: 1px solid rgba(127, 176, 255, .3); border-radius: 13px; background: rgba(79, 141, 247, .12); fill: none; stroke: var(--blue-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.investment-details strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 19px; letter-spacing: -.02em; }
.investment-details li p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Web: pricing */
.pricing { background: var(--night-soft); border-top: 1px solid var(--line); }
.pricing-intro > p { max-width: 460px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.billing-toggle { display: inline-flex; margin-top: 22px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #0c1325; }
.billing-option { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: #8793aa; font-size: 12px; font-weight: 800; cursor: pointer; transition: background .3s, color .3s; }
.billing-option.is-active { background: var(--blue); color: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); transition: border-color .5s; }
.price-card:hover { border-color: var(--line-strong); }
.price-card-featured { background: linear-gradient(160deg, #17305f, #0f1a33 70%); border-color: rgba(127, 176, 255, .5); }
.price-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.price-name { color: var(--blue-light); font-size: 14px; font-weight: 800; }
.recommended, .plan-status { padding: 6px 11px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 800; }
.plan-status { background: #1f2b44; color: #b8c5da; }
.price-head h3 { flex-basis: 100%; margin-top: 18px; font-size: 30px; line-height: 1.1; letter-spacing: -.035em; }
.price-head p { flex-basis: 100%; color: var(--muted); font-size: 14px; line-height: 1.7; }
.price { display: grid; grid-template-columns: 1fr auto; align-items: end; margin: 34px 0 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.price small { grid-column: 1 / -1; color: var(--muted-soft); font-size: 12px; font-weight: 700; }
.price strong { font-family: "Space Grotesk", sans-serif; font-size: 52px; line-height: 1; letter-spacing: -.06em; }
.price > span { color: var(--muted-soft); font-size: 13px; font-weight: 700; }
.price-card ul { flex: 1; list-style: none; }
.price-card li { position: relative; margin-bottom: 13px; padding-left: 22px; color: #b0bbce; font-size: 14px; }
.price-card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.price-card-featured li::before { background: var(--cyan); }
.price-cta { width: 100%; margin-top: 26px; }
.pricing-note { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pricing-note span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 700; }

@media (max-width: 1060px) {
    .investment { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .price-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
    .web-showcase { height: 360px; }
    .browser-frame-main { width: 94%; }
    .browser-frame-secondary { width: 70%; bottom: 0; }
    .web-showcase .hero-note { display: none; }
    .browser-bar { height: 22px; }
    .work-grid, .service-grid, .pricing-grid { grid-template-columns: 1fr; }
    .work-media { border-radius: 20px; }
    .service-card { padding: 26px; }
    .service-card h3 { margin-top: 24px; }
    .investment { border-radius: 28px; }
    .investment-details ul { grid-template-columns: 1fr; }
    .investment-details li { padding: 20px; }
    .price-card, .price-card:last-child { grid-column: auto; padding: 28px 24px; }
    .billing-toggle { width: 100%; }
    .billing-option { flex: 1; }
}
