@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700;900&display=swap');

:root {
    --primary-bg: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #888888;
    --accent: #ff9d00;
    --accent-dark: #e68a00;
    --accent-gradient: linear-gradient(135deg, #ff9d00 0%, #ffc400 100%);
    --nav-height: 90px;
    --container-width: 1400px;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Base Styles */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

header {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease;
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
    text-decoration: none;
    color: var(--text-main);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    animation: fadeIn 1s ease forwards;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(48px, 10vw, 100px);
    line-height: 0.9;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 span {
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: var(--nav-links-bg, #000);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Sections */
section {
    padding: 140px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 60px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 20px auto 0;
}

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

.card {
    padding: 50px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
}

.card:hover::before {
    height: 100%;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-item {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-item:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    margin-bottom: 30px;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid #eee;
    text-align: center;
}

/* Legal Content Pages */
.legal-content {
    max-width: 900px;
    margin: 140px auto;
    padding: 0 20px;
}

.legal-content h1 {
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.legal-content h2 {
    font-size: 20px;
    margin: 40px 0 20px;
    text-transform: uppercase;
    color: var(--accent);
}

.legal-content p, .legal-content li {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 30px;
}

.back-home {
    display: inline-block;
    margin-bottom: 30px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    transition: color 0.3s ease;
}

.back-home:hover {
    color: var(--accent);
}

/* Updated Footer Styles */
.footer-bottom {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    transition: color 0.3s ease;
}

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



@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 50px;
    }
}
