*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #f9f9f7;
    --bg-alt: #f2f1ed;
    --surface: #ffffff;
    --border: #e6e4de;
    --text: #141412;
    --text-mid: #48463f;
    --text-muted: #8a8780;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --accent-light: rgba(37,99,235,0.08);
    --purple: #a855f7;
    --green: #22c55e;
    --gold: #d4a853;
    --dark: #0f0f0e;
    --dark-mid: #1e1e1c;
    --dark-border: rgba(255,255,255,0.08);
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --nav-h: 68px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --radius: 16px;
    --radius-sm: 10px;
}

html { scroll-behavior: smooth; font-size: 16px; background: var(--dark); }
body {
    background: var(--dark);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}
/* Sections after hero restore light background */
.ticker-wrap ~ * { background-color: inherit; }
#uslugi, #realizacje, #dlaczego, #cennik, #kontakt { background: var(--bg); }
#dlaczego { background: var(--bg-alt); }
.section-alt { background: var(--bg-alt); }

/* ── CUSTOM CURSOR ── */
.cursor {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%,-50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-follower {
    position: fixed;
    width: 32px; height: 32px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%,-50%);
    transition: transform 0.12s var(--ease), width 0.3s, height 0.3s, opacity 0.3s;
    opacity: 0.5;
}
.cursor.hovering { width: 14px; height: 14px; background: var(--purple); }
.cursor-follower.hovering { width: 44px; height: 44px; border-color: var(--purple); opacity: 0.3; }

@media (pointer: coarse) { .cursor, .cursor-follower { display: none; } body { cursor: auto; } }

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 200;
    background: transparent;
    border-bottom: none;
    transition: background 0.4s var(--ease), box-shadow 0.4s;
}
/* White text when transparent (over dark hero) */
.nav .nav-logo { color: white; }
.nav .logo-dot { color: rgba(255,255,255,0.5); }
.nav .nav-link { color: rgba(255,255,255,0.85); }
.nav .nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.nav .hamburger span { background: white; }

/* Solid background after scrolling */
.nav.scrolled {
    background: rgba(249,249,247,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 32px rgba(0,0,0,0.07);
}
.nav.scrolled .nav-logo { color: var(--text); }
.nav.scrolled .logo-dot { color: var(--accent); }
.nav.scrolled .nav-link { color: var(--text-mid); }
.nav.scrolled .nav-link:hover { color: var(--text); background: var(--bg-alt); }
.nav.scrolled .hamburger span { background: var(--text); }
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Nav always light background — dark text */

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text);
}
.logo-mark {
    width: 36px; height: 36px;
    background: var(--accent);
    color: white;
    font-family: var(--font-display);
    font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 9px;
    font-style: italic;
    position: relative;
    overflow: hidden;
}
.logo-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
}
.logo-text { font-family: var(--font-body); font-size: 18px; font-weight: 600; letter-spacing: -0.5px; }
.logo-dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
    font-size: 14px; font-weight: 500;
    color: var(--text-mid);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: var(--bg-alt); }
.nav-cta {
    display: flex; align-items: center; gap: 7px;
    font-size: 14px; font-weight: 600;
    color: white; background: var(--accent);
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 100px;
    margin-left: 10px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.3); }
.hamburger {
    display: none; flex-direction: column; gap: 6px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; transition: all 0.3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    z-index: 199; display: flex; flex-direction: column;
    padding: 16px 24px 28px; gap: 4px;
    /* push fully above viewport — -100% of own height PLUS the top offset */
    transform: translateY(calc(-100% - var(--nav-h) - 20px));
    transition: transform 0.4s var(--ease);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-size: 16px; font-weight: 500; color: var(--text); text-decoration: none; padding: 13px 8px; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border: none; }
.mobile-cta { color: var(--accent) !important; font-weight: 600 !important; border: none !important; margin-top: 4px; }

/* ── HERO ── */
.hero {
    min-height: 100vh;
    padding-top: var(--nav-h);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}
.hero-canvas { display: none; }

/* CSS decorative background replacing canvas */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 75% 50%, rgba(37,99,235,0.18) 0%, transparent 65%),
        radial-gradient(ellipse 40% 50% at 20% 80%, rgba(168,85,247,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(96,165,250,0.08) 0%, transparent 60%);
    pointer-events: none; z-index: 1;
}
.hero-inner { z-index: 3; }
.hero-noise {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.035;
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 80px;
    width: 100%;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 500;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 14px; border-radius: 100px;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}
.badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(34,197,94,0.4);
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); } 50% { box-shadow: 0 0 0 6px transparent; } }
.badge-sep { color: rgba(255,255,255,0.25); }
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 5.5vw, 72px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: white;
    margin-bottom: 28px;
    display: flex; flex-direction: column; gap: 2px;
}
.hero-line--accent {
    position: relative;
    display: inline-block;
    width: fit-content;
}
.hero-line--accent em {
    font-style: italic;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.title-underline {
    position: absolute;
    bottom: -4px; left: 0;
    width: 100%; height: 14px;
    overflow: visible;
}
.hero-desc {
    font-size: 17px; color: rgba(255,255,255,0.6);
    line-height: 1.75; max-width: 500px; margin-bottom: 40px;
}
.hero-desc strong { color: rgba(255,255,255,0.9); font-weight: 500; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 60px; }

/* Hero buttons */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: white;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 100px;
    font-family: var(--font-body); font-size: 15px; font-weight: 600;
    border: none; cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    letter-spacing: -0.2px;
    position: relative; overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37,99,235,0.35); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 100px;
    font-size: 15px; font-weight: 500;
    border: 1px solid rgba(255,255,255,0.14);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.25); color: white; }
.play-icon {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.hero-metrics {
    display: flex; align-items: center; gap: 28px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.metric { display: flex; flex-direction: column; gap: 4px; }
.metric-num {
    font-size: 26px; font-weight: 700; color: white;
    letter-spacing: -1px; line-height: 1;
}
.metric-suffix { font-size: 20px; font-weight: 700; color: white; }
.metric-label { font-size: 12px; color: rgba(255,255,255,0.45); }
.metric-sep { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* Hero right — UI card */
.hero-right { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-card-wrap { position: relative; width: 100%; max-width: 460px; }
.ui-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
    animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(-1deg); } }
.ui-card-header {
    background: rgba(255,255,255,0.06);
    padding: 10px 14px;
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ui-dots { display: flex; gap: 5px; }
.ui-dots span { width: 9px; height: 9px; border-radius: 50%; }
.ui-url {
    flex: 1; display: flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,0.07); border-radius: 5px;
    padding: 4px 10px; font-size: 11px; color: rgba(255,255,255,0.4);
}
.ui-actions { display: flex; gap: 4px; }
.ui-actions span { width: 16px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); }
.ui-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ui-nav-mock {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.06); border-radius: 6px; padding: 8px 10px;
}
.unm-logo { width: 40px; height: 8px; background: rgba(255,255,255,0.3); border-radius: 3px; }
.unm-links { display: flex; gap: 8px; flex: 1; justify-content: center; }
.unm-links span { width: 28px; height: 6px; background: rgba(255,255,255,0.15); border-radius: 2px; }
.unm-btn { width: 50px; height: 20px; background: rgba(37,99,235,0.8); border-radius: 10px; }
.ui-hero-mock {
    background: linear-gradient(135deg, rgba(37,99,235,0.25) 0%, rgba(168,85,247,0.15) 100%);
    border-radius: 8px; padding: 18px;
    border: 1px solid rgba(255,255,255,0.08);
}
.uhm-tag { width: 70px; height: 16px; background: rgba(255,255,255,0.15); border-radius: 8px; margin-bottom: 10px; }
.uhm-h1 { height: 12px; background: rgba(255,255,255,0.6); border-radius: 4px; margin-bottom: 6px; }
.uhm-h1.short { width: 60%; }
.uhm-p { height: 7px; background: rgba(255,255,255,0.2); border-radius: 3px; margin-bottom: 4px; }
.uhm-p.med { width: 75%; }
.uhm-actions { display: flex; gap: 8px; margin-top: 14px; }
.uhm-btn { height: 22px; border-radius: 11px; }
.uhm-btn.primary { width: 80px; background: white; }
.uhm-btn.ghost { width: 60px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); }
.ui-cards-mock { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.ucm-card {
    height: 52px; background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 6px;
    animation: cardShimmer 2.5s ease-in-out infinite;
}
.ucm-card:nth-child(2) { animation-delay: 0.4s; }
.ucm-card:nth-child(3) { animation-delay: 0.8s; }
@keyframes cardShimmer { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }

/* Floating badges */
.float-badge {
    position: absolute;
    background: rgba(15,15,14,0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex; align-items: center; gap: 10px;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    min-width: 150px;
}
.badge-perf { top: -16px; right: -20px; animation: fb1 6s ease-in-out infinite; }
.badge-seo { bottom: 60px; right: -24px; animation: fb2 6s ease-in-out infinite 1s; }
.badge-mobile { bottom: -12px; left: -20px; animation: fb3 6s ease-in-out infinite 0.5s; }
@keyframes fb1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fb2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes fb3 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fb-text { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.fb-title { font-size: 10px; color: rgba(255,255,255,0.45); letter-spacing: 0.5px; }
.fb-val { font-size: 13px; font-weight: 600; color: white; }
.fb-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.06); border-radius: 0 0 12px 12px; overflow: hidden; }
.fb-fill { height: 100%; background: linear-gradient(90deg, var(--green), #4ade80); border-radius: inherit; }

/* Scroll hint */
.hero-scroll-hint {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.3); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    animation: scrollHint 3s ease-in-out infinite;
    z-index: 2;
}
@keyframes scrollHint { 0%,100% { opacity: 0.3; transform: translateX(-50%) translateY(0); } 50% { opacity: 0.7; transform: translateX(-50%) translateY(6px); } }
.scroll-mouse {
    width: 20px; height: 32px; border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 10px; display: flex; justify-content: center; padding-top: 5px;
}
.scroll-wheel {
    width: 3px; height: 6px; background: rgba(255,255,255,0.4);
    border-radius: 2px; animation: wheel 1.5s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(8px); } }

/* ── TICKER ── */
.ticker-wrap {
    overflow: hidden;
    background: var(--accent);
    padding: 14px 0;
    position: relative;
}
.ticker-wrap::before, .ticker-wrap::after {
    content: '';
    position: absolute; top: 0; bottom: 0; width: 100px; z-index: 1;
}
.ticker-wrap::before { left: 0; background: linear-gradient(90deg, var(--accent), transparent); }
.ticker-wrap::after { right: 0; background: linear-gradient(-90deg, var(--accent), transparent); }
.ticker-track {
    display: flex; align-items: center; gap: 24px;
    white-space: nowrap;
    animation: ticker 22s linear infinite;
    width: max-content;
}
.ticker-track span { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); }
.ticker-sep { color: rgba(255,255,255,0.4) !important; font-size: 10px !important; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ── */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 72px; }
.section-label {
    display: inline-block; font-size: 11.5px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.section-label--light { color: rgba(255,255,255,0.45); }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 400; line-height: 1.1; letter-spacing: -1.2px; margin-bottom: 18px; color: var(--text);
}
.section-title--light { color: white; }
.section-title em { font-style: italic; color: var(--accent); }
.section-desc { font-size: 16px; color: var(--text-mid); line-height: 1.75; }
.section-desc--light { color: rgba(255,255,255,0.5); }

/* ── REVEAL ── */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ── SECTION DECORATORS ── */
.section { position: relative; overflow: hidden; }

/* Subtle gradient accent behind services */
#uslugi::before {
    content: '';
    position: absolute;
    top: -100px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 65%);
    pointer-events: none; z-index: 0;
}
#uslugi .container { position: relative; z-index: 1; }

/* Accent behind why section */
#dlaczego::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 65%);
    pointer-events: none; z-index: 0;
}
#dlaczego .container { position: relative; z-index: 1; }

/* Accent behind pricing */
#cennik::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, rgba(37,99,235,0.05) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}
#cennik .container { position: relative; z-index: 1; }

/* ── SERVICES ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.service-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px 28px;
    position: relative; overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease);
}
.service-card::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--purple));
    opacity: 0; transition: opacity 0.3s;
    border-radius: var(--radius) var(--radius) 0 0;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover { border-color: rgba(37,99,235,0.3); box-shadow: 0 16px 48px rgba(37,99,235,0.08); transform: translateY(-4px); }
.service-featured {
    border-color: var(--accent);
    background: linear-gradient(160deg, #eff6ff 0%, white 50%);
}
.service-featured:hover { box-shadow: 0 20px 60px rgba(37,99,235,0.15); transform: translateY(-6px); }
.service-glow {
    position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.service-tag {
    position: absolute; top: 16px; right: 16px;
    font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--accent); background: var(--accent-light);
    border: 1px solid rgba(37,99,235,0.2);
    padding: 4px 10px; border-radius: 100px;
}
.service-icon-wrap {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--bg-alt); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); margin-bottom: 20px;
}
.service-featured .service-icon-wrap { background: var(--accent-light); border-color: rgba(37,99,235,0.2); }
.service-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin-bottom: 12px; letter-spacing: -0.4px; }
.service-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 24px; }
.service-list li { font-size: 13px; color: var(--text-mid); padding-left: 18px; position: relative; }
.service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 11px; top: 2px; }
.service-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--accent);
    text-decoration: none; transition: gap 0.2s;
}
.service-cta:hover { gap: 10px; }

/* ── PROCESS ── */
.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
}
.process-line {
    position: absolute;
    top: 28px; left: calc(12.5% + 20px); right: calc(12.5% + 20px);
    height: 1px; background: rgba(255,255,255,0.12);
    z-index: 0;
}
.process-item {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 0 16px;
}
.pi-num {
    font-family: var(--font-display); font-style: italic;
    font-size: 13px; color: rgba(255,255,255,0.25);
    margin-bottom: 8px; letter-spacing: 1px;
}
.pi-dot {
    width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; background: var(--dark);
    position: relative;
}
.pi-dot-inner {
    width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.pi-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 24px 20px;
    width: 100%;
    transition: background 0.3s, border-color 0.3s;
}
.pi-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.14); }
.pi-tag { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 10px; }
.pi-card h3 { font-size: 16px; font-weight: 600; color: white; margin-bottom: 10px; }
.pi-card p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.65; margin-bottom: 14px; }
.pi-detail { display: flex; flex-direction: column; gap: 4px; }
.pi-detail span { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ── DIVIDER ── */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0;
}

/* ── PORTFOLIO ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
.portfolio-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    text-decoration: none; color: inherit;
    display: block;
    transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.portfolio-card:hover { transform: translateY(-6px); border-color: rgba(37,99,235,0.3); box-shadow: 0 20px 56px rgba(0,0,0,0.1); }
.pc-visual {
    position: relative; height: 190px; overflow: hidden;
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.pc-law { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.pc-portfolio { background: linear-gradient(135deg, #0a0a18 0%, #1a0533 100%); }
.pc-browser {
    width: 100%; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1); overflow: hidden;
    background: rgba(255,255,255,0.04);
}
.pcb-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px; background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pcb-dots { display: flex; gap: 4px; }
.pcb-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.pcb-url { font-size: 10px; color: rgba(255,255,255,0.3); flex: 1; }
.pcb-body { padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.pcb-nav, .pcb-nav.dark { height: 18px; background: rgba(255,255,255,0.07); border-radius: 4px; }
.pcb-hero-dark {
    background: rgba(37,99,235,0.2); border-radius: 5px; padding: 10px;
    display: flex; flex-direction: column; gap: 5px;
}
.pcb-hero-port {
    background: rgba(168,85,247,0.15); border-radius: 5px; padding: 10px;
    display: flex; flex-direction: column; gap: 5px;
}
.pcb-avatar { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.3); margin-bottom: 4px; }
.pcb-h { height: 8px; background: rgba(255,255,255,0.35); border-radius: 3px; }
.pcb-h.short { width: 55%; }
.pcb-p { height: 5px; background: rgba(255,255,255,0.15); border-radius: 2px; }
.pcb-btn { width: 50px; height: 14px; background: white; border-radius: 7px; margin-top: 4px; }
.pc-overlay {
    position: absolute; inset: 0;
    background: rgba(37,99,235,0.85);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
}
.portfolio-card:hover .pc-overlay { opacity: 1; }
.pc-overlay span { font-size: 14px; font-weight: 600; color: white; }
.pc-info { padding: 24px; }
.pc-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pc-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.pc-tags-tech { display: flex; gap: 6px; }
.pc-tags-tech span { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 100px; background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border); }
.pc-info h3 { font-family: var(--font-display); font-size: 20px; font-weight: 400; margin-bottom: 8px; }
.pc-info p { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 12px; }
.pc-link { font-size: 13px; font-weight: 600; color: var(--accent); }
.portfolio-cta {
    display: flex; align-items: center; justify-content: center;
    border-style: dashed;
    cursor: default;
    min-height: 340px;
}
.portfolio-cta:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--accent-light); }
.pc-cta-inner { text-align: center; padding: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pc-cta-icon { color: var(--text-muted); margin-bottom: 4px; }
.portfolio-cta:hover .pc-cta-icon { color: var(--accent); }
.pc-cta-inner h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; }
.pc-cta-inner p { font-size: 14px; color: var(--text-mid); max-width: 220px; }
.btn-sm { padding: 10px 20px; font-size: 13px; border-radius: 100px; margin-top: 8px; }

/* ── WHY ── */
.why-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.why-left p { font-size: 16px; color: var(--text-mid); line-height: 1.75; margin-top: 20px; }
.why-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.wp-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 20px;
}
.wp-num { display: block; font-size: 28px; font-weight: 700; color: var(--text); letter-spacing: -1px; margin-bottom: 4px; }
.wp-label { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.why-right { display: flex; flex-direction: column; gap: 16px; }
.why-card {
    display: flex; gap: 18px; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 22px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
    position: relative; overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--purple));
    opacity: 0; transition: opacity 0.3s;
}
.why-card:hover::before { opacity: 1; }
.why-card:hover { border-color: rgba(37,99,235,0.25); box-shadow: 0 8px 28px rgba(37,99,235,0.06); transform: translateX(4px); }
.wc-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: var(--accent-light); border: 1px solid rgba(37,99,235,0.15);
    display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.why-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.why-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: start; }
.pricing-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px 32px;
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.07); }
.pricing-featured {
    border-color: var(--accent);
    background: linear-gradient(160deg, #eff6ff 0%, white 60%);
    transform: translateY(-8px);
}
.pricing-featured:hover { transform: translateY(-14px); box-shadow: 0 24px 64px rgba(37,99,235,0.15); }
.pr-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: white; background: var(--accent);
    padding: 5px 16px; border-radius: 100px;
    white-space: nowrap;
}
.pr-header { margin-bottom: 28px; }
.pr-name { display: block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.pr-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 14px; }
.pr-from { font-size: 13px; color: var(--text-muted); }
.pr-num { font-size: 40px; font-weight: 700; color: var(--text); letter-spacing: -1.5px; line-height: 1; }
.pr-currency { font-size: 18px; font-weight: 600; color: var(--text-mid); }
.pr-desc { font-size: 14px; color: var(--text-mid); line-height: 1.65; }
.pr-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.pr-list li { font-size: 14px; padding-left: 22px; position: relative; }
.pr-list li.inc { color: var(--text-mid); }
.pr-list li.exc { color: var(--text-muted); }
.pr-list li::before { position: absolute; left: 0; font-size: 12px; top: 2px; }
.pr-list li.inc::before { content: '✓'; color: var(--green); font-weight: 700; }
.pr-list li.exc::before { content: '✗'; color: var(--border); }
.btn-full { width: 100%; text-align: center; border-radius: 12px; padding: 14px; justify-content: center; }
.btn-ghost-dark {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--text);
    text-decoration: none; padding: 14px 26px;
    border-radius: 100px; font-size: 15px; font-weight: 500;
    border: 1.5px solid var(--border); transition: border-color 0.2s, color 0.2s;
}
.btn-ghost-dark:hover { border-color: var(--text-mid); color: var(--accent); }
/* Discount deal banner */
.pricing-deal {
    display: flex; align-items: center; gap: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #f5f0ff 100%);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: var(--radius); padding: 20px 28px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.pd-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: white; border: 1px solid rgba(37,99,235,0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(37,99,235,0.1);
}
.pd-text {
    flex: 1; font-size: 14px; color: var(--text-mid); line-height: 1.6; min-width: 200px;
}
.pd-text strong { color: var(--text); }
.pd-cta {
    font-size: 13px; font-weight: 700; color: var(--accent);
    text-decoration: none; white-space: nowrap;
    padding: 8px 16px; border-radius: 100px;
    background: white; border: 1px solid rgba(37,99,235,0.2);
    transition: background 0.2s, box-shadow 0.2s;
}
.pd-cta:hover { background: var(--accent); color: white; box-shadow: 0 4px 12px rgba(37,99,235,0.25); }

/* Deal row inside pricing card */
.pr-deal-row {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 10px 14px;
    margin-bottom: 16px; gap: 8px; flex-wrap: wrap;
}
.pr-deal-row--featured {
    background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.2);
}
.pr-deal-tag { font-size: 11.5px; color: var(--text-muted); font-weight: 500; }
.pr-deal-price { font-size: 13px; color: var(--accent); }
.pr-deal-price strong { font-weight: 700; }

.pricing-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 32px; }

/* ── CTA BANNER ── */
.cta-banner {
    background: var(--dark); padding: 100px 0; position: relative; overflow: hidden;
}
.cta-noise {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(37,99,235,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.cta-label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); font-weight: 400; color: white; margin-bottom: 16px; letter-spacing: -1.5px; line-height: 1.1; }
.cta-inner h2 em { font-style: italic; background: linear-gradient(90deg, #60a5fa, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-inner p { font-size: 17px; color: rgba(255,255,255,0.5); margin-bottom: 40px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.btn-light { background: white !important; color: var(--accent) !important; }
.btn-light:hover { background: #f0f6ff !important; box-shadow: 0 10px 32px rgba(255,255,255,0.2) !important; }
.btn-large { padding: 17px 34px; font-size: 16px; }
.cta-email { font-size: 15px; color: rgba(255,255,255,0.5); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.cta-email:hover { color: white; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.contact-left p { font-size: 16px; color: var(--text-mid); line-height: 1.75; margin-top: 18px; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
    display: flex; align-items: center; gap: 14px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px 18px;
    text-decoration: none; color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
a.contact-item:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(37,99,235,0.08); }
.ci-icon {
    width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
    background: var(--accent-light); border: 1px solid rgba(37,99,235,0.15);
    display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.ci-label { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
.ci-val { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.contact-form {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px;
    display: flex; flex-direction: column; gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: -0.2px; }
.form-group input, .form-group textarea, .form-group select {
    background: var(--bg); border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); padding: 12px 16px;
    color: var(--text); font-family: var(--font-body); font-size: 14px;
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.btn-submit { border-radius: 12px; padding: 16px; justify-content: center; }
.form-note { font-size: 12px; color: var(--text-muted); text-align: center; }

/* ── FOOTER ── */
.footer { background: var(--dark); color: rgba(255,255,255,0.5); padding: 64px 0 32px; }
.footer .nav-logo { color: white; }
.footer-logo-mark { background: white !important; color: var(--text) !important; }
.footer .logo-dot { color: rgba(255,255,255,0.35) !important; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 80px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 280px; line-height: 1.65; }
.footer-nav { display: flex; gap: 60px; }
.fn-col { display: flex; flex-direction: column; gap: 12px; }
.fn-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 4px; }
.fn-col a { font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.fn-col a:hover { color: white; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07);
    font-size: 13px; flex-wrap: wrap; gap: 8px;
}

/* ── COOKIE ── */
.cookie-banner {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    width: calc(100% - 48px); max-width: 600px;
    background: var(--dark); border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius); padding: 18px 24px;
    display: none; align-items: center; justify-content: space-between; gap: 20px;
    z-index: 9998; box-shadow: 0 8px 40px rgba(0,0,0,0.3); flex-wrap: wrap;
    transition: opacity 0.4s, transform 0.4s;
    color: rgba(255,255,255,0.6);
}
.cookie-banner.hidden { opacity: 0; transform: translateX(-50%) translateY(12px); pointer-events: none; }
.cookie-banner p { font-size: 13px; line-height: 1.5; flex: 1; min-width: 200px; }
.cookie-banner a { color: #60a5fa; text-decoration: none; }
.cookie-accept {
    background: var(--accent); color: white; border: none;
    padding: 9px 20px; border-radius: 100px;
    font-family: var(--font-body); font-size: 13px; font-weight: 600;
    cursor: pointer; white-space: nowrap;
    transition: background 0.2s;
}
.cookie-accept:hover { background: var(--accent-dark); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
    .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .process-line { display: none; }
}
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 0; }
    .hero-right { display: none; }
    .hero-left { padding: 80px 0 60px; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-nav { gap: 40px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
    .pricing-featured { transform: none; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-inner { padding: 0 24px; }
    .hero-left { padding-left: 0; padding-right: 0; }
    .container { padding: 0 24px; }
    .section { padding: 80px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .process-timeline { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
    .footer-nav { flex-direction: column; gap: 28px; }
    .hero-metrics { flex-wrap: wrap; gap: 20px; }
    .metric-sep { display: none; }
    .why-proof { grid-template-columns: 1fr 1fr; }
    .cta-actions { flex-direction: column; gap: 16px; }
    .portfolio-cta { min-height: 200px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 40px; }
    .section-title { font-size: 30px; }
    .cookie-banner { bottom: 12px; flex-direction: column; }
    .cookie-accept { width: 100%; text-align: center; }
    .hero-badge { font-size: 11px; }
}
