/* ============================================
   IRONCLAD ID — Public Website
   Dark Theme | Brand Colours | App-Consistent
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --blue: #3C85EF;
    --blue-light: #97C9FF;
    --blue-dark: #0C0C59;
    --teal: #3ECEB6;
    --purple: #370A72;
    --plum: #60003F;
    --gold: #BF873D;
    --black: #000000;
    --dark: #0a0a0f;
    --dark-card: #111118;
    --dark-surface: #16161f;
    --dark-border: rgba(60, 133, 239, 0.15);
    --dark-border-hover: rgba(60, 133, 239, 0.35);
    --charcoal: #666666;
    --grey-light: #9a9ab0;
    --white: #FFFFFF;
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --nav-height: 80px;
    --container-width: 1300px;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--grey-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-light); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
}

/* --- Utility --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section--alt { background: var(--dark-card); }
.text-blue { color: var(--blue); }
.text-teal { color: var(--teal); }
.text-center { text-align: center; }
.section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--blue);
    margin-bottom: 16px;
}
.section__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 20px;
}
.section__subtitle {
    font-size: 1.1rem;
    color: var(--grey-light);
    max-width: 640px;
    margin: 0 auto 48px;
}

/* --- Fingerprint Background (real brand watermark from brandguide cover) --- */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 700px;
    height: 1120px;
    background: url('../images/brand/fingerprint-watermark.png') no-repeat center;
    background-size: contain;
    pointer-events: none;
    z-index: -1;
}
main { position: relative; z-index: 1; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn--primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 24px rgba(60, 133, 239, 0.3);
}
.btn--primary:hover {
    background: #5a9bf5;
    box-shadow: 0 8px 32px rgba(60, 133, 239, 0.45);
    transform: translateY(-2px);
}
.btn--secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--dark-border-hover);
}
.btn--secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(60, 133, 239, 0.05);
}
.btn--full { width: 100%; }
.btn--lg { padding: 18px 40px; font-size: 1.05rem; }

/* --- Spinner --- */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--transition);
}
.nav__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}
.nav__logo:hover { color: var(--white); }
.nav__logo-img { height: 54px; width: auto; display: block; flex-shrink: 0; }
.footer .nav__logo-img { height: 46px; }
.nav__logo-icon { width: 32px; height: 38px; }
.nav__logo-text { letter-spacing: -0.5px; }
.nav__logo-accent { color: var(--blue); }
.nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav__link {
    color: var(--grey-light);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all var(--transition);
}
.nav__link:hover { color: var(--white); background: rgba(255, 255, 255, 0.05); }
.nav__link--active { color: var(--blue); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__actions .btn { padding: 10px 20px; font-size: 0.85rem; }
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
    display: flex;
    align-items: flex-start;
    padding-top: 0;
    position: relative;
    overflow: hidden;
}
.hero__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 180px 24px 96px;
    position: relative;
    z-index: 1;
}
.hero__label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--blue);
    margin-bottom: 100px;
    padding: 6px 16px;
    border: 1px solid var(--dark-border);
    border-radius: 50px;
    background: rgba(60, 133, 239, 0.05);
}
.hero__title {
    font-size: clamp(2.8rem, 6vw, 3.8rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 16px;
    max-width: 800px;
}
.hero__title span { color: var(--blue); }
.hero__subtitle {
    font-size: 1.1rem;
    color: var(--grey-light);
    max-width: 640px;
    margin-bottom: 24px;
    line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__clients { margin-top: 32px; overflow: hidden; }
.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 820px;
}
.hero__stats.hero__stats--top {
    margin-top: 0;
    margin-bottom: 12px;
    padding-top: 0;
    border-top: none;
}
.hero__stat {
    padding: 0 32px;
    position: relative;
}
.hero__stat:first-child { padding-left: 0; }
.hero__stat:last-child { padding-right: 0; }
.hero__stat:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
}
.hero__stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.hero__stat-value span {
    color: var(--blue);
    font-weight: 400;
    font-size: 1.2rem;
    padding: 0 2px;
}
.hero__glow {
    position: absolute;
    top: 20%;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(60, 133, 239, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.card:hover {
    border-color: var(--dark-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(60, 133, 239, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}
.card__icon--teal { background: rgba(62, 206, 182, 0.1); }
.card__icon--purple { background: rgba(55, 10, 114, 0.2); }
.card__title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}
.card__text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.card__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.card__link:hover { gap: 10px; }
.card__link::after { content: '\2192'; }

/* --- Grid Layouts --- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================
   FEATURE SECTIONS
   ============================================ */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
}
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
.feature-row__content { max-width: 520px; }
.feature-row__visual {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    position: relative;
    overflow: hidden;
}
.feature-row__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(60, 133, 239, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.feature-row__visual--img {
    padding: 0;
    overflow: hidden;
}
.feature-row__visual--img::after { display: none; }
.feature-row__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
}

/* --- Feature List --- */
.feature-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.feature-list__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}
.feature-list__check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(60, 133, 239, 0.15);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    margin-top: 2px;
}

/* ============================================
   SPOTLIGHT SECTION
   ============================================ */
.spotlight {
    background: linear-gradient(135deg, rgba(60, 133, 239, 0.05) 0%, rgba(12, 12, 89, 0.15) 100%);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 80px;
    position: relative;
    overflow: hidden;
}
.spotlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(60, 133, 239, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.spotlight__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}
.spotlight__text {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.8;
}

/* ============================================
   CLIENT LOGOS MARQUEE
   ============================================ */
.clients {
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}
.clients__label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--charcoal);
    margin-bottom: 32px;
}
.clients__marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.clients__track {
    display: flex;
    gap: 64px;
    align-items: center;
    animation: marquee 30s linear infinite;
    width: max-content;
}
.clients__logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    opacity: 0.35;
    white-space: nowrap;
    transition: opacity var(--transition);
    flex-shrink: 0;
}
.clients__logo:hover {
    opacity: 0.7;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */
.testimonial-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}
.testimonial-card:hover {
    border-color: var(--dark-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.testimonial-card__stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.testimonial-card__quote {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--grey-light);
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 24px;
}
.testimonial-card__quote::before { content: '\201C'; color: var(--blue); font-size: 1.2rem; }
.testimonial-card__quote::after { content: '\201D'; color: var(--blue); font-size: 1.2rem; }
.testimonial-card__author {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
}
.testimonial-card__company {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}
.testimonial-card__role {
    font-size: 0.8rem;
    color: var(--charcoal);
    margin-top: 2px;
}

/* ============================================
   SOCIAL PROOF (media)
   ============================================ */
.proof { text-align: center; }
.proof__media { text-align: center; }
.proof__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    opacity: 0.5;
}
.proof__logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 1px;
}
.testimonial {
    max-width: 700px;
    margin: 0 auto;
}
.testimonial__quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 24px;
}
.testimonial__quote::before { content: '\201C'; color: var(--blue); }
.testimonial__quote::after { content: '\201D'; color: var(--blue); }
.testimonial__author {
    font-size: 0.9rem;
    color: var(--charcoal);
}
.testimonial__author strong { color: var(--grey-light); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    text-align: center;
    padding: 100px 24px;
    position: relative;
}
.cta-banner__title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}
.cta-banner__text {
    font-size: 1.1rem;
    color: var(--grey-light);
    max-width: 550px;
    margin: 0 auto 40px;
}
.cta-banner__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}
.page-hero__title {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}
.page-hero__subtitle {
    font-size: 1.15rem;
    color: var(--grey-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   STEPS
   ============================================ */
.steps { display: flex; gap: 32px; margin-top: 48px; }
.step {
    flex: 1;
    text-align: center;
    padding: 32px 24px;
}
.step__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(60, 133, 239, 0.15);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 16px;
}
.step__title { font-size: 1.05rem; margin-bottom: 8px; }
.step__text { font-size: 0.9rem; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.founder {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.founder__visual {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.founder__visual--img {
    padding: 0;
    overflow: hidden;
}
.founder__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
}
.founder__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(60, 133, 239, 0.1);
    border: 1px solid var(--dark-border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 16px;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 180px 24px 100px;
}
.legal-content h1 {
    font-size: 2.2rem;
    margin-bottom: 32px;
}
.legal-content h2 {
    font-size: 1.4rem;
    margin: 40px 0 16px;
}
.legal-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal.active { display: flex; }
.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}
.modal__content {
    position: relative;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 90%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
}
.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--charcoal);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color var(--transition);
}
.modal__close:hover { color: var(--white); }
.modal__title { font-size: 1.6rem; margin-bottom: 8px; }
.modal__subtitle { font-size: 0.95rem; color: var(--grey-light); margin-bottom: 32px; }

/* --- Forms --- */
.form__group { margin-bottom: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--grey-light);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form__input {
    width: 100%;
    padding: 14px 16px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}
.form__input:focus { outline: none; border-color: var(--blue); }
.form__input::placeholder { color: var(--charcoal); }
.form__textarea { resize: vertical; min-height: 80px; }
.form__success {
    text-align: center;
    padding: 32px 0;
}
.form__success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(62, 206, 182, 0.15);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
}
.form__success h3 { margin-bottom: 8px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer__tagline { color: var(--charcoal); font-size: 0.9rem; margin-top: 16px; }
.footer__heading {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 20px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__link {
    color: var(--charcoal);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer__link:hover { color: var(--white); }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--charcoal);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: var(--charcoal); }
.footer__legal a:hover { color: var(--white); }

/* ============================================
   BREACH CARDS & DETAIL
   ============================================ */
.breach-card {
    display: flex;
    flex-direction: column;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    color: var(--grey-light);
}
.breach-card:hover {
    border-color: var(--dark-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: var(--grey-light);
}
.breach-card__img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.breach-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.breach-card:hover .breach-card__img img {
    transform: scale(1.05);
}
.breach-card__body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.breach-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.breach-card__date {
    font-size: 0.8rem;
    color: var(--charcoal);
}
.breach-card__tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--blue);
    background: rgba(60, 133, 239, 0.1);
    padding: 3px 10px;
    border-radius: 50px;
}
.breach-card__title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}
.breach-card__summary {
    font-size: 0.9rem;
    line-height: 1.7;
    flex-grow: 1;
}

/* --- Breach Detail Page --- */
.breach-back {
    font-size: 0.9rem;
    color: var(--charcoal);
    transition: color var(--transition);
}
.breach-back:hover { color: var(--blue); }
.breach-detail__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    justify-content: center;
}
.breach-detail {
    max-width: 800px;
    margin: 0 auto;
}
.breach-detail__hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
}
.breach-detail__hero-img img {
    width: 100%;
    height: auto;
    display: block;
}
.breach-detail__body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--grey-light);
}
.breach-detail__body h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
}
.breach-detail__body h3 {
    font-size: 1.25rem;
    margin: 32px 0 12px;
}
.breach-detail__body p {
    margin-bottom: 20px;
}
.breach-detail__body ul,
.breach-detail__body ol {
    margin: 0 0 20px 24px;
    list-style: disc;
}
.breach-detail__body li {
    margin-bottom: 8px;
}
.breach-detail__body blockquote {
    border-left: 3px solid var(--blue);
    padding: 16px 24px;
    margin: 24px 0;
    background: rgba(60, 133, 239, 0.05);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}
.breach-detail__body a {
    color: var(--blue);
    text-decoration: underline;
}
.breach-detail__body a:hover { color: var(--blue-light); }
.breach-detail__source {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
    color: var(--charcoal);
}
.breach-detail__source a {
    color: var(--blue);
    margin-left: 8px;
}

/* ============================================
   NEWSLETTER SIGNUP
   ============================================ */
.newsletter {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.newsletter__text {
    font-size: 1.05rem;
    color: var(--grey-light);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.newsletter__fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.newsletter__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.newsletter__success {
    text-align: center;
    padding: 24px 0;
}
@media (max-width: 768px) {
    .newsletter__row { grid-template-columns: 1fr; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Fallback: if JS hasn't run after 2s, show everything */
@keyframes revealFallback {
    to { opacity: 1; transform: translateY(0); }
}
.reveal {
    animation: revealFallback 0.01s 2s forwards;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(60, 133, 239, 0.1); }
    50% { box-shadow: 0 0 40px rgba(60, 133, 239, 0.2); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .feature-row { grid-template-columns: 1fr; gap: 40px; }
    .feature-row--reverse { direction: ltr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .founder { grid-template-columns: 1fr; }
    .spotlight { padding: 48px; }
}
@media (max-width: 768px) {
    .nav__links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .nav__links.active { display: flex; }
    .nav__actions .btn { display: inline-flex; }
    .nav__actions .btn--primary { display: none; }
    .nav__hamburger { display: flex; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .hero__title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero__stats { grid-template-columns: 1fr; }
    .hero__stat { padding: 16px 0; }
    .hero__stat:first-child { padding-top: 0; }
    .hero__stat:last-child { padding-bottom: 0; }
    .hero__stat:not(:first-child)::before { top: 0; left: 0; transform: none; width: 40px; height: 1px; }
    .steps { flex-direction: column; }
    .form__row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
    .section { padding: 80px 0; }
    .cta-banner { padding: 60px 24px; }
    .spotlight { padding: 32px 24px; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
