/* ========== IMPORTAÇÕES ========== */
@import url('variables.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ========== RESET E ESTILOS GLOBAIS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: var(--line-height-normal);
    font-size: var(--font-size-body);
}

/* ========== TIPOGRAFIA ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-base) var(--easing-smooth);
}

a:hover {
    color: var(--accent-color);
}

/* ========== HEADER E NAVEGAÇÃO ========== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: var(--z-index-sticky);
    will-change: transform;
    transform: translateZ(0);

    /* Glassmorphism */
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: var(--glass-blur-strong) saturate(180%);
    -webkit-backdrop-filter: var(--glass-blur-strong) saturate(180%);
    border-bottom: 1px solid var(--glass-border);

    transition: all var(--transition-base) var(--easing-smooth);
}

header.scrolled {
    background: rgba(15, 15, 15, 0.95);
    box-shadow: var(--shadow-md);
    padding: 15px var(--container-padding);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-lg);
    margin: 0;
    padding: 0;
}

nav li {
    position: relative;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;

    transition: color var(--transition-fast) var(--easing-smooth);
}

/* Efeito underline animado */
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));

    transition: width var(--transition-base) var(--easing-smooth);
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    color: var(--accent-color);
}

/* ========== INDICADOR DE PROGRESSO DE SCROLL ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: calc(var(--z-index-sticky) + 1);
    transition: width 0.1s linear;
    will-change: width;
    transform: translateZ(0);
}

/* ========== SEÇÕES PARALLAX ========== */
.parallax-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    scroll-snap-align: start;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* ========== HERO SECTION ========== */
.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 860px;
    padding: var(--spacing-xl) var(--spacing-2xl);

    /* Frosted glass backdrop — garante legibilidade sobre o canvas 3D */
    background: radial-gradient(
        ellipse 110% 100% at 50% 50%,
        rgba(8, 14, 28, 0.62) 0%,
        rgba(8, 14, 28, 0.32) 55%,
        transparent 100%
    );
    border-radius: 40px;

    /* Staggered entry animation */
    animation: heroFadeIn 0.9s var(--easing-smooth) both;
}

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

/* Stagger children */
.hero-content > * {
    animation: heroFadeIn 0.7s var(--easing-smooth) both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }
.hero-content > *:nth-child(5) { animation-delay: 0.7s; }

.hero-content h1 {
    font-family: var(--font-display);
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;

    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 45%, #007bff 100%);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 24px rgba(0, 212, 255, 0.25));

    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

.hero-content .tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Decorative divider between tagline and subtitle */
.hero-content .tagline::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    margin: var(--spacing-md) auto 0;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.6;
}

.hero-content .subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(220, 230, 245, 0.85);
    margin-bottom: var(--spacing-lg);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-relaxed);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* ========== BOTÕES ========== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;

    position: relative;
    overflow: hidden;

    transition: all var(--transition-base) var(--easing-smooth);
}

/* Efeito de brilho ao hover */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);

    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-secondary {
    background: rgba(0, 123, 255, 0.08);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ========== SEÇÕES DE CONTEÚDO ========== */
.content-section {
    padding: var(--spacing-3xl) var(--container-padding);
    min-height: 100vh;
    position: relative;
    scroll-snap-align: start;
}

.content-section.dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: var(--font-size-h2);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-full);
}

.section-subtitle {
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    max-width: 700px;
    margin: var(--spacing-lg) auto 0;
}

/* ========== CONTAINER ========== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========== GRID DE PROJETOS ========== */
/* ====== PROJECTS MARQUEE (infinite horizontal scroll) ====== */
@keyframes marquee-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.projects-marquee {
    position: relative;
    overflow: hidden;
    margin-top: var(--spacing-2xl);
    /* fade edges */
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.projects-track {
    display: flex;
    gap: var(--spacing-lg);
    width: max-content;
    animation: marquee-left 40s linear infinite;
    will-change: transform;
}

.projects-marquee--reverse .projects-track {
    animation-name: marquee-right;
}

/* Pause on hover */
.projects-marquee:hover .projects-track {
    animation-play-state: paused;
}

.projects-marquee .project-card {
    width: 440px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .projects-marquee .project-card { width: 82vw; }
}

/* legacy grid kept for other possible uses */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.project-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--glass-border);

    position: relative;
    overflow: hidden;

    transition: all var(--transition-base) var(--easing-smooth);
}

/* Gradiente de fundo ao hover */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 212, 255, 0.1));
    opacity: 0;

    transition: opacity var(--transition-base) var(--easing-smooth);
}

.project-card:hover {
    transform: translateY(-10px);
    background: var(--glass-bg-hover);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
}

.project-card:hover::before {
    opacity: 1;
}

/* Conteúdo sobre o gradiente */
.project-card > * {
    position: relative;
    z-index: 1;
}

.project-card h3 {
    font-size: var(--font-size-h4);
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

.project-card p {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-md);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.tag {
    padding: 6px 12px;
    background: rgba(0, 123, 255, 0.2);
    border: 1px solid rgba(0, 123, 255, 0.4);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-small);
    color: var(--accent-color);
    font-weight: var(--font-weight-medium);
}

/* ========== TIMELINE ========== */
/* ══════════════════════════════════════════════════════════
   ROYAL PARALLAX BACKGROUND — #experience & #skills
══════════════════════════════════════════════════════════ */
#experience,
#skills {
    position: relative;
    overflow: hidden;
}

.royal-parallax {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Layers are taller than the section so parallax has room to travel */
.royal-layer {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    will-change: transform;
}

/* Crown — centred */
.royal-layer--crown {
    display: flex;
    align-items: center;
    justify-content: center;
}

.royal-crown-svg {
    width: min(90vw, 700px);
    height: auto;
    /* opacity set inline per-section via style attribute */
    mix-blend-mode: screen;
    transform: scale(var(--crown-scale, 1));
    transform-origin: center center;
}

/* Gems */
.royal-layer--gems {
    top: -10%;
    height: 120%;
}

.royal-gems-svg {
    width: 100%;
    height: 100%;
    opacity: 0.9;
    mix-blend-mode: screen;
}

/* Grid dots & rays */
.royal-layer--grid {
    top: -10%;
    height: 120%;
}

.royal-grid-svg {
    width: 100%;
    height: 100%;
    opacity: 1;
    mix-blend-mode: screen;
}

/* Radial gold glow — static overlay */
.royal-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 50%,
            rgba(212, 160, 23, 0.06) 0%,
            rgba(230, 126, 34,  0.03) 40%,
            transparent 70%),
        radial-gradient(ellipse 30% 20% at 50% 15%,
            rgba(240, 192, 64, 0.07) 0%,
            transparent 60%);
    pointer-events: none;
}

/* All content stays above the parallax layers */
#experience .container,
#skills .container {
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════════════════════
   TIMELINE
══════════════════════════════════════════════════════════ */
.timeline {
    position: relative;
    padding: var(--spacing-lg) 0;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);

    transition: all var(--transition-base) var(--easing-smooth);
}

.timeline-content:hover {
    background: var(--glass-bg-hover);
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    box-shadow: var(--shadow-glow-cyan);
}

.timeline-date {
    font-size: var(--font-size-small);
    color: var(--accent-color);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
}

.timeline-title {
    font-size: var(--font-size-h5);
    margin-bottom: var(--spacing-xs);
}

.timeline-company {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.timeline-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: var(--border-radius-full);
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--accent-color);
    vertical-align: middle;
    margin-left: 8px;
}

/* ========== SOBRE MIM ========== */
.about-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xl);
}

.about-image {
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-lg));
}

.portrait-frame {
    background: rgba(10, 8, 6, 0.7);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(232, 220, 200, 0.15);
    border-radius: var(--border-radius-xl);
    padding: 8px;
    transition: all var(--transition-base) var(--easing-smooth);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.portrait-frame:hover {
    border-color: rgba(232, 220, 200, 0.35);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(232, 220, 200, 0.06);
    transform: translateY(-4px);
}

/* ========== PORTRAIT SKETCH ANIMATION ========== */
.portrait-sketch-container {
    position: relative;
    width: 380px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    /* Subtle warm dark background — makes cream lines pop */
    background: rgba(14, 11, 8, 0.85);
}

.portrait-sketch-container canvas {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
}

.portrait-sketch-container .portrait-source-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    border: none;
    background: none;
}

.portrait-sketch-container.sketch-complete .portrait-source-img {
    opacity: 0;
}

.profile-img {
    width: 380px;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
}

.about-text {
    flex: 1;
    min-width: 0;
}

.about-text h2 {
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.about-text p {
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-relaxed);
    text-align: justify;
}

.about-text ul {
    max-width: 700px;
    margin: var(--spacing-lg) auto;
    padding-left: var(--spacing-xl);
}

.about-text ul li {
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-height-relaxed);
}

/* ========== INTEREST CARDS ========== */
.interest-heading {
    text-align: center;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    color: var(--accent-color);
}

.interest-marquee {
    overflow: hidden;
    margin-bottom: var(--spacing-2xl);
    /* fade nas bordas */
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.interest-track {
    display: flex;
    gap: var(--spacing-md);
    width: max-content;
    animation: marquee-scroll 28s linear infinite;
}

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

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.interest-card {
    flex: 0 0 260px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: transform var(--transition-base) var(--easing-smooth),
                box-shadow var(--transition-base) var(--easing-smooth),
                border-color var(--transition-base) var(--easing-smooth);
    cursor: default;
}

.interest-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.2);
}

.interest-card__visual {
    background: var(--card-gradient);
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.interest-card__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.15) 0%, transparent 60%);
}

.interest-card__visual svg {
    width: 60px;
    height: 60px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.interest-card__body {
    padding: var(--spacing-md);
}

.interest-card__body h4 {
    font-size: var(--font-size-h6);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
    line-height: var(--line-height-tight);
}

.interest-card__body p {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

@media (max-width: 560px) {
    .interest-card {
        flex: 0 0 220px;
    }

    .interest-card__visual {
        height: 110px;
    }
}

@media (max-width: 380px) {
    .interest-card { flex: 0 0 190px; }
}

/* ========== / INTEREST CARDS ========== */

/* ========== CONTACT SECTION ========== */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
    margin-top: var(--spacing-2xl);
}

/* --- Status badge --- */
.contact-status {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #4ade80;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    padding: 6px 14px;
    border-radius: var(--border-radius-full);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.03em;
}

.contact-status__dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.contact-info__desc {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-body);
}

/* --- Contact items list --- */
.contact-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    transition: background var(--transition-base) var(--easing-smooth),
                border-color var(--transition-base) var(--easing-smooth),
                transform var(--transition-base) var(--easing-smooth);
}

.contact-item:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateX(4px);
}

.contact-item__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(0, 212, 255, 0.15));
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.contact-item__icon svg {
    width: 18px;
    height: 18px;
}

.contact-item__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item__label {
    font-size: var(--font-size-tiny);
    font-weight: var(--font-weight-medium);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-item__value,
.contact-item__value a {
    font-size: var(--font-size-body);
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a.contact-item__value:hover {
    color: var(--accent-color);
}

/* --- Form --- */
.contact-form-wrap {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-xl);
    backdrop-filter: var(--glass-blur);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-field {
    position: relative;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 18px 16px 8px;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: var(--font-size-body);
    outline: none;
    transition: border-color var(--transition-base), background var(--transition-base);
    resize: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--primary-color);
    background: rgba(0, 123, 255, 0.04);
}

.form-field label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: var(--font-size-body);
    pointer-events: none;
    transition: top var(--transition-fast), font-size var(--transition-fast), color var(--transition-fast);
}

.form-field textarea ~ label {
    top: 20px;
    transform: none;
}

.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label {
    top: 8px;
    transform: none;
    font-size: var(--font-size-tiny);
    color: var(--accent-color);
    letter-spacing: 0.05em;
    font-weight: var(--font-weight-medium);
}

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    padding: 14px var(--spacing-lg);
    font-family: var(--font-main);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.contact-submit::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}

.contact-submit:hover::before {
    left: 100%;
}

.contact-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.contact-submit:active {
    transform: translateY(0);
}

.contact-submit svg {
    width: 18px;
    height: 18px;
}

.contact-submit-group {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.contact-submit-group .contact-submit {
    flex: 1;
    min-width: 160px;
}

.contact-submit--whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}
/* ========== / CONTACT SECTION ========== */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.skill-category h4 {
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-h6);
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.skill-category li::before {
    content: '▸';
    color: var(--primary-color);
    font-weight: bold;
}

/* ========== FOOTER ========== */
footer {
    background: var(--bg-secondary);
    padding: var(--spacing-2xl) var(--container-padding);
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

footer p {
    color: var(--text-secondary);
    margin: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base) var(--easing-smooth);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-blue);
}

/* ========== ANIMAÇÕES DE SCROLL ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow) var(--easing-smooth),
                transform var(--transition-slow) var(--easing-smooth);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }
.reveal:nth-child(5) { transition-delay: 0.5s; }

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 1024px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 60px;
    }

    .timeline-dot {
        left: 30px;
    }
}

@media (max-width: 1100px) {
    .portrait-sketch-container {
        width: 320px;
    }

    .profile-img {
        width: 320px;
    }
}

@media (max-width: 768px) {
    nav ul {
        gap: var(--spacing-md);
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: var(--spacing-lg) var(--spacing-md);
        border-radius: 24px;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-content .tagline {
        font-size: 0.85rem;
        letter-spacing: 0.06em;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 50px;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-lg);
    }

    .about-image {
        position: static;
    }

    .profile-img {
        width: 260px;
    }

    .portrait-sketch-container {
        width: 260px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px var(--container-padding);
    }

    nav ul {
        flex-direction: column;
        gap: var(--spacing-sm);
        display: none; /* Implementar menu hamburger depois */
    }

    .content-section {
        padding: var(--spacing-2xl) var(--container-padding);
    }

    .profile-img {
        width: 200px;
    }

    .portrait-sketch-container {
        width: 200px;
    }

    /* Hero */
    .hero-content {
        padding: var(--spacing-md) var(--spacing-sm);
        border-radius: 20px;
    }
    .hero-content h1 {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .hero-ctas .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Timeline */
    .timeline-content {
        width: calc(100% - 48px);
        margin-left: 38px;
        padding: var(--spacing-md);
    }
    .timeline::before { left: 16px; }
    .timeline-dot { left: 16px; }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    /* Certs */
    .certs-list {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-submit-group {
        flex-direction: column;
    }
    .contact-submit-group .contact-submit {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .profile-img,
    .portrait-sketch-container { width: 170px; }

    .hero-content h1 { font-size: 1.6rem; }
}

/* ========== MENU HAMBURGER (MOBILE) ========== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: calc(var(--z-index-sticky) + 2);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 10px;
    transition: all var(--transition-base) var(--easing-smooth);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: var(--glass-blur-strong);
        padding-top: 80px;
        transition: right var(--transition-base) var(--easing-smooth);
        z-index: calc(var(--z-index-sticky) + 1);
    }

    nav.active {
        right: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: var(--spacing-md);
    }

    nav li {
        width: 100%;
        border-bottom: 1px solid var(--glass-border);
    }

    nav a {
        display: block;
        padding: var(--spacing-md);
        font-size: 1.1rem;
    }

    nav a::after {
        bottom: var(--spacing-md);
    }
}

/* ========== THEME TOGGLE ========== */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: var(--z-index-sticky);
    transition: all var(--transition-base) var(--easing-smooth);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--glass-bg-hover);
    box-shadow: var(--shadow-glow-blue);
}

.theme-toggle svg {
    width: 28px;
    height: 28px;
    fill: var(--text-color);
    transition: transform var(--transition-slow) var(--easing-smooth);
}

.theme-toggle:hover svg {
    transform: rotate(180deg);
}

/* Light Mode Styles */
body.light-mode {
    --bg-color: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e8e8e8;
    --text-color: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #757575;
    --glass-bg: rgba(0, 0, 0, 0.05);
    --glass-bg-hover: rgba(0, 0, 0, 0.08);
    --glass-border: rgba(0, 0, 0, 0.1);
}

/* wds-section light mode */
body.light-mode .wds-section {
    background: linear-gradient(180deg, #f0f4f8 0%, #e8eef5 60%, #f0f4f8 100%);
}
body.light-mode .wds-section::before {
    background: radial-gradient(ellipse, rgba(0,123,255,.06) 0%, transparent 70%);
}
body.light-mode .wds-section .section-title {
    color: #0f172a;
}
body.light-mode .wds-section .wds-header__desc {
    color: #475569;
}
body.light-mode .wds-section .wds-label-name {
    color: #334155;
}
body.light-mode .wds-urlbar {
    color: #64748b;
    background: rgba(0,0,0,.06);
}
body.light-mode .wds-techstack span {
    background: rgba(0,0,0,.05);
    border-color: rgba(0,0,0,.1);
    color: #475569;
}
body.light-mode .wds-dot-nav {
    background: rgba(0,0,0,.15);
}
body.light-mode .wds-dot-nav--active {
    background: #007bff;
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode header.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

body.light-mode .project-card {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .project-card:hover {
    background: rgba(0, 0, 0, 0.06);
}

body.light-mode .timeline-content {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .portrait-frame {
    background: rgba(240, 235, 225, 0.5);
    border: 1px solid rgba(100, 80, 60, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

body.light-mode .portrait-frame:hover {
    border-color: rgba(100, 80, 60, 0.4);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.2);
}

body.light-mode .portrait-sketch-container {
    background: rgba(248, 244, 236, 0.9);
}

/* ── Hero — light mode ── */
body.light-mode .hero-content {
    background: radial-gradient(
        ellipse 110% 100% at 50% 50%,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(245, 248, 255, 0.55) 55%,
        transparent 100%
    );
    box-shadow: 0 8px 48px rgba(0, 80, 180, 0.08);
}

body.light-mode .hero-content h1 {
    background: linear-gradient(135deg, #0f172a 0%, #007bff 50%, #0ea5e9 100%);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
    animation: gradientShift 8s ease infinite;
}

body.light-mode .hero-content .tagline {
    color: #0369a1;
    opacity: 1;
}

body.light-mode .hero-content .tagline::after {
    background: linear-gradient(90deg, transparent, #0369a1, transparent);
}

body.light-mode .hero-content .subtitle {
    color: #334155;
    text-shadow: none;
}

body.light-mode .hero-badge {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.35);
    color: #15803d;
}

body.light-mode .hero-badge__dot {
    background: #15803d;
}

body.light-mode .btn-secondary {
    background: rgba(0, 123, 255, 0.06);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

body.light-mode .btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

body.light-mode .hero-scroll-hint {
    color: #475569;
    border-color: rgba(0, 60, 120, 0.2);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.light-mode .hero-scroll-hint:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

body.light-mode nav {
    background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 768px) {
    .theme-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .theme-toggle svg {
        width: 24px;
        height: 24px;
    }
}

/* ========== NAV CTA ========== */
.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    border-radius: var(--border-radius-full);
    text-decoration: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    white-space: nowrap;
    margin-left: var(--spacing-lg);
}
.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
    color: white;
}
@media (max-width: 768px) {
    .nav-cta { display: none; }
}

/* ========== HERO ENHANCEMENTS ========== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.25);
    color: #4ade80;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    padding: 6px 16px;
    border-radius: var(--border-radius-full);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.03em;
}
.hero-badge__dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-green 2s ease-in-out infinite;
}
.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    transition: color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
    animation: bounce-hint 2.5s ease-in-out infinite;
}
.hero-scroll-hint svg { width: 18px; height: 18px; }
.hero-scroll-hint:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateX(-50%) translateY(2px);
}
@keyframes bounce-hint {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: var(--bg-secondary);
    padding: var(--spacing-2xl) var(--container-padding);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: var(--spacing-lg);
    position: relative;
}
.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--glass-border);
}
.stat-item:last-child::after { display: none; }
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: var(--font-weight-extrabold);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.stat-plus {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-left: -4px;
    align-self: flex-start;
    margin-top: 6px;
}
.stat-label {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
@media (max-width: 600px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
}

/* ========== ABOUT TEXT ========== */
.about-intro {
    font-size: 1.2rem !important;
    color: var(--text-color) !important;
    text-align: left !important;
    margin-bottom: var(--spacing-lg) !important;
    line-height: var(--line-height-relaxed) !important;
}
.about-text p {
    text-align: left !important;
}

/* ========== PROJECT BADGES ========== */
.project-badge {
    display: inline-block;
    font-size: var(--font-size-tiny);
    font-weight: var(--font-weight-semibold);
    padding: 3px 10px;
    border-radius: var(--border-radius-full);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.project-badge--geo    { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.project-badge--hydro  { background: rgba(0, 212, 255, 0.12);  color: #22d3ee; border: 1px solid rgba(0, 212, 255, 0.3); }
.project-badge--research{ background: rgba(139, 92, 246, 0.15); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.3); }
.project-badge--infra  { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.project-badge--bim    { background: rgba(14, 165, 233, 0.15); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.3); }
.project-badge--saas   { background: rgba(74, 222, 128, 0.15); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }
.project-badge--ml     { background: rgba(99, 102, 241, 0.15); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.3); }
.project-badge--auto   { background: rgba(249, 115, 22, 0.15); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.3); }

/* Card image */
.project-card__img {
    margin: calc(-1 * var(--spacing-lg)) calc(-1 * var(--spacing-lg)) var(--spacing-md);
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
    overflow: hidden;
    height: 260px;
}

.project-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.4s var(--easing-smooth);
}

.project-card__img canvas {
    /* override Three.js inline style */
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.project-card:hover .project-card__img img {
    transform: scale(1.06);
}

.project-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--glass-border);
}
.project-card__type {
    font-size: var(--font-size-tiny);
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.project-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    color: var(--accent-color);
    text-decoration: none;
    transition: gap var(--transition-fast), color var(--transition-fast);
}
.project-card__link:hover {
    color: white;
    gap: 8px;
}
.project-card__link svg { width: 14px; height: 14px; }

/* ========== SKILL PILLS ========== */
.skill-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-lg);
    transition: border-color var(--transition-base), background var(--transition-base);
}
.skill-category:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(0, 123, 255, 0.2);
}
.skill-category h4 {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-color);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--spacing-md);
}
.skill-category h4 svg {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
    flex-shrink: 0;
}
.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    padding: 5px 12px;
    border-radius: var(--border-radius-full);
    border: 1px solid;
}
.skill-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.skill-pill--expert {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    color: #22d3ee;
}
.skill-pill--expert::before { background: #22d3ee; }
.skill-pill--mid {
    background: rgba(0, 123, 255, 0.08);
    border-color: rgba(0, 123, 255, 0.3);
    color: #60a5fa;
}
.skill-pill--mid::before { background: #60a5fa; }
.skill-pill--entry {
    background: rgba(107, 114, 128, 0.1);
    border-color: rgba(107, 114, 128, 0.25);
    color: var(--text-secondary);
}
.skill-pill--entry::before { background: var(--text-muted); }

.skills-legend {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-small);
    color: var(--text-secondary);
}
.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.legend-dot--expert { background: #22d3ee; }
.legend-dot--mid    { background: #60a5fa; }
.legend-dot--entry  { background: var(--text-muted); }

/* ========== CERTIFICATIONS COMPACT ========== */
.certs-section { margin-top: var(--spacing-2xl); }
.certs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 12px;
    margin-top: var(--spacing-xl);
}
.cert-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.cert-item:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(3px);
}
.cert-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--accent-color);
}
.cert-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.cert-name {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cert-meta {
    font-size: var(--font-size-tiny);
    color: var(--text-muted);
}

/* ========== PREFERÊNCIAS DE ACESSIBILIDADE ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ============================================================
   WEB DEV SHOWCASE SECTION
   ============================================================ */

.wds-section {
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    background: linear-gradient(180deg, #060b14 0%, #0a0f1e 60%, #060b14 100%);
    position: relative;
    overflow: hidden;
}
.wds-section::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0,123,255,.08) 0%, transparent 70%);
    pointer-events: none;
}

.wds-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: 0 var(--spacing-lg);
}
.wds-header__pill {
    display: inline-block;
    background: rgba(0,123,255,.15);
    border: 1px solid rgba(0,123,255,.35);
    color: #00d4ff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 99px;
    margin-bottom: var(--spacing-sm);
}
.wds-header__desc {
    color: rgba(255,255,255,.55);
    font-size: var(--font-size-body);
    max-width: 600px;
    margin: .6rem auto 0;
}

/* wrap & label */
.wds-wrap { max-width: 1140px; margin: 0 auto; padding: 0 var(--spacing-lg); }
.wds-label-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: var(--spacing-sm);
}
.wds-label-type {
    background: rgba(0,212,255,.12);
    border: 1px solid rgba(0,212,255,.3);
    color: #00d4ff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 99px;
}
.wds-label-name {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    font-weight: 500;
}

/* browser frame */
.wds-slide { display: none; }
.wds-slide--active { display: block; animation: wdsFadeIn .5s ease; }
@keyframes wdsFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wds-browser {
    border-radius: 10px 10px 8px 8px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.07);
}
.wds-chrome {
    background: #1e2229;
    height: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.wds-dots { display: flex; gap: 6px; }
.wds-dots span { width: 11px; height: 11px; border-radius: 50%; }
.wds-dot-r { background: #ff5f57; }
.wds-dot-y { background: #febc2e; }
.wds-dot-g { background: #28c840; }
.wds-urlbar {
    flex: 1;
    max-width: 320px;
    margin: 0 auto;
    background: rgba(255,255,255,.06);
    border-radius: 5px;
    height: 22px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: rgba(255,255,255,.4);
    font-size: .72rem;
    font-family: var(--font-mono, monospace);
}
.wds-viewport { height: 480px; overflow: hidden; position: relative; }

/* dots nav */
.wds-dots-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--spacing-md);
}
.wds-dot-nav {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.2);
    cursor: pointer;
    transition: background .3s, width .3s;
    padding: 0;
}
.wds-dot-nav--active {
    background: #00d4ff;
    width: 24px;
    border-radius: 4px;
}

/* tech stack tags */
.wds-techstack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-top: var(--spacing-lg);
    padding: 0 var(--spacing-lg);
}
.wds-techstack span {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.55);
    font-size: .75rem;
    padding: 4px 12px;
    border-radius: 99px;
}

/* ── MOCKUP 1 — Tech Landing ─────────────────────────────── */
.wds-m1 { background: linear-gradient(135deg, #040810 0%, #0a0f1e 50%, #050c1a 100%); }
.wds-m1-nav {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,.05);
}
.wds-m1-logo { width: 80px; height: 10px; background: linear-gradient(90deg,#007bff,#00d4ff); border-radius: 3px; }
.wds-m1-navlinks { display: flex; gap: 16px; margin-left: auto; }
.wds-m1-navlinks span { width: 36px; height: 7px; background: rgba(255,255,255,.2); border-radius: 2px; }
.wds-m1-navbtn { width: 60px; height: 22px; background: linear-gradient(90deg,#007bff,#00d4ff); border-radius: 4px; margin-left: 8px; }
.wds-m1-content { display: flex; padding: 28px 24px 16px; gap: 20px; height: calc(100% - 48px); }
.wds-m1-left { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.wds-m1-badge { display: flex; align-items: center; gap: 6px; }
.wds-m1-badge span { width: 6px; height: 6px; border-radius: 50%; background: #00d4ff; animation: wdsPulse 1.5s ease-in-out infinite; }
.wds-m1-badge em { width: 100px; height: 7px; background: rgba(0,212,255,.25); border-radius: 2px; }
.wds-m1-h1 { height: 18px; background: linear-gradient(90deg, rgba(255,255,255,.85), rgba(255,255,255,.6)); border-radius: 3px; width: 85%; }
.wds-m1-h1--lg { height: 22px; width: 95%; background: linear-gradient(90deg,#fff,rgba(255,255,255,.8)); }
.wds-m1-h1--cyan { height: 18px; width: 70%; background: linear-gradient(90deg,#007bff,#00d4ff); }
.wds-m1-sub { width: 90%; height: 8px; background: rgba(255,255,255,.22); border-radius: 2px; }
.wds-m1-sub--short { width: 70%; }
.wds-m1-btns { display: flex; gap: 10px; margin-top: 4px; }
.wds-m1-btn { height: 28px; border-radius: 5px; }
.wds-m1-btn--pri { width: 100px; background: linear-gradient(90deg,#007bff,#00d4ff); }
.wds-m1-btn--out { width: 80px; border: 1.5px solid rgba(0,212,255,.5); background: transparent; }
.wds-m1-stats { display: flex; gap: 14px; margin-top: auto; }
.wds-m1-stat { flex: 1; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 6px; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.wds-m1-stat em { width: 40px; height: 11px; background: linear-gradient(90deg,#007bff,#00d4ff); border-radius: 2px; }
.wds-m1-stat span { width: 55px; height: 7px; background: rgba(255,255,255,.2); border-radius: 2px; }
.wds-m1-right { width: 45%; position: relative; }
.wds-m1-orb {
    width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #007bff 0%, #00d4ff 35%, rgba(0,123,255,.3) 60%, transparent 75%);
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    animation: wdsFloat 4s ease-in-out infinite;
    filter: blur(1px);
}
.wds-m1-card {
    position: absolute; border-radius: 8px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(6px);
}
.wds-m1-card--a { width: 110px; height: 55px; bottom: 60px; left: 0; }
.wds-m1-card--b { width: 90px; height: 45px; top: 30px; right: 0; }

@keyframes wdsPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
@keyframes wdsFloat { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-12px)} }

/* ── MOCKUP 2 — Analytics Dashboard ─────────────────────── */
.wds-m2 { background: #0f1219; display: flex; }
.wds-m2-sidebar {
    width: 15%; background: #13181f;
    border-right: 1px solid rgba(255,255,255,.06);
    padding: 14px 10px; display: flex; flex-direction: column; gap: 8px;
}
.wds-m2-slogo { width: 70%; height: 9px; background: linear-gradient(90deg,#007bff,#00d4ff); border-radius: 2px; margin-bottom: 10px; }
.wds-m2-sitem { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 5px; }
.wds-m2-sitem span { width: 8px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.2); flex-shrink: 0; }
.wds-m2-sitem em { flex: 1; height: 6px; background: rgba(255,255,255,.15); border-radius: 2px; }
.wds-m2-sitem--on { background: rgba(0,123,255,.15); }
.wds-m2-sitem--on span { background: #007bff; }
.wds-m2-sitem--on em { background: rgba(0,212,255,.5); }
.wds-m2-main { flex: 1; overflow: hidden; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.wds-m2-topbar { display: flex; align-items: center; gap: 10px; }
.wds-m2-title { flex: 1; height: 10px; background: rgba(255,255,255,.25); border-radius: 2px; max-width: 140px; }
.wds-m2-search { flex: 1; height: 22px; background: rgba(255,255,255,.06); border-radius: 4px; border: 1px solid rgba(255,255,255,.08); max-width: 180px; }
.wds-m2-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,#007bff,#00d4ff); margin-left: auto; }
.wds-m2-kpis { display: flex; gap: 8px; }
.wds-m2-kpi { flex: 1; border-radius: 7px; padding: 8px 10px; display: flex; flex-direction: column; gap: 5px; border: 1px solid transparent; }
.wds-m2-kpi em { width: 60%; height: 6px; background: rgba(255,255,255,.2); border-radius: 2px; }
.wds-m2-kpi span { width: 50%; height: 12px; border-radius: 2px; }
.wds-m2-kpi i { width: 40%; height: 6px; border-radius: 2px; }
.wds-m2-kpi--b { background:rgba(0,123,255,.1); border-color:rgba(0,123,255,.2); }
.wds-m2-kpi--b span { background:rgba(0,123,255,.7); } .wds-m2-kpi--b i { background:rgba(0,212,255,.3); }
.wds-m2-kpi--g { background:rgba(16,185,129,.1); border-color:rgba(16,185,129,.2); }
.wds-m2-kpi--g span { background:rgba(16,185,129,.7); } .wds-m2-kpi--g i { background:rgba(16,185,129,.3); }
.wds-m2-kpi--p { background:rgba(139,92,246,.1); border-color:rgba(139,92,246,.2); }
.wds-m2-kpi--p span { background:rgba(139,92,246,.7); } .wds-m2-kpi--p i { background:rgba(139,92,246,.3); }
.wds-m2-kpi--o { background:rgba(245,158,11,.1); border-color:rgba(245,158,11,.2); }
.wds-m2-kpi--o span { background:rgba(245,158,11,.7); } .wds-m2-kpi--o i { background:rgba(245,158,11,.3); }
.wds-m2-charts { display: flex; gap: 10px; flex: 1; min-height: 0; }
.wds-m2-chart-bar, .wds-m2-chart-line { flex: 1; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 7px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.wds-m2-bar-header { height: 7px; width: 60%; background: rgba(255,255,255,.2); border-radius: 2px; }
.wds-m2-bars { display: flex; align-items: flex-end; gap: 5px; flex: 1; padding-top: 4px; }
.wds-m2-bar { flex: 1; height: var(--h); background: linear-gradient(0deg,#007bff,#00d4ff); border-radius: 3px 3px 0 0; opacity: .8; }
.wds-m2-bar--hi { background: linear-gradient(0deg,#00d4ff,#7de8ff); opacity: 1; }
.wds-m2-svg { flex: 1; display: block; }
.wds-m2-table { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 7px; overflow: hidden; }
.wds-m2-th { background: rgba(255,255,255,.05); height: 22px; }
.wds-m2-tr { height: 20px; border-top: 1px solid rgba(255,255,255,.04); }

/* ── MOCKUP 3 — SaaS (light) ─────────────────────────────── */
.wds-m3 { background: #f8fafc; display: flex; flex-direction: column; }
.wds-m3-nav {
    display: flex; align-items: center; gap: 16px;
    padding: 12px 24px; background: #fff;
    border-bottom: 1px solid #e8ecf0;
}
.wds-m3-logo { width: 90px; height: 10px; background: linear-gradient(90deg,#7c3aed,#a78bfa); border-radius: 3px; }
.wds-m3-links { display: flex; gap: 16px; margin: 0 auto; }
.wds-m3-links span { width: 40px; height: 7px; background: #cbd5e1; border-radius: 2px; }
.wds-m3-btns { display: flex; gap: 8px; }
.wds-m3-signin { width: 55px; height: 24px; background: transparent; border: 1.5px solid #cbd5e1; border-radius: 4px; }
.wds-m3-cta { width: 70px; height: 24px; background: linear-gradient(90deg,#7c3aed,#a78bfa); border-radius: 4px; }
.wds-m3-hero { padding: 30px 40px 20px; display: flex; flex-direction: column; gap: 10px; }
.wds-m3-pill { width: 100px; height: 16px; background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.25); border-radius: 99px; }
.wds-m3-h1 { height: 20px; background: linear-gradient(90deg,#1e293b,#334155); border-radius: 3px; width: 80%; }
.wds-m3-h1--mid { width: 60%; }
.wds-m3-sub { height: 8px; background: #94a3b8; border-radius: 2px; width: 75%; }
.wds-m3-sub--short { width: 55%; }
.wds-m3-cta-row { display: flex; gap: 10px; margin-top: 4px; }
.wds-m3-btn-pri { width: 110px; height: 30px; background: linear-gradient(90deg,#7c3aed,#a78bfa); border-radius: 5px; }
.wds-m3-btn-sec { width: 90px; height: 30px; border: 1.5px solid #7c3aed; border-radius: 5px; }
.wds-m3-trusted { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.wds-m3-trusted span { width: 55px; height: 7px; background: #94a3b8; border-radius: 2px; }
.wds-m3-trusted em { width: 30px; height: 7px; background: #cbd5e1; border-radius: 2px; }
.wds-m3-features { display: flex; gap: 14px; margin: 0 24px; padding: 16px 0; border-top: 1px solid #e8ecf0; }
.wds-m3-feat { flex: 1; background: #fff; border: 1px solid #e8ecf0; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.wds-m3-feat-icon { width: 28px; height: 28px; border-radius: 6px; }
.wds-m3-feat-icon--a { background: linear-gradient(135deg,#7c3aed,#a78bfa); }
.wds-m3-feat-icon--b { background: linear-gradient(135deg,#0ea5e9,#38bdf8); }
.wds-m3-feat-icon--c { background: linear-gradient(135deg,#10b981,#34d399); }
.wds-m3-feat-title { height: 9px; background: #1e293b; border-radius: 2px; width: 70%; }
.wds-m3-feat-desc { height: 7px; background: #94a3b8; border-radius: 2px; }
.wds-m3-feat-desc--sh { width: 75%; }

/* ── MOCKUP 4 — Real Estate ──────────────────────────────── */
.wds-m4 { background: #fff; display: flex; flex-direction: column; }
.wds-m4-nav {
    display: flex; align-items: center; gap: 14px;
    padding: 10px 20px; background: #fff; border-bottom: 1px solid #e8ecf0;
}
.wds-m4-logo { width: 90px; height: 10px; background: linear-gradient(90deg,#16a34a,#4ade80); border-radius: 3px; }
.wds-m4-links { display: flex; gap: 14px; margin: 0 auto; }
.wds-m4-links span { width: 38px; height: 7px; background: #cbd5e1; border-radius: 2px; }
.wds-m4-cta { width: 65px; height: 24px; background: linear-gradient(90deg,#16a34a,#4ade80); border-radius: 4px; }
.wds-m4-search-hero {
    background: linear-gradient(135deg,#052e16,#14532d);
    padding: 18px 20px 16px;
    display: flex; flex-direction: column; gap: 8px;
}
.wds-m4-sh-title { width: 55%; height: 14px; background: rgba(255,255,255,.85); border-radius: 2px; }
.wds-m4-sh-sub { width: 40%; height: 8px; background: rgba(255,255,255,.4); border-radius: 2px; }
.wds-m4-searchbar { display: flex; gap: 6px; background: #fff; border-radius: 6px; padding: 6px; margin-top: 4px; }
.wds-m4-sb-field { flex: 1; height: 20px; background: #f1f5f9; border-radius: 4px; }
.wds-m4-sb-btn { width: 60px; height: 20px; background: linear-gradient(90deg,#16a34a,#4ade80); border-radius: 4px; }
.wds-m4-body { display: flex; gap: 0; flex: 1; overflow: hidden; }
.wds-m4-cards { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px; overflow: hidden; }
.wds-m4-card { background: #fff; border: 1px solid #e8ecf0; border-radius: 8px; overflow: hidden; display: flex; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.wds-m4-card-img { width: 110px; height: 72px; flex-shrink: 0; }
.wds-m4-card-img--a { background: linear-gradient(135deg,#bfdbfe,#93c5fd); }
.wds-m4-card-img--b { background: linear-gradient(135deg,#bbf7d0,#86efac); }
.wds-m4-card-img--c { background: linear-gradient(135deg,#fde68a,#fcd34d); }
.wds-m4-card-body { padding: 8px 10px; display: flex; flex-direction: column; gap: 5px; }
.wds-m4-price { width: 70px; height: 10px; background: #16a34a; border-radius: 2px; }
.wds-m4-addr { width: 110px; height: 7px; background: #94a3b8; border-radius: 2px; }
.wds-m4-specs { display: flex; gap: 6px; }
.wds-m4-specs span { width: 30px; height: 7px; background: #e2e8f0; border-radius: 2px; }
.wds-m4-map {
    width: 38%;
    background: linear-gradient(135deg,#bfdbfe 0%,#dbeafe 40%,#bbf7d0 70%,#d1fae5 100%);
    position: relative;
    border-left: 1px solid #e8ecf0;
    flex-shrink: 0;
}
.wds-m4-map-pin {
    position: absolute; width: 12px; height: 12px; border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.wds-m4-map-pin--a { background: #dc2626; top: 30%; left: 40%; }
.wds-m4-map-pin--b { background: #16a34a; top: 55%; left: 65%; }
.wds-m4-map-pin--c { background: #2563eb; top: 20%; left: 25%; }

/* ── MOCKUP 5 — Finance Dashboard ────────────────────────── */
.wds-m5 { background: #080c12; display: flex; }
.wds-m5-sidebar {
    width: 14%; background: #0d1219;
    border-right: 1px solid rgba(255,255,255,.05);
    padding: 14px 8px; display: flex; flex-direction: column; gap: 8px;
}
.wds-m5-slogo { width: 70%; height: 9px; background: linear-gradient(90deg,#00b37e,#34d399); border-radius: 2px; margin-bottom: 10px; }
.wds-m5-sitem { display: flex; align-items: center; gap: 5px; padding: 6px 7px; border-radius: 4px; }
.wds-m5-sitem span { width: 8px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.18); flex-shrink: 0; }
.wds-m5-sitem em { flex: 1; height: 6px; background: rgba(255,255,255,.12); border-radius: 2px; }
.wds-m5-sitem--on { background: rgba(0,179,126,.12); }
.wds-m5-sitem--on span { background: #00b37e; }
.wds-m5-sitem--on em { background: rgba(52,211,153,.45); }
.wds-m5-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg,#00b37e,#34d399); margin-top: auto; }
.wds-m5-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.wds-m5-header { display: flex; flex-direction: column; gap: 6px; }
.wds-m5-balance-label { width: 100px; height: 7px; background: rgba(255,255,255,.2); border-radius: 2px; }
.wds-m5-balance-num { width: 180px; height: 22px; background: linear-gradient(90deg,rgba(255,255,255,.85),rgba(255,255,255,.6)); border-radius: 3px; }
.wds-m5-change { width: 70px; height: 8px; border-radius: 2px; }
.wds-m5-change--up { background: linear-gradient(90deg,#00b37e,#34d399); }
.wds-m5-chart { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 8px; padding: 10px; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.wds-m5-svg { flex: 1; display: block; min-height: 0; }
.wds-m5-chart-labels { display: flex; justify-content: space-between; margin-top: 4px; }
.wds-m5-chart-labels span { width: 24px; height: 6px; background: rgba(255,255,255,.15); border-radius: 2px; }
.wds-m5-bottom { display: flex; gap: 10px; }
.wds-m5-assets { flex: 1; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.wds-m5-asset-header { height: 7px; width: 80px; background: rgba(255,255,255,.2); border-radius: 2px; }
.wds-m5-asset { display: flex; align-items: center; gap: 6px; }
.wds-m5-asset span { width: 28px; height: 7px; background: rgba(255,255,255,.18); border-radius: 2px; flex-shrink: 0; }
.wds-m5-abar { flex: 1; height: 6px; background: rgba(255,255,255,.06); border-radius: 3px; overflow: hidden; }
.wds-m5-abar-fill { height: 100%; border-radius: 3px; }
.wds-m5-abar-fill--g { background: linear-gradient(90deg,#00b37e,#34d399); }
.wds-m5-abar-fill--b { background: linear-gradient(90deg,#3b82f6,#60a5fa); }
.wds-m5-abar-fill--y { background: linear-gradient(90deg,#f59e0b,#fcd34d); }
.wds-m5-asset em { width: 28px; height: 7px; background: rgba(255,255,255,.18); border-radius: 2px; flex-shrink: 0; }
.wds-m5-donut { width: 110px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.wds-m5-donut-ring {
    width: 60px; height: 60px; border-radius: 50%;
    background: conic-gradient(#00b37e 0% 68%, #3b82f6 68% 90%, #f59e0b 90% 100%);
    mask: radial-gradient(circle, transparent 38%, black 38%);
    -webkit-mask: radial-gradient(circle, transparent 38%, black 38%);
}
.wds-m5-donut-legend { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.wds-m5-dleg { display: flex; align-items: center; gap: 5px; }
.wds-m5-dleg-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.wds-m5-dleg-dot--g { background: #00b37e; }
.wds-m5-dleg-dot--b { background: #3b82f6; }
.wds-m5-dleg-dot--y { background: #f59e0b; }
.wds-m5-dleg em { flex: 1; height: 6px; background: rgba(255,255,255,.15); border-radius: 2px; }

/* ── MOCKUP 6 — GIS Dashboard ────────────────────────────── */
.wds-m6 { background: #050d1a; display: flex; flex-direction: column; }
.wds-m6-topbar {
    display: flex; align-items: center; gap: 12px;
    background: #0a1628; border-bottom: 1px solid rgba(0,212,255,.1);
    padding: 10px 16px; flex-shrink: 0;
}
.wds-m6-logo { width: 80px; height: 9px; background: linear-gradient(90deg,#007bff,#00d4ff); border-radius: 2px; }
.wds-m6-tabs { display: flex; gap: 4px; margin: 0 auto; }
.wds-m6-tab { width: 55px; height: 22px; border-radius: 4px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.wds-m6-tab--on { background: rgba(0,212,255,.15); border-color: rgba(0,212,255,.3); }
.wds-m6-controls { display: flex; gap: 6px; }
.wds-m6-controls span { width: 26px; height: 22px; border-radius: 4px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.wds-m6-body { display: flex; flex: 1; overflow: hidden; }
.wds-m6-map { flex: 1; position: relative; overflow: hidden; }
.wds-m6-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.wds-m6-scale {
    position: absolute; bottom: 10px; left: 14px;
    width: 60px; height: 3px; background: rgba(0,212,255,.5);
    border-left: 2px solid rgba(0,212,255,.7);
    border-right: 2px solid rgba(0,212,255,.7);
}
.wds-m6-zoom {
    position: absolute; top: 10px; left: 14px;
    display: flex; flex-direction: column;
    background: rgba(10,22,40,.8); border: 1px solid rgba(0,212,255,.2); border-radius: 4px;
    overflow: hidden;
}
.wds-m6-zoom span { display: block; width: 22px; line-height: 22px; text-align: center; color: rgba(0,212,255,.7); font-size: .75rem; border-bottom: 1px solid rgba(0,212,255,.15); }
.wds-m6-zoom span:last-child { border-bottom: none; }
.wds-m6-panel {
    width: 26%; background: #0a1628; border-left: 1px solid rgba(0,212,255,.1);
    padding: 14px 12px; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
}
.wds-m6-panel-title { height: 9px; width: 80px; background: rgba(0,212,255,.5); border-radius: 2px; }
.wds-m6-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wds-m6-kpi { background: rgba(0,212,255,.06); border: 1px solid rgba(0,212,255,.12); border-radius: 6px; padding: 7px 8px; display: flex; flex-direction: column; gap: 4px; }
.wds-m6-kpi em { width: 70%; height: 6px; background: rgba(255,255,255,.15); border-radius: 2px; }
.wds-m6-kpi span { width: 50%; height: 10px; background: rgba(0,212,255,.6); border-radius: 2px; }
.wds-m6-layers { display: flex; flex-direction: column; gap: 6px; }
.wds-m6-layer-title { height: 7px; width: 55px; background: rgba(255,255,255,.2); border-radius: 2px; }
.wds-m6-layer { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.wds-m6-layer-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.wds-m6-layer-dot--b { background: #00d4ff; }
.wds-m6-layer-dot--y { background: #f59e0b; }
.wds-m6-layer-dot--g { background: #10b981; }
.wds-m6-layer-dot--r { background: #ef4444; }
.wds-m6-layer em { flex: 1; height: 6px; background: rgba(255,255,255,.15); border-radius: 2px; }
.wds-m6-toggle { width: 24px; height: 12px; border-radius: 6px; background: rgba(255,255,255,.1); flex-shrink: 0; }
.wds-m6-toggle--on { background: #007bff; }
.wds-m6-chart-mini { display: flex; flex-direction: column; gap: 6px; }
.wds-m6-chart-title { height: 7px; width: 80px; background: rgba(255,255,255,.18); border-radius: 2px; }
.wds-m6-mini-svg { display: block; width: 100%; height: 60px; background: rgba(0,212,255,.04); border-radius: 4px; }

/* responsive */
@media (max-width: 768px) {
    .wds-viewport { height: 300px; }
    .wds-m2-sidebar, .wds-m5-sidebar { display: none; }
    .wds-m4-map { display: none; }
    .wds-m6-panel { width: 40%; }
}

@media (max-width: 480px) {
    .wds-viewport { height: 240px; }
    .wds-section .section-title { font-size: clamp(1.4rem, 7vw, 2rem); }
    .wds-dots { gap: 6px; }
    .wds-dot { width: 6px; height: 6px; }
    .wds-label-name { font-size: .75rem; }
}

/* ── MOCKUP 7 — BIM Project Management ──────────────────── */
.wds-m7 { background:#0d1b2a; display:flex; flex-direction:column; }
.wds-m7-topbar { display:flex; align-items:center; gap:12px; padding:10px 16px; background:#0a1628; border-bottom:1px solid rgba(0,212,255,.1); flex-shrink:0; }
.wds-m7-logo { width:80px; height:9px; background:linear-gradient(90deg,#007bff,#00d4ff); border-radius:2px; }
.wds-m7-phases { display:flex; gap:4px; margin:0 auto; }
.wds-m7-phase { font-size:.6rem; padding:3px 8px; border-radius:99px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.35); }
.wds-m7-phase--done { background:rgba(16,185,129,.12); border-color:rgba(16,185,129,.3); color:#10b981; }
.wds-m7-phase--active { background:rgba(0,212,255,.15); border-color:rgba(0,212,255,.4); color:#00d4ff; font-weight:700; }
.wds-m7-user { width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg,#007bff,#00d4ff); }
.wds-m7-body { display:flex; flex:1; overflow:hidden; gap:0; }
.wds-m7-projects { width:22%; background:#0a1422; border-right:1px solid rgba(255,255,255,.06); padding:10px 8px; display:flex; flex-direction:column; gap:8px; overflow:hidden; }
.wds-m7-phead { height:8px; width:70%; background:rgba(255,255,255,.2); border-radius:2px; margin-bottom:4px; }
.wds-m7-proj { padding:8px 8px; border-radius:6px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.05); display:flex; flex-direction:column; gap:5px; }
.wds-m7-proj--active { background:rgba(0,123,255,.1); border-color:rgba(0,212,255,.25); }
.wds-m7-proj-name { height:7px; background:rgba(255,255,255,.25); border-radius:2px; width:85%; }
.wds-m7-proj-bar { height:4px; background:rgba(255,255,255,.08); border-radius:2px; overflow:hidden; }
.wds-m7-proj-fill { height:100%; background:linear-gradient(90deg,#007bff,#00d4ff); border-radius:2px; }
.wds-m7-proj-fill--warn { background:linear-gradient(90deg,#f59e0b,#fcd34d); }
.wds-m7-proj-meta { display:flex; align-items:center; justify-content:space-between; }
.wds-m7-proj-meta em { width:40px; height:6px; background:rgba(255,255,255,.15); border-radius:2px; }
.wds-m7-badge { width:40px; height:12px; border-radius:3px; }
.wds-m7-badge--g { background:rgba(16,185,129,.25); }
.wds-m7-badge--b { background:rgba(0,123,255,.25); }
.wds-m7-badge--o { background:rgba(245,158,11,.25); }
.wds-m7-bim { flex:1; display:flex; align-items:center; justify-content:center; padding:10px; }
.wds-m7-svg { height:100%; max-height:280px; width:auto; }
.wds-m7-right { width:32%; border-left:1px solid rgba(255,255,255,.06); display:flex; flex-direction:column; gap:10px; padding:12px 10px; }
.wds-m7-gantt { flex:1; background:rgba(255,255,255,.02); border:1px solid rgba(255,255,255,.06); border-radius:7px; padding:10px; display:flex; flex-direction:column; gap:6px; position:relative; overflow:hidden; }
.wds-m7-gantt-title { height:7px; width:70px; background:rgba(255,255,255,.2); border-radius:2px; }
.wds-m7-gantt-months { display:flex; justify-content:space-between; margin-bottom:2px; }
.wds-m7-gantt-months span { width:14px; height:5px; background:rgba(255,255,255,.12); border-radius:1px; }
.wds-m7-gantt-row { height:14px; position:relative; margin-bottom:2px; }
.wds-m7-gantt-row em { position:absolute; left:0; top:50%; transform:translateY(-50%); width:0; height:0; }
.wds-m7-gbar { position:absolute; top:2px; height:10px; border-radius:3px; opacity:.85; }
.wds-m7-today-line { position:absolute; top:0; bottom:0; left:58%; width:1.5px; background:rgba(255,255,255,.25); z-index:2; }
.wds-m7-kpis { display:flex; gap:6px; flex-shrink:0; }
.wds-m7-kpi { flex:1; border-radius:6px; padding:7px 8px; display:flex; flex-direction:column; gap:4px; border:1px solid transparent; }
.wds-m7-kpi em { width:60%; height:5px; background:rgba(255,255,255,.2); border-radius:2px; }
.wds-m7-kpi span { width:50%; height:10px; border-radius:2px; }
.wds-m7-kpi i { width:40%; height:5px; border-radius:2px; }
.wds-m7-kpi--g { background:rgba(16,185,129,.1); border-color:rgba(16,185,129,.2); }
.wds-m7-kpi--g span { background:rgba(16,185,129,.7); } .wds-m7-kpi--g i { background:rgba(16,185,129,.3); }
.wds-m7-kpi--b { background:rgba(0,123,255,.1); border-color:rgba(0,123,255,.2); }
.wds-m7-kpi--b span { background:rgba(0,123,255,.7); } .wds-m7-kpi--b i { background:rgba(0,212,255,.3); }
.wds-m7-kpi--o { background:rgba(245,158,11,.1); border-color:rgba(245,158,11,.2); }
.wds-m7-kpi--o span { background:rgba(245,158,11,.7); } .wds-m7-kpi--o i { background:rgba(245,158,11,.3); }

/* ── MOCKUP 8 — Computer Vision Inspection ───────────────── */
.wds-m8 { background:#080c12; display:flex; flex-direction:column; }
.wds-m8-topbar { display:flex; align-items:center; gap:10px; padding:9px 14px; background:#0d1219; border-bottom:1px solid rgba(255,255,255,.07); flex-shrink:0; }
.wds-m8-logo { width:80px; height:8px; background:linear-gradient(90deg,#ef4444,#f59e0b); border-radius:2px; }
.wds-m8-model-info { display:flex; gap:6px; margin:0 auto; }
.wds-m8-chip { font-size:.6rem; font-weight:700; padding:2px 8px; border-radius:3px; background:rgba(255,255,255,.07); color:rgba(255,255,255,.6); border:1px solid rgba(255,255,255,.1); }
.wds-m8-chip--g { background:rgba(16,185,129,.12); color:#10b981; border-color:rgba(16,185,129,.25); }
.wds-m8-chip--b { background:rgba(0,123,255,.12); color:#60a5fa; border-color:rgba(0,123,255,.25); }
.wds-m8-controls { display:flex; gap:6px; }
.wds-m8-controls span { width:22px; height:18px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:3px; }
.wds-m8-body { display:flex; flex:1; overflow:hidden; }
.wds-m8-feed { flex:1; position:relative; display:flex; flex-direction:column; }
.wds-m8-feed-label { position:absolute; top:8px; left:10px; z-index:2; font-size:.6rem; color:rgba(0,212,255,.7); background:rgba(0,0,0,.5); padding:2px 6px; border-radius:3px; font-family:monospace; }
.wds-m8-wall { flex:1; position:relative; }
.wds-m8-svg { width:100%; height:100%; display:block; }
.wds-m8-feed-footer { display:flex; align-items:center; gap:12px; padding:5px 10px; background:#0d1219; border-top:1px solid rgba(255,255,255,.06); flex-shrink:0; }
.wds-m8-live { font-size:.6rem; color:#ef4444; font-weight:700; animation:wdsPulse 1.2s ease-in-out infinite; }
.wds-m8-fps, .wds-m8-detections { font-size:.6rem; color:rgba(255,255,255,.4); font-family:monospace; }
.wds-m8-panel { width:26%; background:#0d1219; border-left:1px solid rgba(255,255,255,.07); padding:12px 10px; display:flex; flex-direction:column; gap:10px; overflow:hidden; }
.wds-m8-panel-title { height:8px; width:80px; background:rgba(255,255,255,.2); border-radius:2px; }
.wds-m8-det-list { display:flex; flex-direction:column; gap:6px; flex:1; }
.wds-m8-det { display:flex; align-items:center; gap:6px; padding:6px 7px; border-radius:5px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); }
.wds-m8-det--crit { border-color:rgba(239,68,68,.3); background:rgba(239,68,68,.06); }
.wds-m8-det--warn { border-color:rgba(245,158,11,.2); background:rgba(245,158,11,.04); }
.wds-m8-det-thumb { width:28px; height:22px; border-radius:3px; flex-shrink:0; }
.wds-m8-det-thumb--r { background:linear-gradient(135deg,#3d1515,#5a1a1a); border:1px solid rgba(239,68,68,.3); }
.wds-m8-det-thumb--y { background:linear-gradient(135deg,#3d2e08,#5a4510); border:1px solid rgba(245,158,11,.3); }
.wds-m8-det-thumb--g { background:linear-gradient(135deg,#0d2e1a,#1a4a2a); border:1px solid rgba(16,185,129,.3); }
.wds-m8-det-info { flex:1; display:flex; flex-direction:column; gap:4px; }
.wds-m8-det-name { height:6px; background:rgba(255,255,255,.2); border-radius:2px; width:85%; }
.wds-m8-det-conf { height:5px; background:rgba(255,255,255,.1); border-radius:2px; width:55%; }
.wds-m8-sev { font-size:.5rem; font-weight:700; padding:2px 5px; border-radius:3px; flex-shrink:0; }
.wds-m8-sev--r { background:rgba(239,68,68,.2); color:#ef4444; }
.wds-m8-sev--y { background:rgba(245,158,11,.2); color:#f59e0b; }
.wds-m8-sev--g { background:rgba(16,185,129,.2); color:#10b981; }
.wds-m8-stats { display:flex; flex-direction:column; gap:5px; padding:8px; background:rgba(255,255,255,.02); border-radius:6px; border:1px solid rgba(255,255,255,.06); }
.wds-m8-stat { display:flex; align-items:center; justify-content:space-between; }
.wds-m8-stat em { width:60px; height:6px; background:rgba(255,255,255,.12); border-radius:2px; }
.wds-m8-stat-val { width:28px; height:8px; border-radius:2px; }
.wds-m8-stat-val--r { background:rgba(239,68,68,.5); }
.wds-m8-stat-val--y { background:rgba(245,158,11,.5); }
.wds-m8-stat-val--g { background:rgba(16,185,129,.5); }
.wds-m8-actions { display:flex; gap:6px; flex-shrink:0; }
.wds-m8-btn-r { flex:1; height:24px; background:linear-gradient(90deg,#dc2626,#ef4444); border-radius:4px; }
.wds-m8-btn-b { flex:1; height:24px; background:linear-gradient(90deg,#1d4ed8,#3b82f6); border-radius:4px; }

/* ── MOCKUP 9 — Report Generation ────────────────────────── */
.wds-m9 { background:#f1f5f9; display:flex; }
.wds-m9-config { width:26%; background:#fff; border-right:1px solid #e2e8f0; padding:14px 12px; display:flex; flex-direction:column; gap:10px; overflow:hidden; }
.wds-m9-cfg-title { height:9px; width:85%; background:#1e293b; border-radius:2px; }
.wds-m9-field { display:flex; flex-direction:column; gap:4px; }
.wds-m9-field em { width:60%; height:6px; background:#94a3b8; border-radius:2px; display:block; }
.wds-m9-input { height:22px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:4px; }
.wds-m9-section-label { height:7px; width:70%; background:#cbd5e1; border-radius:2px; }
.wds-m9-checks { display:flex; flex-direction:column; gap:5px; }
.wds-m9-check { display:flex; align-items:center; gap:6px; }
.wds-m9-chk { width:13px; height:13px; border-radius:3px; border:1.5px solid #cbd5e1; flex-shrink:0; display:block; }
.wds-m9-chk--on { background:#007bff; border-color:#007bff; }
.wds-m9-check em { flex:1; height:6px; background:#94a3b8; border-radius:2px; display:block; }
.wds-m9-export-btns { display:flex; gap:5px; }
.wds-m9-btn-pdf { flex:1; height:22px; background:#dc2626; border-radius:4px; font-size:.6rem; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
.wds-m9-btn-docx { flex:1; height:22px; background:#1d4ed8; border-radius:4px; font-size:.6rem; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
.wds-m9-gen-btn { height:30px; background:linear-gradient(90deg,#007bff,#0ea5e9); border-radius:5px; margin-top:auto; }
.wds-m9-preview { flex:1; padding:12px; overflow:hidden; }
.wds-m9-doc { background:#fff; border-radius:4px; height:100%; box-shadow:0 4px 20px rgba(0,0,0,.12); padding:14px; display:flex; flex-direction:column; gap:10px; overflow:hidden; }
.wds-m9-doc-header { display:flex; gap:10px; padding-bottom:10px; border-bottom:2px solid #007bff; align-items:flex-start; flex-shrink:0; }
.wds-m9-doc-logo { width:36px; height:36px; background:linear-gradient(135deg,#007bff,#00d4ff); border-radius:4px; flex-shrink:0; }
.wds-m9-doc-meta { flex:1; display:flex; flex-direction:column; gap:4px; }
.wds-m9-doc-title { height:10px; background:#1e293b; border-radius:2px; width:80%; }
.wds-m9-doc-sub { height:7px; background:#64748b; border-radius:2px; width:60%; }
.wds-m9-doc-info { display:flex; gap:6px; }
.wds-m9-doc-info span { height:6px; width:50px; background:#cbd5e1; border-radius:2px; }
.wds-m9-doc-stamp { width:44px; height:44px; border-radius:50%; border:3px solid #007bff; opacity:.35; flex-shrink:0; }
.wds-m9-doc-section { flex-shrink:0; }
.wds-m9-sec-title { height:8px; width:120px; background:#007bff; border-radius:2px; margin-bottom:6px; }
.wds-m9-text-lines { display:flex; flex-direction:column; gap:4px; }
.wds-m9-line { height:6px; background:#e2e8f0; border-radius:2px; }
.wds-m9-line--short { width:65%; }
.wds-m9-doc-charts { display:flex; gap:10px; flex-shrink:0; }
.wds-m9-doc-chart { flex:1; border:1px solid #e2e8f0; border-radius:4px; padding:6px; }
.wds-m9-dchart-title { height:6px; width:70%; background:#94a3b8; border-radius:2px; margin-bottom:5px; }
.wds-m9-cbar, .wds-m9-cline { width:100%; height:55px; display:block; }
.wds-m9-doc-table { border:1px solid #e2e8f0; border-radius:4px; overflow:hidden; flex-shrink:0; }
.wds-m9-doc-th { height:18px; background:#f8fafc; border-bottom:1px solid #e2e8f0; }
.wds-m9-doc-tr { height:16px; border-bottom:1px solid #f1f5f9; display:flex; align-items:center; padding:0 6px; gap:8px; }
.wds-m9-tr-ok { font-size:.65rem; color:#16a34a; font-weight:700; }
.wds-m9-tr-fail { font-size:.65rem; color:#dc2626; font-weight:700; }
.wds-m9-doc-tr em { flex:1; height:5px; background:#e2e8f0; border-radius:2px; }
.wds-m9-doc-footer { display:flex; align-items:flex-end; gap:12px; margin-top:auto; padding-top:8px; border-top:1px solid #e2e8f0; flex-shrink:0; }
.wds-m9-sig { flex:1; border-top:1px solid #94a3b8; height:18px; }
.wds-m9-sig-label { width:60px; height:7px; background:#cbd5e1; border-radius:2px; }
.wds-m9-qr { width:32px; height:32px; background:repeating-conic-gradient(#1e293b 0% 25%,#fff 0% 50%) 0 0/6px 6px; border-radius:2px; margin-left:auto; }

/* ── MOCKUP 10 — Structural Health Monitoring ────────────── */
.wds-m10 { background:#0a0f1a; display:flex; flex-direction:column; }
.wds-m10-topbar { display:flex; align-items:center; gap:10px; padding:9px 14px; background:#0d1422; border-bottom:1px solid rgba(255,165,0,.1); flex-shrink:0; }
.wds-m10-logo { width:80px; height:8px; background:linear-gradient(90deg,#f59e0b,#fcd34d); border-radius:2px; }
.wds-m10-status { display:flex; align-items:center; gap:5px; }
.wds-m10-online { width:7px; height:7px; border-radius:50%; background:#10b981; animation:wdsPulse 1.8s ease-in-out infinite; }
.wds-m10-status em { width:50px; height:6px; background:rgba(255,255,255,.2); border-radius:2px; }
.wds-m10-alerts { display:flex; gap:5px; margin:0 auto; }
.wds-m10-alert { font-size:.58rem; font-weight:700; padding:2px 7px; border-radius:3px; }
.wds-m10-alert--r { background:rgba(239,68,68,.2); color:#ef4444; }
.wds-m10-alert--y { background:rgba(245,158,11,.18); color:#f59e0b; }
.wds-m10-alert--g { background:rgba(16,185,129,.15); color:#10b981; }
.wds-m10-time { width:70px; height:7px; background:rgba(255,255,255,.12); border-radius:2px; }
.wds-m10-body { display:flex; flex:1; overflow:hidden; }
.wds-m10-schematic { width:18%; padding:10px 8px; display:flex; align-items:center; justify-content:center; border-right:1px solid rgba(255,255,255,.06); }
.wds-m10-bsvg { height:100%; max-height:290px; width:auto; }
.wds-m10-charts { flex:1; padding:10px 8px; display:flex; flex-direction:column; gap:8px; }
.wds-m10-chart { flex:1; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); border-radius:6px; padding:8px; display:flex; flex-direction:column; gap:4px; }
.wds-m10-chart-header { display:flex; align-items:center; justify-content:space-between; }
.wds-m10-chart-header em { flex:1; height:6px; background:rgba(255,255,255,.18); border-radius:2px; max-width:100px; }
.wds-m10-chip { font-size:.55rem; font-weight:700; padding:2px 6px; border-radius:3px; }
.wds-m10-chip--g { background:rgba(16,185,129,.15); color:#10b981; }
.wds-m10-chip--y { background:rgba(245,158,11,.15); color:#f59e0b; }
.wds-m10-chip--r { background:rgba(239,68,68,.15); color:#ef4444; }
.wds-m10-svg { flex:1; display:block; width:100%; min-height:0; }
.wds-m10-alerts-panel { width:25%; border-left:1px solid rgba(255,255,255,.06); padding:10px 8px; display:flex; flex-direction:column; gap:6px; overflow:hidden; }
.wds-m10-ap-title { height:8px; width:80px; background:rgba(255,255,255,.2); border-radius:2px; }
.wds-m10-alert-item { display:flex; align-items:center; gap:6px; padding:7px 7px; border-radius:5px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); }
.wds-m10-alert-item--r { background:rgba(239,68,68,.07); border-color:rgba(239,68,68,.2); }
.wds-m10-alert-item--y { background:rgba(245,158,11,.06); border-color:rgba(245,158,11,.18); }
.wds-m10-ai-dot { width:8px; height:8px; border-radius:50%; background:#ef4444; flex-shrink:0; animation:wdsPulse 1.5s ease-in-out infinite; }
.wds-m10-ai-dot--g { background:#10b981; }
.wds-m10-alert-item--y .wds-m10-ai-dot { background:#f59e0b; }
.wds-m10-ai-info { flex:1; display:flex; flex-direction:column; gap:4px; }
.wds-m10-ai-name { height:6px; background:rgba(255,255,255,.22); border-radius:2px; width:90%; }
.wds-m10-ai-val { height:5px; background:rgba(255,255,255,.1); border-radius:2px; width:60%; }
.wds-m10-ai-time { width:25px; height:5px; background:rgba(255,255,255,.1); border-radius:2px; flex-shrink:0; }

/* ── MOCKUP 11 — EVM / Cost Control ──────────────────────── */
.wds-m11 { background:#0c1420; display:flex; flex-direction:column; }
.wds-m11-topbar { display:flex; align-items:center; gap:10px; padding:9px 14px; background:#0a1122; border-bottom:1px solid rgba(255,255,255,.07); flex-shrink:0; }
.wds-m11-logo { width:80px; height:8px; background:linear-gradient(90deg,#6366f1,#8b5cf6); border-radius:2px; }
.wds-m11-project-sel { width:140px; height:22px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:4px; margin-left:10px; }
.wds-m11-chips { display:flex; gap:6px; margin-left:auto; }
.wds-m11-chip { font-size:.65rem; padding:3px 8px; border-radius:4px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.6); }
.wds-m11-chip strong { color:#10b981; }
.wds-m11-chip--r strong { color:#ef4444; }
.wds-m11-body { display:flex; flex:1; overflow:hidden; }
.wds-m11-wbs { width:22%; background:#080f1c; border-right:1px solid rgba(255,255,255,.06); padding:10px 8px; display:flex; flex-direction:column; gap:5px; overflow:hidden; }
.wds-m11-wbs-title { height:7px; width:70px; background:rgba(255,255,255,.2); border-radius:2px; margin-bottom:4px; }
.wds-m11-wbs-item { display:flex; align-items:center; gap:4px; padding:5px 6px; border-radius:4px; }
.wds-m11-wbs-item--l0 { background:rgba(255,255,255,.04); }
.wds-m11-wbs-item--l1 { padding-left:18px; }
.wds-m11-wbs-item span { width:6px; height:6px; border-radius:1px; background:rgba(255,255,255,.2); flex-shrink:0; }
.wds-m11-wbs-item em { flex:1; height:6px; background:rgba(255,255,255,.15); border-radius:2px; }
.wds-m11-wbs-pct { width:22px; height:6px; border-radius:2px; flex-shrink:0; }
.wds-m11-wbs-pct--g { background:rgba(16,185,129,.6); }
.wds-m11-wbs-pct--y { background:rgba(245,158,11,.6); }
.wds-m11-wbs-pct--r { background:rgba(239,68,68,.6); }
.wds-m11-wbs-pct { background:rgba(255,255,255,.08); }
.wds-m11-scurve { flex:1; padding:12px 10px; display:flex; flex-direction:column; gap:6px; }
.wds-m11-sc-title { height:8px; width:120px; background:rgba(255,255,255,.2); border-radius:2px; }
.wds-m11-sc-legend { display:flex; gap:12px; }
.wds-m11-leg { font-size:.6rem; color:rgba(255,255,255,.4); display:flex; align-items:center; gap:4px; }
.wds-m11-leg::before { content:''; display:inline-block; width:16px; height:2px; border-radius:2px; }
.wds-m11-leg--plan::before { background:#6b7280; border-top:1px dashed #6b7280; }
.wds-m11-leg--earn::before { background:#007bff; }
.wds-m11-leg--cost::before { background:#ef4444; }
.wds-m11-svg { flex:1; display:block; width:100%; min-height:0; }
.wds-m11-right { width:26%; border-left:1px solid rgba(255,255,255,.06); padding:10px 8px; display:flex; flex-direction:column; gap:10px; }
.wds-m11-gauge-row { display:flex; gap:6px; }
.wds-m11-gauge { flex:1; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); border-radius:8px; padding:8px; display:flex; flex-direction:column; align-items:center; gap:2px; }
.wds-m11-gauge-svg { width:100%; height:50px; }
.wds-m11-gauge-label { font-size:.65rem; font-weight:700; color:rgba(255,255,255,.4); letter-spacing:.08em; }
.wds-m11-var-table { flex:1; background:rgba(255,255,255,.02); border:1px solid rgba(255,255,255,.06); border-radius:6px; overflow:hidden; }
.wds-m11-vt-header { height:18px; background:rgba(255,255,255,.04); border-bottom:1px solid rgba(255,255,255,.06); }
.wds-m11-vt-row { height:22px; border-bottom:1px solid rgba(255,255,255,.04); display:flex; align-items:center; padding:0 6px; gap:6px; }
.wds-m11-vt-row em { flex:1; height:6px; background:rgba(255,255,255,.12); border-radius:2px; }
.wds-m11-vt-row span { width:28px; height:8px; border-radius:2px; flex-shrink:0; }
.wds-m11-vt-g { background:rgba(16,185,129,.5); }
.wds-m11-vt-y { background:rgba(245,158,11,.5); }
.wds-m11-vt-r { background:rgba(239,68,68,.5); }

@media (max-width:768px) {
    .wds-m7-projects, .wds-m8-panel, .wds-m10-schematic, .wds-m11-wbs, .wds-m11-right { display:none; }
    .wds-m9-config { display:none; }
    .wds-m10-alerts-panel { width:40%; }
    .wds-m7-right { width:40%; }
}

@media (max-width:480px) {
    .wds-m7-right, .wds-m8-panel, .wds-m10-alerts-panel, .wds-m11-right { display:none; }
    .wds-m7-bim, .wds-m8-feed, .wds-m9-preview, .wds-m10-sensors, .wds-m11-chart { flex:1; }
}
