@import url('https://api.fontshare.com/v2/css?f[]=clash-display@500,600,700&display=swap');

/* ==========================================================================
   ROGAL STUDIO — MARKLENCE & TASTESKILL LUXURY DIGITAL SYSTEM
   Standard: Impeccable Awwwards Craft, Clash Display Typography, Organic Dark Olive,
   Pastel Lime / Cream Accents & 60 FPS Spring Microinteractions
   ========================================================================== */

:root {
    --bg-page: #EBEBEF;
    --bg-section-alt: #E2E2E8;
    --bg-card: #FFFFFF;
    --bg-card-subtle: #F4F4F8;
    --bg-card-gray: #E5E5EB;
    
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-card: #D4D4DC;
    --border-card-strong: #BCBCC4;
    
    --primary-color: #12140E;
    --primary-blue: #0071E3;
    --primary-blue-hover: #0077ED;
    --accent-emerald: #10B981;

    --accent-lime: #FAFABF;
    --accent-lime-hover: #F3F399;
    --accent-gold: #FFE878;
    --accent-mint: #C0ECBF;
    --accent-pink: #F6C2F4;
    --text-cream: #FFFEF5;
    
    --text-main: #12140E;
    --text-muted: #58585D;
    --text-dim: #7C7C82;
    
    --font-display: 'Clash Display', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Clash Display', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --font-code: 'JetBrains Mono', monospace;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-pill: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.10);
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   DARK MODE TOKENS & OVERRIDES (Marklence Organic Dark Olive / Electric Lime)
   ========================================================================== */
[data-theme="dark"] {
    --bg-page: #12140E;
    --bg-section-alt: #161811;
    --bg-card: #181A13;
    --bg-card-subtle: #1F2219;
    --bg-card-gray: #262A1F;
    
    --border-subtle: rgba(250, 250, 191, 0.08);
    --border-card: rgba(250, 250, 191, 0.13);
    --border-card-strong: rgba(250, 250, 191, 0.28);
    
    --primary-color: #FAFABF;
    --primary-blue: #FAFABF;
    --primary-blue-hover: #F3F399;
    --accent-emerald: #C0ECBF;

    --accent-lime: #FAFABF;
    --accent-lime-hover: #F3F399;
    --accent-gold: #FFE878;
    --accent-mint: #C0ECBF;
    --accent-pink: #F6C2F4;
    --text-cream: #FFFEF5;
    
    --text-main: #FFFEF5;
    --text-muted: #A3A897;
    --text-dim: #7F8576;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .studio-header {
    background: rgba(14, 16, 11, 0.88);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(250, 250, 191, 0.08);
}

[data-theme="dark"] .studio-header.scrolled {
    background: rgba(12, 14, 10, 0.96);
    border-bottom: 1px solid rgba(250, 250, 191, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
}

[data-theme="dark"] .hero-facts-row,
[data-theme="dark"] .metric-apple-box,
[data-theme="dark"] .hero-badge-creator,
[data-theme="dark"] .hero-badge-student,
[data-theme="dark"] .mobile-menu-toggle,
[data-theme="dark"] .drawer-panel,
[data-theme="dark"] .theme-toggle-btn,
[data-theme="dark"] .drawer-close-btn,
[data-theme="dark"] .studio-footer {
    background: var(--bg-card);
    border-color: var(--border-card);
    color: var(--text-main);
}

[data-theme="dark"] .card-inner,
[data-theme="dark"] .about-card,
[data-theme="dark"] .bento-card,
[data-theme="dark"] .faq-card,
[data-theme="dark"] .calc-options-side,
[data-theme="dark"] .calc-summary-side,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .compare-card {
    background: var(--bg-card);
    border-color: var(--border-card);
}

[data-theme="dark"] .pkg-card {
    background: var(--bg-card-subtle);
    border-color: var(--border-card);
}

[data-theme="dark"] .pkg-card.active {
    border-color: var(--accent-lime);
    background: rgba(250, 250, 191, 0.08);
}

[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-blue {
    background: #FAFABF !important;
    color: #12140E !important;
    font-weight: 700 !important;
    border: 1px solid #FAFABF !important;
    box-shadow: 0 4px 18px rgba(250, 250, 191, 0.22);
}

[data-theme="dark"] .btn-primary *,
[data-theme="dark"] .btn-blue * {
    color: #12140E !important;
}

[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .btn-blue:hover {
    background: #EBEB9D !important;
    color: #12140E !important;
    border-color: #EBEB9D !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(250, 250, 191, 0.32);
}

[data-theme="dark"] .btn-primary:hover *,
[data-theme="dark"] .btn-blue:hover * {
    color: #12140E !important;
}

[data-theme="dark"] .btn-secondary {
    background: #1C1F16 !important;
    border: 1px solid rgba(250, 250, 191, 0.25) !important;
    color: #FAFABF !important;
}

[data-theme="dark"] .btn-secondary * {
    color: #FAFABF !important;
}

[data-theme="dark"] .btn-secondary:hover {
    background: #282D20 !important;
    border-color: #FAFABF !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .btn-secondary:hover * {
    color: #FFFFFF !important;
}

[data-theme="dark"] .skill-tag {
    background: var(--bg-card-subtle);
    border-color: var(--border-card);
    color: var(--text-main);
}

[data-theme="dark"] .skill-tag:hover {
    background: #FAFABF !important;
    border-color: #FAFABF !important;
    color: #0C0E09 !important;
    font-weight: 700 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(250, 250, 191, 0.25);
}

[data-theme="dark"] .filter-pill {
    background: var(--bg-card-subtle);
    border-color: var(--border-card);
    color: var(--text-muted);
}

[data-theme="dark"] .filter-pill:hover,
[data-theme="dark"] .filter-pill.active {
    background: #FAFABF !important;
    color: #0C0E09 !important;
    border-color: #FAFABF !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .portfolio-filter-pill:hover {
    background: #24281D !important;
    border-color: #FAFABF !important;
    color: #FAFABF !important;
    transform: translateY(-1px);
}

[data-theme="dark"] .portfolio-filter-pill.active {
    background: #FAFABF !important;
    border-color: #FAFABF !important;
    color: #0C0E09 !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .btn-tech-toggle:hover {
    background: #24281D !important;
    border-color: #FAFABF !important;
    color: #FAFABF !important;
}

[data-theme="dark"] .replay-animation-btn:hover {
    background: #FAFABF !important;
    border-color: #FAFABF !important;
    color: #0C0E09 !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    border-color: #FAFABF !important;
    background: #24281D !important;
    color: #FAFABF !important;
}

[data-theme="dark"] .mobile-menu-toggle:hover {
    border-color: #FAFABF !important;
    background: #24281D !important;
}

[data-theme="dark"] .drawer-close-btn:hover {
    background: #FAFABF !important;
    border-color: #FAFABF !important;
    color: #0C0E09 !important;
}

[data-theme="dark"] .contact-card:hover .contact-icon-wrap {
    background: #FAFABF !important;
    border-color: #FAFABF !important;
    color: #0C0E09 !important;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    font-size: 16px;
    background-color: var(--bg-page);
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Subtle Aurora Ambient Glow (ReactBits / Kokonut UI style) */
.aurora-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.aurora-beam {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.45;
    will-change: transform;
}

.beam-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 215, 240, 0.9) 0%, transparent 70%);
    top: -120px;
    left: -80px;
    animation: auroraFloat1 20s ease-in-out infinite alternate;
}

.beam-2 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(235, 230, 222, 0.9) 0%, transparent 70%);
    top: 40%;
    right: -150px;
    animation: auroraFloat2 24s ease-in-out infinite alternate;
}

@keyframes auroraFloat1 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(60px, 40px, 0) scale(1.1); }
}

@keyframes auroraFloat2 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(-50px, 50px, 0) scale(0.95); }
}

/* Ambient Spotlight */
.ambient-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(650px circle at var(--mouse-x, 50vw) var(--mouse-y, 50vh), rgba(0, 0, 0, 0.03) 0%, transparent 70%);
}

[data-theme="dark"] .ambient-spotlight {
    background: radial-gradient(650px circle at var(--mouse-x, 50vw) var(--mouse-y, 50vh), rgba(250, 250, 191, 0.035) 0%, transparent 65%) !important;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.studio-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-smooth);
    background: rgba(235, 235, 239, 0.84);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.studio-header.scrolled {
    padding: 12px 0;
    background: rgba(245, 245, 248, 0.94);
    border-bottom: 1px solid var(--border-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .studio-header.scrolled {
    background: rgba(12, 14, 10, 0.96);
    border-bottom: 1px solid rgba(250, 250, 191, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
}

.header-container {
    max-width: 1360px !important;
    margin: 0 auto;
    padding: 0 24px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    flex-wrap: nowrap !important;
    box-sizing: border-box !important;
}

.header-actions {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.header-cta-desktop {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0 20px !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 13.5px !important;
    border-radius: var(--radius-pill) !important;
    transform: none !important;
}

.header-actions .theme-toggle-btn,
.header-actions .header-cta-desktop {
    transform: none !important;
    vertical-align: middle !important;
}

.header-actions .theme-toggle-btn:hover,
.header-actions .header-cta-desktop:hover {
    transform: none !important;
}

/* Minimalist Croissant Logo */
.studio-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-croissant-icon,
.brand-r-icon {
    width: 36px;
    height: 36px;
    background: #181A13;
    border: 1.5px solid rgba(250, 250, 191, 0.25);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.brand-croissant-icon img,
.brand-r-icon img {
    width: 62%;
    height: auto;
    max-height: 62%;
    object-fit: contain;
    display: block;
    user-select: none;
    pointer-events: none;
}

.studio-brand:hover .brand-croissant-icon,
.studio-brand:hover .brand-r-icon {
    transform: scale(1.05);
    border-color: rgba(250, 250, 191, 0.55);
    box-shadow: 0 0 16px rgba(250, 250, 191, 0.15);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--text-main);
    line-height: 1.1;
}

.brand-sub {
    font-family: var(--font-mono);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-dim);
}

.studio-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 1;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap !important;
    display: inline-block !important;
    word-break: keep-all !important;
    transition: var(--transition-smooth);
    padding: 6px 0;
}

.nav-link:hover {
    color: var(--text-main);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    text-decoration: none;
    cursor: pointer;
    border: none;
    position: relative;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--text-main);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.btn-secondary {
    background: var(--bg-card-gray);
    color: var(--text-main);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #E5E5EA;
    border-color: var(--border-card-strong);
    color: #000000;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-secondary:hover {
    background: #282D20 !important;
    border-color: #FAFABF !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.btn-blue {
    background: var(--primary-blue);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.25);
}

.btn-blue:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 113, 227, 0.35);
}

.btn-hero {
    padding: 16px 32px;
    font-size: 15px;
}

.w-full {
    width: 100%;
}

.btn-icon-svg {
    width: 17px;
    height: 17px;
    stroke-width: 2;
    flex-shrink: 0;
}

/* ==========================================================================
   HERO SECTION (Clean, human, no fake badges)
   ========================================================================== */
.hero-section {
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5.2vw, 68px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-highlight {
    display: inline-block;
    color: var(--accent-lime);
}

.hero-title-sub {
    display: block;
    margin-top: 14px;
    font-size: clamp(18px, 2.4vw, 30px);
    font-weight: 600;
    letter-spacing: -0.6px;
    color: var(--text-muted);
}

/* Tactile Pill Stickers (Marklence signature) */
.hero-sticker,
.marklence-sticker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.12em 0.55em;
    font-family: var(--font-heading);
    font-size: 0.82em;
    font-weight: 700;
    border-radius: 9999px;
    vertical-align: baseline;
    letter-spacing: -0.02em;
    line-height: 1.15;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
}

.hero-sticker:hover,
.marklence-sticker:hover {
    transform: scale(1.06) rotate(0deg) !important;
}

.sticker-lime {
    background: #FAFABF;
    color: #12140E;
    transform: rotate(-2deg);
}

.sticker-cream {
    background: #FFFEF5;
    color: #12140E;
    transform: rotate(1.5deg);
}

.sticker-mint {
    background: #C0ECBF;
    color: #0E1D10;
    transform: rotate(-1deg);
}

.sticker-pink {
    background: #F6C2F4;
    color: #241122;
    transform: rotate(2deg);
}

.sticker-dark {
    background: #1F2219;
    color: #FAFABF;
    border: 1px solid rgba(250, 250, 191, 0.25);
}

.hero-subtitle {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 36px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* 3 Value Pillars (Marklence: Fast, Clear, Under One Roof) */
.hero-value-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1140px;
    margin: 32px auto 40px;
    text-align: left;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-card-strong);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.value-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.value-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(250, 250, 191, 0.12);
    color: var(--accent-lime);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.value-card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

.value-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: -0.4px;
    line-height: 1.25;
}

.value-card-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Continuous Infinite Marquee Ticker */
.studio-marquee-ticker {
    width: 100%;
    overflow: hidden;
    padding: 16px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
    position: relative;
    z-index: 5;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 36px;
    width: max-content;
    animation: marqueeScroll 45s linear infinite;
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    white-space: nowrap;
}

.marquee-glyph {
    color: var(--accent-lime);
    font-size: 14px;
}

@media (max-width: 960px) {
    .hero-value-cards {
        grid-template-columns: 1fr;
    }
}

/* Authentic Facts Row */
.hero-facts-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 24px 32px;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    max-width: 980px;
    margin: 0 auto;
}

.fact-card {
    flex: 1;
    text-align: center;
    padding: 0 16px;
}

.fact-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 3px;
    letter-spacing: -0.6px;
}

.fact-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.fact-divider {
    width: 1px;
    height: 36px;
    background: var(--border-card);
}

/* Hero Creator & Student Badge */
.hero-badge-creator,
.hero-badge-student {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

/* Clean typographic badge without pulsing dot */

/* ==========================================================================
   SEKCJA O MNIE & TECH STACK (Oliwier Rogalski)
   ========================================================================== */
.about-section {
    padding: 90px 0 100px;
    position: relative;
    z-index: 2;
}

/* Apple Engineering Metrics Row */
.metrics-apple-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 980px;
    margin: 36px auto 0;
}

.metric-apple-box {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.metric-apple-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.metric-apple-box .metric-top {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 4px;
}

.metric-apple-box .metric-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
}

.metric-apple-box .metric-unit {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
}

.metric-apple-box .metric-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.metric-apple-box small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 820px) {
    .metrics-apple-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .metrics-apple-row {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: clamp(22px, 6.5vw, 29px);
        letter-spacing: -1px;
        line-height: 1.25;
        word-break: break-word;
    }
    .hero-sticker,
    .marklence-sticker {
        padding: 0.1em 0.35em;
        font-size: 0.82em;
        display: inline-block;
        max-width: 100%;
        word-break: break-word;
    }
    .hero-title-sub {
        font-size: 14px;
        letter-spacing: -0.2px;
        line-height: 1.45;
        word-break: break-word;
    }
    .desktop-br {
        display: none;
    }
    .mobile-only-br {
        display: inline;
    }
}

.mobile-only-br {
    display: none;
}

.about-bento-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 28px;
    margin-top: 48px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.about-card:hover {
    border-color: var(--border-card-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Bio Card */
.bio-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.bio-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1D1D1F 0%, #3A3A3C 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bio-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.bio-role {
    display: block;
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
}

.bio-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 28px;
}

.bio-principles {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
}

.principle-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.principle-icon {
    font-size: 18px;
    line-height: 1.2;
    padding-top: 2px;
}

.principle-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.principle-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Stack Card */
.card-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.stack-category {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.stack-category:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.stack-cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.stack-cat-header .cat-icon {
    font-size: 18px;
}

.stack-cat-header h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.3px;
}

.skills-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    font-family: var(--font-mono);
    transition: var(--transition-smooth);
}

.skill-tag:hover {
    background: #FFFFFF;
    border-color: #12140E;
    color: #12140E;
    transform: translateY(-1px);
}

[data-theme="dark"] .skill-tag:hover {
    background: #FAFABF !important;
    border-color: #FAFABF !important;
    color: #0C0E09 !important;
    font-weight: 700 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(250, 250, 191, 0.25);
}

@media (max-width: 900px) {
    .about-bento-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
}

.live-builder-section {
    background-color: var(--bg-section-alt);
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}

.section-header-centered {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
    background: var(--bg-card-gray);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-card);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.2px;
    margin-bottom: 14px;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE PHONE & KOKONUT TABS
   ========================================================================== */
.industry-tabs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    background: #D8D8DF;
    padding: 6px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-card);
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
}

.industry-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 10px 20px;
    min-height: 44px;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.industry-tab-btn:hover {
    color: var(--text-main);
}

.industry-tab-btn.active {
    background: #FFFFFF;
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
}

[data-theme="dark"] .industry-tabs-nav {
    background: #181A13;
    border-color: rgba(250, 250, 191, 0.12);
}

[data-theme="dark"] .industry-tab-btn {
    color: var(--text-muted);
}

[data-theme="dark"] .industry-tab-btn:hover {
    color: var(--text-main);
}

[data-theme="dark"] .industry-tab-btn.active {
    background: rgba(250, 250, 191, 0.14);
    border: 1px solid rgba(250, 250, 191, 0.35);
    color: #FAFABF;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.interactive-stage {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: center;
}

/* Phone Mockup */
.phone-frame-wrapper {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-frame {
    width: 320px;
    height: 620px;
    background: #FFFFFF;
    border-radius: 44px;
    border: 9px solid #1D1D1F;
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease-out;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 20px;
    background: #1D1D1F;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.notch-speaker {
    width: 30px;
    height: 3px;
    background: #333;
    border-radius: 3px;
}

.notch-camera {
    width: 6px;
    height: 6px;
    background: #111;
    border-radius: 50%;
    border: 1px solid #333;
}

.phone-screen {
    flex: 1;
    background: #171614;
    overflow-y: auto;
    padding: 28px 12px 14px;
    position: relative;
    scrollbar-width: none;
    transition: background-color 0.3s ease;
}

.phone-screen::-webkit-scrollbar {
    display: none;
}

.screen-view {
    display: none;
    border-radius: 16px;
    padding: 12px;
    min-height: 100%;
}

.screen-view.active {
    display: block;
    animation: viewFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.mockup-img-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.mockup-real-photo {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.img-badge-overlay {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: #FFFFFF;
    font-size: 8.5px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

/* PHONE THEMES - MODERN PREMIUM SERVICES */
.theme-architecture {
    background: #171614;
    color: #FAF7F2;
    border: 1px solid #2D2A26;
}
.theme-barber {
    background: #121214;
    color: #F1F5F9;
    border: 1px solid #23232A;
}
.theme-coffee {
    background: #1C1510;
    color: #FAF4EE;
    border: 1px solid #382B22;
}
.theme-physio {
    background: #0D1B16;
    color: #F0FDF4;
    border: 1px solid #1A382E;
}

/* LEGACY PHONE THEMES */
.theme-beauty {
    background: #FAF7F2;
    color: #2D282A;
    border: 1px solid #EBE4DA;
}
.beauty-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.beauty-brand {
    font-family: 'Playfair Display', serif;
    font-size: 12.5px;
    font-weight: 700;
}
.beauty-tag {
    font-size: 8px;
    font-weight: 700;
    background: #F3EAE0;
    color: #936B46;
    padding: 2px 6px;
    border-radius: 12px;
}
.beauty-heading {
    font-family: 'Playfair Display', serif;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 4px;
}
.beauty-text {
    font-size: 10px;
    color: #786C66;
    margin-bottom: 8px;
}
.beauty-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}
.beauty-btn-primary {
    display: block;
    text-align: center;
    background: #C5A070;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 8px;
    border-radius: 16px;
    text-decoration: none;
}
.beauty-btn-outline {
    display: block;
    text-align: center;
    background: #FFFFFF;
    color: #5C4638;
    border: 1px solid #D6C4B4;
    font-size: 9.5px;
    font-weight: 600;
    padding: 6px;
    border-radius: 16px;
    text-decoration: none;
}
.beauty-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #FFFFFF;
    padding: 8px;
    border-radius: 8px;
}
.beauty-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9.5px;
    padding-bottom: 4px;
    border-bottom: 1px dashed #EFE8DF;
}
.beauty-menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.beauty-menu-item strong {
    display: block;
    font-size: 10px;
}
.beauty-menu-item small {
    font-size: 8px;
    color: #8C8079;
}
.beauty-price {
    font-weight: 800;
    color: #A88152;
}

/* Mechanic */
.theme-mechanic {
    background: #18191E;
    color: #F1F5F9;
    border: 1px solid #2C2E38;
}
.mech-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.mech-brand {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 900;
    color: #FFE600;
}
.mech-alert-pill {
    background: #EF4444;
    color: #FFF;
    font-size: 8px;
    font-weight: 900;
    padding: 2px 4px;
    border-radius: 3px;
}
.mech-emergency-bar {
    background: rgba(255, 230, 0, 0.1);
    border: 1px solid #FFE600;
    padding: 5px 7px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 9px;
}
.mech-emergency-bar strong {
    color: #FFE600;
    font-family: var(--font-mono);
}
.mech-title {
    font-size: 12.5px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
}
.mech-desc {
    font-size: 9.5px;
    color: #94A3B8;
    margin-bottom: 8px;
}
.mech-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-bottom: 8px;
}
.mech-box {
    background: #22252E;
    padding: 5px 7px;
    border-radius: 5px;
}
.box-label {
    display: block;
    font-size: 8.5px;
    color: #CBD5E1;
}
.box-val {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    color: #FFE600;
}
.mech-call-btn {
    display: block;
    text-align: center;
    background: #FFE600;
    color: #000;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 900;
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
}

/* Construction */
.theme-construction {
    background: #0F172A;
    color: #F8FAFC;
    border: 1px solid #1E293B;
}
.const-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.const-logo {
    font-size: 11.5px;
    font-weight: 800;
    color: #F97316;
}
.const-badge {
    background: rgba(249, 115, 22, 0.15);
    color: #FB923C;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
}
.const-heading {
    font-size: 12.5px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
}
.const-text {
    font-size: 9.5px;
    color: #94A3B8;
    margin-bottom: 8px;
}
.const-guarantees {
    background: #1E293B;
    border-radius: 5px;
    padding: 6px 8px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 9px;
}
.const-cta-btn {
    display: block;
    text-align: center;
    background: #F97316;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
}

/* Gastronomy */
.theme-gastronomy {
    background: #1F1511;
    color: #FAF4EE;
    border: 1px solid #38251D;
}
.gastro-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.gastro-name {
    font-family: 'Playfair Display', serif;
    font-size: 12.5px;
    font-weight: 800;
    color: #FFB38A;
}
.gastro-time {
    background: rgba(34, 197, 94, 0.15);
    color: #4ADE80;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 8px;
}
.gastro-title {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 4px;
}
.gastro-text {
    font-size: 9.5px;
    color: #D4C3B8;
    margin-bottom: 8px;
}
.gastro-items {
    background: #2C1E18;
    border-radius: 6px;
    padding: 6px 8px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 9px;
}
.gastro-row {
    display: flex;
    justify-content: space-between;
}
.gastro-price {
    font-weight: 800;
    color: #E0533C;
}
.gastro-btn {
    display: block;
    text-align: center;
    background: #E0533C;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
}

.phone-home-bar {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* Feature column (Kokonut UI Glow Cards) */
.phone-features-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.glow-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glow-feature-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.20);
    transform: translateY(-3px);
    border-color: rgba(250, 250, 191, 0.25);
}

.highlight-card {
    border: 1px solid rgba(250, 250, 191, 0.22);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(250, 250, 191, 0.02) 100%);
}

.g-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold, #FAFABF);
    flex-shrink: 0;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.glow-feature-card:hover .g-card-icon {
    background: linear-gradient(145deg, rgba(250, 250, 191, 0.16) 0%, rgba(250, 250, 191, 0.04) 100%);
    border-color: rgba(250, 250, 191, 0.35);
    color: #FAFABF;
    transform: scale(1.04);
}

.highlight-card .g-card-icon {
    background: linear-gradient(145deg, rgba(250, 250, 191, 0.14) 0%, rgba(250, 250, 191, 0.04) 100%);
    border-color: rgba(250, 250, 191, 0.3);
    color: var(--color-gold, #FAFABF);
}

.g-card-icon svg {
    width: 24px;
    height: 24px;
}

[data-theme="light"] .g-card-icon {
    background: #F2F2F5;
    border: 1px solid rgba(0, 0, 0, 0.07);
    color: #1D1D1F;
}

[data-theme="light"] .glow-feature-card:hover .g-card-icon {
    background: #E8E8ED;
    border-color: rgba(0, 0, 0, 0.14);
    color: #000000;
}

[data-theme="light"] .highlight-card {
    border-color: rgba(0, 113, 227, 0.28);
    background: #FFFFFF;
}

[data-theme="light"] .highlight-card .g-card-icon {
    background: rgba(0, 113, 227, 0.08);
    border-color: rgba(0, 113, 227, 0.2);
    color: #0071E3;
}

.g-card-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.g-card-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   WOW LIVE WORKBENCH / ASSEMBLE ANIMATION (Kokonut UI & Motion.dev)
   ========================================================================== */
.builder-workbench {
    background: #1D1D1F;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 24px 70px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    color: #FFFFFF;
}

.workbench-header {
    background: #141416;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.mac-window-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mac-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.mac-dot.red { background: #FF5F56; }
.mac-dot.yellow { background: #FFBD2E; }
.mac-dot.green { background: #27C93F; }

.workbench-steps-bar {
    display: flex;
    gap: 8px;
    background: #232328;
    padding: 4px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #A1A1A6;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
}

.step-pill-btn:hover {
    color: #FFFFFF;
}

.step-pill-btn.active {
    background: #FFFFFF;
    color: #1D1D1F;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    opacity: 0.8;
}

.replay-animation-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 113, 227, 0.2);
    border: 1px solid rgba(0, 113, 227, 0.4);
    color: #64B5F6;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
}

.replay-animation-btn:hover {
    background: var(--primary-blue);
    color: #FFFFFF;
}

.replay-animation-btn svg {
    width: 14px;
    height: 14px;
}

.workbench-body-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    min-height: 480px;
}

/* Terminal Side */
.workbench-terminal-col {
    background: #111215;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.terminal-bar {
    padding: 12px 18px;
    background: #16181D;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-code);
    font-size: 11px;
}

.terminal-title {
    color: #94A3B8;
}

.live-tag {
    color: #4ADE80;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.terminal-logs-window {
    padding: 18px;
    font-family: var(--font-code);
    font-size: 12px;
    line-height: 1.7;
    color: #CBD5E1;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.log-line {
    opacity: 0;
    transform: translateY(4px);
    animation: logFade 0.25s ease forwards;
}

.log-line.cmd { color: #38BDF8; }
.log-line.success { color: #4ADE80; font-weight: 700; }
.log-line.info { color: #A855F7; }

@keyframes logFade {
    to { opacity: 1; transform: translateY(0); }
}

.speed-score-widget {
    background: #16181D;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.score-circle-wrap {
    width: 46px;
    height: 46px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.circular-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: #2A2E39;
    stroke-width: 3.5;
}

.circle-progress {
    fill: none;
    stroke: #10B981;
    stroke-width: 3.5;
    stroke-linecap: round;
    transition: stroke-dasharray 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-value {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 900;
    color: #10B981;
}

.score-meta {
    font-size: 12px;
    color: #94A3B8;
}

.score-meta strong {
    display: block;
    color: #FFFFFF;
    font-size: 13px;
    margin-bottom: 2px;
}

.score-meta b {
    color: #10B981;
}

/* Canvas Preview Side */
.workbench-preview-col {
    background: #18191E;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-browser-shell {
    width: 100%;
    max-width: 620px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    color: #1D1D1F;
}

.preview-browser-header {
    background: #E8E8EE;
    border-bottom: 1px solid #D6D6DC;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.url-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    color: #1D1D1F;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.url-badge svg {
    width: 12px;
    height: 12px;
    stroke: #10B981;
}

.status-badge {
    font-size: 11px;
    font-weight: 700;
    /* Ciemny tekst: badge leży na jasnym tle podglądu (kontrast 1.13:1 -> 8.6:1). */
    color: #0B4A8F;
    background: rgba(0, 113, 227, 0.12);
    padding: 3px 8px;
    border-radius: 6px;
}

.preview-canvas-viewport {
    padding: 20px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #FAF7F2;
    transition: background-color 0.4s ease;
}

/* Canvas Blocks Spring Transition */
.canvas-block {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.canvas-block.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.block-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #E5E5EB;
}

.c-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.c-phone-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #1D1D1F;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
}

.c-phone-pill svg {
    width: 12px;
    height: 12px;
}

.block-hero-box {
    background: #FFFFFF;
    border: 1px solid #E5E5EB;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
}

.c-tag {
    display: inline-block;
    font-size: 8.5px;
    font-weight: 800;
    /* Ciemny tekst na jasnym tle podglądu (kontrast 1.08:1 -> 9.1:1). */
    color: #0B4A8F;
    background: rgba(0, 113, 227, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.c-h1 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 6px;
}

.c-desc {
    font-size: 11px;
    color: #6E6E73;
    line-height: 1.4;
    margin-bottom: 12px;
}

.c-cta-btn {
    display: inline-block;
    /* Element leży na jasnym tle podglądu przeglądarki — wymagany ciemny tekst
       (biały dawał kontrast 1.08:1, WCAG AA wymaga 4.5:1). */
    background: #0071E3;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
}

.block-photo-banner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 110px;
}

.block-photo-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-overlay-tag {
    position: absolute;
    bottom: 6px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #FFFFFF;
    font-size: 8.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
}

.block-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.c-mini-card {
    background: #FFFFFF;
    border: 1px solid #E5E5EB;
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    font-size: 10px;
}

.c-icon {
    font-size: 14px;
    margin-bottom: 2px;
}

.c-mini-card b {
    display: block;
    font-size: 10px;
    color: #1D1D1F;
}

.c-mini-card small {
    font-size: 8px;
    color: #86868B;
}

.block-launch-celebrate {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.launch-icon {
    font-size: 20px;
}

.block-launch-celebrate strong {
    display: block;
    font-size: 12px;
}

.block-launch-celebrate small {
    font-size: 9.5px;
    opacity: 0.9;
}

/* ==========================================================================
   BENTO BENEFITS GRID
   ========================================================================== */
.benefits-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.bento-card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    padding: 34px 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
}

.bento-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-card-strong);
    transform: translateY(-4px);
}

.bento-num {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 800;
    color: #A4A4AB;
    margin-bottom: 14px;
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -0.4px;
}

.bento-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calculator-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 38px;
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .calculator-container {
    background: #181A13;
    border-color: rgba(250, 250, 191, 0.12);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .addon-row {
    background: #1F2219;
    border-color: rgba(250, 250, 191, 0.12);
}

[data-theme="dark"] .addon-row:hover {
    background: #262A1F;
    border-color: rgba(250, 250, 191, 0.2);
}

[data-theme="dark"] .addon-row.active {
    background: rgba(250, 250, 191, 0.12);
    border-color: rgba(250, 250, 191, 0.35);
}

[data-theme="dark"] .addon-check-box {
    background: #181A13;
    border-color: rgba(250, 250, 191, 0.25);
}

[data-theme="dark"] .addon-row.active .addon-check-box {
    background: var(--accent-lime);
    border-color: var(--accent-lime);
    color: #12140E;
}

[data-theme="dark"] .summary-box {
    background: #1F2219;
    border-color: rgba(250, 250, 191, 0.12);
}

[data-theme="dark"] .sum-subtitle {
    color: #FAFABF;
}

[data-theme="dark"] .pkg-badge-recommended {
    background: #FAFABF;
    color: #12140E;
}

.calc-group {
    margin-bottom: 28px;
}

.calc-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 14px;
}

.package-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.pkg-card {
    background: var(--bg-card-gray);
    border: 2px solid transparent;
    padding: 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-spring);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pkg-card:hover {
    background: #DFDFE5;
    transform: translateY(-2px);
}

.pkg-card.active {
    border-color: var(--primary-blue);
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.12);
}

.pkg-badge-recommended {
    position: absolute;
    top: -10px;
    right: 12px;
    background: var(--primary-blue);
    color: #FFFFFF;
    font-size: 8.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
}

.pkg-type-tag {
    font-size: 10px;
    color: var(--text-dim);
    font-weight: 600;
    margin-bottom: 4px;
}

.pkg-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.pkg-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
}

.pkg-price {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
}

.pkg-card.active .pkg-price {
    color: var(--primary-blue);
}

/* Addons */
.addons-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.addon-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card-gray);
    border: 1.5px solid transparent;
    padding: 12px 14px;
    min-height: 46px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 12.5px;
}

.addon-row:hover {
    background: #DFDFE5;
}

.addon-row input {
    display: none;
}

.addon-check-box {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    border: 1.5px solid #BCBCC0;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.addon-row.active {
    border-color: rgba(0, 113, 227, 0.4);
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.addon-row.active .addon-check-box {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #FFFFFF;
}

.addon-name {
    flex: 1;
    color: var(--text-main);
    font-weight: 500;
}

.addon-price-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-mono);
}

.addon-pill-free {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-emerald);
}

/* Summary Box */
.summary-box {
    background: var(--bg-card-gray);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.sum-subtitle {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.summary-head h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 2px;
}

.price-display-wrap {
    margin: 16px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.price-big {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -1.2px;
}

.price-big span {
    color: var(--primary-blue);
}

.price-big .currency {
    font-size: 19px;
    color: var(--text-muted);
    font-weight: 500;
}

.price-note {
    font-size: 12px;
    color: var(--text-dim);
}

.summary-check-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.summary-check-list b {
    color: var(--text-main);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lead-form input {
    width: 100%;
    padding: 12px 14px;
    min-height: 42px;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    transition: var(--transition-smooth);
}

.lead-form input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.form-hint {
    font-size: 11px;
    color: var(--text-dim);
    text-align: center;
    margin-top: 2px;
}

[data-theme="dark"] .lead-form input {
    background: #181A13;
    border: 1px solid rgba(250, 250, 191, 0.15);
    color: #FFFEF5;
}

[data-theme="dark"] .lead-form input:focus {
    border-color: #FAFABF;
    box-shadow: 0 0 0 3px rgba(250, 250, 191, 0.18);
}

[data-theme="dark"] .lead-form input::placeholder {
    color: rgba(250, 250, 191, 0.40);
}

[data-theme="dark"] .lead-form input::-webkit-input-placeholder {
    color: rgba(250, 250, 191, 0.40);
}

[data-theme="dark"] .lead-form input::-moz-placeholder {
    color: rgba(250, 250, 191, 0.40);
}

[data-theme="dark"] .lead-form input:-webkit-autofill,
[data-theme="dark"] .lead-form input:-webkit-autofill:hover,
[data-theme="dark"] .lead-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #FFFEF5;
    -webkit-box-shadow: 0 0 0px 1000px #181A13 inset;
    box-shadow: 0 0 0px 1000px #181A13 inset;
    transition: background-color 5000s ease-in-out 0s;
}

[data-theme="dark"] .pkg-card:hover {
    background: #262A1F;
    border-color: rgba(250, 250, 191, 0.22);
}

[data-theme="dark"] .pkg-card.active:hover {
    background: rgba(250, 250, 191, 0.12);
    border-color: var(--accent-lime);
}

[data-theme="dark"] .price-display-wrap {
    border-bottom: 1px solid rgba(250, 250, 191, 0.12);
}

[data-theme="dark"] .form-hint,
[data-theme="dark"] .price-note,
[data-theme="dark"] .pkg-type-tag {
    color: var(--text-muted);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.faq-card.active {
    border-color: var(--border-card-strong);
    box-shadow: var(--shadow-md);
}

.faq-btn {
    width: 100%;
    padding: 18px 22px;
    min-height: 46px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
}

.faq-icon {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-card.active .faq-icon {
    transform: rotate(45deg);
    stroke: var(--primary-blue);
}

.faq-content {
    padding: 0 22px 18px;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}

.faq-card.active .faq-content {
    display: block;
}

/* ==========================================================================
   FOOTER (Space Titanium)
   ========================================================================== */
.studio-footer {
    border-top: 1px solid var(--border-card);
    padding: 50px 0 36px;
    background: #E2E2E8;
}

.footer-cta-card {
    text-align: center;
    padding: 50px 36px;
    border-radius: var(--radius-xl);
    background: #1D1D1F;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    margin-bottom: 36px;
    color: #FFFFFF;
}

.footer-cta-card h2 {
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 10px;
    letter-spacing: -0.8px;
}

.footer-cta-card p {
    font-size: 15px;
    color: #A1A1A6;
    margin-bottom: 24px;
}

.footer-cta-card .btn-primary {
    background: #FFFFFF;
    color: #1D1D1F;
}

.footer-cta-card .btn-primary:hover {
    background: #E5E5EA;
    transform: translateY(-2px);
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-dim);
}

.footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.footer-croissant-icon {
    width: 28px;
    height: 28px;
    background: #1D1D1F;
    color: #FFFFFF;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.footer-croissant-icon svg {
    width: 100%;
    height: 100%;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 15px;
    letter-spacing: -0.4px;
}

/* ==========================================================================
   SEKCJA PORTFOLIO / REALIZACJE BENTO GRID (2026 CRAFT STANDARD)
   ========================================================================== */
.portfolio-section {
    padding: 100px 0 120px;
    background: var(--bg-section-alt);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.portfolio-filters-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 36px 0 44px;
}

.portfolio-filter-pill {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.portfolio-filter-pill:hover {
    color: var(--text-main);
    border-color: var(--border-card-strong);
    transform: translateY(-1px);
}

.portfolio-filter-pill.active {
    background: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.portfolio-filter-pill .filter-count {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    font-family: var(--font-mono);
}

.portfolio-filter-pill.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.portfolio-filter-pill .filter-star {
    color: #F59E0B;
}

/* Dark Mode Portfolio Filter Pills (Organic Noir Standard) */
[data-theme="dark"] .portfolio-filter-pill {
    background: #181A13;
    border: 1px solid rgba(250, 250, 191, 0.12);
    color: #A3A897;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .portfolio-filter-pill:hover {
    background: #22261A;
    border-color: rgba(250, 250, 191, 0.28);
    color: #FFFEF5;
    transform: translateY(-1px);
}

[data-theme="dark"] .portfolio-filter-pill.active {
    background: rgba(250, 250, 191, 0.14);
    border: 1px solid rgba(250, 250, 191, 0.45);
    color: #FAFABF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(250, 250, 191, 0.08);
}

[data-theme="dark"] .portfolio-filter-pill .filter-count {
    background: rgba(250, 250, 191, 0.08);
    color: #A3A897;
}

[data-theme="dark"] .portfolio-filter-pill.active .filter-count {
    background: rgba(250, 250, 191, 0.22);
    color: #FAFABF;
}

/* Bento Grid System */
.portfolio-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    min-height: 860px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
    border-color: var(--border-card-strong);
}

.portfolio-card.is-hidden {
    display: none !important;
}

/* Flagship Cards Specifics */
.flagship-card {
    grid-column: span 6;
    border: 1px solid rgba(245, 158, 11, 0.28);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(245, 158, 11, 0.12);
}

.flagship-card:hover {
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10), 0 0 24px rgba(245, 158, 11, 0.15);
}

/* Make Card 3 span all 12 columns for an impressive wide flagship visual */
.portfolio-bento-grid article:nth-child(3).flagship-card {
    grid-column: span 12;
}

/* Niche Cards Specifics */
.niche-card {
    grid-column: span 3;
    border: 1px solid var(--border-card);
}

.card-inner {
    padding: 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
}

.niche-card .card-inner {
    padding: 22px;
}

.card-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
}

.badge-flagship-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(250, 250, 191, 0.08);
    border: 1px solid rgba(250, 250, 191, 0.22);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-primary, #FAFABF);
    letter-spacing: 0.04em;
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.badge-flagship-star {
    color: #F59E0B;
}

.badge-category-tag {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.card-live-dot,
.card-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-emerald, #10B981);
    font-family: var(--font-mono);
    background: rgba(16, 185, 129, 0.08);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.live-dot-pulse,
.speed-dot,
.tab-dot,
.badge-dot {
    display: none !important;
}

.badge-niche-tag {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-niche-status {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-emerald, #10B981);
    font-family: var(--font-mono);
    letter-spacing: 0.03em;
}

/* Card Visual Frames — Bespoke High-End Browser & UI Composition */
.card-visual-container {
    margin-bottom: 22px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-card);
    background: #0D0F12;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.portfolio-card:hover .card-visual-container {
    border-color: rgba(255, 255, 255, 0.22);
}

.visual-mockup-frame {
    height: 195px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 16px;
    box-sizing: border-box;
    overflow: hidden;
}

.portfolio-bento-grid article:nth-child(3) .visual-mockup-frame {
    height: 220px;
}

/* Individual Project Visual Themes (Rich Photography with Glass Finish) */
.visual-euforia {
    background: linear-gradient(180deg, rgba(20, 10, 19, 0.70) 0%, rgba(10, 4, 10, 0.94) 100%),
                url('/assets/showcase/euforia_hero.webp') center 35%/cover no-repeat;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.visual-luma {
    background: linear-gradient(180deg, rgba(4, 20, 16, 0.70) 0%, rgba(1, 8, 6, 0.94) 100%),
                url('/assets/showcase/luma_mazury_real.webp') center/cover no-repeat;
    border-bottom: 1px solid rgba(16, 185, 129, 0.25);
}

.visual-bochen {
    background: linear-gradient(180deg, rgba(24, 14, 6, 0.70) 0%, rgba(10, 5, 2, 0.94) 100%),
                url('/assets/showcase/romanowski_bakery_real.webp') center/cover no-repeat;
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}

/* Browser Frame Chrome */
.mockup-browser-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.browser-pill {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.3px;
}

.browser-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* Mockup Canvas Core */
.mockup-canvas-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 2;
    margin: auto 0;
}

.mockup-brand-micro {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.visual-euforia .mockup-brand-micro {
    color: #D4AF37;
}

.visual-luma .mockup-brand-micro {
    color: #10B981;
}

.visual-bochen .mockup-brand-micro {
    color: #F59E0B;
}

.mockup-hero-text {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.4px;
    line-height: 1.25;
    margin: 0;
}

.mockup-feature-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.mockup-spec-chip {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Mockup Footer Spec Bar */
.mockup-footer-specs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.mockup-footer-specs span {
    white-space: nowrap;
}

.mockup-footer-specs .spec-separator {
    color: rgba(255, 255, 255, 0.2);
}

/* Card Typography */
.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 8px;
}

.card-project-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.niche-card .card-project-title {
    font-size: 17px;
    margin-bottom: 6px;
}

.card-subtitle-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.card-project-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.niche-card .card-project-desc {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}

/* Highlights List (Cheesy checklist disabled) */
.card-highlights-list {
    display: none !important;
}

/* Tech Stack Specs */
.card-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 22px;
}

.niche-card .card-tech-stack {
    margin-bottom: 16px;
}

.tech-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-mono);
    transition: var(--transition-smooth);
}

.tech-pill:hover {
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--text-main);
}

/* Card Actions */
.card-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}

.btn-demo-action {
    flex: 1;
    font-size: 13px;
    padding: 10px 16px;
}

.btn-copy-action {
    font-size: 13px;
    padding: 10px 14px;
}

.btn-icon-ext {
    width: 38px;
    height: 38px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.btn-icon-ext:hover {
    background: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Flagship Tech Breakdown Panel */
.btn-tech-toggle {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--border-card);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
}

.btn-tech-toggle:hover {
    background: #FFFFFF;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-tech-toggle.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #FFFFFF;
}

[data-theme="dark"] .flagship-card {
    border: 1px solid rgba(250, 250, 191, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(250, 250, 191, 0.08);
}

[data-theme="dark"] .flagship-card:hover {
    border-color: rgba(250, 250, 191, 0.45);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 28px rgba(250, 250, 191, 0.12);
}

[data-theme="dark"] .badge-flagship-wrap {
    background: rgba(250, 250, 191, 0.12);
    border-color: rgba(250, 250, 191, 0.28);
    color: #FAFABF;
}

[data-theme="dark"] .badge-category-tag {
    color: #E2E8F0;
}

[data-theme="dark"] .tech-pill {
    background: rgba(250, 250, 191, 0.06);
    border-color: rgba(250, 250, 191, 0.16);
    color: #FAFABF;
}

[data-theme="dark"] .btn-tech-toggle {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-card);
    color: var(--text-main);
}

[data-theme="dark"] .btn-tech-toggle:hover {
    background: rgba(250, 250, 191, 0.12);
    border-color: var(--accent-lime);
    color: var(--accent-lime);
}

.card-tech-breakdown {
    display: none;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--border-subtle);
    animation: slideDownFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-tech-breakdown.is-open {
    display: block;
}

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

.breakdown-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.breakdown-item strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 3px;
    letter-spacing: -0.2px;
}

.breakdown-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   INTERACTIVE SMARTPHONE & DESKTOP LIVE PREVIEW MODAL
   ========================================================================== */
.preview-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.preview-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 18, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.preview-modal-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    height: 90vh;
    max-height: 880px;
    background: #1D1D1F;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.96) translateY(12px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.preview-modal.active .preview-modal-dialog {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.preview-modal-header {
    background: #242426;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 16px;
    flex-wrap: wrap;
}

.preview-modal-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-croissant-icon {
    width: 34px;
    height: 34px;
    background: #2E2E32;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.preview-modal-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.preview-modal-sub {
    font-size: 12px;
    color: #A1A1AA;
    font-family: var(--font-mono);
}

/* Viewport Controls */
.preview-viewport-controls {
    display: inline-flex;
    background: #141416;
    padding: 4px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 4px;
}

.viewport-btn {
    background: transparent;
    border: none;
    color: #A1A1AA;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.viewport-btn:hover {
    color: #FFFFFF;
}

.viewport-btn.active {
    background: #3A3A3C;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.preview-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-modal-ext {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-modal-ext:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2E2E32;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-modal-close:hover {
    background: #EF4444;
    border-color: #EF4444;
}

/* Modal Body */
.preview-modal-body {
    flex: 1;
    background: #121214;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
    position: relative;
}

.preview-device-container {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Smartphone Mode (375-390px width) */
.preview-device-container.mode-mobile {
    max-width: 390px;
}

.preview-device-container.mode-mobile .device-bezel {
    width: 100%;
    height: 100%;
    max-height: 720px;
    background: #1D1D1F;
    border: 11px solid #2C2C2E;
    border-radius: 46px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.device-speaker-notch {
    height: 24px;
    background: #1D1D1F;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notch-speaker-bar {
    width: 44px;
    height: 4px;
    background: #3A3A3C;
    border-radius: 3px;
}

.notch-camera-dot {
    width: 7px;
    height: 7px;
    background: #1F2937;
    border: 1px solid #374151;
    border-radius: 50%;
}

.device-iframe-wrapper {
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
    background: #FFFFFF;
}

.device-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.device-home-indicator {
    height: 18px;
    background: #1D1D1F;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.device-home-indicator::after {
    content: '';
    width: 120px;
    height: 4px;
    background: #52525B;
    border-radius: 2px;
}

/* Desktop Mode (Full Width) */
.preview-device-container.mode-desktop {
    max-width: 100%;
}

.preview-device-container.mode-desktop .device-bezel {
    width: 100%;
    height: 100%;
    background: #1D1D1F;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.preview-device-container.mode-desktop .device-speaker-notch,
.preview-device-container.mode-desktop .device-home-indicator {
    display: none;
}

/* Zero-Frame Native Mobile Simulator (.is-mobile-user & touch screens) */
.preview-modal.is-mobile-user {
    padding: 0 !important;
}

.preview-modal.is-mobile-user .preview-modal-dialog {
    width: 100vw !important;
    height: 100dvh !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    max-height: 100vh !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.preview-modal.is-mobile-user .preview-viewport-controls {
    display: none !important;
}

.preview-modal.is-mobile-user .preview-modal-body {
    padding: 0 !important;
    background: #000000 !important;
}

.preview-modal.is-mobile-user .preview-device-container,
.preview-modal.is-mobile-user .preview-device-container.mode-mobile,
.preview-modal.is-mobile-user .preview-device-container.mode-desktop {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.preview-modal.is-mobile-user .device-bezel,
.preview-modal.is-mobile-user .preview-device-container.mode-mobile .device-bezel,
.preview-modal.is-mobile-user .preview-device-container.mode-desktop .device-bezel {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.preview-modal.is-mobile-user .device-speaker-notch,
.preview-modal.is-mobile-user .device-home-indicator,
.preview-modal.is-mobile-user .preview-device-container.mode-mobile .device-speaker-notch,
.preview-modal.is-mobile-user .preview-device-container.mode-mobile .device-home-indicator {
    display: none !important;
}

.preview-modal.is-mobile-user .device-iframe-wrapper,
.preview-modal.is-mobile-user .device-iframe-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Loading Overlay */
.device-loading-overlay {
    position: absolute;
    inset: 0;
    background: #1D1D1F;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    font-family: var(--font-mono);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 5;
}

.device-loading-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.device-loading-overlay .spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1100px) {
    .portfolio-bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .flagship-card {
        grid-column: span 6;
    }
    .portfolio-bento-grid article:nth-child(3).flagship-card {
        grid-column: span 6;
    }
    .niche-card {
        grid-column: span 3;
    }
}

@media (max-width: 990px) {
    .interactive-stage {
        grid-template-columns: 1fr;
    }
    .phone-features-col {
        grid-template-columns: 1fr;
    }
    .workbench-body-grid {
        grid-template-columns: 1fr;
    }
    .workbench-terminal-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .calculator-container {
        grid-template-columns: 1fr;
    }
    .addons-list {
        grid-template-columns: 1fr;
    }
    .studio-nav {
        display: none;
    }
    .hero-facts-row {
        flex-direction: column;
        gap: 16px;
    }
    .fact-divider {
        width: 80%;
        height: 1px;
    }
}

@media (max-width: 768px) {
    .portfolio-bento-grid {
        grid-template-columns: 1fr;
    }
    .flagship-card,
    .portfolio-bento-grid article:nth-child(3).flagship-card,
    .niche-card {
        grid-column: span 1;
    }
    /* 100% Native Edge-to-Edge Mobile Preview Modal (Zero Artificial Frames) */
    .preview-modal {
        padding: 0 !important;
    }
    .preview-modal-dialog {
        width: 100vw !important;
        height: 100dvh !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100dvh !important;
        max-height: 100vh !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: none !important;
    }
    .preview-modal-header {
        padding: 10px 14px !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }
    .preview-modal-info {
        gap: 8px !important;
        overflow: hidden;
    }
    .preview-modal-title {
        font-size: 14px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px;
    }
    .preview-modal-sub {
        display: none !important;
    }
    /* Hide viewport switcher buttons on mobile/touch screens */
    .preview-viewport-controls {
        display: none !important;
    }
    .preview-modal-body {
        padding: 0 !important;
        background: #000000 !important;
    }
    .preview-device-container,
    .preview-device-container.mode-mobile,
    .preview-device-container.mode-desktop {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .device-bezel,
    .preview-device-container.mode-mobile .device-bezel,
    .preview-device-container.mode-desktop .device-bezel {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .device-speaker-notch,
    .device-home-indicator,
    .preview-device-container.mode-mobile .device-speaker-notch,
    .preview-device-container.mode-mobile .device-home-indicator {
        display: none !important;
    }
    .device-iframe-wrapper,
    .device-iframe-wrapper iframe {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        border-radius: 0 !important;
    }
    .btn-modal-ext {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION (iOS Sheet Style)
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    gap: 5px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.mobile-menu-toggle:hover {
    border-color: var(--primary-blue);
    background: var(--bg-card-subtle);
}

.mobile-menu-toggle .toggle-bar {
    width: 18px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle.is-active .toggle-bar:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
}

.mobile-menu-toggle.is-active .toggle-bar:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}

.mobile-drawer.is-open {
    display: block !important;
}

@media (min-width: 1251px) {
    .mobile-drawer {
        display: none !important;
    }
}

.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: drawerFadeIn 0.25s ease;
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 360px);
    background: #FFFFFF;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    animation: drawerSlideLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawerSlideLeft {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes drawerFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 24px;
}

.drawer-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-card);
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.drawer-close-btn:hover {
    background: #FFFFFF;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.drawer-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.drawer-link:hover {
    background: var(--bg-card-subtle);
    color: var(--primary-blue);
    transform: translateX(4px);
}

.drawer-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.drawer-action-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

@media (max-width: 1250px) {
    .studio-nav {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: inline-flex !important;
    }
}

@media (min-width: 1251px) and (max-width: 1380px) {
    .studio-nav {
        gap: 12px !important;
    }
    .nav-link {
        font-size: 12.5px !important;
        padding: 4px 0 !important;
    }
}

@media (max-width: 768px) {
    .header-cta-desktop {
        display: none !important;
    }
    .header-actions {
        gap: 8px !important;
    }
    .header-container {
        padding: 0 16px !important;
    }
    .container {
        padding: 0 16px !important;
    }
    .hero-actions {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto 36px !important;
        gap: 12px !important;
        align-items: stretch !important;
    }
    .hero-actions .btn,
    .btn-hero {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px 20px !important;
        min-height: 52px !important;
        font-size: 14.5px !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal !important;
    }
    .value-card {
        padding: 22px 18px !important;
    }
    .calculator-container {
        padding: 24px 16px !important;
        gap: 20px !important;
    }
    .package-cards-grid {
        grid-template-columns: 1fr !important;
    }
    .summary-box {
        padding: 20px 16px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px !important;
    }
    .header-container {
        padding: 0 14px !important;
    }
    .header-actions {
        gap: 6px !important;
    }
    .brand-name {
        font-size: 15.5px !important;
    }
    .brand-r-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }
    .theme-toggle-btn,
    .mobile-menu-toggle {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    .hero-actions .btn,
    .btn-hero {
        padding: 13px 16px !important;
        font-size: 14px !important;
        min-height: 50px !important;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 0 12px !important;
    }
    .header-container {
        padding: 0 12px !important;
    }
    .studio-brand {
        gap: 8px !important;
    }
    .brand-name {
        font-size: 14.5px !important;
    }
    .brand-r-icon {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
    }
    .theme-toggle-btn,
    .mobile-menu-toggle {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }
    .hero-actions .btn,
    .btn-hero {
        padding: 12px 12px !important;
        font-size: 13.5px !important;
        min-height: 46px !important;
    }
    .calculator-container {
        padding: 18px 12px !important;
    }
    .value-card {
        padding: 18px 14px !important;
    }
}

/* ==========================================================================
   THEME TOGGLE BUTTON
   ========================================================================== */
.theme-toggle-btn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border-radius: 50% !important;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    font-size: 16px;
    position: relative;
    overflow: hidden;
    transform: none !important;
}

.theme-toggle-btn:hover {
    border-color: var(--primary-blue);
    transform: none !important;
}

.theme-icon {
    position: absolute;
    transition: var(--transition-spring);
}

.theme-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

[data-theme="dark"] .theme-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

[data-theme="dark"] .theme-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.drawer-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   NATIVE CURSOR PRESERVATION (Clean OS Pointer)
   ========================================================================== */
.custom-cursor-dot,
.custom-cursor-outline {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ==========================================================================
   SEKCJA PORÓWNANIA: CZYSTY KOD VS WORDPRESS / ELEMENTOR
   ========================================================================== */
.comparison-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
}

.compare-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.compare-card-good {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 32px rgba(0, 113, 227, 0.12);
}

.compare-card-good::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #34D399);
}

.compare-card-bad {
    opacity: 0.88;
}

.compare-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(0, 113, 227, 0.1);
    color: var(--primary-blue);
    margin-bottom: 18px;
}

.compare-badge.bad {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.compare-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.compare-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.compare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.compare-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.compare-icon.check {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
}

.compare-icon.cross {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

.compare-list strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.compare-list p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

[data-theme="dark"] .compare-card-good {
    border-color: rgba(250, 250, 191, 0.35);
    background: #171A12;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 32px rgba(250, 250, 191, 0.06);
}

[data-theme="dark"] .compare-card-good::before {
    background: linear-gradient(90deg, #FAFABF, #C0ECBF);
}

[data-theme="dark"] .compare-card-bad {
    background: rgba(22, 25, 18, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .compare-badge {
    background: rgba(250, 250, 191, 0.15);
    color: #FAFABF;
    border: 1px solid rgba(250, 250, 191, 0.25);
}

[data-theme="dark"] .compare-badge.bad {
    background: rgba(239, 68, 68, 0.12);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

[data-theme="dark"] .compare-icon.check {
    background: rgba(192, 236, 191, 0.2);
    color: #C0ECBF;
}

[data-theme="dark"] .compare-icon.cross {
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
}

@media (max-width: 820px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SEKCJA KONTAKTOWA
   ========================================================================== */
.contact-section {
    padding: 100px 0 110px;
    position: relative;
    z-index: 2;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-card);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}

.contact-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.contact-card:hover .contact-icon-wrap {
    background: var(--primary-blue);
    color: #FFFFFF;
    border-color: var(--primary-blue);
}

.contact-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.contact-val {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
    word-break: break-all;
}

.contact-hint {
    font-size: 12px;
    color: var(--text-dim);
}

@media (max-width: 960px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* GitHub Source Button */
.btn-github-action {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--border-card);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-github-action:hover {
    background: #24292E;
    border-color: #24292E;
    color: #FFFFFF;
}

[data-theme="dark"] .btn-github-action:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #000000;
}

/* ==========================================================================
   ROGAL STUDIO — SIGNATURE MOTTO & WATERMARK BADGE (2026 CRAFT STANDARD)
   ========================================================================== */
.footer-watermark-row {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.signature-motto {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
    max-width: 620px;
    line-height: 1.5;
    margin: 0;
}

.watermark-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

[data-theme="dark"] .watermark-badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: #A1A1AA;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link-subtle {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 0.78rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
    padding: 6px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-link-subtle:hover {
    color: var(--text-main);
}

/* ==========================================================================
   TASTESKILL ANTI-DARK-PATTERN COOKIE CONSENT MODULE (UOKiK & GDPR/RODO)
   - Equal visual weight for Accept All & Reject (Only Necessary)
   - Granular consent controls with accessible labels and touch targets >= 44px
   ========================================================================== */
.taste-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 440px;
    width: calc(100vw - 48px);
    z-index: 99999;
    background: rgba(255, 255, 255, 0.96);
    color: #1D1D1F;
    border: 1px solid #D4D4DC;
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-family: var(--font-body);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

[data-theme="dark"] .taste-cookie-banner {
    background: rgba(18, 18, 22, 0.94);
    color: #F4F4F8;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.cookie-icon-badge {
    font-size: 1.15rem;
    line-height: 1;
}

.cookie-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cookie-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 16px;
}

[data-theme="dark"] .cookie-desc {
    color: #A1A1AA;
}

.cookie-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Strictly equal visual weight: Both have identical size, height, and border */
.cookie-btn {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 1 1 calc(50% - 4px);
    text-align: center;
}

.cookie-btn-accept {
    background: #1D1D1F;
    color: #FFFFFF;
    border: 1px solid #1D1D1F;
}

.cookie-btn-accept:hover {
    background: #000000;
    transform: translateY(-1px);
}

[data-theme="dark"] .cookie-btn-accept {
    background: #FFFFFF;
    color: #000000;
    border: 1px solid #FFFFFF;
}

[data-theme="dark"] .cookie-btn-accept:hover {
    background: #E5E5EA;
}

.cookie-btn-reject {
    background: #F4F4F8;
    color: #1D1D1F;
    border: 1px solid #D4D4DC;
}

.cookie-btn-reject:hover {
    background: #E5E5EB;
    transform: translateY(-1px);
}

[data-theme="dark"] .cookie-btn-reject {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.14);
}

.cookie-btn-link {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 6px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.cookie-btn-link:hover {
    color: var(--text-main);
}

.cookie-prefs-drawer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-card);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

[data-theme="dark"] .cookie-prefs-drawer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.cookie-pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-main);
    min-height: 36px;
}

.cookie-pref-info {
    display: flex;
    flex-direction: column;
}

.cookie-pref-title {
    font-weight: 600;
}

.cookie-pref-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.cookie-btn-save {
    margin-top: 6px;
    width: 100%;
    background: var(--primary-blue);
    color: #FFFFFF;
    border: 1px solid var(--primary-blue);
}

.cookie-btn-save:hover {
    background: var(--primary-blue-hover);
}

/* ==========================================================================
   FULL RODO / GDPR PRIVACY POLICY MODAL
   ========================================================================== */
.privacy-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.privacy-modal-backdrop.open,
.privacy-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.privacy-modal-card {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 780px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: scale(0.96);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.privacy-modal-backdrop.open .privacy-modal-card,
.privacy-modal-backdrop.active .privacy-modal-card {
    transform: scale(1);
}

.privacy-modal-header {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card-subtle);
}

.privacy-modal-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.privacy-modal-close {
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-card);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

[data-theme="dark"] .privacy-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.privacy-modal-close:hover {
    background: var(--primary-color);
    color: #FFFFFF;
}

.privacy-modal-body {
    padding: 28px;
    overflow-y: auto;
    line-height: 1.65;
    font-size: 0.88rem;
    color: var(--text-main);
}

.privacy-modal-body h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin: 20px 0 8px;
    color: var(--text-main);
}

.privacy-modal-body h4:first-child {
    margin-top: 0;
}

.privacy-modal-body p {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.privacy-modal-body ul {
    margin: 8px 0 16px 20px;
    color: var(--text-muted);
}

.privacy-modal-body li {
    margin-bottom: 4px;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.8rem;
}

.privacy-table th,
.privacy-table td {
    padding: 10px 12px;
    text-align: left;
    border: 1px solid var(--border-card);
}

.privacy-table th {
    background: var(--bg-card-subtle);
    font-weight: 600;
}

/* === FIX: wąska spacja w Clash Display (audyt 2026-10-25) === */
/*
 * Clash Display ma spację o szerokości ~0.12em (norma to ~0.25em), przez co
 * wyrazy zlewają się wizualnie ("MenuRogalskiStudio"). Kompensujemy to
 * przez word-spacing na elementach z tym fontem.
 *
 * Zakres: elementy UI do 20px. Duże nagłówki (hero) wyglądają dobrze
 * bez korekty i pozostają nietknięte.
 */
:where(
    .drawer-title,
    .brand-name,
    .footer-brand-name,
    .pkg-title,
    .pkg-price,
    .faq-btn,
    .calc-label,
    .industry-tab-btn,
    .step-pill-btn,
    .value-card-title,
    .card-project-title,
    .preview-modal-title,
    .c-h1,
    .mockup-hero-text,
    .bento-card h3,
    .marquee-item,
    .btn,
    .btn span,
    .hero-title,
    .hero-title-sub,
    .hero-highlight,
    .section-title,
    .fact-value,
    .bio-name,
    .compare-title,
    .price-big,
    .privacy-modal-title,
    .replay-animation-btn
) {
    word-spacing: 0.11em;
}
