:root {
    --bg-dark: #020617;
    --card-bg: rgba(30, 41, 59, 0.5);
    --primary: #38bdf8;
    --secondary: #818cf8;
    --accent-pink: #f472b6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --container-max: 1200px;
    --nav-height: 80px;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Effects */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-pink {
    color: var(--accent-pink);
}

/* Header & Nav */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

#main-header.scrolled {
    height: 65px;
    background: rgba(2, 6, 23, 0.95);
}

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

.logo {
    display: flex;
    flex-direction: column;
    z-index: 1001;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    font-family: 'Outfit', sans-serif;
}

.logo-subtext {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: var(--transition);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('assets/hero_bg.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 90%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

/* Services */
.services {
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(30, 41, 59, 0.8);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Usagi Spotlight */
.usagi-spotlight {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #1e1b4b 100%);
}

.spotlight-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    background: rgba(244, 114, 182, 0.1);
    color: var(--accent-pink);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.visual-placeholder {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.1), transparent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 auto;
}

.circle-glow {
    position: absolute;
    width: 110%;
    height: 110%;
    border: 2px dashed rgba(244, 114, 182, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

/* Contact */
.contact-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

input, textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease-out;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Helper Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-left { text-align: left; }
.center-text { text-align: center; max-width: 700px; margin: 0 auto 3rem; color: var(--text-muted); font-size: 1.1rem; }

/* Identity & Mission */
.identity { background: linear-gradient(180deg, var(--bg-dark), #0f172a); }
.identity p { margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--text-muted); }
.mission-box {
    background: rgba(56, 189, 248, 0.05);
    border-left: 4px solid var(--primary);
    padding: 2rem;
    border-radius: 0 20px 20px 0;
    margin-top: 2rem;
}
.mission-box h3 { margin-bottom: 0.5rem; color: var(--text-main); }

.glow-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    box-shadow: 0 0 50px rgba(56, 189, 248, 0.1);
}
.location-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }

/* Spotlight Improvements */
.subtitle { font-weight: 700; font-size: 1.3rem; color: var(--text-main); margin-bottom: 1rem; letter-spacing: 0.1em; }
.feature-list { list-style: none; margin: 2rem 0; }
.feature-list li { margin-bottom: 1rem; padding-left: 1.5rem; position: relative; color: var(--text-muted); }
.feature-list li::before { content: '→'; position: absolute; left: 0; color: var(--primary); }

/* Talent Section */
.talent { padding: 8rem 0; }
.talent-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.talent-card {
    background: var(--card-bg);
    padding: 3.5rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.talent-card.featured { border-color: rgba(56, 189, 248, 0.2); }
.talent-img-placeholder { font-size: 4rem; margin-bottom: 1.5rem; }
.talent-card h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.role { color: var(--primary); font-weight: 700; margin-bottom: 1.5rem; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.1em; }

.staff-list { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0; }
.staff-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-main);
}
.small { font-size: 0.85rem; color: var(--text-muted); }

/* Contact Specifics */
.contact-links { margin-bottom: 2.5rem; }
.link-item { color: var(--primary); text-decoration: none; font-weight: 800; font-size: 1.2rem; display: block; margin-bottom: 0.5rem; }

@media (max-width: 768px) {
    .grid-2, .talent-grid { grid-template-columns: 1fr; }
    .identity-visual { display: none; }
    .talent-card { padding: 2rem; }

    .mobile-toggle {
        display: block;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        z-index: 1000;
    }

    .nav-wrapper.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 3rem;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .mobile-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-toggle.open .bar:nth-child(2) { opacity: 0; }
    .mobile-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero {
        text-align: center;
        justify-content: center;
    }

    .hero h1 { font-size: 2.8rem; }
    .hero-btns { justify-content: center; flex-direction: column; }

    .spotlight-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-card { padding: 2rem; }
}
