/* Basic Setup */
:root {
    --bg-color: #177a8d;
    --text-color: #f8f6e8;
    --neon-blue: #fae24c;
    --neon-pink: #efa640;
    --neon-green: #f2e260;
    --glass-bg: rgba(16, 117, 123, 0.4);
    --glass-border: rgba(250, 226, 76, 0.2);
    --font-heading: 'Syne', sans-serif;
    --font-script: 'Playfair Display', serif;
    --font-body-en: 'Outfit', sans-serif;
    --font-body-jp: 'Noto Sans JP', sans-serif;
    --neon-blue: #fbe04d;
    /* More matching yellow */
    --neon-pink: #efa640;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

/* Background Effects */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 243, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.1) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 900;
    opacity: 0.2;
    mix-blend-mode: overlay;
    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");
}

/* Background Decoration (Mobile First) */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.deco-text {
    position: absolute;
    font-family: var(--font-body-en);
    font-weight: 300;
    letter-spacing: 0.2rem;
    color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}

.deco-text.top-right {
    font-size: clamp(1rem, 5vw, 2rem);
    top: 100px;
    right: 20px;
    font-weight: 800;
    font-family: var(--font-heading);
}

.deco-text.bottom-left {
    font-size: 0.6rem;
    bottom: 20px;
    left: 20px;
}

.deco-text.vertical-text {
    display: none;
}

.deco-text.scattered-text {
    top: 15%;
    left: 5%;
    font-size: clamp(2rem, 10vw, 4rem);
    opacity: 0.03;
    font-weight: 900;
    pointer-events: none;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    opacity: 0.15;
    animation: float 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--neon-blue);
    top: 10%;
    left: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--neon-pink);
    bottom: 10%;
    right: -150px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(100px, 50px) rotate(30deg);
    }
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(5, 10, 16, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    font-weight: 900;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    z-index: 1100;
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--neon-blue);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Navigation overlay */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 10, 16, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1050;
}

.nav.active {
    transform: translateY(0);
}

.nav ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nav a {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 15px var(--neon-blue);
}

.btn-contact {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--neon-blue);
    border-radius: 50px;
    margin-top: 10px;
}

/* Hero Section (Mobile First) */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero_retro_bg2.jpg');
    z-index: -2;
    background-size: cover;
    background-position: center;
    filter: brightness(0.9) contrast(1.1) saturate(1.2);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 10, 16, 0.4) 0%, rgba(5, 10, 16, 0.7) 100%);
    z-index: -1;
}

.deco-text-retro {
    position: absolute;
    font-family: var(--font-body-en);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.deco-text-retro.top-left {
    top: 40px;
    left: 30px;
    color: var(--neon-blue);
}

.deco-text-retro.top-right {
    top: 40px;
    right: 30px;
    color: var(--neon-pink);
}

.pill-badge {
    display: inline-block;
    border: 1px solid var(--neon-blue);
    border-radius: 50px;
    padding: 8px 30px;
    margin-bottom: 20px;
    font-family: var(--font-body-en);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--neon-blue);
    text-transform: lowercase;
}

.hero-content {
    text-align: center;
    z-index: 1;
    width: 100%;
}

.hero-title {
    font-size: clamp(3.5rem, 12vw, 10rem);
    line-height: 0.8;
    margin-bottom: 30px;
    letter-spacing: -0.05em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-title .neon-text {
    font-family: var(--font-script);
    font-weight: 700;
    font-style: italic;
    color: var(--neon-blue);
    position: relative;
    z-index: 2;
    font-size: 0.5em;
    /* Scale down relative to the main title */
    display: block;
    margin-bottom: -0.1em;
    margin-left: -0.25em;
    /* Shift left to look more organic */
}

.hero-title .d-block {
    font-family: var(--font-heading);
    font-weight: 800;
    /* Syne Extra Bold */
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin-top: -0.05em;
    color: var(--neon-blue);
    display: block;
    line-height: 0.85;
    position: relative;
    z-index: 1;
}

.creators-text {
    font-size: 0.7em;
    display: block;
    margin-bottom: -0.1em;
    letter-spacing: 0.05em;
}

.neon-text {
    display: inline-block;
    margin-right: 5px;
}

.hero-sub-retro {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 50px;
    padding: 0 5vw;
}

.retro-text-block {
    text-align: left;
    max-width: 350px;
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.8;
}

.retro-divider {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.retro-divider .star {
    color: var(--neon-blue);
    font-size: 1.2rem;
    margin-right: 15px;
}

.retro-divider .line {
    flex-grow: 1;
    border: none;
    border-top: 1px solid var(--neon-blue);
}

.retro-divider .dots {
    margin-left: 15px;
    color: var(--text-color);
    letter-spacing: 2px;
    font-family: var(--font-body-en);
}

.retro-tag {
    font-family: var(--font-body-en);
    font-size: 0.75rem;
    font-weight: 500;
}

.retro-star-wrapper {
    bottom: 50px !important;
}

.retro-star {
    width: 50px;
    height: 50px;
    background: var(--neon-blue);
    clip-path: polygon(50% 0%, 65% 30%, 100% 30%, 75% 55%, 85% 100%, 50% 75%, 15% 100%, 25% 55%, 0% 30%, 35% 30%);
    animation: spin 10s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Glow Utilities */
.glow-blue {
    --neon-color: var(--neon-blue);
}

.glow-white {
    --neon-color: #ffffff;
}

.glow-pink {
    --neon-color: var(--neon-pink);
}

.glow-green {
    --neon-color: var(--neon-green);
}

.neon-pink-text {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

/* Animations */
.reveal-init {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@keyframes pulsate {
    100% {
        text-shadow:
            0 0 4px #fff,
            0 0 11px #fff,
            0 0 19px var(--neon-blue),
            0 0 40px var(--neon-blue);
    }

    0% {
        text-shadow:
            0 0 2px #fff,
            0 0 4px #fff,
            0 0 10px var(--neon-blue);
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-down span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-family: var(--font-body-en);
}

.scroll-down .arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #fff);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform-origin: top;
        transform: scaleY(0);
    }

    50% {
        transform-origin: top;
        transform: scaleY(1);
    }

    51% {
        transform-origin: bottom;
        transform: scaleY(1);
    }

    100% {
        transform-origin: bottom;
        transform: scaleY(0);
    }
}

/* Sections Common */
.section {
    padding: 20px 0;
}

.section-title {
    font-size: clamp(2rem, 10vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: clamp(40px, 8vw, 80px);
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: -1px;
}

.section-title::before,
.section-title::after {
    content: "";
    height: 2px;
    flex-grow: 1;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
    opacity: 0.5;
}

/* Concept Cards (Mobile First) */
.concept-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column */
    gap: 20px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.3);
}

.concept-card {
    text-align: center;
}

.concept-card .icon-img-wrapper {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.concept-icon {
    max-height: 100%;
    max-width: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.5));
    transition: transform 0.3s ease;
}

.concept-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--neon-blue);
    font-family: var(--font-heading);
}

.concept-tagline {
    font-family: var(--font-body-jp);
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.concept-card p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Business Section (Mobile First) */
.business-item {
    display: flex;
    flex-direction: column;
    /* Stacked */
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    text-align: center;
}

.business-item.left-image {
    flex-direction: column;
    /* Consistent stacking on mobile */
}

.business-text {
    width: 100%;
    text-align: center;
    /* Enforce center alignment for container content */
}

.business-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: italic;
    letter-spacing: -1px;
    text-align: center;
    width: 100%;
    /* Ensure full width */
    display: block;
}

.business-visual {
    width: 100%;
    min-height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.youtube-visual {
    background: url('../images/youtube-icon.png') no-repeat center center;
    background-size: cover;
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.1), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.tiktok-visual {
    background: url('../images/tiktok-icon.png') no-repeat center center;
    background-size: cover;
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.design-visual {
    background: url('../images/design-icon.png') no-repeat center center;
    background-size: cover;
    border-color: rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.1), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Portfolio Grid (Mobile First) */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column */
    gap: 15px;
    margin-bottom: 60px;
    margin-top: -20px;
}

.portfolio-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 10px;
    object-fit: cover;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.portfolio-thumb.vertical {
    aspect-ratio: 9/16;
}

/* CTA Section */
.cta-section {
    padding-bottom: 50px;
}

.cta-inner {
    text-align: center;
    padding: clamp(60px, 10vw, 100px) 20px;
    position: relative;
    overflow: hidden;
    border-width: 2px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 8.5vw, 6.5rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
    letter-spacing: clamp(-3px, -0.2vw, -1px);
    word-break: normal;
}

.cta-title span {
    display: block;
    width: 100%;
    white-space: nowrap;
}

.cta-title .outline-text {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.cta-title .solid-text {
    color: #fff;
    text-shadow: 0 0 20px var(--neon-blue);
}

.cta-lead {
    font-size: clamp(1.1rem, 4vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 60px;
    color: var(--neon-blue);
}

.btn-main-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 60px;
    background: var(--neon-blue);
    color: var(--bg-color);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
    margin-bottom: 30px;
}

.btn-main-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.6);
    background: #fff;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: inherit;
    filter: blur(20px);
    z-index: -1;
    opacity: 0.5;
}

/* Company Section (Mobile First) */
.company-info dl {
    display: grid;
    grid-template-columns: 1fr;
    /* Stacked */
    gap: 10px;
    text-align: left;
}

.company-info dt {
    font-weight: 700;
    color: var(--neon-green);
    margin-top: 10px;
}

.company-info dt:first-child {
    margin-top: 0;
}

.footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: rgba(5, 26, 26, 0.9);
}

.copyright {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* =========================================
   Desktop / Tablet Extensions (Min-Width)
   ========================================= */
@media (min-width: 769px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }

    .header {
        padding: 20px 0;
    }

    .logo {
        font-size: 1.8rem;
    }

    .menu-toggle {
        display: none;
    }

    .nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        display: block;
        transform: none;
        transition: none;
        z-index: auto;
    }

    .nav ul {
        display: flex;
        flex-direction: row;
        gap: 30px;
        align-items: center;
    }

    .nav a {
        font-size: 0.9rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .nav a:hover {
        color: var(--neon-blue);
        text-shadow: 0 0 10px var(--neon-blue);
    }

    .btn-contact {
        padding: 10px 20px;
        border: 1px solid var(--neon-blue);
        border-radius: 50px;
        color: var(--neon-blue);
    }

    .btn-contact:hover {
        background: var(--neon-blue);
        color: var(--bg-color);
        box-shadow: 0 0 20px var(--neon-blue);
    }

    /* Background Decoration Desktop */
    .deco-text {
        font-size: 0.8rem;
    }

    .deco-text.top-right {
        top: 120px;
        right: 50px;
        font-size: 2rem;
    }

    .deco-text.bottom-left {
        bottom: 50px;
        left: 50px;
    }

    .deco-text.vertical-text {
        display: block;
        top: 50%;
        right: 30px;
        transform: translateY(-50%) rotate(90deg);
        letter-spacing: 0.5rem;
        font-size: 0.7rem;
    }

    .deco-text.scattered-text {
        top: 20%;
        left: 10%;
        font-size: 4rem;
    }

    /* Hero Desktop */
    .hero {
        padding-top: 80px;
    }

    .hero-title {
        font-size: 8rem;
        margin-bottom: 30px;
        line-height: 1.1;
    }

    .hero-title .d-block {
        margin-top: 10px;
        -webkit-text-stroke: 2px var(--neon-blue);
        text-shadow: 0 0 20px var(--neon-blue);
        line-height: 0.9;
    }

    .hero-title .creators-text {
        font-size: 0.6em;
        margin-bottom: 0;
    }

    .neon-text {
        margin-right: 15px;
    }

    .hero-sub {
        font-size: 1.5rem;
        margin-top: 40px;
    }

    .tagline {
        margin-top: 40px;
        font-size: 3rem;
    }

    .scroll-down {
        bottom: 40px;
    }

    .scroll-down span {
        font-size: 0.8rem;
    }

    .section {
        padding: 120px 0;
    }

    .section-title {
        font-size: 4rem;
        margin-bottom: 80px;
    }

    /* Concept Grid Desktop */
    .concept-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 Columns */
        gap: 30px;
    }

    .glass-card {
        padding: 20px;
    }

    .concept-card .icon-img-wrapper {
        height: 100px;
        margin-bottom: 20px;
    }

    .concept-card h4 {
        font-size: 1.2rem;
        line-height: 1.8;
    }

    .glass-card:hover {
        transform: translateY(-10px);
    }

    /* Business Section Desktop */
    .business-item {
        flex-direction: row;
        /* Side by side */
        gap: 50px;
        margin-bottom: 60px;
        text-align: center;
        /* Changed from left to center */
        align-items: center;
    }

    .business-item.left-image {
        flex-direction: row-reverse;
    }

    .business-title {
        font-size: 3rem;
        margin-bottom: 20px;
        text-align: center;
        /* Title stays centered or left? Original was center */
    }

    .business-visual {
        min-height: 300px;
    }

    /* Portfolio Grid Desktop */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-bottom: 80px;
        margin-top: -30px;
    }

    .portfolio-thumb {
        opacity: 0.8;
    }

    .portfolio-thumb:hover {
        opacity: 1;
        transform: scale(1.05);
    }

    /* Company Desktop */
    .company-info dl {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .company-info dt {
        margin-top: 20px;
    }

    .company-info dd {
        margin-bottom: 20px;
    }

    .footer {
        padding: 40px 0;
    }

    .copyright {
        font-size: 0.8rem;
    }
}