/* =========================================================
   CLEOPATRA PAVILLION — PERMANENT TITANIUM ATELIER THEME
   Computational Titanium & Satin Platinum Aesthetic
   Designed for Eng. Laila Abdou
   Architect: Khalid Al-Bdawy
========================================================== */

/* ---------------------------------------------------------
   1. TITANIUM THEME VARIABLES (Permanent Single Theme)
---------------------------------------------------------- */
:root {
    --bg-primary: #08090c;
    --bg-secondary: #101319;
    --bg-card: rgba(18, 22, 29, 0.75);
    --bg-card-hover: rgba(26, 32, 42, 0.9);
    
    --accent-100: #FFFFFF;
    --accent-200: #F2ECE2;
    --accent-300: #E2D9C8;
    --accent-400: #C9BDA8; /* Core Satin Platinum */
    --accent-500: #9E917A;
    --accent-600: #6B604B;
    --accent-glow: rgba(201, 189, 168, 0.22);
    --accent-glow-strong: rgba(201, 189, 168, 0.45);

    --text-primary: #FFFFFF;
    --text-secondary: #9EA7B4;
    --text-muted: #626C7A;
    
    --border-subtle: rgba(201, 189, 168, 0.2);
    --border-hover: rgba(201, 189, 168, 0.5);
    --border-glass: rgba(255, 255, 255, 0.08);

    --btn-text-color: #08090C;
    --ambient-glow-color: rgba(201, 189, 168, 0.1);
}

/* ---------------------------------------------------------
   2. GLOBAL RESET & BASE
---------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    background-color: var(--bg-primary);
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* ---------------------------------------------------------
   3. ARCHITECTURAL PRELOADER
---------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.75s;
}

.preloader.preloader-hidden {
    opacity: 0;
    transform: scale(1.02);
    visibility: hidden;
    pointer-events: none;
}

.preloader-ambient {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    animation: pulseAmbient 3s infinite alternate ease-in-out;
}

.preloader-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 440px;
    width: 90%;
    padding: 2rem 1.25rem;
}

.preloader-symbol {
    width: 86px;
    height: 86px;
    margin: 0 auto 1.5rem;
    color: var(--accent-400);
}

.preloader-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 14px var(--accent-glow));
}

.poly-anim {
    animation: rotateTriangle 6s infinite linear;
    transform-origin: 50% 50%;
}

.core-pulse {
    animation: pulseCore 2s infinite alternate ease-in-out;
    transform-origin: 50% 50%;
}

.preloader-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--accent-300);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.preloader-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 5vw, 2.3rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #FFFFFF;
    margin-bottom: 0.35rem;
}

.preloader-subtitle {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 0.04em;
}

.preloader-progress-wrap {
    width: 100%;
}

.preloader-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.preloader-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-500) 0%, var(--accent-300) 50%, var(--accent-100) 100%);
    box-shadow: 0 0 12px var(--accent-400);
    border-radius: 4px;
    transition: width 0.1s ease-out;
}

.preloader-status {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.preloader-percent {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--accent-300);
}

@keyframes rotateTriangle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseCore {
    0% { transform: scale(0.85); opacity: 0.7; }
    100% { transform: scale(1.15); opacity: 1; }
}

@keyframes pulseAmbient {
    0% { transform: scale(0.9); opacity: 0.25; }
    100% { transform: scale(1.15); opacity: 0.45; }
}

/* ---------------------------------------------------------
   4. AMBIENT ATMOSPHERE
---------------------------------------------------------- */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
}

.glow-top {
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: min(900px, 90vw);
    height: 480px;
    background: radial-gradient(circle, var(--ambient-glow-color) 0%, transparent 70%);
}

.glow-accent {
    bottom: 5%;
    right: -10%;
    width: min(600px, 70vw);
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.5;
}

.ambient-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.5;
}

/* ---------------------------------------------------------
   5. HEADER
---------------------------------------------------------- */
.site-header {
    position: relative;
    z-index: 20;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(8, 9, 12, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-monogram {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.monogram-icon {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--border-hover);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--accent-300);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 14px var(--accent-glow);
}

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

.brand-title {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-primary);
}

.brand-tag {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.header-status {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.status-label {
    font-size: 0.74rem;
    font-weight: 600;
    color: #4ade80;
}

/* ---------------------------------------------------------
   6. HERO SECTION & CLIENT DEDICATION
---------------------------------------------------------- */
.main-content {
    position: relative;
    z-index: 10;
    padding-top: 2.75rem;
    padding-bottom: 5rem;
    flex: 1;
}

.delivery-hero {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3.25rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent-300);
    margin-bottom: 1.25rem;
}

.badge-icon {
    width: 14px;
    height: 14px;
    stroke: var(--accent-400);
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.accent-gradient-text {
    background: linear-gradient(135deg, var(--accent-100) 0%, var(--accent-300) 50%, var(--accent-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Client Dedication Card */
.client-dedication {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 1.75rem 1.75rem;
    max-width: 680px;
    margin: 0 auto;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.dedication-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.dedication-label {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--accent-400);
    text-transform: uppercase;
    font-weight: 700;
}

.verification-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.74rem;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-weight: 600;
}

.v-icon {
    width: 13px;
    height: 13px;
}

.client-name {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.06em;
    margin-bottom: 0.65rem;
}

.client-note {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
}

/* ---------------------------------------------------------
   7. DUAL DOWNLOAD HUB (Cloudflare <25MB Optimized)
---------------------------------------------------------- */
.download-section {
    margin-bottom: 5rem;
}

.section-lead-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--accent-400);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.dual-download-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 1.75rem;
}

@media (min-width: 860px) {
    .dual-download-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.package-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 22px;
    padding: 2rem 1.75rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.package-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 30px var(--accent-glow);
}

.card-glow-layer {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(35px);
}

.package-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.package-icon-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-400);
}

.package-svg {
    width: 26px;
    height: 26px;
}

.package-title-meta {
    flex: 1;
}

.pkg-badge {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: var(--accent-300);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.package-name {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.package-filename {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--accent-200);
}

.package-size-badge {
    padding: 0.25rem 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-200);
    white-space: nowrap;
}

.package-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.package-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.spec-icon {
    width: 12px;
    height: 12px;
    color: var(--accent-400);
}

/* Download Action Button */
.btn-download-action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 0.95rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-200) 0%, var(--accent-400) 50%, var(--accent-500) 100%);
    color: var(--btn-text-color);
    text-decoration: none;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    cursor: pointer;
}

.btn-download-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px var(--accent-glow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-download-action:active {
    transform: translateY(1px);
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(25deg);
    animation: shineSweep 4.5s infinite;
}

@keyframes shineSweep {
    0% { left: -60%; }
    22%, 100% { left: 140%; }
}

.btn-action-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-svg {
    width: 20px;
    height: 20px;
    stroke: var(--btn-text-color);
}

/* One-Tap Download Both Convenience Bar */
.download-all-bar {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.btn-download-both {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.75rem 1.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-download-both:hover {
    background: var(--accent-glow);
    border-color: var(--accent-400);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.both-svg {
    width: 17px;
    height: 17px;
    stroke: var(--accent-400);
}

.download-helper-text {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Download Toast Notification */
.download-toast {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    font-size: 0.86rem;
    font-weight: 600;
    animation: fadeInDown 0.3s ease-out;
}

.toast-check {
    width: 18px;
    height: 18px;
}

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

/* ---------------------------------------------------------
   8. WORKFLOW SPOTLIGHT: RHINO COMMANDS
---------------------------------------------------------- */
.command-spotlight-section {
    margin-bottom: 5rem;
}

.spotlight-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 22px;
    padding: 2.25rem 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.spotlight-header {
    margin-bottom: 1.15rem;
}

.spotlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: var(--accent-400);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.tag-svg {
    width: 14px;
    height: 14px;
}

.spotlight-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.3rem, 3vw, 1.65rem);
    font-weight: 700;
    color: #FFFFFF;
}

.spotlight-text {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.75rem;
    max-width: 900px;
}

.spotlight-text code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: var(--accent-200);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.86rem;
}

.command-samples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.sample-chip {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: all 0.25s ease;
}

.sample-chip:hover {
    border-color: var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
}

.chip-cmd {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-300);
}

.chip-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ---------------------------------------------------------
   9. SHOWCASE SECTION & LIGHTBOX
---------------------------------------------------------- */
.showcase-section {
    margin-bottom: 5rem;
}

.showcase-frame {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    background: #000;
    max-height: 580px;
}

.showcase-img {
    width: 100%;
    height: 100%;
    max-height: 580px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-frame:hover .showcase-img {
    transform: scale(1.02);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 9, 12, 0.75) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.75rem;
    opacity: 0.95;
}

.btn-expand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    background: rgba(15, 19, 26, 0.85);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.btn-expand:hover {
    background: var(--accent-400);
    color: var(--btn-text-color);
    border-color: var(--accent-400);
    transform: translateY(-2px);
}

.btn-expand svg {
    width: 18px;
    height: 18px;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 10, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lightbox-dialog {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
    position: absolute;
    top: -42px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s;
}

.lightbox-close:hover {
    color: var(--accent-300);
    transform: scale(1.1);
}

.lightbox-caption {
    margin-top: 1rem;
    text-align: center;
}

.caption-title {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #FFFFFF;
}

.caption-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---------------------------------------------------------
   10. EXTRACTION GUIDE
---------------------------------------------------------- */
.guide-section {
    margin-bottom: 2rem;
}

.guide-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.guide-icon {
    width: 22px;
    height: 22px;
    color: var(--accent-400);
    flex-shrink: 0;
}

.guide-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.guide-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.guide-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-300);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
    flex-shrink: 0;
}

.guide-item h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
}

.guide-item p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.guide-item code {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    color: var(--accent-200);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
}

/* ---------------------------------------------------------
   11. FLOATING ACTION BUTTONS (Floating Corner Circles)
   Left: Portfolio | Right: WhatsApp
---------------------------------------------------------- */
.floating-fab {
    position: fixed;
    bottom: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fab-left {
    left: 2rem;
}

.fab-right {
    right: 2rem;
}

.fab-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(18, 22, 29, 0.82);
    border: 1.5px solid var(--border-subtle);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-300);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.6),
        0 0 15px var(--accent-glow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fab-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.25s ease;
}

/* WhatsApp & Portfolio Specific Styling */
.fab-portfolio-circle {
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    background: rgba(18, 22, 29, 0.88);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.6),
        0 0 18px rgba(212, 175, 55, 0.28);
    padding: 7px;
}

.fab-k-logo {
    width: 28px;
    height: auto;
    display: block;
    color: #D4AF37;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.floating-fab:hover .fab-portfolio-circle {
    border-color: #F2D080;
    background: rgba(26, 32, 44, 0.96);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.75),
        0 0 28px rgba(212, 175, 55, 0.55);
}

.floating-fab:hover .fab-k-logo {
    transform: scale(1.14);
    filter: drop-shadow(0 0 10px rgba(242, 208, 128, 0.85));
}

.fab-whatsapp-circle {
    border-color: rgba(34, 197, 94, 0.35);
    color: #4ade80;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.6),
        0 0 18px rgba(34, 197, 94, 0.2);
}

.fab-wa-icon {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

/* Hover Elevation & Glow */
.floating-fab:hover {
    transform: translateY(-4px) scale(1.06);
}

.floating-fab:hover .fab-circle {
    border-color: var(--accent-400);
    background: rgba(28, 34, 45, 0.95);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.7),
        0 0 25px var(--accent-glow-strong);
    color: #FFFFFF;
}

.floating-fab:hover .fab-whatsapp-circle {
    border-color: #22c55e;
    background: rgba(12, 30, 20, 0.95);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.floating-fab:hover .fab-icon {
    transform: scale(1.1);
}

/* Minimalist Floating Tooltip */
.fab-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    background: rgba(14, 17, 23, 0.92);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.floating-fab:hover .fab-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------------------------------
   12. FOOTER (Clean & Understated)
---------------------------------------------------------- */
.architect-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-glass);
    background: rgba(8, 9, 12, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 2.25rem 0;
    margin-top: auto;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.architect-signature {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.signature-emblem {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.footer-k-logo {
    width: 24px;
    height: auto;
    display: block;
    color: var(--accent-300);
}

.signature-details {
    display: flex;
    flex-direction: column;
}

.signature-role {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.signature-name {
    font-family: 'Cinzel', serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.06em;
}

.footer-legal {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ---------------------------------------------------------
   13. MOBILE SPECIFIC OPTIMIZATIONS
---------------------------------------------------------- */
@media (max-width: 640px) {
    /* Refined & Slender Mobile Typography */
    .site-header {
        padding: 0.75rem 0;
    }

    .brand-title {
        font-size: 0.85rem;
        letter-spacing: 0.08em;
    }

    .brand-tag {
        font-size: 0.65rem;
    }

    .monogram-icon {
        width: 32px;
        height: 32px;
        font-size: 0.78rem;
    }

    .delivery-hero {
        margin-bottom: 2.25rem;
    }

    .hero-badge {
        font-size: 0.62rem;
        letter-spacing: 0.08em;
        padding: 0.3rem 0.75rem;
        margin-bottom: 0.85rem;
    }

    /* Slender, Elegant, Non-Bulky Title */
    .hero-title {
        font-size: 1.65rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    .client-dedication {
        padding: 1.25rem 1.15rem;
        border-radius: 16px;
    }

    .client-name {
        font-size: 1.45rem;
        margin-bottom: 0.4rem;
    }

    .client-note {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .package-card {
        padding: 1.5rem 1.25rem;
    }

    .package-name {
        font-size: 1.15rem;
    }

    .btn-download-action {
        min-height: 50px;
        font-size: 0.82rem;
    }

    .spotlight-box {
        padding: 1.5rem 1.25rem;
    }

    .command-samples-grid {
        grid-template-columns: 1fr;
    }

    /* Floating buttons repositioning on mobile */
    .floating-fab {
        bottom: 1.15rem;
    }

    .fab-left {
        left: 1.15rem;
    }

    .fab-right {
        right: 1.15rem;
    }

    .fab-circle {
        width: 48px;
        height: 48px;
    }

    .fab-k-logo {
        width: 24px;
    }

    .fab-icon {
        width: 21px;
        height: 21px;
    }

    .fab-wa-icon {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 1.45rem;
        letter-spacing: 0.04em;
    }

    .client-name {
        font-size: 1.3rem;
    }
}
