/* Neo Creative Japan - Premium Dark Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&display=swap');

:root {
    /* Colors */
    --bg-primary: #0a0a0b;
    --bg-secondary: #121214;
    --bg-tertiary: #1c1c1f;

    --text-primary: #f2f2f2;
    --text-secondary: #a0a0a0;
    --text-accent: #00e5ff;
    /* Cyan Neon */
    --text-accent-gradient: linear-gradient(135deg, #00e5ff 0%, #2979ff 100%);

    --accent-color: #00e5ff;
    --accent-glow: rgba(0, 229, 255, 0.4);

    --border-color: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Zen Kaku Gothic New', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: var(--spacing-md);
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text-accent-gradient);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
    /* Adjust based on header height */
    width: auto;
    object-fit: contain;
}

/* Removed text span styling - formerly, now re-adding for the new text */
.logo-text {
    margin-left: 10px;
    font-size: 1.2rem;
    font-family: "briller", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    white-space: nowrap;
    /* Prevent wrapping on small screens */
}

nav ul {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    /* Ensure nav items are vertically centered */
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

nav a:hover,
nav a.active {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero_bg.png') no-repeat center center/cover;
    z-index: -2;
    z-index: -2;
    /* Use CSS variable for brightness control via JS, default to 0.5 (darker) */
    filter: brightness(var(--hero-brightness, 0.5));
    /* Smooth transition for the filter effect */
    transition: filter 0.1s linear;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 11, 0.8) 0%, rgba(10, 10, 11, 0.4) 50%, rgba(10, 10, 11, 1) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

.hero p {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 1;
    margin: 0 auto var(--spacing-md) auto;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Added for better readability against background */
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--accent-color);
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* About / Vision */
.vision {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.vision-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.vision-text p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.card-feature {
    background: var(--bg-tertiary);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-top: var(--spacing-md);
}

.vision-image {
    position: relative;
    width: 100%;
    height: 400px;
    /* Fixed height to ensure video visibility */
    display: flex;
    /* Removes bottom space */
}

.vision-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    opacity: 0.9;
}

/* Services */
.services {
    padding: var(--spacing-xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.service-card {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Ensure content is above overlay */
    z-index: 1;
}

/* Background Image Overlay */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0.8;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 0.6;
    /* Lighten overlay on hover */
}

/* Specific Backgrounds */
.service-drone {
    background: url('images/service_drone.png') no-repeat center center/cover;
}

.service-video {
    background: url('images/service_video.png') no-repeat center center/cover;
}

.service-music {
    background: url('images/service_music.png') no-repeat center center/cover;
}

.service-ai {
    background: url('images/service_ai.png') no-repeat center center/cover;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.service-card h3 {
    margin-bottom: var(--spacing-xs);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.service-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
}

.service-list li::before {
    content: '•';
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Market & Strengths (Features) */
.strengths {
    padding: var(--spacing-lg) 0;
    background: var(--bg-primary);
    /* Keep dark */
}

/* Profile / Company */
.profile {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.profile-table {
    width: 100%;
    margin-top: var(--spacing-md);
    border-collapse: collapse;
}

.profile-table th,
.profile-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.profile-table th {
    width: 30%;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Contact */
.contact {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.contact h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.contact p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* Contact Form */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.required {
    color: var(--accent-color);
    margin-left: 0.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.submit-btn {
    width: 100%;
    font-size: 1.1rem;
    border: none;
    padding: 1rem;
}

/* Footer */
footer {
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
        /* Mobile menu implementation usually goes here */
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}