/* =============================================
   CSITPA DFW - Main Stylesheet
   Dark Cybersecurity Theme
   ============================================= */

/* ---- CSS Variables ---- */
:root {
    /* Primary Colors */
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --primary-darker: #006688;
    --accent: #00ffcc;
    --accent-purple: #7c3aed;
    --accent-blue: #3b82f6;

    /* Dark Theme Colors */
    --bg-darkest: #0a0e17;
    --bg-dark: #0f1520;
    --bg-medium: #141b2d;
    --bg-light: #1a2332;
    --bg-lighter: #1e293b;
    --bg-card: #162033;

    /* Text Colors */
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Borders */
    --border-color: rgba(0, 212, 255, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 50%, #006688 100%);
    --gradient-accent: linear-gradient(135deg, #00ffcc 0%, #00d4ff 100%);
    --gradient-dark: linear-gradient(180deg, #0a0e17 0%, #0f1520 100%);
    --gradient-card: linear-gradient(145deg, rgba(20, 27, 45, 0.8) 0%, rgba(15, 21, 32, 0.9) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(10, 14, 23, 0.95) 0%, rgba(15, 21, 32, 0.9) 50%, rgba(0, 40, 60, 0.85) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.15);
    --shadow-glow-strong: 0 0 40px rgba(0, 212, 255, 0.25);

    /* Typography */
    --font-heading: 'Montserrat', 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1280px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-darkest);
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-white);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

img {
    max-width: 100%;
    height: auto;
}

ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Preloader ---- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darkest);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.cyber-loader .hex-grid {
    display: flex;
    gap: 8px;
}

.cyber-loader .hex {
    width: 16px;
    height: 16px;
    background: var(--primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hexPulse 1.2s ease-in-out infinite;
}

.cyber-loader .hex:nth-child(2) { animation-delay: 0.2s; }
.cyber-loader .hex:nth-child(3) { animation-delay: 0.4s; }

@keyframes hexPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.preloader-text {
    display: block;
    margin-top: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    letter-spacing: 4px;
}

/* ---- Top Bar ---- */
.top-bar {
    background: rgba(10, 14, 23, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    padding: 8px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1001;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-bar-left a, .top-bar-left span {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
}

.top-bar-left a:hover { color: var(--primary); }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.top-bar-cta {
    background: var(--gradient-primary);
    color: var(--text-white) !important;
    padding: 4px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-bar-cta:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
    padding: 0;
}

.site-header.scrolled {
    background: rgba(10, 14, 23, 0.98);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.site-branding .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-svg-wrap {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.logo-svg-wrap .csitpa-logo-svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-white);
    letter-spacing: 2px;
    line-height: 1.2;
}

.logo-chapter {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: var(--primary);
    letter-spacing: 3px;
    font-weight: 600;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    color: var(--text-white);
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after {
    width: 70%;
}

/* Sub Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li a {
    padding: 10px 20px;
    font-size: 0.82rem;
}

.nav-menu .sub-menu li a::after { display: none; }

.nav-menu .sub-menu li a:hover {
    background: rgba(0, 212, 255, 0.08);
    color: var(--primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 10000;
    transition: var(--transition-slow);
    overflow-y: auto;
    border-left: 1px solid var(--border-color);
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-inner {
    padding: 24px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.mobile-menu-header .logo-svg-wrap {
    width: 40px;
    height: 40px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-menu li a {
    display: block;
    padding: 14px 16px;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-nav-menu li a:hover {
    background: rgba(0, 212, 255, 0.08);
    color: var(--primary);
}

.mobile-menu-cta {
    margin-top: 32px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-darkest);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-white {
    background: var(--text-white);
    color: var(--bg-darkest);
}

.btn-white:hover {
    background: var(--text-light);
    color: var(--bg-darkest);
    transform: translateY(-2px);
}

/* ---- Section Styles ---- */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gradient-primary);
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ---- Hero Section ---- */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-glow-1 {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatGlow 8s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatGlow 10s ease-in-out infinite reverse;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 60%; left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { top: 80%; left: 60%; animation-delay: 3s; }
.particle:nth-child(5) { top: 30%; left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { top: 70%; left: 90%; animation-delay: 5s; }

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-badge i {
    font-size: 0.7rem;
}

.hero-text h1 {
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.82rem;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-showcase {
    position: relative;
    width: 380px;
    height: 380px;
}

.hero-logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.hero-logo-ring-1 {
    width: 380px;
    height: 380px;
    animation: rotate 30s linear infinite;
}

.hero-logo-ring-2 {
    width: 320px;
    height: 320px;
    animation: rotate 25s linear infinite reverse;
}

.hero-logo-ring-3 {
    width: 260px;
    height: 260px;
    border-color: rgba(0, 255, 204, 0.1);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-logo-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.hero-logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
}

.hero-logo-center .csitpa-logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3));
}

/* Floating badges around logo */
.hero-float-badge {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    animation: floatBadge 4s ease-in-out infinite;
}

.hero-float-badge i {
    color: var(--primary);
    font-size: 1rem;
}

.hero-float-badge:nth-child(5) { top: 0; right: -20px; animation-delay: 0s; }
.hero-float-badge:nth-child(6) { bottom: 20px; left: -40px; animation-delay: 1s; }
.hero-float-badge:nth-child(7) { top: 40%; right: -50px; animation-delay: 2s; }
.hero-float-badge:nth-child(8) { bottom: 60px; right: -30px; animation-delay: 3s; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---- Stats Bar ---- */
.stats-bar {
    background: var(--bg-medium);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.03) 0%, transparent 50%, rgba(0, 255, 204, 0.03) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---- Feature Cards ---- */
.features-section {
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 36px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--border-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: rgba(0, 212, 255, 0.15);
    box-shadow: var(--shadow-glow);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
}

.feature-link:hover {
    gap: 10px;
}

/* ---- Events Section ---- */
.events-section {
    background: var(--bg-darkest);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.event-card:hover {
    border-color: var(--border-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.event-image {
    position: relative;
    height: 200px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
}

.event-date-badge .day {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.event-date-badge .month {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-format-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 212, 255, 0.9);
    color: var(--bg-darkest);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-content {
    padding: 24px;
}

.event-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.event-meta span {
    font-size: 0.82rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-meta span i { color: var(--primary); }

.event-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.event-card h3 a {
    color: var(--text-white);
}

.event-card h3 a:hover { color: var(--primary); }

.event-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.event-card .btn {
    width: 100%;
    justify-content: center;
}

/* ---- Training Section ---- */
.training-section {
    background: var(--bg-dark);
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.training-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.training-card:hover {
    border-color: var(--border-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.training-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.training-card h4 {
    margin-bottom: 8px;
}

.training-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.training-card .btn {
    width: 100%;
    justify-content: center;
}

/* ---- Partners Section ---- */
.partners-section {
    background: var(--bg-medium);
    padding: 60px 0;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: var(--transition);
    min-width: 160px;
    height: 70px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.partner-logo:hover {
    border-color: var(--border-color);
    background: rgba(0, 212, 255, 0.05);
    color: var(--text-muted);
}

/* ---- Testimonials ---- */
.testimonials-section {
    background: var(--bg-darkest);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-glow);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 0.85rem;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-white);
}

.testimonial-info h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* ---- Resources / Articles Section ---- */
.articles-section {
    background: var(--bg-dark);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    border-color: var(--border-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.article-image {
    height: 200px;
    background: var(--bg-lighter);
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 212, 255, 0.9);
    color: var(--bg-darkest);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content {
    padding: 24px;
}

.article-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    color: var(--text-dim);
}

.article-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-content h3 a {
    color: var(--text-white);
}

.article-content h3 a:hover { color: var(--primary); }

.article-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---- Threat Intel Section ---- */
.threat-intel-section {
    background: var(--bg-medium);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.threat-intel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.threat-feed {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 30px;
}

.threat-feed h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.threat-feed h4 i {
    color: var(--primary);
}

.threat-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.threat-item:last-child { border-bottom: none; }

.threat-severity {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
}

.threat-severity.critical { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.5); }
.threat-severity.high { background: #f97316; box-shadow: 0 0 8px rgba(249, 115, 22, 0.5); }
.threat-severity.medium { background: #eab308; }
.threat-severity.low { background: #22c55e; }

.threat-info h5 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.4;
}

.threat-info p {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* ---- Footer ---- */
.footer-cta-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 255, 204, 0.05) 100%);
    border-top: 1px solid var(--border-color);
    padding: 80px 0;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.footer-cta-content h2 {
    margin-bottom: 12px;
    font-size: 2rem;
}

.footer-cta-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
}

.footer-cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.footer-main {
    background: var(--bg-dark);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 16px 0 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-svg-wrap {
    width: 40px;
    height: 40px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--bg-darkest);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-list li i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 0.85rem;
}

.footer-contact-list li a,
.footer-contact-list li span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-newsletter {
    margin-top: 24px;
}

.footer-newsletter h5 {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-medium);
    border: none;
    color: var(--text-light);
    font-size: 0.85rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--text-dim);
}

.newsletter-form button {
    padding: 10px 16px;
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    background: var(--bg-darkest);
    border-top: 1px solid var(--border-subtle);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.82rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-dim);
    font-size: 0.82rem;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-bottom .powered-by {
    color: var(--text-dim);
    font-size: 0.82rem;
}

.footer-bottom .powered-by a {
    color: var(--primary);
    font-weight: 600;
}

.footer-bottom .powered-by a:hover {
    color: var(--accent);
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-strong);
}

/* ---- Page Header (Inner Pages) ---- */
.page-hero {
    background: var(--gradient-hero);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--text-dim);
}

.breadcrumb a:hover { color: var(--primary); }

.breadcrumb span { color: var(--text-muted); }

/* ---- Forms ---- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-group label .required {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-medium);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-control::placeholder {
    color: var(--text-dim);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-darkest);
    font-size: 0.7rem;
    font-weight: bold;
}

.form-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    padding: 16px;
    color: #22c55e;
    text-align: center;
    display: none;
}

.form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 16px;
    color: #ef4444;
    text-align: center;
    display: none;
}

/* ---- Card Layouts ---- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--border-color);
}

/* ---- Pricing Cards ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.pricing-card h3 {
    margin-bottom: 8px;
}

.pricing-price {
    font-family: var(--font-heading);
    margin: 20px 0;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
}

.pricing-price .period {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.pricing-features {
    text-align: left;
    margin: 24px 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-features li i {
    color: var(--accent);
    font-size: 0.8rem;
}

.pricing-features li.disabled {
    opacity: 0.4;
}

.pricing-features li.disabled i {
    color: var(--text-dim);
}

/* ---- Job Cards ---- */
.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.job-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-glow);
}

.job-logo {
    width: 56px;
    height: 56px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.job-info { flex: 1; }

.job-info h4 { margin-bottom: 4px; }

.job-company {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.job-tag {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.job-salary {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent);
    font-size: 0.95rem;
}

/* ---- Team Grid ---- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--border-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.team-photo {
    width: 100%;
    height: 250px;
    background: var(--bg-lighter);
    overflow: hidden;
}

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

.team-photo .placeholder-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
}

.team-info {
    padding: 24px;
}

.team-info h4 {
    margin-bottom: 4px;
}

.team-info .position {
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.team-info .certs {
    color: var(--text-dim);
    font-size: 0.82rem;
    margin-bottom: 12px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dim);
    font-size: 0.85rem;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: var(--bg-darkest);
    border-color: var(--primary);
}

/* ---- Tabs ---- */
.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-subtle);
    overflow-x: auto;
}

.tab-btn {
    padding: 14px 24px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dim);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--text-white);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- GRC Tools Section ---- */
.grc-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grc-tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition);
}

.grc-tool-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-glow);
}

.grc-tool-card .tool-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.grc-tool-card h4 { margin-bottom: 8px; }

.grc-tool-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.grc-tool-card .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* ---- Vendor Directory ---- */
.vendor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.vendor-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.vendor-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-glow);
}

.vendor-logo-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.vendor-card h5 { margin-bottom: 4px; }

.vendor-card p {
    color: var(--text-dim);
    font-size: 0.82rem;
}

/* ---- Chapter Cards ---- */
.chapter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.chapter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.chapter-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-glow);
}

.chapter-card .chapter-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.chapter-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.chapter-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ---- 404 Page ---- */
.error-404 {
    text-align: center;
    padding: 120px 0;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

/* ---- Single Post ---- */
.single-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.single-content h2 {
    margin: 32px 0 16px;
}

.single-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.single-content img {
    border-radius: 12px;
    margin: 24px 0;
}

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text { max-width: 100%; }

    .hero-actions { justify-content: center; }

    .hero-stats { justify-content: center; }

    .hero-visual { display: none; }

    .features-grid,
    .events-grid,
    .testimonials-grid,
    .articles-grid,
    .pricing-grid,
    .chapter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .training-grid,
    .team-grid,
    .vendor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-right: none;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .threat-intel-grid {
        grid-template-columns: 1fr;
    }

    .footer-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .top-bar-left {
        display: none;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-actions .btn {
        display: none;
    }

    .features-grid,
    .events-grid,
    .testimonials-grid,
    .articles-grid,
    .pricing-grid,
    .grc-tools-grid,
    .chapter-grid {
        grid-template-columns: 1fr;
    }

    .training-grid,
    .team-grid,
    .vendor-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .job-card {
        flex-direction: column;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .hero-section {
        min-height: auto;
        padding: 80px 0;
    }

    .page-hero {
        padding: 80px 0 60px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .footer-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---- Blog Page Styles ---- */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding-bottom: 30px;
}

.blog-filter-btn {
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dim);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.blog-featured {
    margin-bottom: 20px;
}

.blog-featured-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-featured-inner:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-glow);
}

.blog-featured-image {
    position: relative;
    min-height: 350px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-primary);
    color: var(--text-white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-featured-content {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-content h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-featured-content h2 a {
    color: var(--text-white);
}

.blog-featured-content h2 a:hover {
    color: var(--primary);
}

.blog-featured-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.blog-read-time {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.blog-empty {
    text-align: center;
    padding: 80px 0;
}

.blog-empty-inner {
    max-width: 500px;
    margin: 0 auto;
}

.blog-empty-inner i {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 24px;
}

.blog-empty-inner h3 {
    margin-bottom: 12px;
}

.blog-empty-inner p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 4px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-darkest);
}

/* ---- Theme Toggle ---- */
.theme-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-muted);
    font-size: 1rem;
    overflow: hidden;
}

.theme-toggle:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.theme-icon-light,
.theme-icon-dark {
    position: absolute;
    transition: var(--transition);
}

/* Dark theme active: show sun icon (to switch to light) */
body.dark-theme .theme-icon-light {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.dark-theme .theme-icon-dark {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

/* Light theme active: show moon icon (to switch to dark) */
body.light-theme .theme-icon-light {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

body.light-theme .theme-icon-dark {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Mobile Theme Toggle */
.mobile-menu-theme-toggle {
    margin-top: 16px;
    margin-bottom: 16px;
}

.theme-toggle-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.theme-toggle-mobile:hover {
    background: rgba(0, 212, 255, 0.12);
    color: var(--primary);
}

.theme-toggle-mobile .theme-icon-light,
.theme-toggle-mobile .theme-icon-dark {
    position: static;
}

body.dark-theme .theme-toggle-mobile .theme-icon-dark { display: none; }
body.light-theme .theme-toggle-mobile .theme-icon-light { display: none; }

/* =============================================
   LIGHT THEME OVERRIDES
   ============================================= */
body.light-theme {
    --bg-darkest: #f8fafc;
    --bg-dark: #f1f5f9;
    --bg-medium: #e2e8f0;
    --bg-light: #dde4ed;
    --bg-lighter: #cbd5e1;
    --bg-card: #ffffff;

    --text-white: #0f172a;
    --text-light: #1e293b;
    --text-muted: #475569;
    --text-dim: #64748b;

    --border-color: rgba(0, 153, 204, 0.25);
    --border-subtle: rgba(0, 0, 0, 0.08);

    --primary: #0088b3;
    --primary-dark: #006688;
    --primary-darker: #004d66;
    --accent: #00997a;

    --gradient-primary: linear-gradient(135deg, #00b8d9 0%, #0088b3 50%, #006688 100%);
    --gradient-accent: linear-gradient(135deg, #00997a 0%, #00b8d9 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(241, 245, 249, 0.98) 0%, rgba(226, 232, 240, 0.95) 50%, rgba(186, 230, 245, 0.9) 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 4px 20px rgba(0, 136, 179, 0.12);
    --shadow-glow-strong: 0 8px 30px rgba(0, 136, 179, 0.18);
}

/* Light theme specific overrides */
body.light-theme .top-bar {
    background: rgba(241, 245, 249, 0.98);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .site-header {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(20px);
}

body.light-theme .site-header.scrolled {
    background: rgba(248, 250, 252, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

body.light-theme .logo-name {
    color: #0f172a;
}

body.light-theme .hamburger span {
    background: #1e293b;
}

body.light-theme .mobile-menu-overlay {
    background: #ffffff;
    border-left-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .mobile-menu-close {
    color: #475569;
}

body.light-theme .hero-section {
    background: var(--gradient-hero);
}

body.light-theme .hero-text h1,
body.light-theme .page-hero h1 {
    background: linear-gradient(135deg, #0f172a 0%, #0088b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .hero-grid {
    background-image:
        linear-gradient(rgba(0, 136, 179, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 136, 179, 0.04) 1px, transparent 1px);
}

body.light-theme .hero-glow-1 {
    background: radial-gradient(circle, rgba(0, 136, 179, 0.08) 0%, transparent 70%);
}

body.light-theme .hero-glow-2 {
    background: radial-gradient(circle, rgba(0, 153, 122, 0.06) 0%, transparent 70%);
}

body.light-theme .hero-badge {
    background: rgba(0, 136, 179, 0.08);
    border-color: rgba(0, 136, 179, 0.2);
}

body.light-theme .hero-float-badge {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #1e293b;
}

body.light-theme .page-hero {
    background: var(--gradient-hero);
}

body.light-theme .page-hero::before {
    background-image:
        linear-gradient(rgba(0, 136, 179, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 136, 179, 0.04) 1px, transparent 1px);
}

body.light-theme .stats-bar {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .stats-bar::before {
    background: linear-gradient(90deg, rgba(0, 136, 179, 0.03) 0%, transparent 50%, rgba(0, 153, 122, 0.03) 100%);
}

body.light-theme .stat-item {
    border-right-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .feature-card,
body.light-theme .event-card,
body.light-theme .training-card,
body.light-theme .testimonial-card,
body.light-theme .article-card,
body.light-theme .pricing-card,
body.light-theme .job-card,
body.light-theme .team-card,
body.light-theme .chapter-card,
body.light-theme .grc-tool-card,
body.light-theme .vendor-card,
body.light-theme .threat-feed,
body.light-theme .card,
body.light-theme .blog-featured-inner {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light-theme .feature-card:hover,
body.light-theme .event-card:hover,
body.light-theme .training-card:hover,
body.light-theme .testimonial-card:hover,
body.light-theme .article-card:hover,
body.light-theme .job-card:hover,
body.light-theme .team-card:hover,
body.light-theme .chapter-card:hover,
body.light-theme .grc-tool-card:hover,
body.light-theme .vendor-card:hover,
body.light-theme .blog-featured-inner:hover {
    border-color: rgba(0, 136, 179, 0.3);
    box-shadow: 0 8px 25px rgba(0, 136, 179, 0.1);
}

body.light-theme .feature-icon,
body.light-theme .stat-icon,
body.light-theme .training-icon,
body.light-theme .pricing-icon,
body.light-theme .chapter-card .chapter-icon,
body.light-theme .grc-tool-card .tool-icon,
body.light-theme .job-logo {
    background: rgba(0, 136, 179, 0.08);
    border-color: rgba(0, 136, 179, 0.15);
}

body.light-theme .partner-logo {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
    color: #475569;
}

body.light-theme .partner-logo:hover {
    background: rgba(0, 136, 179, 0.05);
    border-color: rgba(0, 136, 179, 0.2);
    color: #0088b3;
}

body.light-theme .team-photo .placeholder-avatar {
    background: var(--gradient-primary);
    color: #ffffff;
}

body.light-theme .testimonial-avatar {
    color: #ffffff;
}

body.light-theme .pricing-price .amount {
    color: #0f172a;
}

body.light-theme .pricing-card.featured {
    border-color: #0088b3;
}

body.light-theme .footer-cta-section {
    background: linear-gradient(135deg, rgba(0, 136, 179, 0.06) 0%, rgba(0, 153, 122, 0.04) 100%);
    border-top-color: rgba(0, 136, 179, 0.15);
}

body.light-theme .footer-main {
    background: #f1f5f9;
}

body.light-theme .footer-bottom {
    background: #e2e8f0;
    border-top-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .footer-social a {
    background: rgba(0, 136, 179, 0.06);
    border-color: rgba(0, 136, 179, 0.15);
    color: #64748b;
}

body.light-theme .footer-social a:hover {
    background: #0088b3;
    color: #ffffff;
    border-color: #0088b3;
}

body.light-theme .newsletter-form {
    border-color: rgba(0, 0, 0, 0.12);
}

body.light-theme .newsletter-form input {
    background: #ffffff;
    color: #1e293b;
}

body.light-theme .form-control {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    color: #1e293b;
}

body.light-theme .form-control:focus {
    border-color: #0088b3;
    box-shadow: 0 0 0 3px rgba(0, 136, 179, 0.1);
}

body.light-theme .checkbox-label input[type="checkbox"] {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-theme .btn-ghost {
    background: rgba(0, 136, 179, 0.06);
    border-color: rgba(0, 136, 179, 0.2);
}

body.light-theme .btn-ghost:hover {
    background: rgba(0, 136, 179, 0.12);
    border-color: #0088b3;
}

body.light-theme .btn-primary {
    box-shadow: 0 4px 15px rgba(0, 136, 179, 0.25);
    color: #ffffff;
}

body.light-theme .btn-primary:hover {
    color: #ffffff;
}

body.light-theme .top-bar-cta {
    color: #ffffff !important;
}

body.light-theme .event-date-badge {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .nav-menu .sub-menu {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body.light-theme .nav-menu .sub-menu li a:hover {
    background: rgba(0, 136, 179, 0.06);
}

body.light-theme .blog-filter-btn {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    color: #64748b;
}

body.light-theme .blog-filter-btn:hover,
body.light-theme .blog-filter-btn.active {
    background: rgba(0, 136, 179, 0.08);
    border-color: #0088b3;
    color: #0088b3;
}

body.light-theme .blog-pagination .page-numbers {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    color: #475569;
}

body.light-theme .blog-pagination .page-numbers.current,
body.light-theme .blog-pagination .page-numbers:hover {
    background: #0088b3;
    border-color: #0088b3;
    color: #ffffff;
}

body.light-theme .back-to-top {
    box-shadow: 0 4px 15px rgba(0, 136, 179, 0.25);
}

body.light-theme #preloader {
    background: #f8fafc;
}

body.light-theme .preloader-text {
    color: #0088b3;
}

body.light-theme .cyber-loader .hex {
    background: #0088b3;
}

body.light-theme .theme-toggle {
    background: rgba(0, 136, 179, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
    color: #475569;
}

body.light-theme .theme-toggle:hover {
    background: rgba(0, 136, 179, 0.12);
    border-color: #0088b3;
    color: #0088b3;
}

body.light-theme .vendor-logo-placeholder {
    background: rgba(0, 136, 179, 0.06);
    border-color: rgba(0, 136, 179, 0.15);
}

/* Smooth transition for theme switch */
body {
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* ---- Responsive additions for blog ---- */
@media (max-width: 1024px) {
    .blog-featured-inner {
        grid-template-columns: 1fr;
    }

    .blog-featured-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .blog-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .blog-filter-btn {
        flex-shrink: 0;
    }

    .blog-featured-content {
        padding: 24px;
    }

    .blog-featured-content h2 {
        font-size: 1.3rem;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }
}

/* ---- Animations ---- */
[data-aos] {
    transition-duration: 800ms;
}
