/* ============================================================
   VAPT HUB — careers.css : CAREERS & INTERNSHIP (Final Upgrade)
   ============================================================ */

/* ---- GLOBAL ACCENTS ---- */
.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.15); border-color: var(--red); z-index: 10; }

.float-item { animation: floatAnim 4s ease-in-out infinite; }
.float-item:nth-child(even) { animation-delay: 1s; }
@keyframes floatAnim { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.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; }
.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: #fff; text-shadow: 0 0 12px rgba(255,20,40,0.6); }

/* ---- FAIL-SAFE IMAGE SHELLS ---- */
.hud-frame, .cr-frame, .cp-sideimg { position: relative; width: 100%; height: 100%; overflow: hidden; display: block; }
.img-shell { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; }
.img-shell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- CARD BACKGROUND SHELL ---- */
.card-bg-wrap { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.card-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; filter: contrast(1.15) brightness(0.85); transition: opacity 0.4s ease, transform 0.8s ease; }
.hm-flip:hover .card-bg-img { opacity: 0.6; transform: scale(1.08); }
.card-bg-overlay { position: absolute; inset: 0; width: 100%; height: 100%; background: linear-gradient(160deg, rgba(16,17,20,0.85) 0%, rgba(9,10,13,0.96) 100%); transition: background 0.4s ease; }
.hm-flip:hover .card-bg-overlay { background: linear-gradient(160deg, rgba(255,20,40,0.2) 0%, rgba(9,10,13,0.85) 100%); }
.pg-front > *:not(.card-bg-wrap), .bf-front > *:not(.card-bg-wrap) { position: relative; z-index: 2; }

/* Active Scanner */
.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; } }

/* 3D Tracking Wrapper */
.3d-tilt { transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); transform-style: preserve-3d; }

/* Background Patterns */
.pattern-dots { position: relative; }
.pattern-dots::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 20px 20px; z-index: -1; pointer-events: none;}
.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")}

/* ============================================================
   FULL-WIDTH HERO SLIDER (Directly Below Header with Margin)
   ============================================================ */
.cr-hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--hdr-h));
  min-height: 600px;
  max-height: 860px;
  overflow: hidden;
  margin-top: 0;
  display: block;
}

#heroSliderWrap { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1; display: flex; align-items: center; 
}
.hero-slide.active { opacity: 1; z-index: 2; }

.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; transform: scale(1.05); transition: transform 6s ease-out; }
.hero-slide.active .hero-bg img { transform: scale(1); opacity: 0.6; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,0.96) 0%, rgba(11,13,16,0.85) 55%, rgba(11,13,16,0.3) 100%); z-index: 2; }

/* Perfect Left-Aligned Margin inside the global container */
.hero-content {
  position: relative; z-index: 3; width: 100%; padding-bottom: 40px; 
  display: flex; justify-content: flex-start;
}
.cr-copy { max-width: 650px; text-align: left; }

.cr-title { font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 700; text-transform: uppercase; line-height: 1.06; margin: 18px 0 20px; text-align: left; }
.cr-title .line { display: block; overflow: hidden; }
.cr-title .t-red { color: var(--red); text-shadow: 0 0 30px rgba(255,20,40,.45); }
.cr-sub { font-size: clamp(1rem, 1.35vw, 1.2rem); margin-bottom: 30px; color: #D7DAE0; line-height: 1.6; text-align: left;}
.cr-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; justify-content: flex-start;}

.hero-controls { position: absolute; bottom: 40px; left: 0; right: 0; z-index: 10; display: flex; justify-content: center;}
.hero-dots-container { display: flex; justify-content: flex-start; width: 100%; max-width: 1280px; padding: 0 20px;}
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 36px; height: 4px; background: rgba(255,255,255,0.2); border: none; padding: 0; cursor: pointer; transition: 0.4s ease; }
.hero-dot.on { background: var(--red); box-shadow: 0 0 10px var(--red); width: 52px; }

/* ============================================================
   3D FLIP CARDS ARCHITECTURE (Guaranteed Hover)
   ============================================================ */
.card-wrapper { display: block; width: 100%; perspective: 1200px; }
.hm-flip { width: 100%; cursor: pointer; position: relative; }
.hm-flip-inner {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: 12px;
}
/* Flips on Hover (Desktop) or JS Class (Mobile) */
.card-wrapper:hover .hm-flip-inner, .hm-flip.flipped .hm-flip-inner { transform: rotateY(180deg); }

.hm-flip-face {
  position: absolute; inset: 0; width: 100%; height: 100%;
  backface-visibility: hidden;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line);
}
.hm-flip-face.front { transform: rotateY(0deg); z-index: 2; }
.hm-flip-face.back {
  transform: rotateY(180deg); z-index: 1;
  background: linear-gradient(160deg, rgba(255,20,40,.18), rgba(16,17,20,.98) 60%);
  border-color: var(--red55); padding: 26px 24px;
  justify-content: flex-start; gap: 14px; text-align: left;
}

.hm-flip-face.back h3 { font-size: 15px; text-transform: uppercase; color: #fff; padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,0.1); margin: 0; }
.hm-flip-face.back p { font-size: 13px; color: var(--tx2); line-height: 1.6; margin: 0; }
.hm-flip-btn { justify-content: center; margin-top: auto; position: relative; z-index: 2;}

/* ---- PROGRAMS (FLIP CARDS) ---- */
.pg-sec{padding:80px 0}
.pg-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.pg-flip { height: 280px; }
.pg-front{padding:26px 22px; gap:14px; background-color: #14161B;}
.pg-front:hover{border-color:var(--red55); box-shadow: 0 0 30px rgba(255,20,40,0.2);}
.pg-glow{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .35s; background:radial-gradient(220px circle at var(--mx,50%) var(--my,50%),rgba(255,20,40,.15),transparent 65%); z-index: 2;}
.hm-flip:hover .pg-glow{opacity:1}
.pg-top{display:flex;justify-content:space-between;align-items:center}
.pg-ico{width:48px;height:54px;display:flex;align-items:center;justify-content:center;background:var(--red15);border:1px solid var(--red30);color:var(--red); clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);transition:.35s; flex: none;}
.pg-ico .lucide,.pg-ico svg{width:21px;height:21px}
.card-wrapper:hover .pg-ico{background:var(--red);color:#fff;filter:drop-shadow(0 0 12px rgba(255,20,40,.6))}
.pg-dur{font-family:var(--f-tech);font-weight:700;font-size:18px;color:#fff;text-shadow:0 0 14px rgba(255,20,40,.5);display:flex;flex-direction:column;align-items:flex-end;line-height:1}
.pg-dur small{font-size:8px;letter-spacing:.24em;color:var(--red);margin-top:4px}
.pg-front h3{font-size:15px;font-weight:600;text-transform:uppercase;color:#fff;margin:0;}
.pg-front p{font-size:12.5px;color:var(--tx3);line-height:1.6;flex:1;margin:0;}
.pg-apply{display:inline-flex;align-items:center;gap:8px;font-family:var(--f-sec);font-weight:700;font-size:11px;letter-spacing:.2em;color:var(--red);text-transform:uppercase;margin-top:auto;}
.pg-apply svg{width:15px;height:15px;}

/* ============================================================
   CAREER PATHWAY (Permanent White/Red Gear Glow + Laser Cycle)
   ============================================================ */
.cp-sec { padding: 80px 0; }
.cp-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: start; }
.cp-steps { display: flex; flex-direction: column; position: relative; }

.cp-step-wrapper { position: relative; padding-bottom: 28px; min-height: 110px;}
.cp-step-wrapper:last-child { padding-bottom: 0; min-height: 72px;}

/* Text stays permanently visible */
.cp-step { display:flex;align-items:center;gap:26px; position: relative; z-index: 5; opacity: 1;}

/* The 3-Ring Animated Gear Node */
.cp-node {
  width: 80px; height: 80px; flex: none; position: relative; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #07080B; transition: all 0.4s ease; z-index: 5;
}

.gear-assembly { width: 100%; height: 100%; overflow: visible; }
.gear-ring-1 { transform-origin: 50px 50px; animation: spinCW 12s linear infinite; }
.gear-ring-2 { transform-origin: 50px 50px; animation: spinCCW 10s linear infinite; }
.gear-ring-3 { transform-origin: 50px 50px; animation: spinCW 8s linear infinite; }

/* Base Colors (Pre-Scroll) */
.g-teeth { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 6; stroke-dasharray: 13.2; transition: 0.5s; }
.g-track-1 { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 2; transition: 0.5s; }
.g-track-2 { fill: none; stroke: rgba(255,20,40,0.3); stroke-width: 3; stroke-dasharray: 15; transition: 0.5s; }
.g-track-3 { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 2; stroke-dasharray: 4 6; transition: 0.5s; }
.cp-num-plate { position: absolute; font-family: var(--f-tech); font-weight: 700; font-size: 15px; color: var(--tx4); z-index: 6; transition: 0.5s ease;}

/* Activated Red & White Combination Glow (Applies automatically on scroll) */
.js-reveal-visible.cp-step-wrapper .cp-node {
  box-shadow: 0 0 0 1px var(--red), 0 0 24px rgba(255,20,40,0.4), inset 0 0 16px rgba(255,20,40,0.3);
}
.js-reveal-visible.cp-step-wrapper .g-teeth { stroke: #fff; filter: drop-shadow(0 0 4px #fff); }
.js-reveal-visible.cp-step-wrapper .g-track-1 { stroke: var(--red); filter: drop-shadow(0 0 6px var(--red)); }
.js-reveal-visible.cp-step-wrapper .g-track-2 { stroke: var(--red); filter: drop-shadow(0 0 6px var(--red)); }
.js-reveal-visible.cp-step-wrapper .g-track-3 { stroke: #fff; filter: drop-shadow(0 0 3px rgba(255,255,255,0.8)); }
.js-reveal-visible.cp-step-wrapper .cp-num-plate { color: #fff; text-shadow: 0 0 12px rgba(255,20,40,0.9); }

@keyframes spinCW { 100% { transform: rotate(360deg); } }
@keyframes spinCCW { 100% { transform: rotate(-360deg); } }

/* Text Content Area */
.cp-content { flex: 1; }
.cp-step-tag { font-family: var(--f-tech); font-size: 9px; letter-spacing: .25em; color: var(--red); display: block; margin-bottom: 4px; }
.cp-t { font-family: var(--f-sec); font-weight: 700; font-size: 16px; letter-spacing: .12em; color: #fff; text-transform: uppercase; margin: 0 0 6px; text-shadow: 0 0 10px rgba(255,20,40,0.4); }
.cp-d { font-size: 13px; color: var(--tx3); line-height: 1.55; margin: 0; }

/* The Drawing Laser Connection Line */
.cp-line { position: absolute; left: 39px; top: 78px; bottom: -4px; width: 3px; z-index: 1; overflow: hidden; }
.cp-line-track { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.06); }
.cp-line-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: var(--red); box-shadow: 0 0 10px var(--red); transition: height 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s; }
.js-reveal-visible.cp-step-wrapper .cp-line-fill { height: 100%; }

/* The Moving Laser Pulse */
.cp-line-pulse { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, transparent, var(--red) 50%, transparent); background-size: 100% 40px; opacity: 0; transition: opacity 0.5s ease; }
.js-reveal-visible.cp-step-wrapper .cp-line-pulse { opacity: 1; animation: laserStream 1.5s linear infinite; }
@keyframes laserStream { 0% { transform: translateY(-40px); } 100% { transform: translateY(100%); } }

/* Side Image (Guaranteed 100% Visibility) */
.cp-side { position: sticky; top: calc(var(--hdr-h) + 20px); }
.cp-sideimg { position: relative; width: 100%; aspect-ratio: 4 / 3.8; min-height: 400px; border: 1px solid var(--red30); background: rgba(255,20,40,0.03); display: block; overflow: hidden; }
.cp-sideimg img { opacity: 0.85; transition: 0.5s ease; }
.cp-sideimg:hover img { opacity: 1; transform: scale(1.05); }
.cp-note { margin-top: 16px; font-size: 13px; color: var(--tx2); border-left: 2px solid var(--red); padding-left: 14px; line-height: 1.7; }

/* ============================================================
   BENEFITS (FLIP CARDS)
   ============================================================ */
.bf-sec{padding:80px 0}
.bf-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.bf-flip { height: 180px; }
.bf-front{padding:24px 20px;display:flex;align-items:center; justify-content: center; flex-direction: column; gap:16px; background-color: #14161B; text-align: center;}
.bf-front:hover{border-color:var(--red55); box-shadow: 0 0 20px rgba(255,20,40,0.2);}
.bf-ico{width:46px;height:52px;flex:none;display:flex;align-items:center;justify-content:center;background:var(--red15);border:1px solid var(--red30);color:var(--red); clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);transition:.35s}
.bf-ico .lucide,.bf-ico svg{width:20px;height:20px}
.card-wrapper:hover .bf-ico{background:var(--red);color:#fff;filter:drop-shadow(0 0 12px rgba(255,20,40,.6))}
.bf-front h3{font-size:13.5px;font-weight:600;text-transform:uppercase;color:#fff;}
.hm-flip-hint { font-family: var(--f-tech); font-size: 8px; letter-spacing: .28em; color: var(--red); opacity: 0.75; }

/* ============================================================
   10-TILE INTERN GALLERY GRID (Cyber Block Texture & Grid)
   ============================================================ */
.lab-sec { padding: 80px 0; }
.lab-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }

/* Cyber Block Textures */
.lab-card {
  flex: 0 0 calc(33.333% - 16px);
  max-width: 400px;
  background: linear-gradient(145deg, #101216 0%, #08090b 100%);
  border: 1px solid var(--red30);
  padding: 12px;
  position: relative;
  transition: 0.35s ease;
  cursor: pointer;
  z-index: 1;
}
.lab-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,20,40,0.06) 1px, transparent 1px);
  background-size: 8px 8px; z-index: 0; pointer-events: none;
}
.lab-card:hover { border-color: var(--red55); box-shadow: 0 0 24px rgba(255,20,40,0.25); transform: translateY(-5px); }

/* The image shell inside the padded card */
.lab-img-shell {
  position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05); border-bottom: 2px solid var(--red); z-index: 2;
}
.lab-img-shell img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85; transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), opacity 0.4s ease;
}
.lab-card:hover .lab-img-shell img { transform: scale(1.08); opacity: 1; filter: saturate(1.2); }

/* Enlarge Hover State */
.enlarge-hint { position: absolute; inset: 0; background: rgba(11,13,16,0.75); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 0; transition: 0.3s; z-index: 5; pointer-events: none;}
.enlarge-hint svg { width: 34px; height: 34px; color: var(--red); filter: drop-shadow(0 0 8px var(--red)); transform: scale(0.6); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.enlarge-hint span { font-family: var(--f-tech); font-size: 10px; letter-spacing: .2em; color: #fff; font-weight: 700; text-shadow: 0 0 8px rgba(0,0,0,0.8); }
.lab-card:hover .enlarge-hint { opacity: 1; }
.lab-card:hover .enlarge-hint svg { transform: scale(1); }

.lab-cap { padding: 16px 8px 8px; display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 2; }
.is-t { font-family: var(--f-tech); font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--red); text-shadow: 0 0 8px rgba(255,20,40,0.3); }
.is-s { font-size: 12.5px; color: var(--tx3); line-height: 1.4; }


/* ============================================================
   ADVANCED LIGHTBOX MODAL WITH ARROWS
   ============================================================ */
.vh-lightbox {
  position: fixed; inset: 0; background: rgba(5,5,5,0.96); z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
  backdrop-filter: blur(12px); padding: 30px;
}
.vh-lightbox.active { opacity: 1; pointer-events: all; }

.lb-image-container { position: relative; max-width: 85vw; max-height: 85vh; display: flex; align-items: center; justify-content: center; }
.vh-lightbox img {
  max-width: 85vw; max-height: 85vh; object-fit: contain;
  box-shadow: 0 0 40px rgba(255,20,40,0.35); border: 1px solid var(--red55);
  transform: scale(0.95); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); display: block;
}
.vh-lightbox.active img { transform: scale(1); }

/* Modal Navigation & Close */
.lb-close { position: absolute; top: 30px; right: 36px; width: 48px; height: 48px; background: rgba(255,20,40,0.1); border: 1px solid var(--red); color: var(--red); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); z-index: 100; }
.lb-close:hover { background: var(--red); color: #fff; transform: scale(1.1); box-shadow: 0 0 16px var(--red); }

.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; background: rgba(20,22,28,0.8); border: 1px solid var(--red55); color: var(--red); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; z-index: 100; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);}
.lb-nav:hover { background: var(--red); color: #fff; box-shadow: 0 0 20px var(--red); transform: translateY(-50%) scale(1.1); }
.lb-prev { left: 40px; }
.lb-next { right: 40px; }
.lb-nav svg, .lb-close svg { width: 24px; height: 24px; }


/* ============================================================
   APPLICATION FORM
   ============================================================ */
.ap-sec { padding: 80px 0; }
.ap-form { padding: 44px 44px 36px; display: flex; flex-direction: column; gap: 20px; background: rgba(16,17,20,0.85); border: 1px solid var(--red30); }
.ap-form:hover { border-color: var(--red55); box-shadow: 0 0 40px rgba(255,20,40,0.15); }
.ap-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ap-field { display: flex; flex-direction: column; gap: 8px; }
.ap-full { grid-column: 1 / -1; }
.ap-l { font-family: var(--f-tech); font-size: 10px; font-weight: 700; letter-spacing: .24em; color: var(--red); display: flex; align-items: center; gap: 6px; }
.ap-field input, .ap-field select, .ap-field textarea { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.15); color: #fff; padding: 14px 18px; font-family: var(--f-body); font-size: 14.5px; outline: none; transition: 0.3s; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.ap-field input:focus, .ap-field select:focus, .ap-field textarea:focus { border-color: var(--red); box-shadow: 0 0 16px rgba(255,20,40,.25); background: rgba(255,20,40,.08); }
.ap-field select option { background: #171A21; color: #E8E8E8; }
.ap-field textarea { resize: vertical; min-height: 120px; }
.ap-file input { padding: 14px; }
.ap-filehint { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--tx3); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ap-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 10px; }
.form-status { font-family: var(--f-tech); font-size: 10px; letter-spacing: .2em; color: var(--tx3); }

/* ---- CTA ---- */
.cr-cta { padding: 70px 0 110px; }
.cr-cta-band { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; padding: 48px 54px; position: relative; overflow: hidden; border: 1px solid var(--red55); background: linear-gradient(135deg, rgba(16,17,20,0.9), rgba(255,20,40,0.1)); }
.cr-cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 85% 50%, rgba(255,20,40,.14), transparent 60%); }
.cr-cta-band h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); text-transform: uppercase; position: relative; color: #fff; margin: 0; }
.cr-cta-band p { position: relative; color: var(--tx2); margin: 10px 0 0; max-width: 520px; font-size: 15px; }
.cr-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; position: relative; }
.cr-brand { margin-top: 34px; text-align: center; font-family: var(--f-tech); font-size: 10px; letter-spacing: .28em; color: var(--tx4); line-height: 2; }
.cr-brand span { color: var(--red); }

/* ---- FAIL-SAFE REVEAL SYSTEM ---- */
.js-reveal-hidden { opacity: 0; transform: translateY(35px); 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) {
  .pg-grid { grid-template-columns: repeat(2, 1fr); }
  .bf-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-card { flex: 0 0 calc(50% - 12px); }
}
@media(max-width: 1024px) {
  .cp-grid { grid-template-columns: 1fr; }
  .cp-side { position: static; margin-top: 40px; max-width: 540px; }
  .cr-cta-band { grid-template-columns: 1fr; padding: 40px 32px; }
  .cr-cta-actions { justify-content: flex-start; }
}
@media(max-width: 760px) {
  .hero-content { padding-left: 24px; padding-right: 24px; }
  .hero-controls { left: 24px; bottom: 24px; }
  .pg-grid { grid-template-columns: 1fr; }
  .bf-grid { grid-template-columns: 1fr; }
  .lab-card { flex: 0 0 100%; max-width: 100%; }
  .ap-row { grid-template-columns: 1fr; }
  .ap-form { padding: 30px 22px; }
  .pg-flip { height: 290px; }
  .cp-step { gap: 18px; }
  .cp-node { width: 68px; height: 68px; }
  .cp-line { left: 33px; top: 68px; }
  .lb-nav { width: 40px; height: 40px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close { top: 15px; right: 15px; }
}
@media(max-width: 480px) {
  .cr-actions .cyber-button { width: 100%; }
  .cr-cta-actions { flex-direction: column; align-items: stretch; }
  .cr-cta-actions .cyber-button { width: 100%; }
  .pg-flip { height: 340px; }
  .bf-flip { height: 220px; }
  .cr-hero-slider { min-height: 800px; }
}