:root {
    /* Color Palette */
    --primary: #6C63FF;
    --primary-dark: #5A52D9;
    --secondary: #00D4FF;
    --accent: #FF5678;
    --background-dark: #0F1218;
    --background-card: #1A1F2B;
    --background-light: #242C3D;
    --text-primary: #FFFFFF;
    --text-secondary: #B3B9C5;
    --text-tertiary: #8A8D98;
    --border-color: #2A3040;
    --success: #00C896;
    --warning: #FFB800;
    --danger: #FF4757;
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--primary));
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.25rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(15, 18, 24, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    letter-spacing: 1px;
}

.logo-highlight {
    color: var(--primary);
}

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

.nav-links a {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

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

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

.nav-links .cta-button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.2);
}

.nav-links .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
    color: white;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('../images/cyber-bg.jpg') no-repeat center center;
    background-size: cover;
    margin-top: 0;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 18, 24, 0.95), rgba(15, 18, 24, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-button, .secondary-button {
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-button {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.2);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
    color: white;
}

.secondary-button {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.secondary-button:hover {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
}

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

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

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* Dashboard Section */
.dashboard-section {
    background-color: var(--background-dark);
    position: relative;
}

.dashboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/grid-pattern.svg') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.dashboard-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dashboard-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.dashboard-wrapper iframe {
    width: 100%;
    height: 100%;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--background-card);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(108, 99, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Top Threats Section */
.top-threats-section {
    background-color: var(--background-light);
}

.threats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.threats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.threat-item {
    background-color: var(--background-card);
    border-radius: 8px;
    padding: 1.25rem;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.threat-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.threat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.threat-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.threat-severity {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
}

.severity-high {
    background-color: rgba(255, 71, 87, 0.2);
    color: var(--danger);
}

.severity-medium {
    background-color: rgba(255, 184, 0, 0.2);
    color: var(--warning);
}

.severity-low {
    background-color: rgba(0, 200, 150, 0.2);
    color: var(--success);
}

.threat-details {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.threat-map {
    background-color: var(--background-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container {
    width: 100%;
    height: 400px;
}

/* Commentary Section */
.commentary-section {
    background-color: var(--background-dark);
}

.commentary-card {
    background-color: var(--background-card);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.commentary-header {
    margin-bottom: 1.5rem;
}

.analyst-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.analyst-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.analyst-details h3 {
    margin-bottom: 0.25rem;
}

.analyst-details p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin: 0;
}

.commentary-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    filter: blur(150px);
    opacity: 0.15;
    pointer-events: none;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-content h2 {
    margin-bottom: 1.5rem;
}

.contact-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefits-list i {
    color: var(--success);
}

.contact-form-container {
    background-color: var(--background-card);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    background-color: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.submit-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

/* Footer */
footer {
    background-color: var(--background-dark);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.footer-links-column h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

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

.footer-links-column ul {
    list-style: none;
}

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

.footer-links-column ul li a {
    color: var(--text-tertiary);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links-column ul li a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.social-links li a i {
    width: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .threats-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .nav-links {
        display: none; /* Initially hidden on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-dark);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.nav-active {
        display: flex; /* Show when active */
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 80px;
    }
    
    .dashboard-wrapper {
        height: 400px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 4rem 0;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
        justify-content: center;
    }
    
    .dashboard-wrapper {
        height: 300px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
