/* ============================================================
   VAPT HUB — responsible-disclosure.css : CYBER FRAMES & FORMS
   ============================================================ */

/* ---- GLOBAL ACCENTS & ANIMATIONS ---- */
* { box-sizing: border-box; }
.glow-hover { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease; }
.glow-hover:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(255, 20, 40, 0.2); border-color: var(--red); z-index: 10; }

.shine-text { background: linear-gradient(90deg, var(--red) 0%, #ff6b6b 50%, var(--red) 100%); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: shineAnim 3s linear infinite; }
@keyframes shineAnim { to { background-position: 200% center; } }

.pulse-btn { position: relative; overflow: hidden; }
.pulse-btn::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--red); opacity: 0; transform: scale(1); transition: all 0.6s ease-out; clip-path: inherit; }
.pulse-btn:hover::after { opacity: 1; transform: scale(1.15, 1.3); opacity: 0; border-color: transparent; }

.pulsing { animation: vhNodeBlink 1.5s infinite alternate; }
@keyframes vhNodeBlink { 0% { opacity: 0.3; filter: drop-shadow(0 0 2px var(--red));} 100% { opacity: 1; filter: drop-shadow(0 0 8px var(--red));} }

.hover-text-glow { transition: color 0.4s ease, text-shadow 0.4s ease; }
.hover-text-glow:hover { color: #ffffff !important; text-shadow: 0 0 12px rgba(255,20,40,0.6); }

.active-scanline { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(to bottom, transparent, rgba(255,20,40,0.8), transparent); box-shadow: 0 0 15px rgba(255,20,40,0.9); animation: imageScan 3s linear infinite; z-index: 5; pointer-events: none; }
@keyframes imageScan { 0% { transform: translateY(-10px); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(110%); opacity: 0; } }

@keyframes spinCW { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spinCCW { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }

/* ---- CYBER SHAPES ---- */
.cyber-cut { clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px); border-radius: 0 !important; }
.cyber-cut-btn { clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); border-radius: 0 !important; }
.3d-tilt { transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); transform-style: preserve-3d; }

/* Background Patterns */
.pattern-grid { position: relative; }
.pattern-grid::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,20,40,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,20,40,0.02) 1px, transparent 1px); background-size: 40px 40px; z-index: -1; pointer-events: none;}
.dotbg{position:relative}
.dotbg::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.6; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='2' cy='2' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E")}

/* ============================================================
   GRAY TEXTURED BACKGROUND
   ============================================================ */
.bg-gray-texture {
    position: relative;
    background-color: rgba(14, 16, 21, 0.85);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(135deg, rgba(24,26,34,0.8) 0%, rgba(11,13,17,0.8) 100%);
    background-size: 20px 20px, 20px 20px, 100% 100%;
    z-index: 1;
    overflow: hidden;
}
.bg-gray-texture::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: repeating-linear-gradient( 45deg, transparent, transparent 10px, rgba(255,255,255,0.015) 10px, rgba(255,255,255,0.015) 20px );
    animation: texturePan 20s linear infinite; pointer-events: none; opacity: 0.6;
}
@keyframes texturePan { 0% { background-position: 0 0; } 100% { background-position: 200px 200px; } }

/* ============================================================
   BREATHING GLASSMORPHISM
   ============================================================ */
.glass-breathe {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.02), inset 0 0 20px rgba(255, 255, 255, 0.02);
    animation: glassPulse 4s ease-in-out infinite;
}
@keyframes glassPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.02), inset 0 0 20px rgba(255, 255, 255, 0.02);
        border-color: rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.06), inset 0 0 30px rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.25);
    }
}

/* Base Headings & Alignment */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px;}
.head-left { display: flex; flex-direction: column; }

/* ---- HERO ---- */
.rd-hero{padding:calc(var(--hdr-h) + 70px) 0 80px;overflow:hidden; max-width: 1280px; margin: 0 auto;}
.rd-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center}
.rd-copy{position:relative}
.rd-title{font-size:clamp(2.1rem,4.8vw,3.8rem);font-weight:700;text-transform:uppercase;line-height:1.08;margin:22px 0 22px}
.rd-title .line{display:block;overflow:hidden}
.rd-title .line-inner{display:block}
.rd-sub{max-width:580px;font-size:clamp(1.05rem,1.3vw,1.15rem);margin-bottom:32px; color: #F4F6F9; line-height: 1.7; font-weight: 400;}
.rd-sub strong{color:#ffffff; font-weight: 700;}
.rd-actions{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:32px}

.rd-meta{display:flex;gap:20px;flex-wrap:wrap; border-top: 1px dashed rgba(255,255,255,0.15); padding-top: 24px;}
.rd-meta li{display:flex;align-items:center;gap:9px;font-family:var(--f-sec);font-weight:700;font-size:11.5px;letter-spacing:.15em;color:#E8E8E8;text-transform:uppercase}

/* ---- MASSIVE HERO HOLOGRAPHIC CORE ---- */
.rd-visual-holo { position: relative; width: 100%; display: flex; justify-content: center; }
.hero-holo-container { position: relative; width: 440px; height: 440px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.hero-holo-container .holo-crosshair { position: absolute; inset: 0; z-index: 0; }
.hero-holo-container .holo-crosshair::before { content: ""; position: absolute; width: 100%; height: 1px; background: rgba(255,20,40,0.25); top: 50%; transform: translateY(-50%); }
.hero-holo-container .holo-crosshair::after { content: ""; position: absolute; width: 1px; height: 100%; background: rgba(255,20,40,0.25); left: 50%; transform: translateX(-50%); }

.hero-holo-container .holo-ring { position: absolute; border-radius: 50%; border: 1px solid transparent; z-index: 2; transition: 0.3s; }
.hero-holo-container .hr-1 { inset: 20px; border: 3px dashed rgba(255,20,40,0.5); border-top-color: var(--red); border-bottom-color: var(--red); animation: spinCW 20s linear infinite; filter: drop-shadow(0 0 10px rgba(255,20,40,0.5)); }
.hero-holo-container .hr-2 { inset: 50px; border: 2px dotted rgba(255,255,255,0.2); border-right-color: #fff; animation: spinCCW 25s linear infinite; opacity: 0.8; }
.hero-holo-container .hr-3 { inset: 80px; border: 4px double rgba(255,20,40,0.6); border-left-color: transparent; border-right-color: transparent; animation: spinCW 15s linear infinite; }
.hero-holo-container .holo-radar-sweep { position: absolute; inset: 20px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 70%, rgba(255,20,40,0.15) 100%); animation: spinCW 6s linear infinite; z-index: 1; border: 1px solid rgba(255,20,40,0.1);}

.hero-holo-container .holo-core { position: relative; z-index: 5; width: 180px; height: 180px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 2px solid var(--red); box-shadow: 0 0 40px rgba(255,20,40,0.4), inset 0 0 30px rgba(255,20,40,0.2); background: rgba(12,14,17,0.9); animation: holoPulse 3s ease-in-out infinite alternate;}
@keyframes holoPulse { 0% { transform: scale(0.95); opacity: 0.8; } 100% { transform: scale(1.05); opacity: 1; } }

.hero-holo-container .holo-icon { color: var(--red); filter: drop-shadow(0 0 10px var(--red)); }
.hero-holo-container .holo-title { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-family: var(--f-tech); color: var(--red); text-transform: uppercase; }
.hero-holo-container .ht-label { font-size: 12px; font-weight: 700; letter-spacing: 0.3em; opacity: 0.9; margin-left: 0.3em;}
.hero-holo-container .ht-num { font-size: 34px; font-weight: 700; letter-spacing: 0.05em; line-height: 1; }

.hero-holo-container .holo-data { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); font-family: var(--f-tech); font-size: 11px; font-weight: 700; color: var(--red); letter-spacing: 0.2em; white-space: nowrap; display: flex; align-items: center; gap: 8px; background: rgba(5,5,5,0.9); border: 1px solid rgba(255,20,40,0.4); padding: 8px 16px; border-radius: 4px; z-index: 10;}


/* ---- AUTHORIZATION NOTICE ---- */
.rd-notice-sec{padding:10px 0 60px; max-width: 1280px; margin: 0 auto;}
.rd-notice{display:flex;align-items:center;gap:24px;padding:26px 30px;border:1px solid var(--red);
  box-shadow:0 0 30px rgba(255,20,40,.2), inset 4px 0 0 0 var(--red); animation:rdNoticePulse 2.4s ease-in-out infinite alternate}
@keyframes rdNoticePulse{0%,100%{box-shadow:0 0 15px rgba(255,20,40,.2),inset 4px 0 0 0 var(--red)}50%{box-shadow:0 0 35px rgba(255,20,40,.4),inset 4px 0 0 0 var(--red)}}

.rd-n-ico{width:54px;height:54px;flex:none;display:flex;align-items:center;justify-content:center;background:var(--red);color:#fff; border-radius: 12px;}
.rd-n-ico svg{width:26px;height:26px;}
.rd-n-content { display: flex; flex-direction: column; gap: 4px; }
.rd-n-text{font-family:var(--f-head);font-weight:700;font-size:clamp(1.1rem,1.8vw,1.4rem);text-transform:uppercase;color:#fff; margin: 0;}
.rd-n-sub{font-family:var(--f-tech);font-size:10px;letter-spacing:.2em;color:#E8E8E8; text-transform: uppercase;}

/* ============================================================
   PROCESS ANIMATIONS (GEOMETRIC CYBER FRAMES)
   ============================================================ */
.rdp-sec{padding:80px 0; max-width: 1280px; margin: 0 auto;}
.rdp-flow{display:flex;align-items:flex-start;justify-content:space-between;gap:6px; padding-top: 20px;}
.rdp-step{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;flex:1}

/* Main Geometric Node */
.rdp-cyber-frame {
    width: 84px; height: 84px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Central Solid Mask (Provides the shape) */
.rcf-core {
    position: absolute; inset: 2px;
    background: rgba(16,17,20, 0.95);
    border: 1px solid rgba(255,255,255,0.15);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    display: flex; align-items: center; justify-content: center;
    transition: 0.4s; z-index: 5;
    overflow: hidden;
}

/* Background Data Grid */
.rcf-bg {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,20,40,0.2) 0%, transparent 60%),
                linear-gradient(rgba(255,20,40,0.08) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,20,40,0.08) 1px, transparent 1px);
    background-size: 100% 100%, 8px 8px, 8px 8px;
    opacity: 0; transition: 0.4s; z-index: 1;
}
.rdp-step.lit .rcf-bg { opacity: 1; animation: techGridPan 4s linear infinite; }
@keyframes techGridPan { 0% { background-position: 0 0, 0 0, 0 0; } 100% { background-position: 0 0, 16px 16px, 16px 16px; } }

/* Sweeping Edge Laser */
.rcf-sweep {
    position: absolute; inset: -15px;
    background: conic-gradient(from 0deg at 50% 50%, transparent 75%, var(--red) 100%);
    animation: spinCW 2s linear infinite;
    opacity: 0; transition: 0.4s; z-index: 0;
}

/* Mechanical Animated Corners */
.rcf-corner {
    position: absolute; width: 16px; height: 16px; border: 2px solid var(--red); z-index: 10;
    opacity: 0; transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: drop-shadow(0 0 5px var(--red));
}
.rcf-corner.tl { top: -10px; left: -10px; border-right: none; border-bottom: none; border-top-left-radius: 4px; }
.rcf-corner.tr { top: -10px; right: -10px; border-left: none; border-bottom: none; border-top-right-radius: 4px;}
.rcf-corner.bl { bottom: -10px; left: -10px; border-right: none; border-top: none; border-bottom-left-radius: 4px;}
.rcf-corner.br { bottom: -10px; right: -10px; border-left: none; border-top: none; border-bottom-right-radius: 4px;}

/* Activation State Overrides */
.rdp-step.lit .rdp-cyber-frame { filter: drop-shadow(0 0 15px rgba(255,20,40,0.6)); transform: scale(1.05); }
.rdp-step.lit .rcf-core { border-color: transparent; background: rgba(30,10,15,0.95); }
.rdp-step.lit .rcf-sweep { opacity: 1; }

/* Snapping Corners Inward */
.rdp-step.lit .rcf-corner { opacity: 1; }
.rdp-step.lit .rcf-corner.tl { top: -2px; left: -2px; }
.rdp-step.lit .rcf-corner.tr { top: -2px; right: -2px; }
.rdp-step.lit .rcf-corner.bl { bottom: -2px; left: -2px; }
.rdp-step.lit .rcf-corner.br { bottom: -2px; right: -2px; }

/* Floating Number inside Frame */
.rdp-n { position: relative; z-index: 10; font-family: var(--f-tech); font-weight: 700; font-size: 26px; color: #85878D; transition: 0.4s; }
.rdp-step.lit .rdp-n { color: #fff; text-shadow: 0 0 10px #fff, 0 0 20px var(--red); animation: floatNum 2.5s ease-in-out infinite alternate; }
@keyframes floatNum { 0% { transform: translateY(-4px); } 100% { transform: translateY(4px); } }

/* Text & Connections */
.rdp-t{font-family:var(--f-sec);font-weight:700;font-size:15px;letter-spacing:.18em;color:#fff;text-transform:uppercase; transition: 0.4s; margin-top: 10px;}
.rdp-step.lit .rdp-t { color: var(--red); text-shadow: 0 0 15px rgba(255,20,40,0.6); }
.rdp-d{font-size:13px;color:#E8E8E8;max-width:160px; line-height: 1.5; font-weight: 400;}

.rdp-conn{display:flex;align-items:center;color:var(--red);flex:none;padding-top:30px; z-index: 5;}
.rdp-conn svg{width:22px;height:22px;animation:rdpArrow 1.4s ease-in-out infinite}
@keyframes rdpArrow{0%,100%{transform:translateX(0)}50%{transform:translateX(6px)}}

/* ---- VALUES ---- */
.rdv-sec{padding:80px 0; max-width: 1280px; margin: 0 auto;}
.rdv-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.rdv-card{position:relative;overflow:hidden;padding:30px 24px;display:flex;flex-direction:column;gap:16px}

.rdv-ico{width:54px;height:54px;display:flex;align-items:center;justify-content:center;background:var(--red15);border:1px solid var(--red);color:var(--red); border-radius: 12px; transition:.35s}
.rdv-ico svg{width:24px;height:24px; transition: 0.3s;}
.rdv-card:hover .rdv-ico{background:var(--red);color:#ffffff !important;filter:drop-shadow(0 0 15px rgba(255,20,40,.6)); transform: scale(1.05);}

.rdv-card h3{font-size:15px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#fff; margin: 0;}
.rdv-card p{font-size:13px;color:#E8E8E8;line-height:1.6; font-weight: 400;}

/* ---- REPORT FORM & STICKY ALIGNMENT ---- */
.rdf-sec{padding:90px 0; max-width: 1280px; margin: 0 auto;}
.rdf-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:start;}

.rdf-form{padding:40px;display:flex;flex-direction:column;gap:24px}
.rdf-row{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.rdf-field{display:flex;flex-direction:column;gap:10px}
.rdf-full{grid-column:1 / -1}
.rdf-l{font-family:var(--f-tech);font-size:10px; font-weight: 700; letter-spacing:.24em;color:var(--red)}

.cyber-input {
  background:rgba(16,17,20,0.8); border:1px solid rgba(255,255,255,.2); color:#fff;
  padding:14px 18px; font-family:var(--f-body); font-size:15px; outline:none; transition:.3s;
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
}
.cyber-input:focus { border-color:var(--red); box-shadow:0 0 20px rgba(255,20,40,.2); background:rgba(255,20,40,.08); }
select.cyber-input option { background:#171A21; color:#fff; }
textarea.cyber-input { resize:vertical; min-height:120px; }

.rdf-file input{padding:12px}
.rdf-filehint{display:flex;align-items:center;gap:8px;font-size:12px;color:#85878D; margin-top: 4px;}
.rdf-filehint svg{width:16px;height:16px;color:var(--red)}

.hp-field{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.rdf-foot{display:flex;align-items:center;gap:24px;flex-wrap:wrap; margin-top: 10px;}
.form-status{font-family:var(--f-tech);font-size:11px;letter-spacing:.2em;color:#C6C9CF}

/* Sticky Right Column - Aligns perfectly alongside tall form */
.rdf-side-wrapper { height: 100%; position: relative; }
.rdf-side{
    display:flex;
    flex-direction:column;
    gap:30px; 
    position: sticky; 
    top: calc(var(--hdr-h) + 30px);
}
.rdf-img{position:relative;overflow:hidden;aspect-ratio:16/10; background: rgba(16,17,20,0.8);}
.rdf-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9) contrast(1.1); }

.rdf-note{padding:30px 26px}
.rdf-nk{display:block;font-family:var(--f-tech);font-size:11px; font-weight: 700; letter-spacing:.28em;color:var(--red);margin-bottom:20px}
.rdf-note ul{display:flex;flex-direction:column;gap:16px;margin-bottom:24px}
.rdf-note li{display:flex;gap:14px;align-items:flex-start;font-size:14.5px;color:#E8E8E8;line-height:1.6; font-weight: 400;}
.rdf-nn{font-family:var(--f-tech);font-size:12px; font-weight: 700; color:var(--red);flex:none; background: rgba(255,20,40,0.1); padding: 2px 6px; border-radius: 4px;}

.rdf-hof{display:inline-flex;align-items:center;gap:10px;font-family:var(--f-sec);font-weight:700;font-size:13px;letter-spacing:.2em;color:var(--red);text-transform:uppercase;transition:.3s}
.rdf-hof svg{width:18px;height:18px;transition:transform .3s}
.rdf-hof:hover{color:#fff; text-shadow: 0 0 10px rgba(255,20,40,0.8);}
.rdf-hof:hover svg{transform:translate(4px,-4px)}


/* ---- FAIL-SAFE REVEAL SYSTEM ---- */
.js-reveal-hidden { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js-reveal-hidden[data-reveal="left"] { transform: translateX(-40px); }
.js-reveal-hidden[data-reveal="right"] { transform: translateX(40px); }
.js-reveal-visible { opacity: 1 !important; transform: translate(0, 0) !important; }

/* ---- RESPONSIVE ---- */
@media(max-width:1180px){
  .rdv-grid{grid-template-columns:repeat(3,1fr)}
  .rdp-flow{flex-wrap:wrap;gap:20px}
  .rdp-conn{display:none}
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-coord { align-self: flex-start; margin-top: 10px; }
}
@media(max-width:1024px){
  .rd-grid{grid-template-columns:1fr;gap:56px}
  .hero-holo-container { width: 340px; height: 340px; }
  .hero-holo-container .holo-core { width: 150px; height: 150px; }
  .hero-holo-container .ht-num { font-size: 28px; }
  
  .rdf-grid{grid-template-columns:1fr; gap: 50px;}
  .rdf-side { position: relative; top: 0; max-width: 640px; margin: 0 auto; width: 100%; } /* disable sticky on mobile */
}
@media(max-width:760px){
  .hero-holo-container { width: 280px; height: 280px; }
  .hero-holo-container .holo-core { width: 120px; height: 120px; }
  .hero-holo-container .ht-num { font-size: 24px; }
  
  .rdv-grid{grid-template-columns:repeat(2,1fr)}
  .rdf-row{grid-template-columns:1fr}
  .rdf-form{padding:30px 24px}
  .rd-notice{flex-direction:column;text-align:center}
  .rdp-step{flex:1 1 40%}
}
@media(max-width:480px){
  .rd-actions .cyber-button{width:100%}
  .rdv-grid{grid-template-columns:1fr}
  .rdp-step{flex:1 1 100%}
}