/* ==========================================================================
   SWORD — Security Watch, Observation & Response Deception
   Official Stylesheet — WinsAI Cyber Defense Grid Design System
   Palette: Lead Black (#0B0F10), Panel Black (#121817), Bone White (#F4F1E8),
            Apple Green (#00F0FF), Soft Green (#0284C7)
   ========================================================================== */

:root {
    --sword-lead-black: #050B14;
    --sword-panel-black: #07101E;
    --sword-dark-canvas: #03070D;
    --sword-card-bg: rgba(9, 18, 34, 0.85);
    --sword-card-border: rgba(0, 240, 255, 0.22);
    --sword-bone-white: #F8FAFC;
    --sword-muted-bone: #94A3B8;
    --sword-dim-bone: #64748B;
    
    --sword-apple-green: #00F0FF;
    --sword-green-soft: #38BDF8;
    --sword-green-glow: rgba(0, 240, 255, 0.45);
    --sword-green-subtle: rgba(0, 240, 255, 0.12);

    --sword-cyan: #00F0FF;
    --sword-cyan-glow: rgba(0, 240, 255, 0.55);
    --sword-cyan-accent: #00F0FF;

    --sword-threat-red: #EF4444;
    --sword-threat-red-glow: rgba(239, 68, 68, 0.45);
    --sword-red-critical: #EF4444;

    --sword-amber-alert: #F59E0B;
    --sword-amber: #F59E0B;
    --sword-amber-glow: rgba(245, 158, 11, 0.4);

    --sword-purple-intel: #8B5CF6;
    --sword-purple: #8B5CF6;

    --sword-blue: #0284C7;
    --sword-emerald: #10B981;

    --sword-line: rgba(0, 240, 255, 0.16);
    --sword-radius-sm: 8px;
    --sword-radius-md: 14px;
    --sword-radius-lg: 20px;
    --sword-radius-xl: 28px;

    --font-display: 'Outfit', 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Global Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--sword-lead-black);
}

body.sword-page {
    background-color: var(--sword-lead-black);
    color: var(--sword-bone-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Cybernetic Dotted Matrix Grid & Ambient Atmosphere */
body.sword-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(rgba(0, 240, 255, 0.09) 1.2px, transparent 1.2px),
        linear-gradient(to right, rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 28px 28px, 56px 56px, 56px 56px;
    pointer-events: none;
    z-index: 0;
}

.sword-ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

.sword-ambient-1 {
    top: -150px;
    right: -100px;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.22) 0%, transparent 70%);
}

.sword-ambient-2 {
    top: 40%;
    left: -200px;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.16) 0%, transparent 70%);
}

.sword-ambient-3 {
    bottom: -150px;
    right: 15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

/* ==========================================================================
   TOP TACTICAL HUD BAR
   ========================================================================== */
.sword-hud-bar {
    background: #080C0D;
    border-bottom: 1px solid var(--sword-line);
    padding: 0.5rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sword-hud-items {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.sword-hud-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sword-apple-green);
    box-shadow: 0 0 10px var(--sword-apple-green);
    animation: hudPulse 1.8s infinite;
}

@keyframes hudPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.85); opacity: 0.45; }
}

.hud-label {
    color: var(--sword-dim-bone);
    font-weight: 600;
}

.hud-val {
    font-weight: 700;
}

.hud-val.green { color: var(--sword-apple-green); }
.hud-val.cyan { color: var(--sword-cyan-accent); }
.hud-val.yellow { color: var(--sword-amber-alert); }
.hud-val.purple { color: var(--sword-purple-intel); }

.sword-hud-back {
    color: var(--sword-muted-bone);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    font-weight: 600;
}

.sword-hud-back:hover {
    color: var(--sword-apple-green);
}

@media (max-width: 900px) {
    .hide-on-mobile { display: none; }
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.sword-header {
    background: rgba(11, 15, 16, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--sword-line);
    position: sticky;
    top: 36px;
    z-index: 90;
    transition: all 0.3s ease;
}

.sword-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sword-brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.sword-brand-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.4));
}

.sword-brand-text {
    display: flex;
    flex-direction: column;
}

.sword-brand-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--sword-bone-white);
    line-height: 1.1;
}

.sword-brand-sub {
    font-size: 0.7rem;
    color: var(--sword-apple-green);
    font-weight: 600;
    letter-spacing: 0.04em;
    font-family: var(--font-mono);
}

.sword-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sword-nav-link {
    color: var(--sword-muted-bone);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sword-nav-link:hover {
    color: var(--sword-bone-white);
}

.sword-nav-link.active-link {
    color: var(--sword-apple-green);
}

.sword-nav-cta {
    background: var(--sword-apple-green);
    color: #0B0F10;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sword-nav-cta:hover {
    background: #38BDF8;
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(0, 240, 255, 0.55);
}

@media (max-width: 1024px) {
    .sword-nav { display: none; }
}

/* ==========================================================================
   CONTAINER & SECTION COMMONS
   ========================================================================== */
.sword-container {
    max-width: 1240px;
    width: 92%;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.sword-section {
    padding: 6.5rem 0;
    position: relative;
}

.sword-section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 4rem auto;
}

.sword-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 0.775rem;
    font-weight: 700;
    color: var(--sword-apple-green);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.sword-section-title {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.18;
    color: var(--sword-bone-white);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.sword-section-subtitle {
    font-size: 1.15rem;
    color: var(--sword-muted-bone);
    line-height: 1.65;
}

.gradient-text-green,
.gradient-text-cyan {
    background: linear-gradient(135deg, #FFFFFF 0%, #00F0FF 55%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-red {
    background: linear-gradient(135deg, #FFFFFF 0%, #EF4444 65%, #F43F5E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   SECTION 1 — HERO
   ========================================================================== */
.sword-hero-section {
    padding: 4.5rem 0 6.5rem 0;
    position: relative;
}

.sword-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
}

.sword-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sword-apple-green);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.sword-hero-title {
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.12;
    color: var(--sword-bone-white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.sword-hero-subheadline {
    font-size: 1.2rem;
    color: var(--sword-muted-bone);
    line-height: 1.6;
    margin-bottom: 2.25rem;
}

.sword-hero-ctas {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.sword-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--sword-apple-green);
    color: #0B0F10;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    padding: 1rem 2.25rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.45);
    transition: all 0.3s ease;
}

.sword-cta-primary:hover {
    background: #38BDF8;
    transform: translateY(-2px);
    box-shadow: 0 0 45px rgba(0, 240, 255, 0.65);
}

.sword-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 241, 232, 0.05);
    border: 1px solid var(--sword-line);
    color: var(--sword-bone-white);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sword-cta-secondary:hover {
    background: rgba(244, 241, 232, 0.12);
    border-color: rgba(244, 241, 232, 0.3);
    transform: translateY(-2px);
}

.sword-trust-strip {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sword-line);
}

.sword-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--sword-muted-bone);
    font-family: var(--font-mono);
}

.sword-trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sword-apple-green);
}

.sword-hero-microcopy {
    font-size: 0.8rem;
    color: var(--sword-dim-bone);
    margin-top: 1rem;
    font-family: var(--font-mono);
}

/* Hero Tactical Command Center Mockup */
.sword-mockup-frame {
    background: #0E1415;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: var(--sword-radius-xl);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 240, 255, 0.15);
    overflow: hidden;
    position: relative;
}

.sword-mockup-topbar {
    background: #090D0E;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--sword-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }

.mockup-title-bar {
    font-family: var(--font-mono);
    font-size: 0.775rem;
    color: var(--sword-apple-green);
    letter-spacing: 0.08em;
    font-weight: 700;
}

.mockup-badge-live {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    background: rgba(0, 240, 255, 0.15);
    color: var(--sword-apple-green);
    border: 1px solid rgba(0, 240, 255, 0.35);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mockup-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Sensor Grid Strip */
.sword-sensor-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.sword-sensor-node {
    background: rgba(244, 241, 232, 0.03);
    border: 1px solid rgba(244, 241, 232, 0.08);
    border-radius: var(--sword-radius-sm);
    padding: 0.65rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sensor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sensor-name {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--sword-bone-white);
}

.sensor-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sword-apple-green);
    box-shadow: 0 0 6px var(--sword-apple-green);
}

.sensor-type {
    font-size: 0.65rem;
    color: var(--sword-dim-bone);
}

/* Central Split: Attacker Profile + IOC Live Feed */
.sword-telemetry-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sword-telemetry-box {
    background: rgba(11, 15, 16, 0.85);
    border: 1px solid var(--sword-line);
    border-radius: var(--sword-radius-md);
    padding: 1rem;
}

.telemetry-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sword-muted-bone);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Attacker Profile Card */
.attacker-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.attacker-ip {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ff5555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.attacker-meta {
    font-size: 0.75rem;
    color: var(--sword-dim-bone);
    font-family: var(--font-mono);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.attacker-tags {
    display: flex;
    gap: 6px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.attacker-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Live Telemetry Stream */
.telemetry-feed-stream {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-height: 160px;
    overflow-y: hidden;
    position: relative;
}

.feed-item {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.4rem 0.55rem;
    border-radius: 4px;
    background: rgba(244, 241, 232, 0.02);
    border-left: 3px solid var(--sword-apple-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feed-item.critical {
    border-left-color: var(--sword-red-critical);
    background: rgba(239, 68, 68, 0.08);
}

.feed-item.warning {
    border-left-color: var(--sword-amber-alert);
}

.feed-action {
    color: var(--sword-bone-white);
    font-weight: 600;
}

.feed-target {
    color: var(--sword-dim-bone);
}

/* Severity Distribution Bar */
.mockup-severity-bar {
    background: rgba(11, 15, 16, 0.9);
    border: 1px solid var(--sword-line);
    border-radius: var(--sword-radius-md);
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.severity-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--sword-muted-bone);
}

.severity-multi-bar {
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    background: rgba(255, 255, 255, 0.08);
}

.sev-seg-crit { width: 18%; background: #f87171; }
.sev-seg-high { width: 34%; background: #fb923c; }
.sev-seg-med  { width: 28%; background: #facc15; }
.sev-seg-low  { width: 20%; background: #4ade80; }

@media (max-width: 1024px) {
    .sword-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .sword-hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 640px) {
    .sword-sensor-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .sword-telemetry-split {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SECTION 1.5 — LOOM VIDEO DEMO
   ========================================================================== */
.sword-video-section {
    padding: 3.5rem 0 5.5rem 0;
    position: relative;
    background: linear-gradient(180deg, rgba(11, 15, 16, 0.4) 0%, rgba(18, 24, 23, 0.8) 50%, rgba(11, 15, 16, 0.4) 100%);
}

.sword-video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.sword-video-frame {
    position: relative;
    border-radius: var(--sword-radius-xl);
    padding: 12px;
    background: linear-gradient(145deg, rgba(22, 31, 29, 0.85) 0%, rgba(14, 20, 19, 0.95) 100%);
    border: 1px solid rgba(0, 240, 255, 0.35);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(0, 240, 255, 0.15);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.sword-video-frame:hover {
    border-color: rgba(0, 240, 255, 0.55);
    box-shadow: 0 25px 75px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 240, 255, 0.22);
}

.sword-video-aspect-16-9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--sword-radius-lg);
    background: #000000;
}

.sword-video-aspect-16-9 iframe,
.sword-video-aspect-16-9 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
    background: #000000;
}

.sword-video-meta-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1.25rem;
    padding: 0 0.5rem;
}

.sword-video-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.sword-vid-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--sword-muted-bone);
    font-family: var(--font-body);
}

.sword-vid-link {
    color: var(--sword-apple-green);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.sword-vid-link:hover {
    color: #38BDF8;
    text-decoration: underline;
    transform: translateX(3px);
}

/* ==========================================================================
   SECTION 2 — EL PROBLEMA
   ========================================================================== */
.sword-problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

@media (max-width: 768px) {
    .sword-problem-grid { grid-template-columns: 1fr; }
}

.sword-problem-card {
    background: var(--sword-card-bg);
    border: 1px solid var(--sword-card-border);
    border-radius: var(--sword-radius-lg);
    padding: 2.25rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sword-problem-card:hover {
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(239, 68, 68, 0.1);
}

.sword-problem-num {
    font-family: var(--font-mono);
    font-size: 0.775rem;
    font-weight: 700;
    color: #f87171;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: inline-block;
}

.sword-problem-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--sword-bone-white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.sword-problem-desc {
    color: var(--sword-muted-bone);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   SECTION 3 — PROPUESTA DE VALOR & 3 PILARES
   ========================================================================== */
.sword-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .sword-pillars-grid { grid-template-columns: 1fr; }
}

.sword-pillar-card {
    background: var(--sword-card-bg);
    border: 1px solid var(--sword-card-border);
    border-radius: var(--sword-radius-lg);
    padding: 2.75rem 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sword-pillar-card:hover {
    border-color: rgba(0, 240, 255, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px var(--sword-green-glow);
    transform: translateY(-4px);
}

.sword-pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--sword-radius-md);
    background: var(--sword-green-subtle);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--sword-apple-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.sword-pillar-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--sword-apple-green);
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.sword-pillar-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--sword-bone-white);
    margin-bottom: 1rem;
}

.sword-pillar-desc {
    color: var(--sword-muted-bone);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   SECTION 4 — CÓMO FUNCIONA (FLUJO 5 FASES)
   ========================================================================== */
.sword-workflow-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    position: relative;
}

@media (max-width: 1024px) {
    .sword-workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .sword-workflow-grid {
        grid-template-columns: 1fr;
    }
}

.sword-workflow-card {
    background: var(--sword-card-bg);
    border: 1px solid var(--sword-card-border);
    border-radius: var(--sword-radius-lg);
    padding: 2rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.sword-workflow-card:hover {
    border-color: var(--sword-apple-green);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px var(--sword-green-glow);
    transform: translateY(-3px);
}

.workflow-step-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--sword-apple-green);
    line-height: 1;
    margin-bottom: 1rem;
}

.workflow-step-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sword-bone-white);
    margin-bottom: 0.75rem;
}

.workflow-step-desc {
    font-size: 0.875rem;
    color: var(--sword-muted-bone);
    line-height: 1.55;
}

/* ==========================================================================
   SECTION 5 — MÓDULOS SWORD
   ========================================================================== */
.sword-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.sword-module-card.span-2 {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .sword-modules-grid { grid-template-columns: 1fr; }
    .sword-module-card.span-2 { grid-column: span 1; }
}

.sword-module-card {
    background: var(--sword-card-bg);
    border: 1px solid var(--sword-card-border);
    border-radius: var(--sword-radius-lg);
    padding: 2.5rem 2.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sword-module-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 35px var(--sword-green-glow);
    transform: translateY(-4px);
}

.module-badge {
    font-family: var(--font-mono);
    font-size: 0.725rem;
    font-weight: 700;
    color: var(--sword-apple-green);
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 1.25rem;
    align-self: flex-start;
}

.module-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--sword-bone-white);
    margin-bottom: 0.85rem;
}

.module-desc {
    color: var(--sword-muted-bone);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.module-specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    border-top: 1px solid var(--sword-line);
    padding-top: 1rem;
}

.module-specs-list li {
    font-family: var(--font-mono);
    font-size: 0.775rem;
    color: var(--sword-dim-bone);
    display: flex;
    align-items: center;
    gap: 8px;
}

.module-specs-list li::before {
    content: '›';
    color: var(--sword-apple-green);
    font-size: 1.1rem;
    font-weight: 700;
}

/* ==========================================================================
   SECTION 6 — CASOS DE USO
   ========================================================================== */
.sword-usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

@media (max-width: 900px) {
    .sword-usecases-grid { grid-template-columns: 1fr; }
}

.sword-usecase-card {
    background: var(--sword-card-bg);
    border: 1px solid var(--sword-card-border);
    border-radius: var(--sword-radius-lg);
    padding: 2.25rem 2rem;
    transition: all 0.3s ease;
}

.sword-usecase-card:hover {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(34, 211, 238, 0.15);
    transform: translateY(-3px);
}

.usecase-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--sword-radius-sm);
    background: rgba(34, 211, 238, 0.1);
    color: var(--sword-cyan-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.usecase-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sword-bone-white);
    margin-bottom: 0.75rem;
}

.usecase-desc {
    color: var(--sword-muted-bone);
    font-size: 0.925rem;
    line-height: 1.6;
}

/* ==========================================================================
   SECTION 7 — BENEFICIOS (DUAL PROFILE TABS)
   ========================================================================== */
.sword-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.sword-tab-btn {
    background: rgba(244, 241, 232, 0.05);
    border: 1px solid var(--sword-line);
    color: var(--sword-muted-bone);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem 2.25rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sword-tab-btn.active {
    background: var(--sword-apple-green);
    color: #0B0F10;
    border-color: var(--sword-apple-green);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

.sword-tab-pane {
    display: none;
}

.sword-tab-pane.active {
    display: block;
    animation: fadeInTab 0.35s ease;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.sword-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .sword-benefits-grid { grid-template-columns: 1fr; }
}

.sword-benefit-card {
    background: var(--sword-card-bg);
    border: 1px solid var(--sword-card-border);
    border-radius: var(--sword-radius-lg);
    padding: 2rem 1.75rem;
    transition: all 0.25s ease;
}

.sword-benefit-card:hover {
    border-color: var(--sword-apple-green);
    transform: translateY(-2px);
}

.benefit-icon-check {
    color: var(--sword-apple-green);
    margin-bottom: 0.85rem;
}

.benefit-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sword-bone-white);
    margin-bottom: 0.5rem;
}

.benefit-desc {
    color: var(--sword-muted-bone);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ==========================================================================
   SECTION 8 — SEGURIDAD Y ÉTICA DEFENSIVA
   ========================================================================== */
.sword-defense-ethics-card {
    background: linear-gradient(135deg, rgba(18, 24, 23, 0.9) 0%, rgba(8, 12, 13, 0.95) 100%);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: var(--sword-radius-xl);
    padding: 3.5rem 3rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(0, 240, 255, 0.12);
}

.sword-principles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

@media (max-width: 1024px) {
    .sword-principles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .sword-principles-grid { grid-template-columns: 1fr; }
}

.sword-principle-item {
    background: rgba(244, 241, 232, 0.02);
    border: 1px solid var(--sword-line);
    border-radius: var(--sword-radius-md);
    padding: 1.5rem 1.25rem;
    text-align: center;
}

.principle-icon {
    color: var(--sword-apple-green);
    margin-bottom: 0.75rem;
}

.principle-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sword-bone-white);
    margin-bottom: 0.4rem;
}

.principle-desc {
    font-size: 0.825rem;
    color: var(--sword-dim-bone);
    line-height: 1.5;
}

/* ==========================================================================
   SECTION 9 — INTEGRACIÓN CON WINSAI
   ========================================================================== */
.sword-winsai-ecosystem-box {
    background: rgba(14, 20, 21, 0.85);
    border: 1px solid var(--sword-line);
    border-radius: var(--sword-radius-xl);
    padding: 3.5rem 3rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 900px) {
    .sword-winsai-ecosystem-box { grid-template-columns: 1fr; padding: 2.5rem 1.75rem; }
}

.ecosystem-pillars-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ecosystem-pillar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(244, 241, 232, 0.03);
    border: 1px solid var(--sword-line);
    border-radius: var(--sword-radius-md);
    padding: 1rem 1.25rem;
}

.eco-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--sword-apple-green);
    flex-shrink: 0;
}

.eco-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--sword-bone-white);
}

.eco-desc {
    font-size: 0.875rem;
    color: var(--sword-muted-bone);
}

/* ==========================================================================
   SECTION 10 — CONTACTO COMERCIAL & DEMO (DUAL GRID)
   ========================================================================== */
.sword-contact-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem;
    align-items: stretch;
}

@media (max-width: 1060px) {
    .sword-contact-dual-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.sword-contact-left-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Direct Channels Row */
.sword-direct-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .sword-direct-channels { grid-template-columns: 1fr; }
}

.sword-channel-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.25rem;
    background: var(--sword-panel-black);
    border: 1px solid var(--sword-line);
    border-radius: var(--sword-radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sword-channel-wa:hover {
    border-color: rgba(37, 211, 102, 0.6);
    background: rgba(37, 211, 102, 0.08);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
    transform: translateY(-2px);
}

.sword-channel-email:hover {
    border-color: rgba(0, 240, 255, 0.6);
    background: rgba(0, 240, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
}

.sword-wa-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sword-mail-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.15);
    color: var(--sword-apple-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sword-channel-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.sword-channel-label {
    font-size: 0.725rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sword-dim-bone);
    font-weight: 600;
    font-family: var(--font-mono);
}

.sword-channel-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sword-bone-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.sword-channel-action {
    font-size: 0.8rem;
    color: #25d366;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(37, 211, 102, 0.15);
    white-space: nowrap;
}

.sword-copy-email-btn {
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: var(--sword-apple-green);
    padding: 6px 12px;
    font-size: 0.775rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: var(--font-mono);
}

.sword-copy-email-btn:hover {
    background: var(--sword-apple-green);
    color: #0B0F10;
}

.sword-copy-email-btn.copied {
    background: #00ff88;
    color: #0B0F10;
    border-color: #00ff88;
}

/* Left Form Box */
.sword-form-card {
    background: var(--sword-panel-black);
    border: 1px solid var(--sword-line);
    border-radius: var(--sword-radius-xl);
    padding: 2.25rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.sword-form-header-bar {
    margin-bottom: 1.5rem;
}

.sword-form-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--sword-bone-white);
    margin-bottom: 0.35rem;
}

.sword-form-desc {
    font-size: 0.875rem;
    color: var(--sword-muted-bone);
    line-height: 1.5;
}

.sword-form-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
}

.sword-form-grid-compact .sword-form-full {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .sword-form-grid-compact { grid-template-columns: 1fr; }
    .sword-form-grid-compact .sword-form-full { grid-column: span 1; }
}

.sword-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.sword-label {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--sword-bone-white);
    font-family: var(--font-mono);
}

.sword-label span.req {
    color: var(--sword-apple-green);
}

.sword-input,
.sword-select,
.sword-textarea {
    width: 100%;
    background: rgba(8, 12, 13, 0.85);
    border: 1px solid var(--sword-line);
    border-radius: var(--sword-radius-md);
    padding: 0.75rem 1rem;
    color: var(--sword-bone-white);
    font-family: inherit;
    font-size: 0.925rem;
    outline: none;
    transition: all 0.25s ease;
}

.sword-input:focus,
.sword-select:focus,
.sword-textarea:focus {
    border-color: var(--sword-apple-green);
    box-shadow: 0 0 0 3px var(--sword-green-glow);
    background: rgba(8, 12, 13, 0.98);
}

.sword-select option {
    background: #0E1415;
    color: #ffffff;
}

.sword-textarea {
    resize: vertical;
    min-height: 95px;
}

.sword-submit-btn {
    width: 100%;
    background: var(--sword-apple-green);
    color: #0B0F10;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    padding: 1rem 1.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 240, 255, 0.5);
    box-shadow: 0 4px 25px var(--sword-green-glow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sword-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(0, 240, 255, 0.65);
    background: #38BDF8;
}

.sword-form-disclaimer {
    font-size: 0.775rem;
    color: var(--sword-dim-bone);
    text-align: center;
    font-family: var(--font-mono);
}

/* Form Feedback Box */
.sword-feedback-box {
    display: none;
    border-radius: var(--sword-radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.sword-feedback-box.success {
    display: block;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: var(--sword-bone-white);
}

.sword-feedback-box.error {
    display: block;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
}

/* Right Column — Calendly Widget Wrapper */
.sword-calendly-col {
    display: flex;
    flex-direction: column;
}

.sword-calendly-wrapper {
    background: var(--sword-panel-black);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: var(--sword-radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 240, 255, 0.12);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 780px;
}

.sword-calendly-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.5rem;
    background: #090D0E;
    border-bottom: 1px solid var(--sword-line);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sword-cal-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--sword-bone-white);
    font-family: var(--font-mono);
}

.sword-cal-badge {
    font-size: 0.775rem;
    color: var(--sword-apple-green);
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-family: var(--font-mono);
}

/* ==========================================================================
   SECTION 11 — FAQ ACCORDION
   ========================================================================== */
.sword-faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sword-faq-item {
    background: var(--sword-card-bg);
    border: 1px solid var(--sword-card-border);
    border-radius: var(--sword-radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.sword-faq-item.open {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.sword-faq-question {
    padding: 1.35rem 1.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sword-bone-white);
    user-select: none;
}

.sword-faq-icon {
    font-size: 1.4rem;
    color: var(--sword-apple-green);
    transition: transform 0.3s ease;
}

.sword-faq-item.open .sword-faq-icon {
    transform: rotate(45deg);
}

.sword-faq-answer {
    display: none;
    padding: 0 1.75rem 1.5rem 1.75rem;
    color: var(--sword-muted-bone);
    font-size: 0.95rem;
    line-height: 1.65;
}

.sword-faq-item.open .sword-faq-answer {
    display: block;
}

/* ==========================================================================
   FINAL CTA BANNER & FOOTER
   ========================================================================== */
.sword-final-banner {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(14, 165, 233, 0.12) 50%, rgba(18, 24, 23, 0.9) 100%);
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: var(--sword-radius-xl);
    padding: 4.5rem 2rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 240, 255, 0.15);
}

.sword-footer {
    background: #070A0B;
    border-top: 1px solid var(--sword-line);
    padding: 4.5rem 0 2.5rem 0;
}
/* ==========================================================================
   NEW MODULES CSS — SENTINEL HUD, SEÑUELOS 52, SWORD MESH, MITRE ATT&CK, BRIEF
   ========================================================================== */

/* --- Module 1: Sentinel HUD & Live KPIs --- */
.sword-sentinel-hud-container {
    background: #060c18;
    border: 1px solid rgba(0, 240, 255, 0.28);
    border-radius: var(--sword-radius-xl);
    padding: 1.75rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 55px rgba(0, 240, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sword-sentinel-topbar {
    background: rgba(10, 20, 38, 0.75);
    border: 1px solid rgba(0, 240, 255, 0.18);
    border-radius: var(--sword-radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.sentinel-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sentinel-radar-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.12);
    border: 1.5px solid var(--sword-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sword-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
    position: relative;
}

.sentinel-radar-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--sword-cyan);
    animation: radarScan 2.5s infinite linear;
}

@keyframes radarScan {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.sentinel-title-text h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--sword-bone-white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sentinel-title-text p {
    font-size: 0.85rem;
    color: var(--sword-muted-bone);
}

.sentinel-time-filters {
    display: flex;
    gap: 6px;
    background: rgba(4, 9, 18, 0.85);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(0, 240, 255, 0.15);
}

.sentinel-time-btn {
    background: transparent;
    border: none;
    color: var(--sword-muted-bone);
    font-family: var(--font-mono);
    font-size: 0.775rem;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.sentinel-time-btn.active, .sentinel-time-btn:hover {
    background: var(--sword-cyan);
    color: #03070d;
    font-weight: 800;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.45);
}

/* 4 KPI Cards Grid */
.sword-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1024px) {
    .sword-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .sword-kpi-grid { grid-template-columns: 1fr; }
}

.sword-kpi-card {
    background: rgba(9, 18, 36, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.16);
    border-radius: var(--sword-radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.sword-kpi-card:hover {
    border-color: rgba(0, 240, 255, 0.45);
    transform: translateY(-2px);
}

.sword-kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sword-kpi-label {
    font-family: var(--font-mono);
    font-size: 0.725rem;
    color: var(--sword-dim-bone);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sword-kpi-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.sword-kpi-icon-badge.cyan { background: rgba(0, 240, 255, 0.12); color: var(--sword-cyan); border: 1px solid rgba(0, 240, 255, 0.3); }
.sword-kpi-icon-badge.red { background: rgba(239, 68, 68, 0.12); color: var(--sword-threat-red); border: 1px solid rgba(239, 68, 68, 0.3); }
.sword-kpi-icon-badge.green { background: rgba(16, 185, 129, 0.12); color: var(--sword-emerald); border: 1px solid rgba(16, 185, 129, 0.3); }
.sword-kpi-icon-badge.amber { background: rgba(245, 158, 11, 0.12); color: var(--sword-amber); border: 1px solid rgba(245, 158, 11, 0.3); }

.sword-kpi-value {
    font-family: var(--font-display);
    font-size: 2.15rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--sword-bone-white);
    letter-spacing: -0.02em;
}

.sword-kpi-value.cyan { color: var(--sword-cyan); text-shadow: 0 0 20px rgba(0, 240, 255, 0.4); }
.sword-kpi-value.red { color: var(--sword-threat-red); text-shadow: 0 0 20px rgba(239, 68, 68, 0.4); }
.sword-kpi-value.ip { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 800; }

.sword-kpi-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.775rem;
    color: var(--sword-muted-bone);
}

.kpi-pill {
    font-family: var(--font-mono);
    font-size: 0.675rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
}
.kpi-pill.cyan { background: rgba(0, 240, 255, 0.15); color: var(--sword-cyan); border: 1px solid rgba(0, 240, 255, 0.3); }
.kpi-pill.red { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.kpi-pill.green { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.kpi-pill.amber { background: rgba(245, 158, 11, 0.15); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.3); }

/* Central Split: IOC Distribution + Arsenal Forense */
.sword-sentinel-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 900px) {
    .sword-sentinel-split { grid-template-columns: 1fr; }
}

.sword-hud-card {
    background: rgba(9, 18, 36, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.18);
    border-radius: var(--sword-radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hud-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hud-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--sword-bone-white);
    letter-spacing: 0.02em;
}

.hud-card-sub {
    font-size: 0.775rem;
    color: var(--sword-dim-bone);
}

.hud-action-pill {
    font-family: var(--font-mono);
    font-size: 0.675rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    background: rgba(0, 240, 255, 0.12);
    color: var(--sword-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

/* Horizontal IOC Bars */
.sword-ioc-bars {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ioc-bar-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ioc-bar-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.725rem;
    color: var(--sword-muted-bone);
}

.ioc-bar-track {
    height: 14px;
    background: rgba(3, 7, 13, 0.8);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 240, 255, 0.12);
}

.ioc-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.5) 0%, rgba(0, 240, 255, 0.95) 100%);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

/* Arsenal Forense Live Log Feed */
.sword-forensic-feed {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.forensic-log-item {
    background: rgba(4, 9, 18, 0.9);
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: 6px;
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.log-meta-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

.log-service-tag {
    font-size: 0.625rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.log-ip {
    color: var(--sword-muted-bone);
}

.log-intel-btn {
    background: var(--sword-cyan);
    color: #03070d;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 800;
    border: none;
    border-radius: 4px;
    padding: 2px 7px;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.log-cmd-code {
    font-family: var(--font-mono);
    font-size: 0.775rem;
    color: #38bdf8;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 8px;
    border-radius: 4px;
    word-break: break-all;
}

/* --- Module 2: Catálogo de Señuelos (52 Plantillas) --- */
.sword-catalogo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.sword-cat-tab {
    background: rgba(9, 18, 36, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.16);
    color: var(--sword-muted-bone);
    font-family: var(--font-mono);
    font-size: 0.825rem;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.sword-cat-tab:hover, .sword-cat-tab.active {
    background: rgba(0, 240, 255, 0.14);
    border-color: var(--sword-cyan);
    color: var(--sword-cyan);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.25);
}

.cat-tab-badge {
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.7rem;
    padding: 1px 6px;
    border-radius: 4px;
}

.sword-decoys-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 1100px) {
    .sword-decoys-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .sword-decoys-grid { grid-template-columns: 1fr; }
}

.sword-decoy-card {
    background: rgba(9, 18, 36, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.18);
    border-radius: var(--sword-radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sword-decoy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sword-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sword-decoy-card:hover {
    border-color: var(--sword-cyan);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 240, 255, 0.2);
}

.sword-decoy-card:hover::before {
    opacity: 1;
}

.decoy-top-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.decoy-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--sword-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.2);
}

.decoy-badges-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.decoy-type-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--sword-dim-bone);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.decoy-sev-pill {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
}
.decoy-sev-pill.medio { background: rgba(2, 132, 199, 0.2); color: #38bdf8; border: 1px solid rgba(2, 132, 199, 0.4); }
.decoy-sev-pill.alto { background: rgba(245, 158, 11, 0.2); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.4); }
.decoy-sev-pill.bajo { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.4); }

.decoy-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--sword-bone-white);
    margin: 0.75rem 0 0.5rem 0;
}

.decoy-desc {
    font-size: 0.85rem;
    color: var(--sword-muted-bone);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.decoy-ports-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.25rem;
}

.decoy-port-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background: rgba(3, 7, 13, 0.75);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: #38bdf8;
    padding: 3px 8px;
    border-radius: 4px;
}

.decoy-deploy-btn {
    width: 100%;
    background: var(--sword-cyan);
    color: #03070d;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
    transition: all 0.25s ease;
    text-decoration: none;
}

.decoy-deploy-btn:hover {
    background: #5eead4;
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(0, 240, 255, 0.6);
}

/* --- Module 3: SWORD Mesh (Malla Visual de Ataque) --- */
.sword-mesh-wrapper {
    background: #03070d;
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: var(--sword-radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.95), 0 0 60px rgba(0, 240, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.sword-mesh-canvas-box {
    width: 100%;
    min-height: 520px;
    position: relative;
    background-image: radial-gradient(rgba(0, 240, 255, 0.12) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    border-radius: var(--sword-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    overflow-x: auto;
}

.mesh-left-attackers {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    z-index: 2;
}

.mesh-attacker-node {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mesh-node-orb {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid var(--sword-threat-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
    position: relative;
}

.mesh-node-orb::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--sword-threat-red);
    animation: pulseRingRed 2s infinite ease-out;
}

@keyframes pulseRingRed {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1.8); opacity: 0; }
}

.mesh-node-ip {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: #fca5a5;
    background: rgba(15, 23, 42, 0.85);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.mesh-node-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #f87171;
    font-weight: 800;
}

.mesh-center-corridor {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 2;
    padding: 0 2rem;
}

.mesh-protocol-pill {
    font-family: var(--font-mono);
    font-size: 0.725rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mesh-protocol-pill.activedir { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.35); }
.mesh-protocol-pill.smb { background: rgba(2, 132, 199, 0.2); color: #38bdf8; border: 1px solid rgba(2, 132, 199, 0.4); }
.mesh-protocol-pill.http { background: rgba(245, 158, 11, 0.2); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.4); }
.mesh-protocol-pill.ldap { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.4); }

.mesh-right-targets {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    z-index: 2;
}

.mesh-target-card {
    background: rgba(10, 20, 38, 0.95);
    border: 1.5px solid var(--sword-cyan);
    border-radius: var(--sword-radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.25);
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.mesh-target-card.red-shield {
    border-color: var(--sword-threat-red);
    box-shadow: 0 0 35px rgba(239, 68, 68, 0.25);
}

.target-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--sword-bone-white);
}

.target-orb-cyan {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.2);
    border: 1.5px solid var(--sword-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sword-cyan);
}

.target-orb-red {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    border: 1.5px solid var(--sword-threat-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sword-threat-red);
}

.target-ip {
    font-family: var(--font-mono);
    font-size: 0.775rem;
    color: var(--sword-dim-bone);
}

.target-ports-pill {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background: rgba(0, 240, 255, 0.1);
    color: var(--sword-cyan);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 3px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.target-ports-pill.red {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.25);
}

/* --- Module 4: MITRE ATT&CK Matrix & Cyber Kill Chain --- */
.sword-mitre-panel {
    background: #060c18;
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: var(--sword-radius-xl);
    padding: 2rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sword-mitre-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: rgba(10, 20, 38, 0.7);
    padding: 1rem 1.25rem;
    border-radius: var(--sword-radius-md);
    border: 1px solid rgba(0, 240, 255, 0.15);
}

.mitre-tab-switch {
    display: flex;
    gap: 8px;
}

.mitre-btn {
    background: transparent;
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--sword-muted-bone);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mitre-btn.active, .mitre-btn:hover {
    background: var(--sword-cyan);
    color: #03070d;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
}

.mitre-summary-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    background: rgba(3, 7, 13, 0.8);
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 240, 255, 0.12);
}

.mitre-stat-item {
    color: var(--sword-muted-bone);
}

.mitre-stat-item strong {
    color: var(--sword-cyan);
}

.sword-mitre-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.15rem;
    overflow-x: auto;
}

@media (max-width: 1200px) {
    .sword-mitre-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .sword-mitre-grid { grid-template-columns: 1fr; }
}

.mitre-column {
    background: rgba(9, 18, 36, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.16);
    border-radius: var(--sword-radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mitre-col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.5rem;
}

.mitre-col-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--sword-bone-white);
}

.mitre-col-code {
    font-family: var(--font-mono);
    font-size: 0.675rem;
    color: var(--sword-dim-bone);
}

.mitre-badge-active {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}
.mitre-badge-active.amber { background: rgba(245, 158, 11, 0.2); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.4); }
.mitre-badge-active.red { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }
.mitre-badge-active.purple { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, 0.4); }
.mitre-badge-active.blue { background: rgba(2, 132, 199, 0.2); color: #38bdf8; border: 1px solid rgba(2, 132, 199, 0.4); }
.mitre-badge-active.green { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.4); }

.mitre-card {
    background: rgba(4, 9, 18, 0.9);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 6px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mitre-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mitre-id {
    font-family: var(--font-mono);
    font-size: 0.725rem;
    font-weight: 800;
    color: var(--sword-cyan);
}

.mitre-hits-pill {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(0, 240, 255, 0.15);
    color: var(--sword-cyan);
}

.mitre-hits-pill.red {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.mitre-name {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--sword-bone-white);
    line-height: 1.35;
}

.mitre-adversaries {
    font-family: var(--font-mono);
    font-size: 0.675rem;
    color: var(--sword-dim-bone);
}

/* --- Module 5: SWORD Brief (Informes Ejecutivos CISO) --- */
.sword-brief-wrapper {
    background: #060c18;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--sword-radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(245, 158, 11, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sword-brief-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.25rem;
}

.sword-amber-banner {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.45);
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.775rem;
    color: #fbbf24;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sword-brief-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--sword-muted-bone);
    background: rgba(3, 7, 13, 0.75);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sword-brief-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.sword-brief-table th {
    background: rgba(10, 20, 38, 0.9);
    color: var(--sword-dim-bone);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.sword-brief-table td {
    padding: 1rem;
    color: var(--sword-bone-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sword-btn-pdf {
    background: var(--sword-cyan);
    color: #03070d;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.35);
    transition: all 0.2s ease;
}

.sword-btn-pdf:hover {
    background: #38bdf8;
    transform: translateY(-2px);
}
