/* ===============================================
   SPATCH - Cinematic / Film-Style Design
   3-Layer Parallax with Depth of Field
   =============================================== */

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

:root {
    /* Cinematic Color Palette */
    --deep-black: #0a0a0a;
    --charcoal: #1a1a1a;
    --warm-gray: #2a2a2a;
    --gold: #d4af37;
    --bronze: #cd7f32;
    --silver: #c0c0c0;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --light-text: rgba(255, 255, 255, 0.95);
    --muted-text: rgba(255, 255, 255, 0.7);
    --accent-gold: #ffd700;
    
    /* Typography */
    --font-title: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-japanese: 'Noto Sans JP', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--light-text);
    background: var(--deep-black);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ===============================================
   Cinematic Parallax Container - 3 Layers
   =============================================== */
.cinematic-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Background Layer (Distant - Slowest) */
.layer-background {
    background: linear-gradient(180deg, 
        #0a0a0a 0%,
        #1a1a1a 50%,
        #2a2a2a 100%);
    filter: blur(10px);
    transform: scale(1.1);
}

/* Midground Layer (Medium Speed) */
.layer-midground {
    background: radial-gradient(ellipse at 50% 50%, 
        rgba(212, 175, 55, 0.1) 0%,
        transparent 70%);
    filter: blur(5px);
    opacity: 0.6;
}

/* Foreground Layer (Closest - Fastest) */
.layer-foreground {
    background: radial-gradient(ellipse at 20% 80%, 
        rgba(205, 127, 50, 0.15) 0%,
        transparent 50%),
                radial-gradient(ellipse at 80% 20%, 
        rgba(192, 192, 192, 0.1) 0%,
        transparent 50%);
    filter: blur(2px);
    opacity: 0.4;
}

/* ===============================================
   Atmospheric Effects
   =============================================== */
.atmosphere {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.fog-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.02) 50%,
        transparent 100%);
    animation: fog-drift 20s ease-in-out infinite;
}

.fog-near {
    animation-duration: 15s;
}

.fog-far {
    animation-duration: 25s;
    opacity: 0.5;
}

@keyframes fog-drift {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(30px) translateY(-20px);
    }
}

.light-rays {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        rgba(255, 255, 255, 0.01) 200px,
        transparent 400px
    );
    opacity: 0.3;
    animation: light-sweep 30s linear infinite;
}

@keyframes light-sweep {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(400px);
    }
}

/* Film Grain Overlay */
.film-grain {
    position: fixed;
    inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.03;
    pointer-events: none;
    z-index: 9998;
    animation: grain-flicker 0.2s infinite;
}

@keyframes grain-flicker {
    0%, 100% { opacity: 0.03; }
    50% { opacity: 0.05; }
}

/* Vignette Effect */
.vignette {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, 
        transparent 20%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
    z-index: 9999;
}

/* ===============================================
   Navigation
   =============================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    background: rgba(10, 10, 10, 0);
    backdrop-filter: blur(0px);
    z-index: 10000;
    transition: all 0.5s ease;
}

.main-nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    padding: 15px 0;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-logo img {
    height: 45px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.nav-logo .logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-logo .logo-img:hover {
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
    transform: scale(1.05);
}

.nav-tagline {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 50px;
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

/* ===============================================
   Scene Sections
   =============================================== */
.scene {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 60px;
}

.scene-content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Scene Numbers */
.scene-number {
    font-family: var(--font-title);
    font-size: 14px;
    letter-spacing: 5px;
    color: var(--gold);
    display: inline-block;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Scene Titles */
.scene-title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title-accent {
    font-size: 0.4em;
    font-weight: 400;
    color: var(--muted-text);
    letter-spacing: 6px;
    text-transform: uppercase;
}

.scene-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.9;
    color: var(--muted-text);
    max-width: 650px;
    font-weight: 300;
}

.scene-intro {
    font-size: 1.2rem;
    color: var(--muted-text);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    line-height: 1.9;
    font-weight: 300;
}

/* Scene Details */
.scene-details {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.detail-item i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.detail-item span {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted-text);
}

/* Cinematic Reveal Animation */
.cinematic-reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ===============================================
   Scene 1: Opening
   =============================================== */
.scene-opening {
    height: 100vh;
    background: radial-gradient(ellipse at center, 
        rgba(26, 26, 26, 0.5) 0%,
        transparent 70%);
}

.opening-title {
    text-align: center;
}

.main-title {
    font-family: var(--font-title);
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 900;
    letter-spacing: 25px;
    color: var(--white);
    margin-bottom: 30px;
    text-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    animation: title-entrance 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hero Logo Image */
.hero-logo-img {
    max-width: 500px;
    width: 80%;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.9));
    animation: logo-entrance 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes logo-entrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes title-entrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
        letter-spacing: 50px;
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        letter-spacing: 25px;
    }
}

.title-tagline {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    letter-spacing: 8px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 300;
    animation: tagline-fade 2s ease 0.5s both;
}

@keyframes tagline-fade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--muted-text);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(15px);
    }
}

/* ===============================================
   Scene 2: SPARK
   =============================================== */
.scene-spark {
    background: radial-gradient(ellipse at 30% 50%, 
        rgba(255, 215, 0, 0.08) 0%,
        transparent 70%);
}

.spark-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

/* Lightning Canvas */
.lightning-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 600px;
    cursor: crosshair;
    overflow: visible;
}

/* 稲妻エフェクト */
.lightning-canvas::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(255, 215, 0, 0.8) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 60%, rgba(255, 215, 0, 0.6) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 1) 0%, transparent 30%);
    filter: blur(15px);
    animation: lightning-flash 4s ease-in-out infinite;
    opacity: 0;
    pointer-events: none;
}

@keyframes lightning-flash {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    10%, 12% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
    14% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    16%, 18% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
    20% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

.energy-core {
    width: 300px;
    height: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center,
        rgba(255, 215, 0, 0.6) 0%,
        rgba(255, 215, 0, 0.3) 30%,
        transparent 70%);
    border-radius: 50%;
    animation: core-pulse 3s ease-in-out infinite;
    filter: blur(30px);
}

@keyframes core-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

.spark-particles {
    position: absolute;
    inset: 0;
}

/* ===============================================
   Scene 3: HATCH
   =============================================== */
.scene-hatch {
    background: radial-gradient(ellipse at 70% 50%, 
        rgba(205, 127, 50, 0.08) 0%,
        transparent 70%);
    overflow: visible;
}

.hatch-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center;
    overflow: visible;
}

/* Egg Scene */
.egg-scene {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 800px;
    margin: 0 auto;
    overflow: visible;
}

/* 画面揺れアニメーション */
@keyframes scene-shake {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-10px, -5px); }
    20% { transform: translate(10px, 5px); }
    30% { transform: translate(-8px, 3px); }
    40% { transform: translate(8px, -3px); }
    50% { transform: translate(-6px, -2px); }
    60% { transform: translate(6px, 2px); }
    70% { transform: translate(-4px, 1px); }
    80% { transform: translate(4px, -1px); }
    90% { transform: translate(-2px, 0); }
}

.egg-shell {
    width: 350px;
    height: 450px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
    animation: egg-shake 5s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

@keyframes egg-shake {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translate(-50%, -50%) rotate(-1.5deg);
    }
    20%, 40%, 60%, 80% {
        transform: translate(-50%, -50%) rotate(1.5deg);
    }
}

/* 激しい揺れ（ホバー時） */
@keyframes egg-shake-intense {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(-50%, -50%) rotate(-5deg) scale(1.02);
    }
    50% {
        transform: translate(-50%, -50%) rotate(5deg) scale(1.05);
    }
    75% {
        transform: translate(-50%, -50%) rotate(-5deg) scale(1.02);
    }
}

/* 割れるアニメーション */
@keyframes egg-crack {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2) rotate(10deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8) rotate(-10deg);
        opacity: 0;
    }
}

/* 爆発的な割れるアニメーション */
@keyframes egg-crack-explosive {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
        filter: blur(0px) brightness(1);
    }
    10% {
        transform: translate(-50%, -50%) scale(1.05) rotate(-5deg);
        opacity: 1;
        filter: blur(0px) brightness(1.5);
    }
    20% {
        transform: translate(-50%, -50%) scale(1.15) rotate(5deg);
        opacity: 0.9;
        filter: blur(2px) brightness(2);
    }
    40% {
        transform: translate(-50%, -50%) scale(1.3) rotate(-10deg);
        opacity: 0.7;
        filter: blur(5px) brightness(2.5);
    }
    60% {
        transform: translate(-50%, -50%) scale(1.5) rotate(15deg);
        opacity: 0.4;
        filter: blur(10px) brightness(3);
    }
    80% {
        transform: translate(-50%, -50%) scale(0.5) rotate(-20deg);
        opacity: 0.1;
        filter: blur(15px) brightness(2);
    }
    100% {
        transform: translate(-50%, -50%) scale(0) rotate(30deg);
        opacity: 0;
        filter: blur(20px) brightness(1);
    }
}

.crack {
    position: absolute;
    background: linear-gradient(90deg,
        transparent,
        rgba(212, 175, 55, 0.8),
        transparent);
    opacity: 0;
    animation: crack-appear 7s ease-in-out infinite;
}

.crack-1 {
    width: 2px;
    height: 180px;
    top: 15%;
    left: 42%;
    transform: rotate(20deg);
    animation-delay: 1s;
}

.crack-2 {
    width: 2px;
    height: 150px;
    top: 32%;
    left: 58%;
    transform: rotate(-25deg);
    animation-delay: 2.5s;
}

.crack-3 {
    width: 2px;
    height: 120px;
    top: 52%;
    left: 48%;
    transform: rotate(15deg);
    animation-delay: 4s;
}

@keyframes crack-appear {
    0%, 15% { opacity: 0; width: 2px; }
    20%, 70% { opacity: 1; width: 3px; }
    75%, 100% { opacity: 0; width: 2px; }
}

.egg-light {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        rgba(255, 215, 0, 0.4) 0%,
        transparent 60%);
    border-radius: inherit;
    animation: light-pulse 2.5s ease-in-out infinite;
}

@keyframes light-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.hatch-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
        rgba(205, 127, 50, 0.4) 0%,
        transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: glow-expand 3.5s ease-in-out infinite;
}

@keyframes glow-expand {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.4;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0.8;
    }
}

/* ===============================================
   Scene 4: Services
   =============================================== */
.scene-services {
    padding: 180px 60px;
}

.services-header {
    text-align: center;
    margin-bottom: 100px;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 10px;
    padding: 60px 45px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.card-number {
    position: absolute;
    top: 30px;
    right: 40px;
    font-family: var(--font-title);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.08);
}

.card-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 35px;
    opacity: 0.9;
}

.service-card h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.service-card p {
    color: var(--muted-text);
    line-height: 1.9;
    margin-bottom: 35px;
    font-weight: 300;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-list li {
    font-size: 15px;
    color: var(--light-text);
    padding-left: 25px;
    position: relative;
    font-weight: 300;
}

.service-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.card-blur {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%,
        rgba(212, 175, 55, 0.15) 0%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.featured-label {
    position: absolute;
    top: 25px;
    right: -35px;
    background: linear-gradient(135deg, var(--gold), var(--bronze));
    color: var(--deep-black);
    padding: 8px 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    transform: rotate(45deg);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* ===============================================
   Scene 5: Philosophy
   =============================================== */
.scene-philosophy {
    padding: 180px 60px;
}

.philosophy-content {
    text-align: center;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-top: 80px;
}

.philosophy-item {
    text-align: center;
    padding: 50px 40px;
}

.philosophy-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gold);
    transition: all 0.5s ease;
}

.philosophy-item:hover .philosophy-icon {
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    transform: scale(1.1);
}

.philosophy-item h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.philosophy-item p {
    color: var(--muted-text);
    line-height: 1.9;
    font-weight: 300;
}

/* ===============================================
   Scene 6: Contact
   =============================================== */
.scene-contact {
    padding: 180px 60px;
}

.contact-text {
    text-align: center;
    margin-bottom: 80px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 40px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 20px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--white);
    font-size: 16px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--gold);
}

.form-group label {
    position: absolute;
    top: 20px;
    left: 0;
    color: var(--muted-text);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 1px;
}

.submit-btn {
    width: 100%;
    padding: 22px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    z-index: -1;
}

.submit-btn:hover {
    color: var(--deep-black);
}

.submit-btn:hover::before {
    transform: translateX(0);
}

/* ===============================================
   Footer
   =============================================== */
.footer {
    background: rgba(10, 10, 10, 0.98);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 80px 60px 40px;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
    height: 55px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.footer-tagline {
    font-family: var(--font-title);
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--gold);
}

.footer-links h4 {
    font-family: var(--font-title);
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--muted-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 40px;
    text-align: center;
    color: var(--muted-text);
    font-size: 13px;
    font-weight: 300;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 55px;
    height: 55px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
    z-index: 9997;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--deep-black);
    transform: translateY(-10px);
}

/* ===============================================
   Responsive
   =============================================== */
@media (max-width: 1200px) {
    .spark-layout,
    .hatch-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .lightning-canvas {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .egg-scene {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 30px;
    }
    
    .nav-logo .logo-img {
        height: 32px;
    }
    
    .hero-logo-img {
        max-width: 350px;
        width: 90%;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        max-width: 350px;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 50px 40px;
        gap: 30px;
        transition: right 0.5s ease;
        border-left: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .scene {
        padding: 100px 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .scene-details {
        flex-direction: column;
        gap: 30px;
    }
}

/* Mobile (480px以下) */
@media (max-width: 480px) {
    .nav-logo .logo-img {
        height: 28px;
    }
    
    .hero-logo-img {
        max-width: 280px;
        width: 95%;
    }
    
    .nav-tagline {
        font-size: 9px;
        letter-spacing: 2px;
    }
    
    .egg-scene {
        max-width: 400px;
    }
}
