/* ==========================================================================
   Cyber Security Laboratory - Ultra Modern Cyberpunk / Dark Futuristic Theme
   ========================================================================== */

:root {
    --bg-dark: #060913;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(23, 37, 68, 0.85);
    --border-color: rgba(0, 243, 255, 0.15);
    --border-glow: rgba(0, 243, 255, 0.5);
    
    --primary-cyan: #00f3ff;
    --primary-blue: #0066ff;
    --accent-purple: #9d4edd;
    --neon-green: #00ff88;
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --font-heading: 'Orbitron', 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-code: 'Fira Code', monospace;
}

/* Reset & Base Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Grid & Glow Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    pointer-events: none;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.25;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-cyan);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    bottom: -150px;
    right: -100px;
}

/* Typography & Layout Helpers */
h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.highlight {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--primary-cyan);
    filter: drop-shadow(0 0 6px var(--primary-cyan));
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-cyan);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

.btn-nav {
    border: 1px solid var(--primary-cyan);
    padding: 6px 16px;
    border-radius: 4px;
    color: var(--primary-cyan);
}

.btn-nav:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

/* Hero Section */
.hero {
    padding: 120px 24px 80px;
    text-align: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 20px;
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--primary-cyan);
    margin-bottom: 24px;
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-green);
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.glitch-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 30%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-cyan);
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.dot {
    color: var(--accent-purple);
    margin: 0 6px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 36px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-cyan);
    background: rgba(0, 243, 255, 0.05);
}

/* Stats Section */
.stats-section {
    padding: 40px 0;
    margin-bottom: 60px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
}

.unit {
    color: var(--primary-cyan);
    font-size: 1.8rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    font-family: var(--font-code);
    color: var(--primary-cyan);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.section-header h2 {
    font-size: 2.2rem;
    margin: 8px 0;
}

.section-header p {
    color: var(--text-muted);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.15);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.card-tag {
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--accent-purple);
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.card-list {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}

.card-list li {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 4px;
}

/* Timeline / News Section */
.news-section {
    padding: 90px 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-date {
    font-family: var(--font-code);
    font-size: 0.9rem;
    color: var(--primary-cyan);
    width: 100px;
    text-align: right;
    flex-shrink: 0;
    padding-top: 4px;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px 24px;
    border-radius: 8px;
    flex-grow: 1;
}

.badge-mini {
    font-family: var(--font-code);
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 8px;
}

.news-badge { background: rgba(0, 243, 255, 0.15); color: var(--primary-cyan); }
.event-badge { background: rgba(157, 78, 221, 0.2); color: var(--accent-purple); }
.press-badge { background: rgba(0, 255, 136, 0.15); color: var(--neon-green); }

.timeline-content h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: #fff;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    padding: 60px 0 100px;
}

.contact-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(23, 37, 68, 0.9));
    border: 1px solid var(--primary-cyan);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.contact-card h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.contact-card p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 28px;
}

.btn-large {
    padding: 14px 36px;
    font-size: 1rem;
}

/* Footer */
footer {
    background: #03050a;
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 6px;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }
    .timeline-item {
        flex-direction: column;
        gap: 8px;
    }
    .timeline-date {
        text-align: left;
        width: 100%;
    }
    header .header-container {
        flex-direction: column;
        gap: 12px;
    }
}
