/* ============================================================
   VAPT HUB — founders.css : DIGITAL CIRCUIT ART & VISIBILITY
   ============================================================ */

/* ---- GLOBAL ACCENTS & ANIMATIONS ---- */
.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; }

.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 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; } }

/* ---- CYBER SHAPES ---- */
.cyber-cut { clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px); 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")}

/* ============================================================
   ANIMATED BORDER EFFECT (Glowing Sweep)
   ============================================================ */
.animated-border {
    position: relative;
    background: rgba(11,13,16,0.95);
    background-clip: padding-box;
    border: 2px solid transparent; 
    z-index: 1;
}
.animated-border::before {
    content: '';
    position: absolute;
    inset: -2px; 
    z-index: -1;
    background: linear-gradient(90deg, var(--red) 0%, rgba(255,20,40,0.1) 25%, var(--red55) 50%, rgba(255,20,40,0.1) 75%, var(--red) 100%);
    background-size: 200% 100%;
    animation: borderSweep 3s linear infinite;
    border-radius: inherit;
    clip-path: inherit;
}
@keyframes borderSweep {
    100% { background-position: -200% 0; }
}

/* ============================================================
   HEADER SECTION
   ============================================================ */
.fd-hero { padding: calc(var(--hdr-h) + 60px) 0 60px; text-align: center; }
.fd-hero-inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center;}
.fd-title { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; text-transform: uppercase; line-height: 1.1; margin: 20px 0; }
.fd-title .line { display: block; }
.fd-title .t-red { color: var(--red); }
.fd-sub { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: #F4F6F9; line-height: 1.7; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.fd-sub strong { color: #ffffff; font-weight: 700; }

/* ============================================================
   FOUNDER PROFILES
   ============================================================ */
.fd-sec { padding: 60px 0; }

.founder-block { 
    display: grid; 
    grid-template-columns: 0.8fr 1.2fr; 
    gap: 60px; 
    align-items: start; 
    margin-bottom: 120px; 
    max-width: 1280px; 
    margin-left: auto; 
    margin-right: auto;
}
.founder-block.reversed { grid-template-columns: 1.2fr 0.8fr; }
.founder-block.reversed .founder-portrait { order: 2; }
.founder-block.reversed .founder-content { order: 1; }
.founder-block:last-child { margin-bottom: 40px; }


/* ---- REALISTIC DIGITAL CIRCUIT FRAME ---- */
.founder-portrait { position: sticky; top: calc(var(--hdr-h) + 40px); display: flex; flex-direction: column; gap: 20px;}
.portrait-card { position: relative; width: 100%; padding: 50px 20px 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.founder-circuit-frame {
    position: relative;
    width: 220px; height: 220px;
    margin: 10px auto 40px;
    display: flex; align-items: center; justify-content: center;
}
.circuit-assembly {
    position: absolute;
    inset: -30px; 
    width: calc(100% + 60px); height: calc(100% + 60px);
    z-index: 2; pointer-events: none; overflow: visible;
}

/* Rotations for the 2 circuits */
.circuit-ring-outer { transform-origin: 50px 50px; animation: spinCW 24s linear infinite; }
.circuit-ring-middle { transform-origin: 50px 50px; animation: spinCCW 16s linear infinite; }

/* 1. Outer Circuit (Glowing White) */
.c-track-base { fill: none; stroke: rgba(255,255,255,0.15); stroke-width: 1; }
.c-track-data { fill: none; stroke: rgba(255,255,255,0.9); stroke-width: 2; stroke-dasharray: 10 20 40 10 5 15; filter: drop-shadow(0 0 5px rgba(255,255,255,0.8)); }
.c-node { fill: #ffffff; filter: drop-shadow(0 0 5px #ffffff); }

/* 2. Middle Circuit (Planetary Neon Red) */
.c-mid-base { fill: none; stroke: rgba(255,20,40,0.2); stroke-width: 1.5; }
.c-mid-data { fill: none; stroke: var(--red); stroke-width: 3.5; stroke-dasharray: 4 12 30 20 8 16; filter: drop-shadow(0 0 8px var(--red)); }
.c-mid-node { fill: var(--red); filter: drop-shadow(0 0 6px var(--red)); }

@keyframes spinCW { 100% { transform: rotate(360deg); } }
@keyframes spinCCW { 100% { transform: rotate(-360deg); } }

/* The Portrait Image */
.portrait-img-shell {
    position: relative; width: 100%; height: 100%;
    border-radius: 50%; overflow: hidden;
    border: 2px solid #666; /* Solid inner metallic housing */
    box-shadow: 0 0 30px rgba(0,0,0,0.8), inset 0 0 15px rgba(0,0,0,0.5);
    z-index: 1;
}
.portrait-img-shell img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(10%) contrast(1.1) brightness(0.95);
    transition: 0.5s ease;
}
.portrait-card:hover .portrait-img-shell img { filter: grayscale(0%) contrast(1.1) brightness(1.05); transform: scale(1.08); }

.portrait-nameplate { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(5,5,5,0.9); border-top: 1px solid var(--red30); padding: 20px; text-align: center; z-index: 3;}
.portrait-nameplate h2 { font-size: 24px; font-weight: 700; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.role-badge { display: inline-block; font-family: var(--f-tech); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: var(--red); }

.expertise-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.modern-pill { font-family: var(--f-sec); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; color: #E8E8E8; text-transform: uppercase; padding: 8px 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; transition: 0.3s; text-align: center;}
.modern-pill:hover { background: var(--red); border-color: var(--red); color: #ffffff !important; box-shadow: 0 0 15px rgba(255,20,40,0.4); }


/* ---- FOUNDER CONTENT ---- */
.founder-content { display: flex; flex-direction: column; gap: 30px; }

.section-label { font-family: var(--f-tech); font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--red); display: block; margin-bottom: 16px; }
.bio-text { display: flex; flex-direction: column; gap: 16px; }

/* HIGH VISIBILITY PARAGRAPH (White) */
.bio-text p { font-size: 15.5px; line-height: 1.75; color: #F4F6F9; font-weight: 400; margin: 0; letter-spacing: 0.02em;}

.modern-heading { font-size: 18px; font-weight: 700; color: #ffffff; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 12px; margin-top: 10px;}

.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.stat-card { padding: 20px; display: flex; flex-direction: column; gap: 8px; transition: 0.3s; }
.stat-number { font-family: var(--f-tech); font-size: 32px; font-weight: 700; color: #ffffff; }
.stat-title { font-family: var(--f-tech); font-size: 14.5px; font-weight: 700; color: #ffffff; }
.stat-label { font-size: 13px; font-weight: 500; color: #E8E8E8; line-height: 1.4; }

.skill-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-chip { font-family: var(--f-sec); font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; color: #FFFFFF; background: rgba(16,17,20,0.9); border: 1px solid rgba(255,255,255,0.2); padding: 10px 18px; transition: 0.3s; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);}

.skill-chip:hover { background: var(--red); border-color: var(--red); color: #ffffff !important; box-shadow: 0 0 15px rgba(255,20,40,0.5);}

.focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.focus-card { position: relative; padding: 24px; overflow: hidden; }
.card-accent-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red55); transition: 0.3s; }
.focus-card:hover .card-accent-bar { background: var(--red); box-shadow: 0 0 15px var(--red); }
.focus-card h4 { font-size: 14.5px; font-weight: 700; color: #ffffff; text-transform: uppercase; margin-bottom: 10px; }

/* HIGH VISIBILITY PARAGRAPH (White) */
.focus-card p { font-size: 14px; font-weight: 400; color: #E8E8E8; line-height: 1.65; margin: 0; }

.quote-block { position: relative; background: rgba(255,20,40,0.05); border: 1px solid var(--red30); padding: 30px; margin-top: 20px;}
.quote-icon { position: absolute; top: -15px; left: 30px; background: #050608; padding: 0 10px; color: var(--red); }
.quote-icon svg { width: 24px; height: 24px; }

/* HIGH VISIBILITY PARAGRAPH (White) */
.quote-block p { font-size: 16.5px; font-style: italic; color: #F4F6F9; line-height: 1.7; margin-bottom: 16px; font-weight: 500;}
.quote-block cite { display: block; font-family: var(--f-tech); font-size: 12px; font-weight: 700; letter-spacing: 0.15em; color: var(--red); font-style: normal;}


/* ============================================================
   SHARED VISION (DUO)
   ============================================================ */
.duo-sec { padding: 80px 0; }

/* HIGH VISIBILITY PARAGRAPH (White) */
.duo-intro { max-width: 800px; font-size: 16.5px; line-height: 1.75; color: #F4F6F9; margin-bottom: 40px; font-weight: 400;}
.duo-intro strong { color: #ffffff; font-weight: 700;}

.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; max-width: 1280px; margin-left: auto; margin-right: auto;}
.duo-card { padding: 34px; }
.duo-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }

.duo-avatar { 
    width: 60px; height: 60px; flex: none; display: flex; align-items: center; justify-content: center; 
    background: var(--red); 
    border: 1px solid var(--red55); border-radius: 12px; 
    font-family: var(--f-tech); font-size: 22px; font-weight: 700; 
    color: #ffffff !important; 
    box-shadow: 0 0 15px rgba(255,20,40,0.4); text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.duo-titles h3 { font-size: 20px; font-weight: 700; color: #ffffff; text-transform: uppercase; margin-bottom: 4px; }
.duo-titles span { font-family: var(--f-sec); font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--red); text-transform: uppercase;}
.duo-pills { font-family: var(--f-tech); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: #E8E8E8; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px dashed rgba(255,255,255,0.2); }

/* HIGH VISIBILITY PARAGRAPH (White) */
.duo-card p { font-size: 15px; color: #F4F6F9; line-height: 1.75; font-weight: 400; }

.combo-panel { max-width: 1000px; margin: 0 auto; padding: 40px; text-align: center; }
.combo-label { font-family: var(--f-tech); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: var(--red); }
.combo-title { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; text-transform: uppercase; color: #ffffff; margin: 16px 0 20px; }
.combo-title em { font-style: normal; color: #ffffff; }

/* HIGH VISIBILITY PARAGRAPH (White) */
.combo-text { font-size: 16.5px; color: #F4F6F9; margin-bottom: 8px;}
.combo-text strong { color: #ffffff; font-weight: 700;}
.combo-desc { margin-top: 24px; font-size: 15px; color: #E8E8E8; line-height: 1.75; max-width: 800px; margin-left: auto; margin-right: auto;}


/* ============================================================
   LEADERSHIP PRINCIPLES
   ============================================================ */
.pr-sec { padding: 80px 0; }
.pr-panel { padding: 50px 40px; text-align: center; margin-bottom: 40px; max-width: 1280px; margin-left: auto; margin-right: auto;}
.pr-quote { font-family: var(--f-head); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.4; color: #ffffff; text-transform: uppercase; }

/* HIGH VISIBILITY PARAGRAPH (White) */
.pr-p { margin: 20px auto 30px; max-width: 850px; font-size: 15.5px; line-height: 1.75; color: #F4F6F9; font-weight: 400;}

.pr-pillars { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.pr-pillar { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); padding: 14px 22px; border-radius: 8px; font-family: var(--f-sec); font-weight: 700; font-size: 13.5px; letter-spacing: 0.15em; color: #ffffff; text-transform: uppercase; transition: 0.3s; }
.pr-pillar svg { width: 18px; height: 18px; color: var(--red); transition: 0.3s;}

.pr-pillar:hover { background: var(--red); border-color: var(--red); color: #ffffff !important; box-shadow: 0 0 15px rgba(255,20,40,0.4); transform: translateY(-4px);}
.pr-pillar:hover svg { color: #ffffff !important; }

/* Core Values Grid */
.fv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 1280px; margin: 0 auto;}
.fv-card { padding: 34px 24px; display: flex; flex-direction: column; gap: 16px; text-align: center; align-items: center;}
.fv-icon { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; background: rgba(255,20,40,0.1); border: 1px solid var(--red); border-radius: 50%; color: #ffffff; transition: 0.3s; }
.fv-icon svg { width: 24px; height: 24px; color: #ffffff;}

.fv-card:hover .fv-icon { background: var(--red); box-shadow: 0 0 15px var(--red); transform: scale(1.1); color: #ffffff !important;}
.fv-card:hover .fv-icon svg { color: #ffffff !important; }

.fv-card h3 { font-size: 16px; font-weight: 700; color: #ffffff; text-transform: uppercase; }

/* HIGH VISIBILITY PARAGRAPH (White) */
.fv-card p { font-size: 14px; color: #E8E8E8; line-height: 1.65; font-weight: 400; margin: 0;}


/* ============================================================
   CTA
   ============================================================ */
.fd-cta { padding: 40px 0 100px; }
.cta-banner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 50px; background: linear-gradient(135deg, rgba(16,17,20,0.9), rgba(255,20,40,0.1)); max-width: 1280px; margin: 0 auto; position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 50%, rgba(255,20,40,0.15), transparent 50%); pointer-events: none; }
.cta-content { position: relative; z-index: 2; max-width: 600px; }
.cta-content h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: #ffffff; text-transform: uppercase; margin: 10px 0; }

/* HIGH VISIBILITY PARAGRAPH (White) */
.cta-content p { font-size: 16px; color: #F4F6F9; line-height: 1.65; font-weight: 400;}
.cta-actions { position: relative; z-index: 2; display: flex; gap: 16px; flex-wrap: wrap; }


/* ---- 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 OVERRIDES ---- */
@media(max-width: 1180px) {
  .fv-grid { grid-template-columns: repeat(3, 1fr); }
  .founder-block, .founder-block.reversed { grid-template-columns: 1fr; gap: 40px; }
  .founder-block.reversed .founder-portrait { order: 1; }
  .founder-block.reversed .founder-content { order: 2; }
  .founder-portrait { position: static; max-width: 500px; margin: 0 auto; }
}
@media(max-width: 1024px) {
  .duo-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 30px; }
  .cta-content { margin: 0 auto; }
  .cta-actions { justify-content: center; }
}
@media(max-width: 760px) {
  .fv-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pr-pillars { flex-direction: column; width: 100%; }
  .pr-pillar { justify-content: center; }
  .founder-circuit-frame { width: 180px; height: 180px; }
}
@media(max-width: 480px) {
  .fv-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-actions .cyber-button { width: 100%; }
}