:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-dim: #a1a1aa;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-en: 'Outfit', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-jp);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6, .outfit {
    font-family: var(--font-en);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 120px 0;
}

.text-sm { font-size: 0.875rem; }
.text-dim { color: var(--text-dim); }

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Background Effects */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.02;
    pointer-events: none;
    z-index: 999;
}

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

.blur-effect {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.logo {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Mobile Menu Button - simple setup for later if needed */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.8rem;
    font-family: var(--font-en);
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

.btn-secondary.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-secondary.glass:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Orbs Background */
.hero-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: -10%; right: -10%;
}

.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -20%; left: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #10b981 0%, transparent 70%);
    top: 40%; right: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Sections */
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title.text-left {
    text-align: left;
}

/* Cards Grid (Business) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 40px rgba(59, 130, 246, 0.1);
    border-color: rgba(255,255,255,0.2);
}

.glass-card:hover::before {
    left: 200%;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-family: var(--font-jp);
}

.card-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
}

.card-link:hover {
    text-decoration: underline;
}

/* About Layout */
.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.detail-row {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.detail-row dt {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 5px;
    font-family: var(--font-en);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-row dd {
    font-size: 1.1rem;
    font-weight: 500;
}

.abstract-shape {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    transform: rotate(-5deg);
    position: relative;
    backdrop-filter: blur(10px);
}

.abstract-shape::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #3b82f6, transparent, #8b5cf6);
    border-radius: 32px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(20px);
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
    background: rgba(0,0,0,0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-contact h4 {
    margin-bottom: 20px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: all 0.3s;
}

.contact-email:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Entrance Animations */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

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

.js-scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav { display: none; }
    
    .layout-split {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}
