/* ================================================================
   Copious IT — Cybersecurity Compliance Page
   ================================================================
   Shared stylesheet for:
     cybersecurity-compliance.html
     cybersecurity-compliance/index.html

   Extracted from 2 identical inline <style> blocks. Load order (head):
   Tailwind CDN → css/cybersecurity.css.

   ------------------------------------------------------------------
   CHEAT SHEET — COLORS & FONTS (Cybersecurity page)
   ------------------------------------------------------------------
   BACKGROUNDS
     --ink        #020617   page background (near-black navy)
     --ink-2      #0f172a   scrollbar track / scrolled nav surface

   TEXT
     --text       #ffffff   headings / emphasis
     --text-soft  #cbd5e1   quiz-option text, body (via utilities)

   BRAND (cyan)
     --brand      #00b7e3   scrollbar, focus ring, hovers, particles
     --brand-2    #1abbe6   gradient light

   PARTICLES     #00b7e3   2–4px dots rising through the hero

   BORDERS       rgba(51,65,85,.5)   nav/field hairlines

   FONTS         'Inter' (Google Fonts), fallback sans-serif
   ================================================================ */

/* ------------------------------------------------------------------
   RESET — clear default margins/padding, sane box-sizing
------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #020617;        /* --ink    */
    color: #fff;                /* --text   */
    overflow-x: hidden;
}

/* ------------------------------------------------------------------
   SCROLLBAR — slim cyan thumb on dark track (WebKit)
------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;        /* --ink-2  */
}
::-webkit-scrollbar-thumb {
    background: #00b7e3;        /* --brand  */
    border-radius: 4px;
}

/* Smooth anchor scrolling */
html {
    scroll-behavior: smooth;
}

/* ------------------------------------------------------------------
   HERO — animated diagonal gradient background
------------------------------------------------------------------- */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #020617 0%,    /* --ink    */
        #0f172a 40%,   /* --ink-2  */
        #00262f 70%,   /* deep navy */
        #020617 100%   /* --ink    */
    );
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ------------------------------------------------------------------
   PARTICLE FIELD — 15 cyan dots rising through the hero
   (nth-child positioning + per-dot size/delay tuned inline in HTML)
------------------------------------------------------------------- */
.particle-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00b7e3;        /* --brand */
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0%   { opacity: 0; transform: translateY(100vh) scale(0); }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}
.particle:nth-child(1)  { left: 5%;  animation-duration: 8s;  animation-delay: 0s;   width: 3px; height: 3px; }
.particle:nth-child(2)  { left: 15%; animation-duration: 12s; animation-delay: 1s; }
.particle:nth-child(3)  { left: 25%; animation-duration: 10s; animation-delay: 2s;   width: 3px; height: 3px; }
.particle:nth-child(4)  { left: 35%; animation-duration: 9s;  animation-delay: 0.5s; }
.particle:nth-child(5)  { left: 45%; animation-duration: 11s; animation-delay: 3s;   width: 4px; height: 4px; }
.particle:nth-child(6)  { left: 55%; animation-duration: 7s;  animation-delay: 1.5s; }
.particle:nth-child(7)  { left: 65%; animation-duration: 13s; animation-delay: 2.5s; width: 3px; height: 3px; }
.particle:nth-child(8)  { left: 75%; animation-duration: 8s;  animation-delay: 4s; }
.particle:nth-child(9)  { left: 85%; animation-duration: 10s; animation-delay: 0.8s; width: 3px; height: 3px; }
.particle:nth-child(10) { left: 92%; animation-duration: 14s; animation-delay: 3.5s; }
.particle:nth-child(11) { left: 10%; animation-duration: 9s;  animation-delay: 5s; }
.particle:nth-child(12) { left: 50%; animation-duration: 11s; animation-delay: 6s;   width: 3px; height: 3px; }
.particle:nth-child(13) { left: 70%; animation-duration: 8s;  animation-delay: 1.2s; }
.particle:nth-child(14) { left: 30%; animation-duration: 12s; animation-delay: 4.5s; }
.particle:nth-child(15) { left: 80%; animation-duration: 10s; animation-delay: 2.2s; width: 4px; height: 4px; }

/* ------------------------------------------------------------------
   SECTION LINE — cyan gradient hairline between sections
------------------------------------------------------------------- */
.section-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #00b7e3, transparent);
    max-width: 80%;
    margin: 0 auto;
}

/* ------------------------------------------------------------------
   SCROLL-REVEAL — elements fade/slide in on scroll (.visible by JS)
------------------------------------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------------------------------
   FRAMEWORK CARD — hover lift + cyan glow
------------------------------------------------------------------- */
.framework-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.framework-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 183, 227, 0.3);
    box-shadow: 0 20px 60px -15px rgba(0, 183, 227, 0.15);
}

/* ------------------------------------------------------------------
   BUTTON SHINE — swept light sheen on hover
------------------------------------------------------------------- */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}
.btn-shine:hover::after {
    left: 125%;
}

/* ------------------------------------------------------------------
   COUNTER NUMBER — cyan gradient-filled numerals
------------------------------------------------------------------- */
.counter-num {
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #00b7e3, #1abbe6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ------------------------------------------------------------------
   NAV — transition to solid blurred bar once JS adds .scrolled
------------------------------------------------------------------- */
.nav-glass {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-glass.scrolled {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(51, 65, 85, 0.5);
}

/* ------------------------------------------------------------------
   MOBILE MENU — right-side slide-in drawer
------------------------------------------------------------------- */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open {
    transform: translateX(0);
}

/* ------------------------------------------------------------------
   CONTACT OVERLAY — modal dialog (dim backdrop + centered card)
------------------------------------------------------------------- */
.contact-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.contact-overlay.active {
    opacity: 1;
    visibility: visible;
}
.contact-modal {
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-overlay.active .contact-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* ------------------------------------------------------------------
   SHIELD ICON — slow pulse behind the hero shield graphic
------------------------------------------------------------------- */
@keyframes shieldPulse {
    0%, 100% { transform: scale(1);     opacity: 0.08; }
    50%      { transform: scale(1.05);  opacity: 0.12; }
}
.shield-pulse {
    animation: shieldPulse 4s ease-in-out infinite;
}

/* Floating stat icons */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.float-icon {
    animation: float 3s ease-in-out infinite;
}

/* ------------------------------------------------------------------
   STAGGER — incremental transition-delay for card reveal
------------------------------------------------------------------- */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Reason numbers — cyan gradient numerals */
.reason-number {
    background: linear-gradient(135deg, #00b7e3, #1abbe6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Approach images — hover zoom */
.approach-img {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.approach-img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 60px -15px rgba(0, 183, 227, 0.2);
}
