/* /assets/css/style.css */

:root {
    /* Color Palette - Cyberpunk / Dark Modern */
    --bg-dark: #0a0a12;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent: #00f3ff; /* Neon Cyan */
    --accent-secondary: #7000ff; /* Deep Purple */
    --gradient: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    
    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Effects */
    --glass: blur(12px);
    --shadow-soft: 0 10px 30px -10px rgba(0,0,0,0.5);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Typography --- */
h1, h2, h3 { color: #fff; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -2px; }
h2 { font-size: 2.5rem; letter-spacing: -1px; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
.text-accent { color: var(--accent); }
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Layout --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--header-height);
    z-index: 1000;
    backdrop-filter: var(--glass);
    background: rgba(10, 10, 18, 0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; }

/* Desktop Nav */
.desktop-nav ul { display: flex; gap: 30px; list-style: none; }
.desktop-nav a { position: relative; font-weight: 500; font-size: 0.95rem; }
.desktop-nav a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px;
    background: var(--accent); transition: var(--transition);
}
.desktop-nav a:hover { color: var(--accent); }
.desktop-nav a:hover::after { width: 100%; }

/* Mobile Nav */
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.mobile-menu {
    position: fixed; top: var(--header-height); left: 0; width: 100%; height: 0;
    background: var(--bg-dark); overflow: hidden; transition: var(--transition);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mobile-menu.active { height: calc(100vh - var(--header-height)); }

/* --- 3D Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    perspective: 1000px; /* Essential for 3D */
}

/* The 3D Wrapper that moves with mouse */
.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; /* Smooth follow */
}

.hero-text {
    flex: 1;
    z-index: 2;
    transform: translateZ(50px); /* Push text forward */
}

.hero-visual {
    flex: 1;
    height: 500px;
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Abstract 3D Shapes */
.card-3d {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    position: absolute;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.card-main { width: 300px; height: 400px; transform: translateZ(20px); z-index: 2; background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(0,243,255,0.05)); }
.card-float-1 { width: 150px; height: 150px; top: 20px; right: 20px; transform: translateZ(60px) rotate(-10deg); background: var(--gradient); opacity: 0.2; border: none; }
.card-float-2 { width: 100px; height: 100px; bottom: 50px; left: -20px; transform: translateZ(80px); border-color: var(--accent); }

/* --- Utilities & Animations --- */
.btn {
    display: inline-block; padding: 12px 30px; background: var(--gradient);
    color: #fff; border-radius: 50px; font-weight: 600; border: none; cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3); transition: var(--transition);
}
.btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 0 40px rgba(0, 243, 255, 0.6); }

/* Scroll Reveal Class */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero-content-wrapper { flex-direction: column; text-align: center; justify-content: center; }
    .hero-visual { display: none; /* Simplify for mobile */ }
    h1 { font-size: 3rem; }
}