/* ================================================
   CyberNytronX™ - Professional Cybersecurity Theme
   Deep Blue with Cyan Accents - Enterprise Grade
   ================================================ */

/* ===== CSS Variables ===== */
:root {
    /* Professional Cybersecurity Colors */
    --bg-dark: #0a1628;
    --bg-darker: #030712;
    --bg-card: #0f1c2e;
    --gold-accent: #00d4ff;
    --gold-hover: #0ea5e9;
    --gold-light: #38bdf8;
    --accent-purple: #8b5cf6;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;

    /* Fonts */
    --font-primary: 'Courier Prime', 'Space Mono', monospace;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Effects */
    --transition: 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #0d1b2d 100%);
    background-attachment: fixed;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
}

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

ul {
    list-style: none;
}

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

/* ===== Header/Navigation ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-bottom: 2px solid var(--gold-accent);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.logo i {
    color: var(--gold-accent);
    font-size: 2rem;
}

.logo-icon {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

.logo a:hover .logo-icon {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 1));
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold-accent);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold-accent);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-link-secondary {
    color: var(--text-muted) !important;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--gold-accent);
    background: transparent;
    color: var(--gold-accent);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--gold-accent);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary {
    background: var(--gold-accent);
    color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-cta {
    background: var(--gold-accent);
    color: var(--bg-dark) !important;
}

.btn-cta::after {
    display: none;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.highlight {
    color: var(--gold-accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Code Window */
.code-window {
    background: var(--bg-darker);
    border: 2px solid var(--gold-accent);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.window-header {
    background: #1a1a24;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--gold-accent);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }

.window-title {
    margin-left: auto;
    color: var(--gold-accent);
    font-size: 0.9rem;
}

.window-body {
    padding: 1.5rem;
    font-family: 'Courier Prime', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    background: #000;
    color: #00d4ff;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.prompt {
    color: var(--gold-accent);
    margin-right: 0.5rem;
}

.output {
    color: #38bdf8;
    padding-left: 1rem;
    opacity: 0.9;
    text-shadow: 0 0 3px rgba(0, 212, 255, 0.3);
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-accent);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* ===== Container ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Section Styles ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ===== Learning Pathways ===== */
.learning-pathways {
    background: var(--bg-darker);
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pathway-card {
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

.pathway-card:hover {
    border-color: var(--gold-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.pathway-card.featured {
    border-color: var(--gold-accent);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gold-accent);
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.pathway-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold-accent);
    margin-bottom: 1.5rem;
}

.pathway-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.pathway-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.pathway-features {
    margin-bottom: 2rem;
}

.pathway-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.pathway-features i {
    color: var(--gold-accent);
}

/* ===== Tools Showcase ===== */
.tools-showcase {
    background: var(--bg-dark);
}

.tools-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-preview-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 8px;
    transition: var(--transition);
}

.tool-preview-card:hover {
    border-color: var(--gold-accent);
    transform: translateY(-5px);
}

.tool-preview-card i {
    font-size: 3rem;
    color: var(--gold-accent);
    margin-bottom: 1rem;
}

.tool-preview-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tool-preview-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tools-cta {
    text-align: center;
}

/* ===== Latest Content ===== */
.latest-content {
    background: var(--bg-darker);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.content-card {
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.content-card:hover {
    border-color: var(--gold-accent);
    transform: translateY(-5px);
}

.content-thumb {
    height: 200px;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.content-thumb i {
    font-size: 4rem;
    color: var(--gold-accent);
}

.content-type {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold-accent);
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.content-body {
    padding: 2rem;
}

.content-body h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.content-body p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.content-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.content-meta i {
    color: var(--gold-accent);
    margin-right: 0.25rem;
}

.read-more {
    color: var(--gold-accent);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 1rem;
}

/* ===== Newsletter ===== */
.newsletter {
    background: var(--bg-dark);
    padding: 4rem 0;
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--gold-accent);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold-hover);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-darker);
    border-top: 2px solid var(--gold-accent);
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-col h4 {
    color: var(--gold-accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--gold-accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--gold-accent);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold-accent);
    color: var(--bg-dark);
}

.footer-email {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold-accent);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .hero-container {
        gap: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

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

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

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-darker);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .pathways-grid,
    .content-grid,
    .tools-preview,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===== COOL ANIMATIONS & EFFECTS ===== */

/* Neon Glow Keyframes */
@keyframes neonGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.5),
                    0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.8),
                    0 0 30px rgba(0, 212, 255, 0.5),
                    0 0 40px rgba(0, 212, 255, 0.3);
    }
}

/* Scan Line Animation */
@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Typing Cursor Animation */
@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* Glitch Effect */
@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Cyber Grid Background Animation */
@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Apply Animations to Elements */

/* Neon glow on hover for buttons */
.btn-primary:hover {
    animation: neonGlow 2s infinite;
}

/* Scan line effect for code window */
.code-window::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(transparent, rgba(0, 212, 255, 0.3), transparent);
    animation: scanline 4s linear infinite;
    pointer-events: none;
}

/* Cursor blink in terminal */
.cursor {
    animation: blink 1s step-end infinite;
}

/* Pulse effect for featured cards */
.pathway-card.featured {
    animation: pulse 3s ease-in-out infinite;
}

/* Cards stay visible - no duplicate animations */

/* Cyber grid background */
body::before {
    content: '';
    position: fixed;
    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: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* Ensure content is above grid */
.site-header,
.hero,
.learning-pathways,
.tools-showcase,
.latest-content,
.newsletter,
.site-footer {
    position: relative;
    z-index: 1;
}

/* Glowing border effect on hover */
.pathway-card:hover,
.tool-preview-card:hover,
.content-card:hover {
    border-color: var(--gold-hover);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4),
                0 0 30px rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

/* Logo glow effect */
.logo a:hover i {
    animation: neonGlow 1s ease-in-out;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.8));
}

/* Stats counter animation */
.stat-number {
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.stat-item:nth-child(1) .stat-number { animation-delay: 0.5s; }
.stat-item:nth-child(2) .stat-number { animation-delay: 0.7s; }
.stat-item:nth-child(3) .stat-number { animation-delay: 0.9s; }

/* Hero CTA buttons slide in */
.hero-cta .btn:nth-child(1) {
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-cta .btn:nth-child(2) {
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

/* Hover lift effect for all interactive elements */
.btn,
.pathway-card,
.tool-preview-card,
.content-card,
.social-links a {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover,
.social-links a:hover {
    transform: translateY(-2px);
}

/* Section headers fade in */
.section-header h2,
.section-header p {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.section-header h2 { animation-delay: 0.2s; }
.section-header p { animation-delay: 0.4s; }

/* Enhanced neon text glow */
.highlight {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5),
                 0 0 20px rgba(0, 212, 255, 0.3),
                 0 0 30px rgba(0, 212, 255, 0.2);
    animation: neonGlow 3s ease-in-out infinite;
}

/* Window dots pulse */
.window-header .dot {
    animation: pulse 2s ease-in-out infinite;
}

.window-header .dot.red { animation-delay: 0s; }
.window-header .dot.yellow { animation-delay: 0.3s; }
.window-header .dot.green { animation-delay: 0.6s; }

/* Smooth hover transitions for navigation */
.nav-menu a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Newsletter input focus glow */
.newsletter-form input:focus {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    border-color: var(--gold-hover);
}

/* Scroll indicator animation */
.scroll-indicator {
    animation: pulse 2s ease-in-out infinite;
}

.scroll-indicator i {
    animation: fadeInUp 1s ease-in-out infinite;
}

/* Add shimmer effect to featured badge */
.featured-badge {
    position: relative;
    overflow: hidden;
}

.featured-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ===== PROFESSIONAL ENHANCEMENTS ===== */

/* Card depth and shadows */
.pathway-card,
.tool-preview-card,
.content-card,
.tool-card,
.mission-card,
.leader-card,
.contact-info,
.contact-form-container {
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Enhanced button depth */
.btn-primary {
    box-shadow:
        0 0 20px rgba(0, 212, 255, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
    box-shadow:
        0 0 30px rgba(0, 212, 255, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Header depth */
.site-header {
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    background: rgba(3, 7, 18, 0.95);
}

/* Code window enhanced */
.code-window {
    box-shadow:
        0 20px 60px rgba(0, 212, 255, 0.2),
        0 0 100px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(0, 212, 255, 0.2);
}

/* Subtle scan lines on sections */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 212, 255, 0.02) 2px,
        rgba(0, 212, 255, 0.02) 4px
    );
    pointer-events: none;
    opacity: 0.5;
}

/* Floating particles effect */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.6;
    }
}

/* Add tech corner accents to cards */
.pathway-card::before,
.leader-card::before,
.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--gold-accent);
    border-right: 2px solid var(--gold-accent);
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.pathway-card:hover::before,
.leader-card:hover::before,
.tool-card:hover::before {
    opacity: 1;
}

/* Professional gradient text for headings */
.hero-title {
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section titles with accent */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), transparent);
    box-shadow: 0 0 10px var(--gold-accent);
}

/* Premium card hover effect */
.pathway-card:hover,
.tool-preview-card:hover,
.content-card:hover,
.leader-card:hover {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 212, 255, 0.05) 100%);
}

/* Smooth page transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 0.5s ease-in;
}

/* Terminal phosphor glow effect */
.window-body p {
    text-shadow:
        0 0 5px currentColor,
        0 0 10px currentColor;
}

/* Stats numbers glow */
.stat-number {
    color: var(--gold-accent);
    text-shadow:
        0 0 10px rgba(0, 212, 255, 0.5),
        0 0 20px rgba(0, 212, 255, 0.3);
}

/* Navigation link pulse on hover */
.nav-menu a:hover {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* ===== DIAGONAL MOVEMENT & ENCRYPTION EFFECTS ===== */

/* 3D Perspective for cards */
.pathway-card,
.tool-preview-card,
.content-card,
.leader-card,
.mission-card {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Diagonal tilt on hover */
.pathway-card:hover,
.tool-preview-card:hover,
.content-card:hover,
.leader-card:hover,
.mission-card:hover {
    transform: rotateX(5deg) rotateY(-5deg) translateY(-10px) !important;
}

/* Different diagonal angles for variety */
.pathway-card:nth-child(odd):hover {
    transform: rotateX(-5deg) rotateY(5deg) translateY(-10px) !important;
}

.tool-preview-card:nth-child(2):hover,
.tool-preview-card:nth-child(4):hover {
    transform: rotateX(3deg) rotateY(7deg) translateY(-10px) !important;
}

/* Click/Active state - stronger diagonal */
.pathway-card:active,
.tool-preview-card:active,
.content-card:active {
    transform: rotateX(8deg) rotateY(-8deg) translateY(-5px) scale(0.98) !important;
    transition: all 0.1s ease;
}

/* Glitch effect keyframes */
@keyframes glitchText {
    0% {
        transform: translate(0);
        text-shadow:
            2px 2px 0 rgba(0, 212, 255, 0.7),
            -2px -2px 0 rgba(139, 92, 246, 0.7);
    }
    25% {
        transform: translate(-2px, 2px);
        text-shadow:
            -2px -2px 0 rgba(0, 212, 255, 0.7),
            2px 2px 0 rgba(139, 92, 246, 0.7);
    }
    50% {
        transform: translate(2px, -2px);
        text-shadow:
            2px -2px 0 rgba(0, 212, 255, 0.7),
            -2px 2px 0 rgba(139, 92, 246, 0.7);
    }
    75% {
        transform: translate(-2px, -2px);
        text-shadow:
            -2px 2px 0 rgba(0, 212, 255, 0.7),
            2px -2px 0 rgba(139, 92, 246, 0.7);
    }
    100% {
        transform: translate(0);
        text-shadow:
            2px 2px 0 rgba(0, 212, 255, 0.7),
            -2px -2px 0 rgba(139, 92, 246, 0.7);
    }
}

/* Data stream effect */
@keyframes dataStream {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Encryption lines effect */
@keyframes encryptionLines {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Add encryption overlay on card hover */
.pathway-card::after,
.tool-preview-card::after,
.content-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 212, 255, 0.1) 10px,
        rgba(0, 212, 255, 0.1) 20px
    );
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.pathway-card:hover::after,
.tool-preview-card:hover::after,
.content-card:hover::after {
    left: 0;
    opacity: 1;
    animation: encryptionLines 2s ease-in-out infinite;
}

/* Service cards encryption effect on hover */
.pathway-card h3,
.tool-preview-card h4,
.content-card h3 {
    position: relative;
    transition: all 0.3s ease;
}

.pathway-card:hover h3,
.tool-preview-card:hover h4,
.content-card:hover h3 {
    animation: glitchText 0.3s ease-in-out;
}

/* Matrix-style data cascade on buttons */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 212, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Scramble text effect - applied via JS */
.encrypt-text {
    display: inline-block;
    animation: glitchText 0.5s ease;
}

/* Digital particles on hover */
@keyframes digitalParticles {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Code rain effect for hero */
.hero::before {
    animation: dataStream 20s linear infinite;
}

/* Holographic effect on icons */
.pathway-icon,
.tool-preview-card i,
.content-thumb i {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.pathway-card:hover .pathway-icon,
.tool-preview-card:hover i,
.content-card:hover .content-thumb i {
    transform: rotateY(360deg) scale(1.1);
    filter: drop-shadow(0 0 20px var(--gold-accent));
}

/* Cyberpunk scan effect - subtle pulse */
@keyframes cyberscan {
    0%, 100% {
        box-shadow:
            15px 15px 30px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(0, 212, 255, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow:
            15px 15px 30px rgba(0, 0, 0, 0.5),
            0 0 50px rgba(0, 212, 255, 0.6),
            inset 0 40px 40px -20px rgba(0, 212, 255, 0.2),
            inset 0 -40px 40px -20px rgba(0, 212, 255, 0.2);
    }
}

.pathway-card:hover,
.tool-preview-card:hover,
.content-card:hover {
    animation: cyberscan 2s ease-in-out infinite;
}

/* Diagonal slide entrance for cards - runs once on load */
@keyframes diagonalSlide {
    from {
        opacity: 0;
        transform: translate(-30px, 30px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* Apply entrance animation once */
.pathway-card,
.tool-preview-card,
.content-card {
    animation: diagonalSlide 0.6s ease-out forwards;
    opacity: 1; /* Stay visible after animation */
}

/* Stagger the entrance animations */
.pathway-card:nth-child(1) { animation-delay: 0.1s; }
.pathway-card:nth-child(2) { animation-delay: 0.2s; }
.pathway-card:nth-child(3) { animation-delay: 0.3s; }

.tool-preview-card:nth-child(1) { animation-delay: 0.1s; }
.tool-preview-card:nth-child(2) { animation-delay: 0.2s; }
.tool-preview-card:nth-child(3) { animation-delay: 0.3s; }
.tool-preview-card:nth-child(4) { animation-delay: 0.4s; }

.content-card:nth-child(1) { animation-delay: 0.1s; }
.content-card:nth-child(2) { animation-delay: 0.2s; }
.content-card:nth-child(3) { animation-delay: 0.3s; }

/* ===== NEW AWESOME SECTIONS ===== */

/* Trust Signals Section */
.trust-signals {
    padding: 3rem 0;
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.trust-header p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    opacity: 0.6;
}

.logo-item i {
    font-size: 1.5rem;
    color: var(--gold-accent);
}

.logo-item:hover {
    color: var(--gold-accent);
    opacity: 1;
    transform: translateY(-3px);
}

.certifications-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--gold-accent);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.badge-item i {
    font-size: 1.5rem;
    color: var(--gold-accent);
}

.badge-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.badge-item:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Live Threat Intelligence Section */
.threat-intel {
    padding: 4rem 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.threat-intel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.threat-map-container {
    position: relative;
    z-index: 1;
}

.threat-level-indicator {
    text-align: center;
    margin-bottom: 3rem;
}

.threat-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 3rem;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--gold-accent);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.threat-status {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.threat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-accent);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.threat-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.threat-stat {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.threat-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: scanRight 3s linear infinite;
}

@keyframes scanRight {
    0% { left: -100%; }
    100% { left: 100%; }
}

.threat-stat:hover {
    border-color: var(--gold-accent);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    color: var(--gold-accent);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-count {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-accent);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.live-feed {
    background: var(--bg-card);
    border: 2px solid var(--gold-accent);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    margin-bottom: 1rem;
    color: var(--gold-accent);
    font-weight: 700;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    animation: pulseGreen 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px #00ff00;
}

@keyframes pulseGreen {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.feed-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 200px;
    overflow-y: auto;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--gold-accent);
    font-family: 'Courier Prime', monospace;
    font-size: 0.85rem;
    animation: slideInLeft 0.5s ease-out;
}

.feed-time {
    color: var(--text-muted);
    min-width: 70px;
}

.feed-type {
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.feed-type.blocked {
    background: rgba(255, 51, 102, 0.2);
    color: #ff3366;
    border: 1px solid #ff3366;
}

.feed-type.detected {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.feed-type.secured {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid #00ff88;
}

.feed-text {
    color: var(--text-secondary);
    flex: 1;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background: var(--bg-darker);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card.featured {
    border-color: var(--gold-accent);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.testimonial-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: var(--gold-accent);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--gold-accent);
    opacity: 0.3;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-accent);
}

.author-info h4 {
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.author-company {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--gold-accent);
    border-radius: 3px;
    font-size: 0.75rem;
    color: var(--gold-accent);
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: #ffc107;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .client-logos,
    .certifications-badges,
    .threat-stats-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .threat-badge {
        padding: 1.5rem 2rem;
    }

    .stat-count {
        font-size: 2rem;
    }
}

/* ===== NEW COOL DYNAMIC EFFECTS ===== */

/* Scroll Indicator - Make it clickable */
.scroll-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
    color: var(--gold-hover);
}

/* Glitch Effect for buttons */
.glitch-active {
    animation: glitch 0.3s ease-in-out;
}

@keyframes glitch {
    0% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(90deg);
    }
    40% {
        transform: translate(2px, -2px);
        filter: hue-rotate(180deg);
    }
    60% {
        transform: translate(-2px, -2px);
        filter: hue-rotate(270deg);
    }
    80% {
        transform: translate(2px, 2px);
        filter: hue-rotate(360deg);
    }
    100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
}

/* Float Animation for floating elements */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.05;
    }
    25% {
        transform: translate(10px, -20px) scale(1.1);
        opacity: 0.1;
    }
    50% {
        transform: translate(-5px, -40px) scale(1.05);
        opacity: 0.15;
    }
    75% {
        transform: translate(-15px, -20px) scale(0.95);
        opacity: 0.1;
    }
}

/* Hero section positioning */
.hero {
    position: relative;
    overflow: hidden;
}

/* Revealed animation for scroll */
.pathway-card,
.tool-preview-card,
.content-card,
.leader-card,
.mission-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.pathway-card.revealed,
.tool-preview-card.revealed,
.content-card.revealed,
.leader-card.revealed,
.mission-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 3D Perspective for cards */
.pathway-card,
.tool-preview-card,
.content-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

/* Smooth card hover transitions */
.pathway-card:hover,
.tool-preview-card:hover,
.content-card:hover {
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2), 0 0 30px rgba(0, 212, 255, 0.1);
}

/* Particle canvas z-index fix */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Enhanced button effects */
.btn-primary,
.btn-cta {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before,
.btn-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-cta:hover::before {
    width: 300px;
    height: 300px;
}

/* Cyber grid background overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Enhance code window */
.code-window {
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Typing cursor blink */
.cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Smooth scroll reveal stagger */
.pathway-card:nth-child(1) { transition-delay: 0.1s; }
.pathway-card:nth-child(2) { transition-delay: 0.2s; }
.pathway-card:nth-child(3) { transition-delay: 0.3s; }
.pathway-card:nth-child(4) { transition-delay: 0.4s; }

.tool-preview-card:nth-child(1) { transition-delay: 0.1s; }
.tool-preview-card:nth-child(2) { transition-delay: 0.2s; }
.tool-preview-card:nth-child(3) { transition-delay: 0.3s; }

/* Enhanced glow on interactive elements */
.pathway-card:hover::after,
.tool-preview-card:hover::after,
.content-card:hover::after {
    opacity: 0.2;
}

/* Smooth transitions for all links */
a {
    position: relative;
    transition: all 0.3s ease;
}

/* Back to top button pulse */
.back-to-top {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 212, 255, 0.5);
    }
}

/* Hero stats counter animation */
.hero-stats {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

/* Enhanced stat items */
.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Text encryption effect style */
.encrypt-text {
    color: var(--gold-accent);
    text-shadow: 0 0 5px var(--gold-accent);
}

/* Smooth page load */
body.loaded {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Enhanced navigation active state */
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-accent);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Parallax smooth movement */
.code-window {
    will-change: transform;
}

/* Disable parallax on mobile for performance */
@media (max-width: 768px) {
    .pathway-card,
    .tool-preview-card,
    .content-card,
    .code-window {
        transform: translate(0, 0) !important;
    }

    #particle-canvas {
        display: none;
    }

    .floating-element {
        display: none;
    }
}
