/* ==========================================================================
   OUTSOURCING IT 360° - ULTRA SUPREME EDITION STYLESHEET
   Design Theme: Hyper-Futuristic Cyberpunk & Deep Glassmorphism
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #04060c;
    --bg-card: rgba(13, 19, 36, 0.85);
    --bg-card-hover: rgba(22, 32, 58, 0.95);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-border-glow: rgba(0, 243, 255, 0.5);
    
    --accent-cyan: #00f3ff;
    --accent-purple: #a855f7;
    --accent-pink: #ff2a85;
    --accent-green: #00ff9d;
    --accent-gold: #ffb703;
    --accent-blue: #3b82f6;

    --text-main: #f1f5f9;
    --text-muted: #cbd5e1; /* Increased contrast for crisp readability */
    --text-bright: #ffffff;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(168, 85, 247, 0.2) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(0, 243, 255, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(4, 6, 12, 0.98) 0%, #04060c 100%);
    background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #04060c;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    border-radius: 5px;
    border: 2px solid #04060c;
}

/* 3D Canvas Container */
#three-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

/* Main Content Overlay */
.content-wrapper {
    position: relative;
    z-index: 10;
}

/* Crisp Text Shadow & Formatting Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-bright);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

p {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #c084fc 40%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.3));
}

.gradient-text-alt {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glowing Neon Navbar */
.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 96%;
    max-width: 1380px;
    padding: 0.6rem 2rem;
    background: rgba(8, 12, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-glow);
    border-radius: 40px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8), 0 0 20px rgba(0, 243, 255, 0.2);
}

.nav-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    white-space: nowrap; /* Prevent brand text from wrapping */
}

.nav-brand i {
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 10px var(--accent-cyan));
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px var(--accent-cyan)); }
    100% { transform: scale(1.12); filter: drop-shadow(0 0 12px var(--accent-cyan)); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.6rem;
    align-items: center;
    white-space: nowrap; /* Prevent navbar items from stacking */
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition-fast);
    padding: 0.4rem 0.65rem;
    border-radius: 20px;
    white-space: nowrap; /* Prevent link labels from wrapping */
}


.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
    background: rgba(0, 243, 255, 0.18);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    border: 1px solid rgba(0, 243, 255, 0.4);
}

/* Cyber Buttons */
.btn-cyber {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 20px rgba(0, 243, 255, 0.4);
    text-shadow: none;
}

.btn-cyber:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.6);
}

.btn-cyber-outline {
    background: rgba(0, 243, 255, 0.05);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    padding: 0.65rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(10px);
}

.btn-cyber-outline:hover {
    background: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    transform: translateY(-2px);
}

/* Sections Base */
.section {
    padding: 6.5rem 1.5rem;
    max-width: 1320px;
    margin: 0 auto;
}

.section-title-box {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: rgba(0, 243, 255, 0.12);
    border: 1px solid rgba(0, 243, 255, 0.4);
    border-radius: 30px;
    color: var(--accent-cyan);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 0.85rem;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.15);
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 7.5rem;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-card-cover {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border-glow);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 30px rgba(0, 243, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    transform-style: preserve-3d;
}

.hero-card-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
}

.cover-badge {
    background: rgba(168, 85, 247, 0.25);
    border: 1px solid var(--accent-purple);
    color: #e9d5ff;
    padding: 0.35rem 0.9rem;
    border-radius: 14px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.cover-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

/* Dynamic Typewriter Box */
.typewriter-box {
    min-height: 30px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--accent-green);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.78rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
}

.meta-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-bright);
}

.team-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.chip {
    background: rgba(0, 243, 255, 0.15);
    border: 1px solid rgba(0, 243, 255, 0.4);
    color: #ffffff;
    padding: 0.3rem 0.75rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

/* Presentación Section */
.presentation-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-glow);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

.presentation-quote {
    font-size: 1.35rem;
    font-style: italic;
    color: #ffffff;
    border-left: 4px solid var(--accent-cyan);
    padding-left: 1.75rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.features-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.mini-feature {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.mini-feature:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    background: rgba(0, 243, 255, 0.08);
}

.mini-feature i {
    font-size: 1.75rem;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
}

/* Index Cards Grid */
.index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.index-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.index-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 35px rgba(0, 243, 255, 0.25);
}

.index-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(255,255,255,0.12);
    position: absolute;
    top: 12px;
    right: 18px;
}

.index-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.index-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.index-link-text {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Definition Cards */
.definition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.cyber-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    transition: var(--transition-smooth);
    position: relative;
}

.cyber-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.3);
    transform: translateY(-5px);
}

.icon-box {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: rgba(0, 243, 255, 0.12);
    border: 1px solid rgba(0, 243, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.icon-box.purple {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.4);
    color: var(--accent-purple);
}

.icon-box.green {
    background: rgba(0, 255, 157, 0.12);
    border-color: rgba(0, 255, 157, 0.4);
    color: var(--accent-green);
}

.icon-box.pink {
    background: rgba(255, 42, 133, 0.12);
    border-color: rgba(255, 42, 133, 0.4);
    color: var(--accent-pink);
}

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--accent-cyan);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    width: 50%;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-right: 0;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    top: 18px;
    right: -12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #04060c;
    border: 4px solid var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
    z-index: 5;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -12px;
}

.timeline-content {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 0.35rem;
}

/* Types Grid */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.type-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.type-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 243, 255, 0.2);
}

.type-badge {
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.85rem;
}

.badge-location { background: rgba(59, 130, 246, 0.25); color: #93c5fd; }
.badge-service { background: rgba(168, 85, 247, 0.25); color: #e9d5ff; }

/* Ventajas vs Desventajas */
.matrix-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
}

.matrix-column {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
}

.matrix-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--glass-border);
}

.matrix-header.advantages i { color: var(--accent-green); font-size: 1.75rem; }
.matrix-header.disadvantages i { color: var(--accent-pink); font-size: 1.75rem; }

.matrix-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.matrix-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1.15rem;
    transition: var(--transition-fast);
}

.matrix-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(5px);
    border-color: rgba(255,255,255,0.3);
}

.matrix-item-title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-bright);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Calculator Widget (ROI & Savings) */
.calculator-box {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(0, 243, 255, 0.15));
    border: 1px solid var(--glass-border-glow);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-top: 3.5rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.range-slider-group {
    margin-bottom: 1.5rem;
}

.range-slider-group label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.range-input {
    width: 100%;
    accent-color: var(--accent-cyan);
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    cursor: pointer;
}

.calc-result-card {
    background: rgba(4, 6, 12, 0.9);
    border: 1px solid var(--accent-green);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.2);
}

/* Applications Tabs */
.apps-selector {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.app-tab {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--glass-border);
    color: #cbd5e1;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.app-tab.active, .app-tab:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    border-color: var(--accent-cyan);
}

.app-display-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-glow);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: center;
}

/* Case Study Accordion / Switcher */
.case-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.case-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.case-btn.active {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    border-color: var(--accent-pink);
    box-shadow: 0 0 15px rgba(255, 42, 133, 0.4);
}

.case-study-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border-glow);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 1.75rem;
}

.case-step {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
}

.case-step-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
}

/* MindMap & Infographic */
.mindmap-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--glass-border-glow);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

#mindmap-canvas {
    width: 100%;
    height: 480px;
    background: #04060c;
    border-radius: var(--radius-md);
    cursor: grab;
}

/* Custom Infographic: Tipos de Outsourcing */
.infographic-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.info-branch {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.branch-header {
    background: rgba(13, 19, 36, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.branch-header.geo-header {
    border-bottom: 3px solid var(--accent-cyan);
}

.branch-header.service-header {
    border-bottom: 3px solid var(--accent-pink);
}

.branch-header i {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}
.branch-header.geo-header i { color: var(--accent-cyan); }
.branch-header.service-header i { color: var(--accent-pink); }

.branch-nodes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.branch-node {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    transition: var(--transition-smooth);
}

.branch-node:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 243, 255, 0.15);
}

.branch-node.card-offshore:hover { border-color: var(--accent-cyan); }
.branch-node.card-nearshore:hover { border-color: var(--accent-green); }
.branch-node.card-onshore:hover { border-color: var(--accent-purple); }
.branch-node.card-bpo:hover { border-color: var(--accent-pink); }
.branch-node.card-kpo:hover { border-color: var(--accent-gold); }
.branch-node.card-ito:hover { border-color: var(--accent-blue); }

.node-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
}

.branch-node:hover .node-badge {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
}

.node-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.card-offshore .node-icon { color: var(--accent-cyan); background: rgba(0, 243, 255, 0.1); }
.card-nearshore .node-icon { color: var(--accent-green); background: rgba(0, 255, 157, 0.1); }
.card-onshore .node-icon { color: var(--accent-purple); background: rgba(168, 85, 247, 0.1); }
.card-bpo .node-icon { color: var(--accent-pink); background: rgba(255, 42, 133, 0.1); }
.card-kpo .node-icon { color: var(--accent-gold); background: rgba(255, 183, 3, 0.1); }
.card-ito .node-icon { color: var(--accent-blue); background: rgba(59, 130, 246, 0.1); }

.node-info {
    display: flex;
    flex-direction: column;
}

.node-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.node-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.node-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    align-self: flex-start;
    padding: 0.15rem 0.6rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
}

.node-tag.cyan { color: var(--accent-cyan); background: rgba(0, 243, 255, 0.15); }
.node-tag.green { color: var(--accent-green); background: rgba(0, 255, 157, 0.15); }
.node-tag.purple { color: var(--accent-purple); background: rgba(168, 85, 247, 0.15); }
.node-tag.pink { color: var(--accent-pink); background: rgba(255, 42, 133, 0.15); }
.node-tag.gold { color: var(--accent-gold); background: rgba(255, 183, 3, 0.15); }
.node-tag.blue { color: var(--accent-blue); background: rgba(59, 130, 246, 0.15); }

/* Central core hub */
.info-central-hub {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 80px;
    height: 100%;
}

.cyber-shield-core {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #04060c;
    border: 2px solid var(--accent-cyan);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    animation: rotateHub 10s linear infinite;
}

.cyber-shield-core i {
    font-size: 1.4rem;
    color: var(--accent-cyan);
    margin-bottom: 0.25rem;
}

@keyframes rotateHub {
    0% { border-color: var(--accent-cyan); box-shadow: 0 0 20px rgba(0, 243, 255, 0.4); }
    50% { border-color: var(--accent-pink); box-shadow: 0 0 20px rgba(255, 42, 133, 0.4); }
    100% { border-color: var(--accent-cyan); box-shadow: 0 0 20px rgba(0, 243, 255, 0.4); }
}

/* Radial Infographic: Ventajas de Outsourcing */
.radial-infographic {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(13, 19, 36, 0.5);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    overflow: hidden;
}

.radial-infographic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.radial-center-badge {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.badge-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--accent-cyan);
    animation: spinRing 25s linear infinite;
}

.badge-inner {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #04060c;
    border: 2px solid var(--accent-purple);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.badge-inner i {
    font-size: 2.2rem;
    color: var(--accent-purple);
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 0 8px var(--accent-purple));
}

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

.radial-wing {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    position: relative;
    transition: var(--transition-smooth);
}

.radial-wing:hover {
    background: rgba(255,255,255,0.06);
    transform: scale(1.025);
}

.wing-num {
    position: absolute;
    top: 10px;
    right: 15px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.08);
}

.radial-wing:hover .wing-num {
    color: var(--accent-cyan);
}

.wing-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.wing-content {
    display: flex;
    flex-direction: column;
}

.wing-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.wing-content p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.6rem;
}

.wing-stat {
    font-size: 0.72rem;
    font-weight: 800;
    align-self: flex-start;
    padding: 0.15rem 0.65rem;
    border-radius: 12px;
}

/* Wing specific positions & theme colors */
.wing-lt {
    grid-column: 1;
    grid-row: 1;
    border-right: 3px solid var(--accent-cyan);
}
.wing-lt .wing-icon { color: var(--accent-cyan); background: rgba(0, 243, 255, 0.08); }
.wing-lt .wing-stat { color: var(--accent-cyan); background: rgba(0, 243, 255, 0.12); }

.wing-rt {
    grid-column: 3;
    grid-row: 1;
    border-left: 3px solid var(--accent-purple);
}
.wing-rt .wing-icon { color: var(--accent-purple); background: rgba(168, 85, 247, 0.08); }
.wing-rt .wing-stat { color: var(--accent-purple); background: rgba(168, 85, 247, 0.12); }

.wing-lb {
    grid-column: 1;
    grid-row: 2;
    border-right: 3px solid var(--accent-green);
}
.wing-lb .wing-icon { color: var(--accent-green); background: rgba(0, 255, 157, 0.08); }
.wing-lb .wing-stat { color: var(--accent-green); background: rgba(0, 255, 157, 0.12); }

.wing-rb {
    grid-column: 3;
    grid-row: 2;
    border-left: 3px solid var(--accent-pink);
}
.wing-rb .wing-icon { color: var(--accent-pink); background: rgba(255, 42, 133, 0.08); }
.wing-rb .wing-stat { color: var(--accent-pink); background: rgba(255, 42, 133, 0.12); }

@media (max-width: 992px) {
    .infographic-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .info-central-hub {
        display: none;
    }
    .radial-infographic {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
        padding: 2rem;
    }
    .radial-center-badge {
        display: none;
    }
    .wing-lt, .wing-rt, .wing-lb, .wing-rb {
        grid-column: 1 !important;
        grid-row: auto !important;
        border-left: 3px solid var(--accent-cyan);
        border-right: none;
    }
    .wing-lt { border-color: var(--accent-cyan); }
    .wing-rt { border-color: var(--accent-purple); }
    .wing-lb { border-color: var(--accent-green); }
    .wing-rb { border-color: var(--accent-pink); }
}


/* Conclusions Cards */
.conclusions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.conclusion-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    transition: var(--transition-smooth);
}

.conclusion-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
}

.conclusion-user {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-bottom: 1.25rem;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #ffffff;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border-glow);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(0, 243, 255, 0.15);
    transition: transform 0.25s var(--transition-smooth);
}

.video-wrapper:hover {
    transform: scale(1.015);
    border-color: var(--accent-pink);
    box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 40px rgba(255, 42, 133, 0.2);
}

.video-wrapper:hover .youtube-play-btn {
    transform: scale(1.16) !important;
    background: #e50914 !important; /* Netflix red / youtube brand red */
    box-shadow: 0 0 45px rgba(229, 9, 20, 0.9) !important;
}


.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: #0d1324;
    border: 1px solid var(--glass-border-glow);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    width: 92%;
    max-width: 620px;
    box-shadow: 0 30px 70px rgba(0, 243, 255, 0.25);
}

.form-group {
    margin-bottom: 1.35rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.15rem;
    color: var(--text-bright);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

/* Footer */
footer {
    text-align: center;
    padding: 3.5rem 1.5rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .matrix-container { grid-template-columns: 1fr; }
    .calc-grid { grid-template-columns: 1fr; }
    .app-display-card { grid-template-columns: 1fr; }
    .timeline-container::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 3.5rem; padding-right: 0; }
    .timeline-item:nth-child(even) { left: 0; padding-left: 3.5rem; }
    .timeline-dot { left: 8px !important; right: auto; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .section-title { font-size: 2rem; }
    .cover-title { font-size: 1.85rem; }
}

/* Cursor Blink Keyframes */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes pulseGlowVideo {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px #ff2a85); }
    100% { transform: scale(1.1); filter: drop-shadow(0 0 20px #ff2a85); }
}

/* Dynamic Click Ripple Effect */
.click-ripple {
    position: fixed;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(1);
    animation: rippleEffect 0.5s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    box-shadow: 0 0 10px var(--accent-cyan);
}

@keyframes rippleEffect {
    to {
        width: 100px;
        height: 100px;
        opacity: 0;
        border-color: var(--accent-purple);
        box-shadow: 0 0 20px var(--accent-purple);
    }
}

/* Warp Speed Cyber Flash Overlay */
.warp-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 243, 255, 0.15);
    z-index: 1500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease-out;
}

.warp-flash.active {
    opacity: 1;
}

/* Cyber Comparison Table */
.cyber-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    text-align: left;
    background: rgba(13, 19, 36, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cyber-comparison-table th, 
.cyber-comparison-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cyber-comparison-table th {
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.cyber-comparison-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.table-criteria {
    font-weight: 700;
    color: var(--text-bright);
    white-space: nowrap;
}

.table-criteria i {
    color: var(--accent-cyan);
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

.highlight-cyan {
    color: var(--accent-cyan);
    background: rgba(0, 243, 255, 0.02);
}

/* Trivia & Certificate Styles */
.trivia-box {
    max-width: 700px;
    margin: 2rem auto;
    background: rgba(13, 19, 36, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.trivia-step {
    display: none;
}

.trivia-step.active {
    display: block;
    animation: fadeInStep 0.4s ease-out;
}

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

.trivia-progress {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.trivia-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: width 0.3s ease;
}

.trivia-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trivia-option {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trivia-option:hover {
    background: rgba(0, 243, 255, 0.08);
    border-color: var(--accent-cyan);
    transform: translateX(5px);
}

.trivia-option.correct {
    background: rgba(0, 255, 157, 0.15);
    border-color: var(--accent-green);
    color: #fff;
}

.trivia-option.wrong {
    background: rgba(255, 42, 133, 0.15);
    border-color: var(--accent-pink);
    color: #fff;
}

/* Certificate Styles */
.cyber-certificate {
    width: 100%;
    max-width: 600px;
    margin: 1.5rem auto;
    background: #04060c;
    border: 3px solid var(--accent-cyan);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 0 35px rgba(0, 243, 255, 0.25);
    box-sizing: border-box;
}

.cert-border {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px dashed var(--accent-purple);
    pointer-events: none;
}

.cert-content {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-institution {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cert-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--accent-purple);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.cert-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.cert-recipient {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
    width: 80%;
}

.cert-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    width: 90%;
}

.cert-signatures {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 1rem;
}

.cert-sig-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%;
}

.cert-sig-line {
    width: 80%;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin-bottom: 0.5rem;
}

.cert-sig-box span {
    font-size: 0.78rem;
    color: var(--text-bright);
}

.cert-sig-box .cert-role {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* Floating Cyber Audio Deck */
.cyber-audio-deck {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: rgba(13, 19, 36, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.cyber-audio-deck:hover {
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.4);
    transform: translateY(-2px);
}

.audio-deck-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    outline: none;
}

.audio-deck-btn.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px var(--accent-cyan);
}

/* Audio waves bars animation */
.audio-waves {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    width: 20px;
    height: 15px;
}

.audio-waves .bar {
    width: 3px;
    height: 3px;
    background: var(--text-muted);
    border-radius: 1.5px;
    transition: height 0.2s ease;
}

.audio-waves.playing .bar {
    background: var(--accent-cyan);
    animation: barBounce 1s ease-in-out infinite alternate;
}

.audio-waves.playing .bar:nth-child(1) { animation-delay: 0.1s; }
.audio-waves.playing .bar:nth-child(2) { animation-delay: 0.4s; }
.audio-waves.playing .bar:nth-child(3) { animation-delay: 0.2s; }
.audio-waves.playing .bar:nth-child(4) { animation-delay: 0.6s; }

@keyframes barBounce {
    0% { height: 3px; }
    100% { height: 15px; }
}

/* Print styles for printing ONLY the certificate */
@media print {
    body * {
        visibility: hidden;
    }
    #certificate-print-area, #certificate-print-area * {
        visibility: visible;
    }
    #certificate-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border: 3px solid #000;
        background: #fff;
        color: #000;
    }
    .cert-border {
        border-color: #000;
    }
    .cert-institution, .cert-title, .cert-recipient, .cert-sig-box span {
        color: #000 !important;
        text-shadow: none !important;
    }
}

/* Action Button Cyber Styling */
.action-btn {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border: none;
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
}

.action-btn i {
    font-size: 0.95rem;
}

/* Certificate Upgraded Visual Styles */
.cert-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid var(--accent-cyan);
    pointer-events: none;
    z-index: 10;
}
.cert-corner.top-left { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.cert-corner.top-right { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.cert-corner.bottom-left { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.cert-corner.bottom-right { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.cert-hologram {
    position: absolute;
    top: 2.2rem;
    right: 2.2rem;
    width: 58px;
    height: 58px;
    border: 2px dashed rgba(0, 243, 255, 0.4);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 243, 255, 0.03);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    z-index: 10;
}
.cert-hologram i {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    margin-bottom: 2px;
    text-shadow: 0 0 5px var(--accent-cyan);
}
.cert-hologram span {
    font-size: 0.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 0.5px;
}

.cert-meta {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
}
.cert-meta span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
}

/* Print override update for new elements */
@media print {
    .cert-corner {
        border-color: #000 !important;
    }
    .cert-hologram {
        border-color: #000 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .cert-hologram i, .cert-hologram span {
        color: #000 !important;
        text-shadow: none !important;
    }
    .cert-meta span {
        color: #000 !important;
    }
}



