/* 
  SoundLab Asia - Design System
  Theme: Sleek Dark / Laboratory Precision
  Colors: Deep Charcoal, Metallic Silver, Burgundy
*/

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

:root {
    --bg-dark: #0B0B0B;
    --bg-card: #151515;
    --text-primary: #E0E0E0;
    --text-secondary: #A0A0A0;
    --accent-primary: #8B0000; /* Burgundy */
    --accent-secondary: #C0C0C0; /* Silver */
    --accent-glow: rgba(139, 0, 0, 0.4);
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Layout --- */

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

section {
    padding: 100px 0;
    position: relative;
}

/* --- Background Texture --- */

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://grain-y.com/images/grain.png');
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

.glow-orb {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -20vw;
    right: -10vw;
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

/* --- Navigation --- */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

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

.logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
    opacity: 0.7;
}

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

/* --- Hero --- */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
}

.tagline {
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
    animation: fadeInUp 1s ease forwards;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInUp 1s 0.2s ease forwards;
    opacity: 0;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s 0.4s ease forwards;
    opacity: 0;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s 0.6s ease forwards;
    opacity: 0;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background-color: #a00000;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--accent-secondary);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-dark);
}

/* --- Services --- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: linear-gradient(145deg, #151515 0%, #0d0d0d 100%);
    padding: 3.5rem 2rem;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    border-radius: 8px;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

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

.service-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.section-header h2 {
    font-size: 3rem;
    margin-top: 0.5rem;
}

.lab-stats {
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.lab-stats h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-secondary);
}

/* --- Footer --- */

footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-logo img {
    height: 30px;
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* --- Animations --- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile --- */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}
