/* ================================
   SGWebDev Theme – main.css
   ================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-base:       #0f172a;
    --bg-card:       #1e293b;
    --bg-dark:       #020617;
    --border:        #1e293b;
    --border-light:  #334155;
    --cyan:          #38bdf8;
    --teal:          #2dd4bf;
    --white:         #ffffff;
    --slate-300:     #cbd5e1;
    --slate-400:     #94a3b8;
    --slate-500:     #64748b;
    --font-sans:     'Inter', system-ui, -apple-system, sans-serif;
    --font-mono:     'JetBrains Mono', 'Fira Code', monospace;
    --radius:        0.5rem;
    --radius-lg:     0.75rem;
    --transition:    0.25s ease;
    --shadow-cyan:   0 4px 24px rgba(56,189,248,.12);
    --max-w:         80rem;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--slate-300);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* ================================
   HEADER
   ================================ */
.header-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.875rem 1.5rem;
    pointer-events: none;
}

.site-header {
    pointer-events: auto;
    max-width: var(--max-w);
    margin-inline: auto;
}

.header-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 3.75rem;
    padding: 0 0.5rem 0 1rem;
    background: rgba(8, 12, 30, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(80, 110, 180, 0.35);
    border-radius: 9999px;
    box-shadow: 0 2px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,.04);
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity var(--transition);
}
.site-logo:hover { opacity: 0.85; }

.site-logo-img {
    height: calc(2.75rem + 20px);
    width: auto;
    display: block;
}

/* Navigation */
.site-nav { display: none; }

@media (min-width: 768px) {
    .site-nav { display: flex; align-items: center; flex: 1; justify-content: center; }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-list li a,
.nav-list li a:visited {
    display: block;
    padding: 0.5rem 1.1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-300);
    position: relative;
    transition: color var(--transition);
    white-space: nowrap;
}
.nav-list li a:hover { color: var(--white); }
.nav-list li.current-menu-item > a,
.nav-list li.current_page_item > a { color: var(--cyan); }

/* CTA – Zadzwoń */
.header-cta {
    position: relative;
    display: none;
    flex-shrink: 0;
}
@media (min-width: 768px) { .header-cta { display: block; } }

.btn-call {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: #1a6ff5;
    border: none;
    border-radius: 9999px;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.btn-call:hover  { background: #2577f7; }
.btn-call:active { transform: scale(0.97); }

.phone-overlay {
    position: absolute;
    right: 0;
    top: calc(100% + 0.75rem);
    width: 16rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1rem;
    text-align: center;
    box-shadow: 0 16px 64px rgba(0,0,0,.6);
    z-index: 200;
    animation: fadeDown 0.18s ease;
}
.phone-overlay[hidden] { display: none; }

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.phone-status {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.25rem;
}
.phone-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}
.phone-number:hover { color: var(--cyan); }
.phone-desc {
    font-size: 0.7rem;
    color: var(--slate-400);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}
.phone-contact-link {
    display: block;
    padding: 0.4rem 0;
    background: rgba(56,189,248,.07);
    border: 1px solid rgba(56,189,248,.2);
    border-radius: var(--radius);
    font-size: 0.7rem;
    color: var(--cyan);
    font-weight: 500;
    transition: background var(--transition);
}
.phone-contact-link:hover { background: rgba(56,189,248,.15); }

/* Mobile hamburger */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: background var(--transition);
}
.mobile-toggle:hover { background: rgba(51,65,85,.5); }
@media (min-width: 768px) { .mobile-toggle { display: none; } }

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-400);
    border-radius: 9999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
    margin-top: 0.5rem;
    background: rgba(8, 12, 30, 0.96);
    border: 1px solid rgba(80, 110, 180, 0.35);
    border-radius: 1.25rem;
    padding: 1rem;
    backdrop-filter: blur(16px);
    animation: fadeDown 0.2s ease;
}
.mobile-nav[hidden] { display: none; }

.mobile-nav-list { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-list li a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--slate-300);
    transition: background var(--transition), color var(--transition);
}
.mobile-nav-list li a:hover { background: rgba(51,65,85,.4); color: var(--white); }
.mobile-nav-list li.current-menu-item > a,
.mobile-nav-list li.current_page_item > a {
    background: rgba(56,189,248,.1);
    color: var(--cyan);
    border-left: 3px solid var(--cyan);
}

.mobile-nav-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: 0.75rem;
}
.mobile-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--cyan);
}

/* ================================
   BUTTONS
   ================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--cyan);
    color: var(--bg-base);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 20px rgba(56,189,248,.15);
}
.btn-primary:hover { background: var(--white); color: var(--bg-base); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: rgba(30,41,59,.4);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}
.btn-secondary:hover { border-color: var(--cyan); background: rgba(30,41,59,.8); }

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.7rem; }

/* ================================
   HERO
   ================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: 3rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--border);
}

/* tech-grid background pattern */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(56,189,248,.1) 0%, rgba(45,212,191,.05) 50%, transparent 80%);
    filter: blur(80px);
    pointer-events: none;
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-inner { grid-template-columns: 7fr 5fr; }
}

/* Left column */
.hero-content { display: flex; flex-direction: column; text-align: left; }

.hero-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.25rem 0.875rem;
    background: rgba(56,189,248,.1);
    border: 1px solid rgba(56,189,248,.3);
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1.5rem;
}

.hero-heading {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(0.875rem, 1.5vw, 1.1rem);
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 38rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* Feature bullets */
.hero-features {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.hero-feature:hover .hero-feature-icon { transform: scale(1.1); }

.hero-feature-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}
.hero-feature-icon--cyan  { background: rgba(56,189,248,.1);  border: 1px solid rgba(56,189,248,.2);  color: var(--cyan); }
.hero-feature-icon--teal  { background: rgba(45,212,191,.1);  border: 1px solid rgba(45,212,191,.2);  color: var(--teal); }
.hero-feature-icon--slate { background: rgba(51,65,85,.5);    border: 1px solid rgba(100,116,139,.3); color: var(--slate-300); }

.hero-feature strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.125rem;
}
.hero-feature span {
    font-size: 0.68rem;
    color: var(--slate-400);
    font-weight: 300;
}

/* Right column – visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}
@media (min-width: 1024px) { .hero-visual { margin-top: 0; } }

.hero-visual-inner {
    position: relative;
    width: 100%;
    max-width: 26rem;
}

/* Floating badges */
.hero-badge-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(2,6,23,.95);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    box-shadow: 0 8px 40px rgba(0,0,0,.6);
    backdrop-filter: blur(8px);
    z-index: 20;
    border: 1px solid;
}
.hero-badge-float--tl {
    top: -1.5rem;
    left: -1.5rem;
    border-color: rgba(45,212,191,.3);
}
.hero-badge-float--br {
    bottom: 3rem;
    right: -1rem;
    border-color: rgba(56,189,248,.3);
}

.float-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.float-icon--teal { background: rgba(45,212,191,.1); color: var(--teal); }
.float-icon--cyan { background: rgba(56,189,248,.1); color: var(--cyan); }
.float-plus { font-size: 1.25rem; font-weight: 700; line-height: 1; }

.float-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate-400);
    font-weight: 700;
}
.float-value { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.float-value--teal  { color: var(--teal); }
.float-value--white { color: var(--white); }

/* Laptop mockup */
.laptop-mockup {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.625rem;
    box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04);
}

.laptop-screen {
    background: var(--bg-dark);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
}

.browser-bar {
    height: 1.25rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    gap: 0.5rem;
    flex-shrink: 0;
}
.browser-dots { display: flex; gap: 0.25rem; }
.browser-dots span {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-light);
}
.browser-url {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.45rem;
    color: var(--slate-500);
    background: var(--bg-dark);
    border-radius: 0.2rem;
    padding: 0.1rem 0.5rem;
    max-width: 8rem;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.browser-spacer { width: 1rem; }

.screen-content {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    overflow: hidden;
}

.screen-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.screen-site-name { font-size: 0.5rem; font-weight: 700; color: var(--white); letter-spacing: 0.08em; }
.screen-live {
    font-size: 0.44rem;
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--teal);
    background: rgba(45,212,191,.15);
    padding: 0.1rem 0.3rem;
    border-radius: 0.2rem;
}

.screen-hero-block {
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark), rgba(30,41,59,.4));
    border: 1px solid var(--border);
    border-radius: 0.35rem;
    padding: 0.625rem;
    overflow: hidden;
}
.screen-hero-glow {
    position: absolute;
    top: 0; right: 0;
    width: 3rem; height: 3rem;
    background: rgba(56,189,248,.08);
    border-radius: 50%;
    filter: blur(8px);
}
.screen-bar {
    border-radius: 9999px;
    margin-bottom: 0.3rem;
}
.screen-bar--title { height: 0.5rem; width: 4rem; background: var(--cyan); }
.screen-bar--sub   { height: 0.375rem; width: 6rem; background: var(--border-light); opacity: 0.6; }
.screen-btns { display: flex; gap: 0.25rem; margin-top: 0.5rem; }
.screen-btn { display: block; width: 1.5rem; height: 0.75rem; border-radius: 0.15rem; }
.screen-btn--cyan { background: rgba(45,212,191,.8); }
.screen-btn--dark { background: var(--border-light); }

.screen-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.screen-stat {
    background: rgba(30,41,59,.6);
    border: 1px solid var(--border);
    border-radius: 0.3rem;
    padding: 0.4rem;
}
.screen-stat-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.44rem;
    color: var(--slate-400);
    margin-bottom: 0.3rem;
}
.stat-val--teal { color: var(--teal); font-weight: 700; }
.stat-val--cyan { color: var(--cyan); font-weight: 700; }
.screen-progress {
    height: 0.25rem;
    background: var(--border-light);
    border-radius: 9999px;
    overflow: hidden;
}
.screen-progress-bar {
    height: 100%;
    border-radius: 9999px;
}
.screen-progress-bar--teal { background: var(--teal); }
.screen-progress-bar--cyan { background: var(--cyan); }

.screen-terminal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.3rem;
    padding: 0.4rem 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.38rem;
    line-height: 1.6;
    color: var(--slate-400);
    overflow: hidden;
}
.terminal-prompt { color: var(--cyan); }
.terminal-success { color: var(--teal); }
.terminal-muted { color: var(--slate-500); }

.laptop-base {
    height: 0.375rem;
    width: 6rem;
    background: var(--border-light);
    border-radius: 9999px;
    margin: 0.35rem auto 0;
}

/* ================================
   SERVICES
   ================================ */
.svc-section {
    padding: 5rem 0;
    position: relative;
    background: rgba(15,23,42,.1);
}

/* subtle grid pattern matching React tech-grid */
.svc-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.absolute-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2,6,23,.2), transparent, rgba(2,6,23,.2));
    pointer-events: none;
}

.svc-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Badge */
.svc-badge {
    display: inline-block;
    padding: 0.25rem 0.875rem;
    background: rgba(56,189,248,.1);
    border: 1px solid rgba(56,189,248,.3);
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1rem;
}

/* Heading */
.svc-heading {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
}

/* Subtitle */
.svc-subtitle {
    font-size: 0.875rem;
    color: var(--slate-400);
    font-weight: 300;
    max-width: 42rem;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

/* Grid – matches React: 1 / md:2 / lg:3 */
.svc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
}
@media (min-width: 768px)  { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

/* Card */
.svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(30,41,59,.4);
    border: 1px solid rgba(51,65,85,.5);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: border-color var(--transition);
}
.svc-card:hover { border-color: rgba(56,189,248,.4); }

.svc-card-body { flex: 1; }

/* Card header row: icon left, price right */
.svc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.svc-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition);
}
.svc-card:hover .svc-icon--cyan { border-color: rgba(56,189,248,.4); color: var(--cyan); }
.svc-card:hover .svc-icon--teal { border-color: rgba(45,212,191,.4); color: var(--teal); }
.svc-icon--cyan { color: var(--cyan); }
.svc-icon--teal { color: var(--teal); }

.svc-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}
.svc-price-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--slate-500);
}
.svc-price-value {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
}

/* Title */
.svc-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color var(--transition);
}
.svc-card:hover .svc-title { color: var(--cyan); }

/* Description */
.svc-desc {
    font-size: 0.8125rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* Bullets */
.svc-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2rem;
}
.svc-bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: var(--slate-300);
    font-weight: 300;
    line-height: 1.4;
}
.svc-check {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--teal);
    fill: rgba(45,212,191,.05);
}

/* Card footer */
.svc-card-footer {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.svc-duration {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--slate-500);
}
.svc-duration-value { color: var(--slate-300); }

/* CTA button */
.svc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background: rgba(56,189,248,.1);
    border: 1px solid rgba(56,189,248,.2);
    color: var(--cyan);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.svc-btn svg { transition: transform var(--transition); }
.svc-card:hover .svc-btn {
    background: var(--cyan);
    color: var(--bg-base);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(56,189,248,.15);
}
.svc-card:hover .svc-btn svg { transform: translateX(4px); }

/* ================================
   TECHNOLOGIES
   ================================ */
.tech-section {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}

.tech-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--cyan);
    border: 1px solid rgba(56,189,248,.35);
    background: rgba(56,189,248,.05);
    border-radius: 9999px;
    padding: 0.375rem 1rem;
    margin-bottom: 2rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 56rem;
    margin-inline: auto;
    align-items: center;
}
@media (min-width: 640px) { .tech-grid { grid-template-columns: repeat(5, 1fr); } }

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(30,41,59,.4);
    border: 1px solid rgba(51,65,85,.5);
    border-radius: 0.75rem;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.tech-item:hover {
    border-color: rgba(56,189,248,.4);
    background: rgba(15,23,42,.8);
    transform: scale(1.05);
}

.tech-label-lg {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--slate-400);
    transition: color var(--transition);
}
.tech-item:hover .tech-label-lg { color: var(--white); }

.tech-label-woo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal);
}
.tech-label-figma {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-300);
    transition: color var(--transition);
}
.tech-item:hover .tech-label-figma { color: var(--white); }

.tech-label-vitals {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal);
}
.tech-label-seo {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan);
}
.tech-sub {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--slate-500);
    margin-top: 0.5rem;
}

/* ================================
   CTA BANNER
   ================================ */
.cta-banner {
    padding: 4rem 0;
    background: rgba(30, 41, 59, 0.2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.cta-inner {
    text-align: center;
    max-width: 56rem;
}

.cta-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--cyan);
    background: rgba(56, 189, 248, .1);
    border: 1px solid rgba(56, 189, 248, .3);
    border-radius: 9999px;
    padding: 0.375rem 0.875rem;
    margin-bottom: 1rem;
}

.cta-heading {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 0.8125rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.65;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.cta-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--cyan);
    color: var(--bg-base);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 20px rgba(56, 189, 248, .15);
}
.cta-btn-primary:hover { background: var(--white); }

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(30, 41, 59, .4);
    color: var(--slate-200);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.cta-btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--cyan);
    color: var(--white);
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
    background: #020617;
    border-top: 1px solid var(--border);
    color: var(--slate-400);
    padding: 3rem 0;
    position: relative;
    z-index: 10;
}

.footer-inner { }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* Brand column */
.footer-brand { }

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius);
    background: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-base);
}

.footer-logo-text {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--white);
}
.footer-logo-cyan { color: var(--cyan); }

.footer-desc {
    font-size: 0.8125rem;
    color: var(--slate-400);
    line-height: 1.65;
    font-weight: 300;
    max-width: 26rem;
    margin-bottom: 1rem;
}

.footer-author {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--slate-500);
    font-weight: 700;
}

/* Link columns */
.footer-col-heading {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-links li a {
    font-size: 0.75rem;
    color: var(--slate-400);
    transition: color var(--transition);
}
.footer-links li a:hover { color: var(--cyan); }

/* Standards list */
.footer-standards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-standards li {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--slate-400);
}

.footer-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}
.footer-dot--teal { background: var(--teal); }
.footer-dot--cyan { background: var(--cyan); }

/* Bottom bar */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #0f172a;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--slate-500);
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.footer-heart {
    color: #ef4444;
    fill: rgba(239, 68, 68, .2);
}

/* ================================
   CONFIGURATOR
   ================================ */
.cfg-section {
    padding: 5rem 0 6rem;
    position: relative;
}
.cfg-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.cfg-top-fade {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 10rem;
    background: linear-gradient(to bottom, rgba(2,6,23,.2), transparent);
    pointer-events: none;
}

/* Header */
.cfg-inner { position: relative; z-index: 2; }

.cfg-header { text-align: center; margin-bottom: 4rem; }

.cfg-badge {
    display: inline-block;
    padding: 0.25rem 0.875rem;
    background: rgba(56,189,248,.1);
    border: 1px solid rgba(56,189,248,.3);
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1rem;
}
.cfg-heading {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
}
.cfg-subtitle {
    font-size: 0.875rem;
    color: var(--slate-400);
    font-weight: 300;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Layout */
.cfg-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: left;
}
@media (min-width: 1024px) {
    .cfg-layout { grid-template-columns: 8fr 4fr; }
}

/* Steps column */
.cfg-steps { display: flex; flex-direction: column; gap: 2.5rem; }

/* Step box */
.cfg-step-box {
    position: relative;
    background: rgba(30,41,59,.2);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
}

.cfg-step-label {
    position: absolute;
    top: -0.875rem;
    left: 1.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.cfg-step-label--cyan  { background: var(--cyan);  color: var(--bg-base); }
.cfg-step-label--teal  { background: var(--teal);  color: var(--bg-base); }
.cfg-step-label--slate { background: var(--bg-card); color: var(--slate-300); border: 1px solid var(--border-light); }

.cfg-step-desc {
    font-size: 0.75rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.6;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Grid layouts */
.cfg-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) { .cfg-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.cfg-list { display: flex; flex-direction: column; gap: 1rem; }

/* Option cards */
.cfg-option {
    border-radius: 0.5rem;
    border: 1px solid var(--border-light);
    background: rgba(2,6,23,.4);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
    outline: none;
}
.cfg-option:focus-visible { box-shadow: 0 0 0 2px var(--cyan); }
.cfg-option:hover:not(.is-active) { border-color: var(--border-light); }

/* Base option */
.cfg-option--base {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
}
.cfg-option--base.is-active {
    background: rgba(56,189,248,.08);
    border-color: var(--cyan);
    box-shadow: 0 4px 20px rgba(56,189,248,.06);
}

/* Feature option */
.cfg-option--feature {
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.cfg-option--feature.is-active {
    background: rgba(45,212,191,.08);
    border-color: var(--teal);
    box-shadow: 0 4px 16px rgba(45,212,191,.06);
}

/* Support option */
.cfg-option--support {
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.cfg-option--support.is-active {
    background: rgba(56,189,248,.08);
    border-color: var(--cyan);
    box-shadow: 0 4px 16px rgba(56,189,248,.06);
}

/* Option internals */
.cfg-option-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.cfg-option-header--feature {
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.cfg-option-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    transition: color var(--transition);
}
.cfg-option-label--md { font-size: 0.875rem; }
.cfg-option--base.is-active    .cfg-option-label { color: var(--cyan); }
.cfg-option--feature.is-active .cfg-option-label { color: var(--teal); }

.cfg-option-desc {
    font-size: 0.7rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.55;
}
@media (min-width: 640px) { .cfg-option-desc { font-size: 0.6875rem; } }

.cfg-option-body { flex: 1; }

.cfg-option-footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bg-dark);
}
.cfg-option-footer-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--slate-500);
}
.cfg-option-price {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    padding-left: 0.5rem;
}
.cfg-price--cyan { color: var(--cyan); }
.cfg-price--teal { color: var(--teal); }

/* Radio indicator */
.cfg-radio {
    width: 1rem; height: 1rem;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition), border-color var(--transition);
}
.cfg-option--base.is-active .cfg-radio {
    background: var(--cyan);
    border-color: var(--cyan);
}
.cfg-radio-check { display: none; color: var(--bg-base); }
.cfg-option--base.is-active .cfg-radio-check { display: flex; }

/* Checkbox indicator */
.cfg-checkbox {
    width: 1rem; height: 1rem;
    border-radius: 0.2rem;
    border: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
    transition: background var(--transition), border-color var(--transition);
}
.cfg-checkbox--lg { width: 1.25rem; height: 1.25rem; border-radius: 0.25rem; }

.cfg-option--feature.is-active .cfg-checkbox {
    background: var(--teal);
    border-color: var(--teal);
}
.cfg-option--support.is-active .cfg-checkbox {
    background: var(--cyan);
    border-color: var(--cyan);
}
.cfg-checkbox-check { display: none; color: var(--bg-base); }
.cfg-option--feature.is-active .cfg-checkbox-check,
.cfg-option--support.is-active .cfg-checkbox-check { display: flex; }

/* ── Summary (sticky right col) ── */
.cfg-summary-col { }
@media (min-width: 1024px) {
    .cfg-summary-col { position: relative; }
}

.cfg-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 40px rgba(0,0,0,.3);
}
@media (min-width: 1024px) {
    .cfg-summary { position: sticky; top: 6rem; }
}

.cfg-summary-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.cfg-summary-rows {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.cfg-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.75rem;
}

.cfg-row-sublabel {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--slate-500);
    margin-bottom: 0.2rem;
}
.cfg-row-title {
    font-weight: 600;
    color: var(--white);
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cfg-row-value {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    padding-left: 0.5rem;
}
.cfg-row-value--teal { color: var(--teal); }
.cfg-row-value--cyan { color: var(--cyan); }

.cfg-row-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-400);
}

/* Total box */
.cfg-total-box {
    background: rgba(2,6,23,.6);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1.25rem;
}
.cfg-total-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--slate-500);
    margin-bottom: 0.25rem;
}
.cfg-total-value {
    display: block;
    font-size: 1.875rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.cfg-total-sub {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--slate-600);
    margin-top: 0.25rem;
}

/* CTA button */
.cfg-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: var(--cyan);
    color: var(--bg-base);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0.5rem;
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 20px rgba(56,189,248,.15);
    margin-bottom: 1rem;
}
.cfg-cta-btn:hover { background: var(--white); color: var(--bg-base); }

.cfg-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    color: var(--slate-500);
}

/* ================================
   CONTACT PAGE
   ================================ */
.ctc-section {
    padding: 5rem 0;
    position: relative;
    background: rgba(15,23,42,.1);
}
.ctc-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.ctc-bottom-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 10rem;
    background: linear-gradient(to top, rgba(2,6,23,.2), transparent);
    pointer-events: none;
}
.ctc-inner {
    position: relative;
    z-index: 2;
}

/* Header */
.ctc-header {
    text-align: center;
    margin-bottom: 4rem;
}
.ctc-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(56,189,248,.1);
    border: 1px solid rgba(56,189,248,.3);
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1rem;
}
.ctc-heading {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
}
.ctc-subtitle {
    font-size: 0.875rem;
    color: var(--slate-400);
    font-weight: 300;
    max-width: 42rem;
    margin-inline: auto;
    line-height: 1.7;
}

/* Layout */
.ctc-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 1024px) {
    .ctc-layout {
        grid-template-columns: 5fr 7fr;
        gap: 3rem;
        align-items: start;
    }
}

/* Details column */
.ctc-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}
.ctc-details-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}
.ctc-details-desc {
    font-size: 0.875rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Info cards */
.ctc-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ctc-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(30,41,59,.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition);
    text-align: left;
    width: 100%;
}
.ctc-info-card--clickable {
    cursor: pointer;
    border: 1px solid var(--border);
    background: rgba(30,41,59,.4);
    font: inherit;
    color: inherit;
}
.ctc-info-card--clickable:hover { border-color: rgba(56,189,248,.4); }
.ctc-info-card--link { display: flex; }
.ctc-info-card--link:hover { border-color: rgba(45,212,191,.4); }

.ctc-info-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.ctc-info-icon--cyan { color: var(--cyan); }
.ctc-info-icon--teal { color: var(--teal); }
.ctc-info-icon--muted { color: var(--slate-300); }

.ctc-info-body { flex: 1; min-width: 0; }
.ctc-info-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-500);
    margin-bottom: 0.25rem;
}
.ctc-info-value {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition);
}
.ctc-info-card--clickable:hover .ctc-info-value { color: var(--cyan); }
.ctc-info-card--link:hover .ctc-info-value { color: var(--teal); }

.ctc-copy-hint {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--teal);
}

/* Credentials box */
.ctc-credentials {
    padding: 1.25rem;
    background: rgba(30,41,59,.2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.ctc-credentials-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}
.ctc-credentials-desc {
    font-size: 0.6875rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.6;
}

/* Form card */
.ctc-form-card {
    background: rgba(30,41,59,.2);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem 2rem;
}
@media (min-width: 640px) {
    .ctc-form-card { padding: 2rem; }
}

/* Alerts */
.ctc-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
}
.ctc-alert--error {
    background: rgba(239,68,68,.1);
    border: 1px solid rgba(239,68,68,.3);
    color: #f87171;
}
.ctc-alert--import {
    align-items: flex-start;
    justify-content: space-between;
    background: rgba(56,189,248,.1);
    border: 1px solid rgba(56,189,248,.2);
    color: var(--cyan);
}
.ctc-import-left {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.ctc-import-title {
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.ctc-import-desc {
    font-size: 0.625rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.5;
}
.ctc-import-clear {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 0.625rem;
    color: #f87171;
    cursor: pointer;
    padding: 0;
}
.ctc-import-clear:hover { text-decoration: underline; }

/* Form fields */
.ctc-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.ctc-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .ctc-form-row { grid-template-columns: 1fr 1fr; }
}
.ctc-field { display: flex; flex-direction: column; }
.ctc-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--slate-400);
    margin-bottom: 0.5rem;
}
.ctc-input {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--white);
    font-family: var(--font-sans);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.ctc-input::placeholder { color: #334155; }
.ctc-input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 1px var(--cyan);
}
.ctc-textarea {
    resize: none;
    min-height: 9rem;
}

/* Consent */
.ctc-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 0.5rem;
}
.ctc-checkbox {
    flex-shrink: 0;
    margin-top: 0.125rem;
    width: 1rem;
    height: 1rem;
    accent-color: var(--cyan);
    cursor: pointer;
}
.ctc-consent-label {
    font-size: 0.6875rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.6;
    cursor: pointer;
    user-select: none;
}

/* Honeypot */
.ctc-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* Submit */
.ctc-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
    background: var(--cyan);
    color: var(--bg-base);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), opacity var(--transition);
    box-shadow: 0 4px 20px rgba(56,189,248,.1);
}
.ctc-submit:hover:not(:disabled) { background: var(--white); }
.ctc-submit:active:not(:disabled) { transform: scale(0.98); }
.ctc-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.ctc-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--bg-base);
    border-top-color: transparent;
    border-radius: 50%;
    animation: ctc-spin 0.6s linear infinite;
}
@keyframes ctc-spin { to { transform: rotate(360deg); } }

.ctc-form-footer {
    text-align: center;
    padding-top: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    color: var(--slate-500);
}

/* Success state */
.ctc-success {
    padding: 3rem 1rem;
    text-align: center;
    animation: ctc-fade-in 0.3s ease;
}
@keyframes ctc-fade-in {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
}
.ctc-success-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(45,212,191,.1);
    border: 1px solid rgba(45,212,191,.4);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.ctc-success-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.ctc-success-desc {
    font-size: 0.8125rem;
    color: var(--slate-300);
    font-weight: 300;
    max-width: 28rem;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}
.ctc-success-status {
    background: rgba(2,6,23,.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    max-width: 20rem;
    margin: 0 auto 1.5rem;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    color: var(--slate-400);
    line-height: 1.8;
}
.ctc-success-status-label {
    display: block;
    color: var(--teal);
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.ctc-success-btn {
    padding: 0.625rem 1.5rem;
    background: var(--bg-card);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: background var(--transition);
}
.ctc-success-btn:hover { background: #334155; }

/* ================================
   PORTFOLIO / REALIZACJE & RWD
   ================================ */
.prt-section {
    padding: 5rem 0;
    position: relative;
    background: rgba(15,23,42,.1);
}
.prt-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.prt-top-fade {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 10rem;
    background: linear-gradient(to bottom, rgba(2,6,23,.2), transparent);
    pointer-events: none;
}
.prt-inner {
    position: relative;
    z-index: 2;
}
.prt-inner--center { text-align: center; }

/* Header */
.prt-header { margin-bottom: 3rem; }
.prt-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(56,189,248,.1);
    border: 1px solid rgba(56,189,248,.3);
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1rem;
}
.prt-badge--sm { margin-bottom: 1rem; }
.prt-heading {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
}
.prt-subtitle {
    font-size: 0.875rem;
    color: var(--slate-400);
    font-weight: 300;
    max-width: 42rem;
    margin-inline: auto;
    line-height: 1.7;
}

/* Filters */
.prt-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 4rem;
}
.prt-filter-btn {
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all var(--transition);
    background: rgba(30,41,59,.4);
    color: var(--slate-400);
    border: 1px solid rgba(51,65,85,.5);
}
.prt-filter-btn:hover {
    color: var(--white);
    border-color: rgba(56,189,248,.35);
}
.prt-filter-btn.is-active {
    background: var(--cyan);
    color: var(--bg-base);
    border-color: var(--cyan);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(56,189,248,.15);
}

.prt-empty {
    margin-bottom: 4rem;
    padding: 2rem;
    border: 1px dashed var(--border-light);
    border-radius: 0.75rem;
    color: var(--slate-400);
    font-size: 0.875rem;
}

/* Project tiles grid */
.prt-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 7rem;
    text-align: left;
}
@media (min-width: 640px) {
    .prt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .prt-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* Tile card */
.prt-tile {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: rgba(30,41,59,.4);
    border: 1px solid rgba(51,65,85,.5);
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.prt-tile:hover {
    border-color: rgba(56,189,248,.45);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.prt-tile[hidden] { display: none; }

.prt-tile-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-dark);
}
.prt-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}
.prt-tile:hover .prt-tile-img { transform: scale(1.04); }

.prt-tile-speed {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--teal);
    background: rgba(2,6,23,.85);
    border: 1px solid rgba(45,212,191,.3);
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.prt-tile-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2,6,23,.55);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.prt-tile:hover .prt-tile-overlay { opacity: 1; }
.prt-tile-cta {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 9999px;
    background: rgba(56,189,248,.2);
}

.prt-tile-body {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.prt-tile-cat {
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--cyan);
}
.prt-tile-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    transition: color var(--transition);
}
.prt-tile:hover .prt-tile-title { color: var(--cyan); }
.prt-tile-bio {
    font-size: 0.8125rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Shared: category badge, speed, tags, features, feedback */
.prt-card-cat {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--cyan);
    background: rgba(56,189,248,.15);
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
}
.prt-card-speed {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--teal);
    background: rgba(45,212,191,.1);
    border: 1px solid rgba(45,212,191,.2);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
}

.prt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}
.prt-tag {
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    color: var(--slate-400);
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
}

.prt-features-box {
    background: rgba(2,6,23,.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1.25rem;
}
.prt-features-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-500);
    margin-bottom: 0.5rem;
}
.prt-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}
.prt-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--slate-300);
    font-weight: 300;
    line-height: 1.5;
}
.prt-features-list svg {
    flex-shrink: 0;
    color: var(--teal);
    margin-top: 0.125rem;
}

.prt-feedback-label {
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--slate-500);
}
.prt-feedback-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--bg-base);
    background: var(--teal);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
}
.prt-feedback-text {
    font-size: 0.8125rem;
    color: var(--slate-400);
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.prt-feedback-author {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    color: var(--slate-300);
}
.prt-feedback-author strong { color: var(--white); }

/* Detail drawer */
body.prt-drawer-open { overflow: hidden; }

.prt-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(2,6,23,.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.prt-drawer-overlay.is-open { opacity: 1; }

.prt-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 201;
    width: 100%;
    max-width: 32rem;
    height: 100%;
    height: 100dvh;
    background: #0c1222;
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 40px rgba(0,0,0,.4);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.prt-drawer.is-open { transform: translateX(0); }

.prt-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.prt-drawer-label {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--cyan);
}
.prt-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(30,41,59,.5);
    color: var(--slate-300);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}
.prt-drawer-close:hover {
    background: var(--bg-card);
    color: var(--white);
}

.prt-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    -webkit-overflow-scrolling: touch;
}

.prt-drawer-hero {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border);
}
.prt-drawer-img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
}
.prt-drawer-hero-meta {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.prt-drawer-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}
.prt-drawer-desc {
    font-size: 0.875rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.prt-drawer-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.prt-drawer-stat {
    background: rgba(2,6,23,.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.75rem 0.5rem;
    text-align: center;
}
.prt-drawer-stat-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-500);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}
.prt-drawer-stat-value {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--cyan);
}

.prt-drawer-feedback {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    margin-bottom: 1.5rem;
}
.prt-drawer-feedback-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.prt-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background: var(--cyan);
    color: var(--bg-base);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-lg);
    transition: background var(--transition);
    margin-bottom: 0.5rem;
}
.prt-drawer-cta:hover { background: var(--white); }

/* RWD Cockpit */
.prt-cockpit {
    position: relative;
    background: rgba(30,41,59,.2);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}
@media (min-width: 640px) {
    .prt-cockpit { padding: 2.5rem; }
}
.prt-cockpit-accent {
    position: absolute;
    top: 0;
    right: 20%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(56,189,248,.1), rgba(45,212,191,.05), transparent);
    pointer-events: none;
}

.prt-cockpit-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: stretch;
}
@media (min-width: 1024px) {
    .prt-cockpit-layout { grid-template-columns: 4fr 8fr; }
}

.prt-cockpit-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}
.prt-cockpit-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.prt-cockpit-desc {
    font-size: 0.75rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.prt-step-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--cyan);
    margin-bottom: 0.5rem;
    user-select: none;
}

.prt-pills {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 2rem;
}
.prt-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(30,41,59,.8);
    background: rgba(2,6,23,.6);
    color: var(--slate-400);
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
    font: inherit;
}
.prt-pill:hover {
    border-color: #334155;
    color: var(--white);
}
.prt-pill.is-active {
    background: rgba(15,23,42,.9);
    border-color: var(--cyan);
    box-shadow: 0 4px 16px rgba(56,189,248,.05);
    color: var(--white);
}
.prt-pill-title {
    font-size: 0.75rem;
    font-weight: 700;
}
.prt-pill-cat {
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--teal);
}

.prt-rwd-tips {
    background: rgba(2,6,23,.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
}
.prt-rwd-tips-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.25rem;
}
.prt-rwd-tips-text {
    font-size: 0.6875rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.7;
}
.prt-rwd-tips-text strong { color: var(--slate-300); font-weight: 600; }

/* Cockpit right – viewport */
.prt-cockpit-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(2,6,23,.2);
    border: 1px solid rgba(30,41,59,.6);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
}
@media (min-width: 640px) {
    .prt-cockpit-right { padding: 1.5rem; }
}

.prt-device-bar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.prt-device-btns {
    display: flex;
    gap: 0.375rem;
    background: var(--bg-dark);
    padding: 0.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid #0f172a;
}
.prt-device-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-400);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.prt-device-btn:hover { color: var(--slate-300); }
.prt-device-btn.is-active[data-viewport="mobile"] {
    background: var(--cyan);
    color: var(--bg-base);
    font-weight: 700;
}
.prt-device-btn.is-active[data-viewport="tablet"] {
    background: var(--teal);
    color: var(--bg-base);
    font-weight: 700;
}
.prt-device-btn.is-active[data-viewport="desktop"] {
    background: var(--bg-card);
    color: var(--white);
    font-weight: 700;
    border: 1px solid #334155;
}
.prt-device-label { display: none; }
@media (min-width: 640px) {
    .prt-device-label { display: inline; }
}

/* Viewport frame */
.prt-viewport-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}
.prt-viewport {
    overflow: hidden;
    background: var(--bg-dark);
    border-radius: 0.75rem;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,.4);
    transition: width 0.5s ease, height 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}
.prt-viewport--mobile {
    width: 324px;
    max-width: 100%;
    height: 520px;
    border: 1px solid rgba(56,189,248,.4);
    box-shadow: 0 0 30px rgba(56,189,248,.15), 0 0 0 4px var(--bg-dark);
}
@media (min-width: 640px) {
    .prt-viewport--mobile { width: 350px; }
}
.prt-viewport--tablet {
    width: 580px;
    max-width: 100%;
    height: 480px;
    border: 1px solid rgba(45,212,191,.4);
    box-shadow: 0 0 30px rgba(45,212,191,.08);
}
.prt-viewport--desktop {
    width: 100%;
    max-width: 850px;
    height: 480px;
    border: 1px solid var(--border);
}

/* Browser chrome */
.prt-browser-bar {
    height: 1.75rem;
    background: #0f172a;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    justify-content: space-between;
    user-select: none;
}
.prt-browser-dots {
    display: flex;
    gap: 0.25rem;
}
.prt-browser-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #334155;
}
.prt-browser-url {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background: var(--bg-dark);
    padding: 0.125rem 0.875rem;
    border-radius: 0.375rem;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--slate-500);
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (min-width: 640px) {
    .prt-browser-url { max-width: 16rem; }
}
.prt-browser-rwd {
    font-family: var(--font-mono);
    font-size: 0.4375rem;
    font-weight: 700;
    color: var(--teal);
}

.prt-browser-body {
    padding: 1rem;
    height: calc(100% - 1.75rem);
    overflow-y: auto;
    text-align: left;
    color: var(--white);
    background: var(--bg-dark);
    position: relative;
}

/* Preview nav */
.prt-preview-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}
.prt-preview-brand {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.prt-preview-logo {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    background: var(--cyan);
    color: var(--bg-base);
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.prt-preview-name {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--white);
}
@media (min-width: 640px) {
    .prt-preview-name { font-size: 0.75rem; }
}

.prt-preview-menu-mobile {
    font-size: 0.5rem;
    background: rgba(56,189,248,.1);
    border: 1px solid rgba(56,189,248,.2);
    color: var(--cyan);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
}
.prt-preview-menu-tablet {
    font-size: 0.5625rem;
    color: var(--slate-300);
    font-weight: 700;
}
.prt-preview-menu-desktop {
    display: flex;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    color: var(--slate-400);
}
.prt-preview-menu-active { color: var(--cyan); font-weight: 700; }

/* Preview hero */
.prt-preview-hero {
    background: linear-gradient(to right, #0f172a, #1e293b);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}
.prt-preview-hero-badge {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cyan);
    margin-bottom: 0.25rem;
}
@media (min-width: 640px) {
    .prt-preview-hero-badge { font-size: 0.5625rem; }
}
.prt-preview-hero-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
@media (min-width: 640px) {
    .prt-preview-hero-title { font-size: 0.875rem; }
}
.prt-preview-hero-desc {
    font-size: 0.5625rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}
@media (min-width: 640px) {
    .prt-preview-hero-desc { font-size: 0.625rem; }
}
.prt-preview-hero-btns {
    display: flex;
    gap: 0.5rem;
}
.prt-preview-btn-primary {
    height: 1rem;
    padding: 0 0.5rem;
    font-size: 0.4375rem;
    font-weight: 700;
    color: var(--bg-base);
    background: var(--cyan);
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
}
.prt-preview-btn-secondary {
    height: 1rem;
    padding: 0 0.5rem;
    font-size: 0.4375rem;
    color: var(--white);
    background: var(--bg-card);
    border: 1px solid #334155;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
}

/* Preview grid */
.prt-preview-section { position: relative; z-index: 2; }
.prt-preview-section-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--slate-500);
    margin-bottom: 0.5rem;
}
.prt-preview-grid {
    display: grid;
    gap: 0.75rem;
    transition: grid-template-columns 0.5s ease;
}
.prt-preview-grid--1 { grid-template-columns: 1fr; }
.prt-preview-grid--2 { grid-template-columns: repeat(2, 1fr); }
.prt-preview-grid--3 { grid-template-columns: repeat(3, 1fr); }

.prt-preview-card {
    padding: 0.75rem;
    background: #0f172a;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.prt-preview-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.prt-preview-val--teal {
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--teal);
}
.prt-preview-val--cyan {
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--cyan);
}
.prt-preview-card p {
    font-size: 0.5625rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.5;
}

.prt-viewport-meta {
    margin-top: 1rem;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--slate-500);
}
.prt-meta-cyan { color: var(--cyan); }
.prt-meta-teal { color: var(--teal); }
