/* Custom CSS for BLANK Tech Theme */

:root {
    --bg-color: #050510;
    --text-color: #f0f0f0;
    --accent-color: #00ffcc;
    --accent-glow: rgba(0, 255, 204, 0.5);
    --glass-bg: rgba(20, 20, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.accent {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.relative-z {
    position: relative;
    z-index: 10;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    font-family: var(--font-heading);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.1) inset;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-heading);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, rgba(5, 5, 16, 0.9) 0%, rgba(5, 5, 16, 0) 100%);
}

.site-header.scrolled {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    letter-spacing: 3px;
}

.fallback-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.fallback-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.fallback-menu a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#three-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 10%;
    max-width: 1200px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #ccc;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #aaa;
    max-width: 600px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.scroll-indicator span {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    animation: scrollDown 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDown {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

/* Sections Base */
section {
    padding: 100px 0;
    position: relative;
}

/* About Section */
.about-section {
    margin: 0 5%;
    padding: 80px 5%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    color: #bbb;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/* Services */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 204, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #aaa;
    font-size: 0.95rem;
}

/* Network */
.network-desc {
    max-width: 800px;
    margin-bottom: 40px;
    color: #bbb;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.network-card {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.network-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.1);
}

.network-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.network-card p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
    min-height: 45px;
}

/* News */
.news-section {
    margin: 50px 5% 100px;
    padding: 80px 5%;
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.news-meta {
    flex: 0 0 200px;
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 0.9rem;
}

.news-meta time {
    color: #888;
    font-family: var(--font-heading);
}

.news-meta .category {
    background: rgba(0, 255, 204, 0.1);
    color: var(--accent-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-title {
    margin: 0;
    font-size: 1.1rem;
    font-family: var(--font-main);
    text-transform: none;
    letter-spacing: normal;
}

.news-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.news-title a:hover {
    color: var(--accent-color);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 5% 20px;
    background: #020205;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-info p {
    color: #888;
    max-width: 300px;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #111;
    padding-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .news-meta {
        flex: auto;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .fallback-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}