/* ========================================
   ROLANDO CABRERA — AI-DEVELITE
   Ultra Premium Portfolio CSS v2.0
   Professional Palette:
   - Azul (confianza/calma): #1e40af → #3b82f6
   - Púrpura/Violeta (IA & creatividad): #7c3aed → #a78bfa
   - Gris/Plata (ingeniería): #94a3b8 → #cbd5e1
   - Amarillo (acento moderado): #d4a574 → #f0c060
   NO gradient text — solid accent colors only
   ======================================== */

:root {
    /* === BACKGROUNDS === */
    --bg-void: #04060e;
    --bg-primary: #070b16;
    --bg-secondary: #0c1222;
    --bg-tertiary: #111a30;
    --bg-card: #131d36;
    --bg-card-hover: #1a2644;
    --bg-glass: rgba(12,16,32,0.88);

    /* === PROFESSIONAL COLOR PALETTE === */
    /* Azul — Trust & Calm */
    --blue-deep: #1e40af;
    --blue-primary: #2563eb;
    --blue-bright: #3b82f6;
    --blue-light: #60a5fa;

    /* Púrpura/Violeta — IA & Creativity */
    --purple-deep: #6d28d9;
    --purple-primary: #7c3aed;
    --purple-bright: #8b5cf6;
    --purple-light: #a78bfa;

    /* Gris/Plata — Engineering & Precision */
    --silver-dark: #64748b;
    --silver-mid: #94a3b8;
    --silver-light: #cbd5e1;
    --silver-bright: #e2e8f0;

    /* Amarillo — Moderate Warm Accent */
    --warm-primary: #d4a574;
    --warm-light: #e8c99a;
    --warm-gold: #f0c060;

    /* === ACCENT MAPPING (keep compat) === */
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-warm: #d4a574;
    --accent-warm-light: #e8c99a;
    --accent-gold: #f0c060;
    --accent-cyan: #22d3ee;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    --accent-amber: #f59e0b;

    /* === GRADIENTS (buttons/bars only, NOT text) === */
    --gradient-main: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #a78bfa 100%);
    --gradient-warm: linear-gradient(135deg, #d4a574 0%, #f0c060 100%);
    --gradient-hero: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #d4a574 100%);
    --gradient-blue-purple: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);

    /* === TEXT === */
    --text-primary: #f0f0f8;
    --text-secondary: #b0b8d0;
    --text-muted: #6a7098;

    /* === BORDERS & SHADOWS === */
    --border-subtle: rgba(255,255,255,0.06);
    --border-accent: rgba(59,130,246,0.25);
    --border-purple: rgba(139,92,246,0.25);
    --shadow-deep: 0 20px 60px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(59,130,246,0.15);
    --shadow-warm: 0 0 30px rgba(212,165,116,0.12);
    --shadow-purple: 0 0 30px rgba(139,92,246,0.15);

    /* === RADII === */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* === TYPOGRAPHY === */
    --font-primary: 'Inter', -apple-system, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-heading: 'Sora', sans-serif;

    /* === TRANSITIONS === */
    --transition-fast: 0.2s cubic-bezier(.4,0,.2,1);
    --transition-smooth: 0.4s cubic-bezier(.4,0,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-primary);
    background: var(--bg-void);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
    line-height: 1.75;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--blue-primary); border-radius: 3px; }

/* ============ SOLID ACCENT TEXT (replaces gradient-text) ============ */
.solid-accent {
    color: var(--purple-bright);
}
/* Keep .gradient-text as fallback but use solid color */
.gradient-text {
    color: var(--purple-bright);
    -webkit-text-fill-color: var(--purple-bright);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

/* ============ NEURAL CANVAS ============ */
.neural-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none; opacity: 0.7;
}

/* ============ LOADING SCREEN ============ */
.loading-screen {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg-void);
    display: flex; align-items: center; justify-content: center;
}
.loader-content { text-align: center; }
.ai-brain-loader {
    width: 100px; height: 100px; position: relative; margin: 0 auto 32px;
}
.brain-ring {
    position: absolute; inset: 0; border: 2px solid transparent; border-radius: 50%;
}
.ring-1 { border-top-color: var(--blue-bright); animation: spin 1.2s linear infinite; }
.ring-2 { inset: 8px; border-right-color: var(--purple-bright); animation: spin 1.5s linear infinite reverse; }
.ring-3 { inset: 16px; border-bottom-color: var(--accent-cyan); animation: spin 2s linear infinite; }
.brain-core {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 24px; color: var(--blue-bright);
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 0.5; transform: translate(-50%,-50%) scale(0.85); } }

.loader-label {
    display: block; font-family: var(--font-mono); font-size: 12px;
    color: var(--text-muted); letter-spacing: 3px; margin-bottom: 16px;
}
.loader-bar {
    width: 240px; height: 3px; background: rgba(255,255,255,0.06);
    border-radius: 2px; margin: 0 auto 8px; overflow: hidden;
}
.loader-progress { height: 100%; width: 0%; background: var(--gradient-blue-purple); border-radius: 2px; transition: width 0.3s; }
.loader-percent { font-family: var(--font-mono); font-size: 13px; color: var(--blue-bright); }

/* ============ HERO SCREEN ============ */
.hero-screen {
    position: fixed; inset: 0; z-index: 100;
    background: var(--bg-void);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 20px;
}
.hero-bg-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-gradient-orb {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12;
    animation: float 12s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; top: -10%; left: -10%; background: var(--blue-primary); }
.orb-2 { width: 400px; height: 400px; bottom: -10%; right: -10%; background: var(--purple-primary); animation-delay: -4s; }
.orb-3 { width: 300px; height: 300px; top: 30%; right: 20%; background: var(--accent-cyan); animation-delay: -8s; }
@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(59,130,246,0.08); border: 1px solid var(--border-accent);
    padding: 8px 20px; border-radius: 100px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
    color: var(--blue-light); margin-bottom: 28px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-emerald); animation: pulse 2s infinite; }

/* === HERO PHOTO — Large & Prominent === */
.hero-photo-wrapper {
    position: relative;
    width: 200px; height: 200px;
    margin: 0 auto 32px;
}
.hero-photo-large {
    width: 200px; height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--blue-bright);
    box-shadow: 0 0 40px rgba(59,130,246,0.25), 0 0 80px rgba(139,92,246,0.15);
    position: relative; z-index: 2;
    transition: var(--transition-smooth);
}
.hero-photo-large:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(59,130,246,0.35), 0 0 100px rgba(139,92,246,0.2);
}
.hero-photo-ring {
    position: absolute; inset: -8px;
    border: 2px solid rgba(139,92,246,0.3);
    border-radius: 50%;
    animation: photoRingSpin 8s linear infinite;
}
@keyframes photoRingSpin { to { transform: rotate(360deg); } }

.hero-title { margin-bottom: 20px; }
.title-line { display: block; font-family: var(--font-heading); font-weight: 800; letter-spacing: -1px; }
.line-1 { font-size: clamp(32px, 6vw, 64px); color: var(--text-primary); }
.line-2 { font-size: clamp(40px, 8vw, 80px); }
.line-2.solid-accent { color: var(--purple-bright); -webkit-text-fill-color: var(--purple-bright); }

.hero-divider { display: flex; align-items: center; gap: 16px; justify-content: center; margin-bottom: 24px; }
.divider-line { width: 60px; height: 1px; background: var(--border-accent); }
.divider-icon { color: var(--warm-primary); font-size: 14px; }

.hero-description {
    font-size: 17px; line-height: 1.8; color: var(--text-secondary);
    max-width: 720px; margin: 0 auto 32px;
    text-align: justify;
}

.hero-ai-stack {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px;
}
.ai-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle);
    color: var(--text-secondary); transition: var(--transition-fast);
}
.ai-chip:hover { border-color: var(--blue-bright); color: var(--text-primary); }
.ai-chip.claude-highlight {
    background: rgba(212,165,116,0.1); border-color: rgba(212,165,116,0.3);
    color: var(--warm-primary);
}
.chip-badge {
    font-size: 9px; padding: 2px 8px; border-radius: 100px; font-weight: 700;
    background: var(--blue-primary); color: white; letter-spacing: 1px;
}

.hero-cta-group { display: flex; gap: 16px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.cta-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 100px;
    background: var(--gradient-blue-purple); color: white;
    font-weight: 700; font-size: 15px; letter-spacing: 1px;
    border: none; cursor: pointer; transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(59,130,246,0.3);
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,0.4); }
.cta-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 100px;
    background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.3);
    color: #25d366; font-weight: 700; font-size: 15px; text-decoration: none;
    transition: var(--transition-smooth);
}
.cta-secondary:hover { background: rgba(37,211,102,0.2); transform: translateY(-2px); }

.hero-stats-row { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--blue-bright); }
.stat-plus { font-family: var(--font-display); font-size: 24px; color: var(--warm-primary); }
.stat-label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 4px; letter-spacing: 1px; }

.hero-scroll-indicator {
    position: absolute; bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 8px;
    cursor: pointer; color: var(--text-muted); font-size: 11px; letter-spacing: 2px;
}
.scroll-line { width: 1px; height: 40px; background: var(--border-accent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; height: 40px; } 50% { opacity: 1; height: 50px; } }

/* ============ TOP HEADER ============ */
.top-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    background: rgba(4,6,14,0.92); backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
    padding: 0 24px; height: 72px;
}
.top-header.hidden { transform: translateY(-100%); }
.header-inner {
    max-width: 1400px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}
.header-brand { display: flex; align-items: center; gap: 14px; }
.header-avatar {
    width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--blue-bright); box-shadow: 0 0 15px rgba(59,130,246,0.2);
}
.header-text { display: flex; flex-direction: column; }
.header-name {
    font-family: var(--font-heading); font-size: 18px; font-weight: 700;
    color: var(--text-primary); letter-spacing: -0.5px; line-height: 1.2;
}
.header-title {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 3px;
    color: var(--purple-bright);
    font-weight: 600;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 100px;
    background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.3);
    color: #25d366; font-weight: 600; font-size: 14px; text-decoration: none;
    transition: var(--transition-fast);
}
.header-cta-btn:hover { background: rgba(37,211,102,0.2); }
.header-admin-btn {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle);
    color: var(--text-muted); font-size: 13px; text-decoration: none;
    transition: var(--transition-fast);
}
.header-admin-btn:hover { color: var(--blue-bright); border-color: var(--blue-bright); }

/* ============ FROZEN NAVIGATION ============ */
.frozen-nav {
    position: fixed; top: 72px; left: 0; right: 0; z-index: 890;
    background: rgba(7,11,22,0.95); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
    height: 56px; overflow-x: auto;
}
.frozen-nav.header-hidden { top: 0; }
.frozen-nav-inner {
    max-width: 1200px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: center; gap: 4px;
    padding: 0 16px;
}
.fnav-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; border-radius: 100px;
    font-size: 14px; font-weight: 600; color: var(--text-muted);
    text-decoration: none; white-space: nowrap;
    background: transparent; border: 1px solid transparent;
    transition: var(--transition-fast);
}
.fnav-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.fnav-btn.active {
    color: var(--blue-bright); background: rgba(59,130,246,0.08);
    border-color: rgba(59,130,246,0.2);
}
.fnav-btn i { font-size: 15px; }

/* ============ BOTTOM CIRCLE NAV ============ */
.bottom-circle-nav {
    position: fixed; bottom: 24px; right: 24px; z-index: 950;
}
.circle-nav-toggle {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--gradient-blue-purple); border: none; cursor: pointer;
    color: white; font-size: 22px;
    box-shadow: 0 6px 24px rgba(59,130,246,0.4);
    transition: var(--transition-smooth); position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center;
}
.circle-nav-toggle:hover { transform: scale(1.1); }
.circle-nav-toggle.open { background: var(--accent-rose); }
.circle-nav-items {
    position: absolute; bottom: 70px; right: 0;
    display: flex; flex-direction: column; gap: 8px;
    opacity: 0; pointer-events: none;
    transform: translateY(20px) scale(0.8);
    transition: var(--transition-smooth);
}
.circle-nav-items.open {
    opacity: 1; pointer-events: auto;
    transform: translateY(0) scale(1);
}
.circle-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px 10px 14px; border-radius: 100px;
    background: rgba(12,16,32,0.95); backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary); font-size: 14px; font-weight: 600;
    text-decoration: none; white-space: nowrap;
    transition: var(--transition-fast);
}
.circle-nav-item:hover { color: var(--blue-bright); border-color: var(--blue-bright); background: rgba(59,130,246,0.08); }
.circle-nav-item i { width: 20px; text-align: center; font-size: 14px; }

/* ============ MAIN APP ============ */
.main-app { position: relative; z-index: 1; padding-top: 128px; }

/* ============ SECTION FRAMEWORK ============ */
.portfolio-section { padding: 90px 24px; position: relative; }
.section-dark { background: rgba(0,0,0,0.3); }
.section-container { max-width: 1200px; margin: 0 auto; }

/* LEFT-ALIGNED, JUSTIFIED SECTION HEADERS */
.section-header-block { text-align: left; margin-bottom: 56px; }
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 14px; letter-spacing: 3px;
    color: var(--warm-primary); margin-bottom: 16px;
    font-weight: 600;
}
.section-title-main {
    font-family: var(--font-heading); font-size: clamp(32px, 5vw, 52px);
    font-weight: 800; line-height: 1.2; margin-bottom: 14px;
}
.section-subtitle { color: var(--text-secondary); font-size: 17px; max-width: 700px; line-height: 1.7; text-align: justify; }
.section-underline {
    width: 80px; height: 3px; margin: 20px 0 0;
    background: var(--gradient-blue-purple); border-radius: 2px;
}

/* ============ ABOUT SECTION ============ */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.bio-highlight-box {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 32px; position: relative; margin-bottom: 32px;
}
.bio-photo-wrapper {
    float: left; margin-right: 24px; margin-bottom: 16px;
}
.bio-photo {
    width: 140px; height: 140px; border-radius: var(--radius-md); object-fit: cover;
    border: 3px solid var(--blue-bright); box-shadow: 0 0 20px rgba(59,130,246,0.15);
}
.bio-quote-mark { position: absolute; top: 16px; right: 20px; font-size: 28px; color: rgba(59,130,246,0.15); }
.bio-statement { font-size: 17px; line-height: 1.8; color: var(--text-secondary); text-align: justify; }

.profile-justification { }
.justify-title {
    font-family: var(--font-display); font-size: 22px; font-weight: 700;
    color: var(--purple-bright); display: flex; align-items: center; gap: 10px;
    margin-bottom: 24px;
}
.justify-item {
    display: flex; gap: 16px; margin-bottom: 20px;
    padding: 18px; border-radius: var(--radius-md);
    background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}
.justify-item:hover { border-color: var(--border-accent); background: rgba(59,130,246,0.03); }
.justify-icon {
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: rgba(59,130,246,0.08); display: flex; align-items: center; justify-content: center;
    color: var(--blue-bright); font-size: 18px; flex-shrink: 0;
}
.justify-content h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.justify-content p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); text-align: justify; }

.about-card-stack { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 140px; }
.about-ai-card {
    border-radius: var(--radius-md); overflow: hidden;
    border: 1px solid var(--border-subtle);
}
.ai-card-header {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; background: rgba(0,0,0,0.3);
}
.ai-card-dot { width: 10px; height: 10px; border-radius: 50%; }
.ai-card-dot.green { background: #10b981; }
.ai-card-dot.yellow { background: #f59e0b; }
.ai-card-dot.red { background: #f43f5e; }
.ai-card-title { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.ai-card-body { padding: 16px; background: var(--bg-card); }
.ai-card-body code { display: flex; flex-direction: column; gap: 4px; }
.code-line { font-family: var(--font-mono); font-size: 13px; line-height: 1.6; }
.code-prompt { color: var(--warm-primary); }
.code-comment { color: var(--text-muted); }
.code-keyword { color: var(--accent-emerald); }
.code-string { color: var(--purple-light); }
.code-cursor { animation: blink 1s step-end infinite; color: var(--blue-bright); }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.skills-radar-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md); padding: 24px;
}
.skills-radar-card h4 {
    font-size: 16px; color: var(--text-secondary); margin-bottom: 20px;
    display: flex; align-items: center; gap: 8px;
}
.skill-bars { display: flex; flex-direction: column; gap: 14px; }
.skill-bar-item { }
.skill-bar-label { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; color: var(--text-secondary); }
.skill-bar-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); overflow: hidden; }
.skill-bar-fill {
    height: 100%; border-radius: 3px;
    background: var(--gradient-blue-purple);
    width: var(--fill-width); transition: width 1.5s cubic-bezier(.4,0,.2,1);
}
.skill-bar-fill.claude-fill { background: var(--gradient-warm); }

/* ============ TECH STACK ============ */
.tech-category-block {
    margin-bottom: 36px; padding: 28px; border-radius: var(--radius-lg);
    background: var(--bg-card); border: 1px solid var(--border-subtle);
}
.tech-category-block.primary-tech {
    border-color: rgba(212,165,116,0.2);
    background: linear-gradient(135deg, rgba(212,165,116,0.04) 0%, var(--bg-card) 100%);
}
.tech-cat-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.tech-cat-icon {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.1); color: var(--blue-bright); font-size: 20px;
}
.tech-cat-icon.claude-icon-glow {
    background: rgba(212,165,116,0.12); color: var(--warm-primary);
    box-shadow: 0 0 20px rgba(212,165,116,0.15);
}
.tech-cat-header h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.badge-core {
    font-size: 10px; padding: 3px 10px; border-radius: 100px;
    background: rgba(212,165,116,0.15); color: var(--warm-primary);
    font-weight: 700; letter-spacing: 1px;
}
.tech-justification { font-size: 15px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.7; text-align: justify; }
.tech-pills-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 100px; font-size: 13px; font-weight: 600;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
    color: var(--text-secondary); transition: var(--transition-fast);
}
.tech-pill:hover { border-color: var(--blue-bright); color: var(--text-primary); }
.tech-pill.featured {
    background: rgba(59,130,246,0.06); border-color: rgba(59,130,246,0.2);
    color: var(--blue-light);
}
.tech-pill.claude-pill {
    background: rgba(212,165,116,0.08); border-color: rgba(212,165,116,0.25);
    color: var(--warm-primary);
}
.pill-badge {
    font-size: 9px; padding: 2px 8px; border-radius: 100px;
    background: rgba(139,92,246,0.15); color: var(--purple-light);
    letter-spacing: 0.5px; font-weight: 700;
}

/* ============ WEB APPS ============ */
.webapp-categories { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; margin-bottom: 36px; }
.webapp-cat-btn {
    padding: 10px 20px; border-radius: 100px; font-size: 14px; font-weight: 600;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
    color: var(--text-muted); cursor: pointer; transition: var(--transition-fast);
}
.webapp-cat-btn:hover { border-color: var(--blue-bright); color: var(--text-primary); }
.webapp-cat-btn.active {
    background: rgba(59,130,246,0.1); border-color: var(--blue-bright); color: var(--blue-bright);
}

.webapp-gallery {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px; margin-bottom: 32px;
}
.webapp-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md); overflow: hidden; position: relative;
    transition: var(--transition-smooth);
}
.webapp-card:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--shadow-glow); }
.webapp-card-preview { position: relative; }
.webapp-browser-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 12px; background: rgba(0,0,0,0.3);
}
.browser-dot { width: 8px; height: 8px; border-radius: 50%; }
.browser-dot.red { background: #f43f5e; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: #10b981; }
.browser-url { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); }
.webapp-thumbnail {
    height: 120px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    position: relative; overflow: hidden;
}
.webapp-thumbnail img {
    width: 100%; height: 100%; object-fit: cover;
}
.webapp-icon-large { font-size: 36px; color: var(--blue-bright); opacity: 0.3; }
.webapp-card-info { padding: 16px; }
.webapp-badge {
    display: inline-block; padding: 4px 10px; border-radius: 100px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
    background: rgba(59,130,246,0.1); color: var(--blue-bright);
    margin-bottom: 8px;
}
.webapp-badge.food { background: rgba(245,158,11,0.1); color: var(--accent-amber); }
.webapp-badge.beauty { background: rgba(244,63,94,0.1); color: var(--accent-rose); }
.webapp-badge.health { background: rgba(16,185,129,0.1); color: var(--accent-emerald); }
.webapp-badge.gym { background: rgba(59,130,246,0.1); color: var(--blue-bright); }
.webapp-badge.print { background: rgba(34,211,238,0.1); color: var(--accent-cyan); }
.webapp-badge.other, .webapp-badge.ai-special { background: rgba(139,92,246,0.1); color: var(--purple-light); }
.webapp-card-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.webapp-card-info p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.webapp-card-link {
    position: absolute; top: 12px; right: 12px;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(59,130,246,0.15); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-bright); text-decoration: none; font-size: 12px;
    transition: var(--transition-fast); z-index: 2;
}
.webapp-card-link:hover { background: var(--blue-primary); color: white; }

.webapp-counter {
    text-align: left; padding: 18px; border-radius: var(--radius-md);
    background: rgba(59,130,246,0.04); border: 1px solid var(--border-accent);
}
.counter-highlight { font-size: 16px; color: var(--text-secondary); }
.counter-highlight strong { color: var(--blue-bright); }

/* ============ DESIGN GALLERY ============ */
.design-tools-showcase {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; margin-bottom: 36px;
}
.design-tool-chip {
    padding: 10px 18px; border-radius: 100px; font-size: 13px; font-weight: 600;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
    color: var(--text-muted); display: inline-flex; align-items: center; gap: 8px;
}
.design-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.design-card {
    border-radius: var(--radius-md); overflow: hidden; cursor: pointer;
    border: 1px solid var(--border-subtle); position: relative;
    transition: var(--transition-smooth); background: var(--bg-card);
}
.design-card:hover { transform: translateY(-4px); border-color: var(--border-purple); box-shadow: var(--shadow-purple); }
.design-card-img { width: 100%; height: 260px; object-fit: cover; display: block; }
.design-card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 24px; background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.design-card-overlay h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.design-card-overlay p { font-size: 13px; color: var(--text-muted); }
.design-card-overlay .design-tools-tag { 
    font-size: 11px; color: var(--warm-primary); margin-top: 6px; 
    display: inline-flex; align-items: center; gap: 4px;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed; inset: 0; z-index: 9998; background: rgba(0,0,0,0.95);
    display: none; align-items: center; justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; z-index: 2; background: rgba(255,255,255,0.1);
    border: none; color: white; cursor: pointer; font-size: 20px;
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-fast);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--blue-primary); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-content { text-align: center; max-width: 90vw; max-height: 90vh; }
#lightboxImage { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-info { padding: 16px; font-size: 15px; color: var(--text-secondary); }
.lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--text-muted); font-size: 14px; }

/* ============ VIDEO SECTION ============ */
.video-showcase { }
.video-featured { margin-bottom: 24px; }
.video-player-container {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
    border-radius: var(--radius-lg); border: 1px solid var(--border-subtle);
}
.video-player-container iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.video-featured-info { padding: 16px 0; }
.video-ai-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 700;
    background: rgba(139,92,246,0.1); color: var(--purple-bright);
    letter-spacing: 0.5px; margin-bottom: 8px;
}
.video-featured-info h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.video-featured-info p { font-size: 15px; color: var(--text-muted); }

.video-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px; margin-bottom: 24px;
}
.video-thumb {
    aspect-ratio: 1; border-radius: var(--radius-sm); cursor: pointer;
    background: var(--bg-card); border: 2px solid var(--border-subtle);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; transition: var(--transition-fast);
}
.video-thumb:hover { border-color: var(--purple-bright); }
.video-thumb.active { border-color: var(--purple-bright); box-shadow: 0 0 15px rgba(139,92,246,0.3); }
.thumb-number { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text-muted); }
.thumb-overlay {
    position: absolute; inset: 0; background: rgba(139,92,246,0.1);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition-fast);
}
.video-thumb:hover .thumb-overlay { opacity: 1; }
.thumb-overlay i { color: white; font-size: 18px; }

.video-tools-bar {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start;
    padding: 16px; background: rgba(255,255,255,0.02); border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}
.tool-badge {
    padding: 8px 16px; border-radius: 100px; font-size: 12px; font-weight: 600;
    background: rgba(139,92,246,0.06); color: var(--purple-light);
    display: inline-flex; align-items: center; gap: 6px;
}

/* ============ PROJECTS ============ */
.projects-showcase {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px; margin-bottom: 36px;
}
.project-card {
    padding: 28px; border-radius: var(--radius-lg);
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth); position: relative;
}
.project-card:hover { transform: translateY(-4px); border-color: var(--border-accent); }
.project-card.featured-project {
    border-color: rgba(212,165,116,0.2);
    background: linear-gradient(135deg, rgba(212,165,116,0.04) 0%, var(--bg-card) 100%);
}
.project-icon {
    width: 52px; height: 52px; border-radius: var(--radius-sm);
    background: rgba(59,130,246,0.1); color: var(--blue-bright);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 16px;
}
.project-icon.claude-glow { background: rgba(212,165,116,0.12); color: var(--warm-primary); }
.project-badge {
    display: inline-block; padding: 4px 12px; border-radius: 100px;
    font-size: 11px; font-weight: 700; background: rgba(212,165,116,0.12);
    color: var(--warm-primary); margin-bottom: 12px; letter-spacing: 0.5px;
}
.project-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.project-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; text-align: justify; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tags span {
    padding: 5px 12px; border-radius: 100px; font-size: 11px; font-weight: 600;
    background: rgba(255,255,255,0.04); color: var(--text-muted); border: 1px solid var(--border-subtle);
}

.projects-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px;
}
.gallery-placeholder {
    grid-column: 1 / -1; padding: 48px; text-align: left;
    background: var(--bg-card); border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-lg);
}
.placeholder-icon-group { font-size: 28px; color: var(--text-muted); margin-bottom: 16px; display: flex; gap: 16px; }
.placeholder-content h3 { font-size: 20px; margin-bottom: 8px; }
.placeholder-content p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.placeholder-badge {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
    padding: 6px 14px; border-radius: 100px; font-size: 12px;
    background: rgba(245,158,11,0.1); color: var(--accent-amber);
}

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card-item {
    display: flex; gap: 16px; padding: 18px; border-radius: var(--radius-md);
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    margin-bottom: 12px; transition: var(--transition-fast);
}
.contact-card-item:hover { border-color: var(--border-accent); }
.contact-icon {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    background: rgba(59,130,246,0.08); display: flex; align-items: center; justify-content: center;
    color: var(--blue-bright); font-size: 20px; flex-shrink: 0;
}
.contact-detail h4 { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; letter-spacing: 1px; text-transform: uppercase; }
.contact-detail a { color: var(--purple-light); text-decoration: none; font-weight: 600; font-size: 16px; }
.contact-detail span { color: var(--text-secondary); font-size: 16px; }
.contact-cta-big { margin-top: 20px; }
.cta-whatsapp-big {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 18px; border-radius: var(--radius-md);
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white; font-weight: 700; font-size: 17px; text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}
.cta-whatsapp-big:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,0.4); }

.contact-form {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 32px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600; color: var(--text-secondary);
    margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
    color: var(--text-primary); font-family: var(--font-primary); font-size: 16px;
    transition: var(--transition-fast); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit-btn {
    width: 100%; padding: 16px; border-radius: var(--radius-sm);
    background: var(--gradient-blue-purple); color: white;
    font-weight: 700; font-size: 16px; border: none; cursor: pointer;
    transition: var(--transition-smooth);
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.form-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59,130,246,0.3); }
.form-success { margin-top: 16px; padding: 14px; border-radius: var(--radius-sm); background: rgba(16,185,129,0.1); color: var(--accent-emerald); text-align: center; font-weight: 600; font-size: 15px; }
.form-error { margin-top: 16px; padding: 14px; border-radius: var(--radius-sm); background: rgba(244,63,94,0.1); color: var(--accent-rose); text-align: center; font-weight: 600; font-size: 15px; }

/* ============ FOOTER ============ */
.main-footer {
    padding: 48px 24px 32px;
    background: var(--bg-void); border-top: 1px solid var(--border-subtle);
    text-align: left;
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-logo {
    font-family: var(--font-display); font-size: 22px; font-weight: 700;
    display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.footer-logo .accent, .footer-brand .accent { color: var(--blue-bright); }
.footer-brand p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; }
.footer-powered { margin-bottom: 20px; }
.footer-powered span { font-size: 12px; color: var(--text-muted); letter-spacing: 2px; display: block; margin-bottom: 8px; }
.footer-ai-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-ai-badges span {
    padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 600;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
    color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px;
}
.claude-badge-footer { background: rgba(212,165,116,0.08) !important; border-color: rgba(212,165,116,0.2) !important; color: var(--warm-primary) !important; }
.footer-copy { font-size: 13px; color: var(--text-muted); margin-top: 16px; }

/* ============ MOBILE DRAWER ============ */
.mobile-nav-overlay {
    position: fixed; inset: 0; z-index: 990; background: rgba(0,0,0,0.6);
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-nav-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-nav-drawer {
    position: fixed; top: 0; right: -300px; width: 280px; height: 100%;
    z-index: 991; background: var(--bg-secondary); border-left: 1px solid var(--border-subtle);
    transition: right 0.35s cubic-bezier(.4,0,.2,1); padding: 20px;
    display: flex; flex-direction: column;
}
.mobile-nav-drawer.open { right: 0; }
.drawer-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;
}
.drawer-brand { font-family: var(--font-display); font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.drawer-close { background: none; border: none; color: var(--text-muted); font-size: 20px; cursor: pointer; }
.drawer-links { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.drawer-links a {
    padding: 12px 16px; border-radius: var(--radius-sm); color: var(--text-secondary);
    text-decoration: none; font-weight: 600; font-size: 15px;
    display: flex; align-items: center; gap: 12px;
    transition: var(--transition-fast);
}
.drawer-links a:hover { background: rgba(59,130,246,0.06); color: var(--blue-bright); }
.drawer-admin-link {
    margin-top: auto; padding: 12px 16px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
    color: var(--text-muted); text-decoration: none; font-size: 14px;
    display: flex; align-items: center; gap: 8px; text-align: center; justify-content: center;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-card-stack { position: static; }
    .projects-showcase { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}
@media (max-width: 768px) {
    body { font-size: 16px; }
    .frozen-nav-inner { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .fnav-btn span { display: none; }
    .fnav-btn { padding: 8px 14px; }
    .contact-grid { grid-template-columns: 1fr; }
    .header-cta-btn span { display: none; }
    .header-name { font-size: 16px; }
    .webapp-gallery { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .design-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); }
    .section-header-block { text-align: left; }
    .hero-photo-large { width: 160px; height: 160px; }
    .hero-photo-wrapper { width: 160px; height: 160px; }
    .footer-container { text-align: left; }
    .footer-logo { justify-content: flex-start; }
}
@media (max-width: 480px) {
    body { font-size: 15px; }
    .portfolio-section { padding: 56px 16px; }
    .hero-stats-row { gap: 24px; }
    .stat-number { font-size: 28px; }
    .bio-photo { width: 100px; height: 100px; }
    .webapp-gallery { grid-template-columns: 1fr; }
    .bottom-circle-nav { bottom: 16px; right: 16px; }
    .hero-photo-large { width: 140px; height: 140px; }
    .hero-photo-wrapper { width: 140px; height: 140px; }
    .section-title-main { font-size: clamp(26px, 6vw, 40px); }
}
