:root { color-scheme: dark; --bg: #080a12; --bg-soft: #111827; --panel: rgba(15, 23, 42, 0.72); --panel-strong: rgba(15, 23, 42, 0.9); --text: #f8fafc; --muted: #aeb8c8; --border: rgba(255, 255, 255, 0.12); --shadow: 0 24px 80px rgba(0, 0, 0, 0.34); --accent: #8b5cf6; --accent-2: #22d3ee; --accent-rgb: 139, 92, 246; --card-x: 50%; --card-y: 50%; } html[data-theme="light"] { color-scheme: light; --bg: #f5f7fb; --bg-soft: #ffffff; --panel: rgba(255, 255, 255, 0.76); --panel-strong: rgba(255, 255, 255, 0.96); --text: #111827; --muted: #5f6b7a; --border: rgba(15, 23, 42, 0.12); --shadow: 0 24px 70px rgba(56, 65, 91, 0.18); } html[data-accent="cyan"] { --accent: #06b6d4; --accent-2: #3b82f6; --accent-rgb: 6, 182, 212; } html[data-accent="lime"] { --accent: #84cc16; --accent-2: #14b8a6; --accent-rgb: 132, 204, 22; } html[data-accent="rose"] { --accent: #f43f5e; --accent-2: #f97316; --accent-rgb: 244, 63, 94; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { min-height: 100vh; margin: 0; overflow-x: hidden; background: radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.24), transparent 36rem), radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.18), transparent 32rem), linear-gradient(135deg, var(--bg), var(--bg-soft)); color: var(--text); font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; transition: background 220ms ease, color 220ms ease; } button, a { font: inherit; } a { color: inherit; } .ambient { position: fixed; z-index: -1; width: 28rem; height: 28rem; border-radius: 999px; filter: blur(18px); opacity: 0.42; pointer-events: none; } .ambient-one { top: -10rem; right: -7rem; background: rgba(var(--accent-rgb), 0.45); } .ambient-two { bottom: -12rem; left: -10rem; background: rgba(34, 211, 238, 0.32); } .shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0; } .hero { display: block; margin-bottom: 16px; } .hero-content, .control-panel, .service-card { border: 1px solid var(--border); background: var(--panel); box-shadow: var(--shadow); backdrop-filter: blur(22px); } .hero-content { min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 4vw, 42px); border-radius: 30px; position: relative; overflow: visible; } .hero-content::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.28), transparent 34%), url("data:image/svg+xml,%3Csvg width='140' height='140' viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='white' stroke-opacity='.09'%3E%3Cpath d='M0 70h140M70 0v140'/%3E%3Ccircle cx='70' cy='70' r='38'/%3E%3C/g%3E%3C/svg%3E"); mask-image: linear-gradient(to bottom, black, transparent 88%); pointer-events: none; } .hero-content > * { position: relative; } .eyebrow, .service-kicker { margin: 0; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; } h1 { max-width: 760px; margin: 10px 0 12px; font-size: clamp(2.35rem, 7vw, 5.4rem); line-height: 0.92; letter-spacing: -0.08em; } .lead { max-width: 660px; margin: 0; color: var(--muted); font-size: clamp(0.96rem, 1.6vw, 1.1rem); line-height: 1.6; } .control-panel { position: fixed; z-index: 1001; top: 24px; right: 24px; width: min(430px, calc(100% - 48px)); max-height: calc(100vh - 48px); overflow: auto; display: grid; gap: 10px; padding: 14px; border-radius: 24px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px) scale(0.98); transform-origin: top right; transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease; } .control-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); } .settings-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(2, 6, 23, 0.42); opacity: 0; visibility: hidden; pointer-events: none; backdrop-filter: blur(4px); transition: opacity 180ms ease, visibility 180ms ease; } .settings-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; } .settings-button, .settings-close { border: 1px solid var(--border); cursor: pointer; color: var(--text); background: rgba(255, 255, 255, 0.06); transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; } .settings-button { position: absolute; z-index: 2; top: 20px; right: 20px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; font-size: 1.16rem; } .settings-button:hover, .settings-close:hover { transform: translateY(-1px); border-color: rgba(var(--accent-rgb), 0.5); background: rgba(var(--accent-rgb), 0.12); } .settings-panel-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; } .settings-panel-head h2 { margin: 4px 0 0; font-size: 1.35rem; letter-spacing: -0.04em; } .settings-close { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 999px; font-size: 1.25rem; line-height: 1; } .control-group { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 6px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255, 255, 255, 0.04); } .control-group span { min-width: 68px; padding-left: 6px; color: var(--muted); font-size: 0.82rem; font-weight: 700; } .view-group { flex-wrap: wrap; } .view-group span { width: 100%; } .view-group .segmented { flex-basis: calc(50% - 3px); } .segmented, .accent-swatch { border: 0; cursor: pointer; transition: transform 160ms ease, background 160ms ease, color 160ms ease; } .segmented { flex: 1; min-height: 32px; min-width: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: 0.8rem; font-weight: 800; } .segmented:hover, .accent-swatch:hover { transform: translateY(-1px); } .segmented.is-active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; } .accent-group { justify-content: space-between; } .accent-swatch { width: 36px; height: 36px; border: 2px solid transparent; border-radius: 999px; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.18); } .accent-swatch[data-accent="violet"] { background: linear-gradient(135deg, #8b5cf6, #22d3ee); } .accent-swatch[data-accent="cyan"] { background: linear-gradient(135deg, #06b6d4, #3b82f6); } .accent-swatch[data-accent="lime"] { background: linear-gradient(135deg, #84cc16, #14b8a6); } .accent-swatch[data-accent="rose"] { background: linear-gradient(135deg, #f43f5e, #f97316); } .accent-swatch.is-active { border-color: var(--text); transform: scale(1.05); } .services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .service-card { --tilt-x: 0deg; --tilt-y: 0deg; position: relative; min-height: 260px; display: flex; flex-direction: column; gap: 16px; padding: 18px; border-radius: 24px; text-decoration: none; overflow: hidden; transform-origin: center; transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); will-change: transform; transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease; } .service-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient( circle at var(--card-x) var(--card-y), rgba(var(--accent-rgb), 0.24), transparent 34% ); opacity: 0; transition: opacity 180ms ease; pointer-events: none; } .service-card.is-hovered, .service-card:focus-visible { border-color: rgba(var(--accent-rgb), 0.52); background: var(--panel-strong); box-shadow: 0 28px 90px rgba(var(--accent-rgb), 0.18); outline: none; } .service-card[data-variant="about"] { background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), transparent 58%), var(--panel); } .service-card.is-hovered::before, .service-card:focus-visible::before { opacity: 1; } .service-card img { width: 62px; height: 62px; object-fit: contain; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.24)); } .service-card h2 { margin: 5px 0 8px; font-size: 1.32rem; letter-spacing: -0.04em; } .service-card p:not(.service-kicker) { margin: 0; color: var(--muted); line-height: 1.54; } .arrow { position: absolute; right: 22px; bottom: 18px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; background: rgba(var(--accent-rgb), 0.14); color: var(--accent); font-size: 1.35rem; transition: transform 180ms ease, background 180ms ease, color 180ms ease; } .service-card.is-hovered .arrow, .service-card:focus-visible .arrow { transform: translateX(4px); background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; } .shine { position: absolute; inset: 0; background: linear-gradient( 110deg, transparent 0%, rgba(255, 255, 255, 0.16) 42%, transparent 64% ); transform: translateX(-130%); transition: transform 540ms ease; pointer-events: none; } .service-card.is-hovered .shine, .service-card:focus-visible .shine { transform: translateX(130%); } .services.list-view { grid-template-columns: 1fr; } .services.list-view .service-card, .services.compact-list-view .service-card { min-height: 108px; display: grid; grid-template-columns: 62px minmax(0, 1fr) 42px; align-items: center; gap: 14px; } .services.list-view .arrow, .services.compact-list-view .arrow { position: static; justify-self: end; } .services.compact-cards-view { grid-template-columns: repeat(4, minmax(0, 1fr)); } .services.compact-list-view { grid-template-columns: repeat(2, minmax(0, 1fr)); } .services.compact-cards-view .service-card { min-height: 150px; gap: 10px; padding: 14px; } .services.compact-cards-view .service-card img, .services.compact-list-view .service-card img { width: 42px; height: 42px; } .services.compact-cards-view .service-card p:not(.service-kicker), .services.compact-list-view .service-card p:not(.service-kicker) { display: none; } .services.compact-cards-view .service-card h2, .services.compact-list-view .service-card h2 { margin: 3px 0 0; font-size: 1rem; } .services.compact-cards-view .arrow { width: 30px; height: 30px; right: 12px; bottom: 12px; } .services.compact-list-view .service-card { min-height: 76px; padding: 12px 14px; grid-template-columns: 42px minmax(0, 1fr) 32px; } .about-panel { margin-top: 12px; padding: clamp(20px, 4vw, 34px); border: 1px solid var(--border); border-radius: 26px; background: var(--panel); box-shadow: var(--shadow); backdrop-filter: blur(22px); } .about-panel h2 { margin: 10px 0 12px; font-size: clamp(2rem, 5vw, 4.3rem); line-height: 0.96; letter-spacing: -0.07em; } .about-panel p:not(.eyebrow) { max-width: 780px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.75; } @media (max-width: 1040px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } .services.compact-cards-view { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (max-width: 680px) { .shell { width: min(100% - 22px, 1180px); padding: 16px 0; } .services, .services.compact-list-view { grid-template-columns: 1fr; } .services.compact-cards-view { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-content { min-height: 240px; border-radius: 24px; } .control-panel { top: 12px; right: 12px; width: calc(100vw - 24px); max-height: calc(100vh - 24px); border-radius: 24px; } .control-group { flex-wrap: wrap; } .control-group .segmented { flex-basis: calc(50% - 3px); } .control-group span { width: 100%; min-width: 0; } .accent-group span { width: auto; } .services.list-view .service-card { grid-template-columns: 58px minmax(0, 1fr); min-height: 126px; } .services.compact-list-view .service-card { grid-template-columns: 42px minmax(0, 1fr); min-height: 78px; } .services.list-view .arrow, .services.compact-list-view .arrow { position: absolute; } .service-card { min-height: 220px; } .service-card img { width: 62px; height: 62px; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }