/* CyberKavach — Red/Black brand override for public landing pages */
/* This file overrides the default cyan/teal accent to red (#E53935) + black (#111) */
/* It does NOT touch background animations, aurora scene, or particle effects */

.ck-landing {
    --ck-accent: #E53935;
    --ck-accent-light: #ff5252;
    --ck-accent-muted: rgba(229, 57, 53, 0.14);
    --ck-accent-border: rgba(229, 57, 53, 0.28);
    --ck-accent-glow: rgba(229, 57, 53, 0.07);
    --bg-color: #050000;
    --light-color: #E53935;
    --glow-color-1: rgba(229, 57, 53, 0.8);
    --glow-color-2: rgba(255, 82, 82, 0.6);
}

/* ── Background system removed - see homepage-bg.css ── */

/* ── Navbar ── */
.ck-landing .ck-landing-nav {
    background: rgba(17, 17, 17, 0.92);
    border-bottom-color: rgba(229, 57, 53, 0.18);
}

.ck-landing .ck-landing-links {
    border-color: rgba(229, 57, 53, 0.15);
    background: rgba(26, 26, 26, 0.7);
}

.ck-landing .ck-landing-links a:hover,
.ck-landing .ck-landing-links a.is-active {
    color: #fff;
    background: rgba(229, 57, 53, 0.12);
}

.ck-landing .ck-landing-links a.is-active {
    color: #E53935;
}

/* ── Buttons ── */
.ck-landing .ck-btn-primary {
    background: linear-gradient(145deg, rgba(229, 57, 53, 0.22), rgba(17, 17, 17, 0.95));
    border-color: rgba(229, 57, 53, 0.4);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 24px rgba(229, 57, 53, 0.15);
}

.ck-landing .ck-btn-primary:hover {
    border-color: rgba(229, 57, 53, 0.6);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 28px rgba(229, 57, 53, 0.25);
}

.ck-landing .ck-btn-outline {
    border-color: rgba(229, 57, 53, 0.3);
    color: #ff5252;
}

.ck-landing .ck-btn-outline:hover {
    border-color: rgba(229, 57, 53, 0.5);
    color: #fff;
    background: rgba(229, 57, 53, 0.1);
}

.ck-landing .ck-btn-ghost {
    color: rgba(255, 255, 255, 0.7);
}

.ck-landing .ck-btn-ghost:hover {
    background: rgba(229, 57, 53, 0.1);
    color: #fff;
}

.ck-landing .ck-btn-secondary {
    border-color: rgba(229, 57, 53, 0.25);
    color: #ff5252;
}

.ck-landing .ck-btn-secondary:hover {
    border-color: rgba(229, 57, 53, 0.45);
    color: #fff;
    background: rgba(229, 57, 53, 0.08);
}

/* ── Hero ── */
.ck-landing .ck-landing-eyebrow {
    border-color: rgba(229, 57, 53, 0.3);
    background: rgba(229, 57, 53, 0.1);
    color: #ff8a80;
}

.ck-landing .ck-trust-strip span {
    border-color: rgba(229, 57, 53, 0.18);
    color: rgba(255, 255, 255, 0.5);
}

/* ── Section kickers ── */
.ck-landing .ck-card__label {
    color: #E53935;
}

/* ── Feature cards ── */
.ck-landing .ck-feature-card__icon {
    color: #E53935;
    background: rgba(229, 57, 53, 0.1);
    border-color: rgba(229, 57, 53, 0.2);
}

.ck-landing .ck-landing-card:hover,
.ck-landing .ck-feature-card:hover,
.ck-landing .ck-role-card:hover,
.ck-landing .ck-landing-event:hover,
.ck-landing .ck-dashboard-tile:hover {
    border-color: rgba(229, 57, 53, 0.35);
}

.ck-landing .ck-landing-card i,
.ck-landing .ck-role-card i {
    color: #E53935;
}

/* ── Event cards ── */
.ck-landing .ck-badge--success {
    color: #ff8a80;
    border-color: rgba(229, 57, 53, 0.3);
    background: rgba(229, 57, 53, 0.12);
}

.ck-landing .ck-event-card:hover {
    border-color: rgba(229, 57, 53, 0.25);
}

/* ── Dashboard tiles ── */
.ck-landing .ck-dashboard-tile > span {
    color: #E53935;
}

.ck-landing .ck-mini-bars i {
    background: linear-gradient(180deg, rgba(229, 57, 53, 0.7), rgba(229, 57, 53, 0.08));
}

.ck-landing .ck-mini-flow i {
    background: linear-gradient(90deg, rgba(229, 57, 53, 0.18), rgba(148, 163, 184, 0.05));
}

.ck-landing .ck-mini-terminal code {
    color: #ff8a80;
}

.ck-landing .ck-preview-chart span {
    background: linear-gradient(180deg, rgba(229, 57, 53, 0.78), rgba(229, 57, 53, 0.18));
    box-shadow: 0 0 16px rgba(229, 57, 53, 0.12);
}

.ck-landing .ck-preview-side span.is-active {
    background: linear-gradient(90deg, rgba(229, 57, 53, 0.24), rgba(229, 57, 53, 0.06));
    border: 1px solid rgba(229, 57, 53, 0.22);
}

.ck-landing .ck-preview-window:hover {
    border-color: rgba(229, 57, 53, 0.28);
}

/* ── Stats band ── */
.ck-landing .ck-stat-block strong {
    color: #fff;
}

/* ── Contact / Footer ── */
.ck-landing .ck-contact-form input:focus,
.ck-landing .ck-contact-form textarea:focus {
    border-color: rgba(229, 57, 53, 0.4);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.08);
}

.ck-landing .ck-footer-links a:hover,
.ck-landing .ck-social-row a:hover {
    color: #E53935;
}

/* ── Brand mark override (when not using logo img) ── */
.ck-landing .ck-brand-mark {
    background: linear-gradient(135deg, #ff8a80 0%, #E53935 48%, #b71c1c 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 3px 12px rgba(229, 57, 53, 0.2);
}

/* ── Navbar logo ── */
.ck-landing .ck-nav-logo {
    height: 36px;
    width: auto;
    display: block;
}

/* ── Mobile hamburger ── */
.ck-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(229, 57, 53, 0.25);
    border-radius: 8px;
    background: rgba(26, 26, 26, 0.8);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ck-hamburger:hover {
    border-color: rgba(229, 57, 53, 0.5);
    background: rgba(229, 57, 53, 0.1);
}

.ck-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: background 0.2s ease;
}

.ck-hamburger span::before,
.ck-hamburger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease;
}

.ck-hamburger span::before {
    top: -6px;
}

.ck-hamburger span::after {
    top: 6px;
}

.ck-hamburger.is-active span {
    background: transparent;
}

.ck-hamburger.is-active span::before {
    transform: translateY(6px) rotate(45deg);
}

.ck-hamburger.is-active span::after {
    transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 760px) {
    .ck-hamburger {
        display: none;
    }
}

/* Mobile nav dropdown */
.ck-mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(17, 17, 17, 0.98);
    border-bottom: 1px solid rgba(229, 57, 53, 0.2);
    padding: 16px;
    flex-direction: column;
    gap: 4px;
    z-index: 49;
    backdrop-filter: blur(16px);
}

.ck-mobile-nav.is-open {
    display: flex;
}

.ck-mobile-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.ck-mobile-nav a:hover,
.ck-mobile-nav a.is-active {
    background: rgba(229, 57, 53, 0.12);
    color: #E53935;
}

@media (min-width: 760px) {
    .ck-mobile-nav {
        display: none !important;
    }
}

/* ── Team Section ── */
.ck-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.ck-team-card {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(26, 26, 26, 0.8), rgba(17, 17, 17, 0.95));
    padding: 20px 16px;
    text-align: center;
    transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease;
}

.ck-team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 57, 53, 0.35);
}

.ck-team-card__photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 12px;
    overflow: hidden;
    border: 3px solid rgba(229, 57, 53, 0.3);
    box-shadow: 0 4px 20px rgba(229, 57, 53, 0.12);
}

.ck-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ck-team-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.ck-team-card__role {
    font-size: 11px;
    font-weight: 600;
    color: #E53935;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.ck-team-card__bio {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 8px;
    line-height: 1.4;
}

.ck-team-card__socials {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.ck-team-card__socials a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(26, 26, 26, 0.6);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.ck-team-card__socials a:hover {
    border-color: rgba(229, 57, 53, 0.4);
    color: #E53935;
    background: rgba(229, 57, 53, 0.08);
}

.ck-team-card__socials a i {
    width: 14px;
    height: 14px;
}

.ck-team-section-header {
    font-size: 13px;
    font-weight: 700;
    color: #E53935;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 32px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(229, 57, 53, 0.15);
}

.ck-team-section-header:first-child {
    margin-top: 0;
}

/* ── Footer ── */
.ck-landing .ck-landing-footer {
    background: rgba(17, 17, 17, 0.9);
    border-color: rgba(229, 57, 53, 0.15);
}

.ck-landing .ck-social-row a {
    border-color: rgba(229, 57, 53, 0.2);
}

.ck-landing .ck-social-row a:hover {
    border-color: rgba(229, 57, 53, 0.4);
    color: #E53935;
    background: rgba(229, 57, 53, 0.08);
}

.ck-footer-logo {
    height: 32px;
    width: auto;
}

/* ── Team page specific ── */
.ck-team-page-hero {
    padding: clamp(60px, 10vw, 100px) clamp(16px, 4vw, 52px) 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ck-team-page-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 760;
    color: #fff;
    margin: 0;
}

.ck-team-page-hero p {
    margin-top: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ck-team-page-content {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 60px;
    position: relative;
    z-index: 1;
}
