:root {
    /* New Design System Colors */
    --color-bg: #FAFAF9;
    /* slate-50 */
    --color-text: #1e293b;
    /* slate-800 */
    --color-text-muted: #64748b;
    /* slate-500 */

    --color-slate-900: #0f172a;
    --color-slate-100: #f1f5f9;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    /* amber to orange */
    --gradient-text: linear-gradient(to right, #fb923c, #a855f7, #3b82f6);
    /* orange-purple-blue */

    /* Accents */
    --color-orange: #fb923c;
    --color-purple: #a855f7;
    --color-blue: #3b82f6;
    --color-pink: #ec4899;
    --color-green: #34d399;
    --color-yellow: #facc15;

    /* Fonts */
    --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
    --font-serif: 'Outfit', sans-serif;
    /* Keep Outfit for other uses */
    --font-display: 'Playfair Display', serif;
    /* New display font */

    /* Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
    --spacing-xxl: 128px;
}

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

body {
    font-family: var(--font-sans);
    background-color: transparent;
    /* Allow blobs to show */
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    selection-background-color: #e9d5ff;
    /* purple-200 */
    selection-color: #581c87;
    /* purple-900 */
}

/* Mission & Vision Section */
.mv-section {
    padding: 8rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.mv-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mv-block {
    margin-bottom: 4rem;
    opacity: 0;
    /* For animation */
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.mv-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.mv-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.label-mission {
    color: var(--color-orange);
}

.label-vision {
    color: var(--color-blue);
}

.mv-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--color-slate-900);
    margin-bottom: 1.5rem;
}

.mv-title-gradient-mission {
    background: linear-gradient(to right, #fb923c, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mv-title-gradient-vision {
    background: linear-gradient(to right, #3b82f6, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mv-subtitle {
    color: var(--color-text-muted);
    font-weight: 500;
    font-family: var(--font-serif);
}

.mv-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, #fed7aa, #bfdbfe);
    margin: 0 auto 4rem;
}

/* Background Blobs */
.bg-blobs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    mix-blend-mode: multiply;
    animation: blob-bounce 10s infinite ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: linear-gradient(to right, #fef08a, #fed7aa);
    /* yellow-200 to orange-200 */
}

.blob-2 {
    top: 20%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: linear-gradient(to right, #e9d5ff, #fbcfe8);
    /* purple-200 to pink-200 */
    animation-delay: 2s;
}

.blob-3 {
    bottom: -10%;
    left: 20%;
    width: 45vw;
    height: 45vw;
    background: linear-gradient(to right, #bfdbfe, #99f6e4);
    /* blue-200 to teal-200 */
    animation-delay: 4s;
}

@keyframes blob-bounce {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}


/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

/* Utilities */
.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-between {
    justify-content: space-between;
}

.hidden {
    display: none;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    /* Behind everything */
    pointer-events: none;
    /* Allow clicks to pass through */
}

/* Intro Video Section */
.intro-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
    /* Fallback */
    z-index: 20;
    /* Above particles initially */
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Initial state for animation */
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Darken video slightly */
    z-index: 1;
}

.intro-logo {
    position: relative;
    width: 300px;
    /* Adjust base size */
    max-width: 80%;
    /* Responsive limit */
    height: auto;
    z-index: 3;
    /* Above overlay and scroll indicator */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    /* Optional shadow for better visibility */

    /* Initial State for Animation */
    opacity: 0;
    /* GSAP will handle scale and filter */
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;

    /* Initial State for Animation */
    opacity: 0;
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

.mb-6 {
    margin-bottom: 1.5rem;
}

/* Dark Mode Support (Class-based for now, or system pref) */

/* Header (Floating) */
.header {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 var(--spacing-md);
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 50px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.header.scrolled .header-inner {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 48px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-img {
    transform: rotate(-5deg) scale(1.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(to right, #1e293b, #475569);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
    font-family: var(--font-serif);
}

/* Header Layout */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* For absolute centering of nav */
    padding: 0 1rem;
}

.header-nav {
    display: flex;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-nav a {
    text-decoration: none;
    color: #64748b;
    /* Slate-500 */
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--color-slate-900);
}

/* CTA Section Styles */
.cta-section {
    padding: 6rem 1rem;
    display: flex;
    justify-content: center;
}

.cta-container {
    background-color: #0f172a;
    /* Slate-900 */
    color: white;
    width: 100%;
    max-width: 900px;
    border-radius: 2rem;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.5);
}

.cta-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-desc {
    color: #94a3b8;
    /* Slate-400 */
    margin-bottom: 3rem;
    line-height: 1.8;
}

.btn-white {
    background-color: white;
    color: #0f172a;
    padding: 1rem 3rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-view-more {
    display: inline-block;
    background-color: #0f172a;
    /* Slate-900 */
    color: white;
    padding: 1rem 3rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
    border-color: transparent;
    color: white;
    text-decoration: none;
    /* Remove underline on hover for cleaner look with gradient */
}

/* About Button Hover (Blue/Purple Gradient) */
.btn-view-more.about:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

/* Philosophy Button Hover (Orange/Yellow Gradient) */
.btn-view-more.philosophy:hover {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.4);
}

.follow-us-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon-circle {
    width: 60px;
    height: 60px;
    background-color: #f1f5f9;
    /* Slate-100 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    /* Slate-900 */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    cursor: pointer;
}

.social-icon-circle:hover {
    transform: translateY(-5px) scale(1.1) rotate(10deg);
    /* Added rotation */
    background-color: #3b82f6;
    /* Blue-500 */
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
    color: white;
    /* Icon becomes white */
    border-color: transparent;
}

/* Target both i and svg to be safe */
.social-icon-circle i,
.social-icon-circle svg {
    transition: transform 0.4s ease;
}

.social-icon-circle:hover i,
.social-icon-circle:hover svg {
    transform: scale(1.2);
    /* Icon scales up inside */
}

.social-icon-circle svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5px;
    transition: transform 0.4s ease, stroke 0.3s ease;
}

.social-icon-circle:hover i,
.social-icon-circle:hover svg {
    stroke: #0f172a;
    /* Keep Dark on hover */
    transform: rotate(12deg) scale(1.1);
    /* Rotate and Scale Icon */
}

/* CTA Footer Links */
.cta-footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    /* Slate-500 */
    font-size: 0.9rem;
}

.cta-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #94a3b8;
}

/* Yellow Underline Effect */
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #fde047;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.header-nav a:hover::after {
    transform: scaleX(1);
}

/* Header CTA Button */
.btn-header-cta {
    background-color: #0f172a;
    /* Slate-900 */
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

/* Hero Buttons */
.hero-btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
    /* Rounded corners */
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-dark {
    background-color: #0f172a;
    color: white;
    border: 2px solid #0f172a;
}

.btn-dark:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.3);
}

.btn-outline {
    background-color: white;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    padding: 0.75rem 2rem;
    background: var(--color-slate-900);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(to right, #9333ea, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Hero Visuals */
.hero-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind content, but in section */
    overflow: hidden;
    pointer-events: none;
}

.ship-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    opacity: 0.2;
    /* Slightly increased visibility */
    animation: ship-float 8s ease-in-out infinite;
}

.hero-ship {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(59, 130, 246, 0.3));
}

@keyframes ship-float {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(-3deg) translateY(0) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) rotate(3deg) translateY(-20px) scale(1.05);
    }
}

/* Ocean Waves */
.ocean {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    opacity: 0.3;
    z-index: 1;
    /* Waves above ship bottom */
}

/* ... waves css ... */

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-slate-900);
    z-index: 1100;
}

/* Mobile Nav */
.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: var(--spacing-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-nav ul {
    width: 100%;
    height: 40%;
    opacity: 0.3;
}

.wave {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%233b82f6'/%3E%3C/svg%3E");
    position: absolute;
    width: 200%;
    height: 100%;
    animation: wave 10s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    transform: translate3d(0, 0, 0);
}

.wave:nth-of-type(2) {
    top: 10px;
    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
    opacity: 1;
}

@keyframes wave {
    0% {
        margin-left: 0;
    }

    100% {
        margin-left: -1600px;
    }
}

@keyframes swell {

    0%,
    100% {
        transform: translate3d(0, -25px, 0);
    }

    50% {
        transform: translate3d(0, 5px, 0);
    }
}

/* Hero Section Updates */
.hero {
    position: relative;
    min-height: 90vh;
    /* Taller hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
    z-index: 1;
    /* Establish stacking context */
}

.hero-content {
    position: relative;
    z-index: 10;
    /* Explicitly above visuals */
    max-width: 800px;
    margin: 0 auto;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    color: var(--color-slate-900);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-title span {
    display: block;
}

.hero-title-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-serif);
    font-style: italic;
    padding-right: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--color-slate-900);
    position: relative;
    padding: 0 0.25rem;
}

.highlight-orange::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: #fed7aa;
    /* orange-200 */
    z-index: -1;
    transform: rotate(1deg);
}

.highlight-blue::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: #bfdbfe;
    /* blue-200 */
    z-index: -1;
    transform: rotate(-1deg);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-dark {
    background: var(--color-slate-900);
    color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-dark:hover {
    transform: scale(1.05);
}

.btn-outline {
    background: white;
    color: var(--color-slate-900);
    border: 2px solid #e2e8f0;
}

.btn-outline:hover {
    background: var(--color-slate-100);
    border-color: #cbd5e1;
}

/* Floating Stickers */
.sticker {
    position: absolute;
    z-index: 5;
    animation: bounce-slow 3s infinite ease-in-out;
}

.sticker-star {
    top: 15%;
    right: 15%;
    transform: rotate(12deg);
}

.sticker-heart {
    bottom: 20%;
    left: 15%;
    animation-delay: 1s;
    transform: rotate(-6deg);
}

.sticker-box {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(0) rotate(var(--r, 0deg));
    }

    50% {
        transform: translateY(-20px) rotate(var(--r, 0deg));
    }
}


/* About Section */
.about-section {
    padding: 8rem 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.visual-card {
    aspect-ratio: 4/5;
    background: #f1f5f9;
    border-radius: 3rem;
    transform: rotate(-2deg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.7s ease;
}

.visual-card:hover {
    transform: rotate(0deg);
}

.visual-content {
    position: absolute;
    inset: 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.visual-block {
    width: 100%;
    height: 45%;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-terra {
    background: linear-gradient(135deg, #fdba74, #fef08a);
}

.block-noah {
    background: linear-gradient(135deg, #93c5fd, #d8b4fe);
}

.block-text {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    opacity: 0.5;
}

.badge-float {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
    animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.badge-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: 2px dashed #cbd5e1;
    border-radius: 50%;
    text-align: center;
}

.about-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f3e8ff;
    /* purple-50 */
    color: var(--color-purple);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.about-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-slate-900);
    margin-bottom: 2rem;
}

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

.about-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-pill {
    padding: 0.5rem 1rem;
    background: var(--color-slate-100);
    color: var(--color-text-muted);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.tag-pill:hover {
    background: #e2e8f0;
    transform: scale(1.1);
}

/* Values Section */
.values-section {
    padding: 8rem 0;
    background: var(--color-slate-900);
    color: white;
    position: relative;
    overflow: hidden;
}

.values-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.values-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 3rem;
    scroll-snap-type: x mandatory;
}

.values-scroll::-webkit-scrollbar {
    display: none;
}

.value-card-new {
    flex: 0 0 300px;
    aspect-ratio: 3/4;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    scroll-snap-align: center;
}

.value-card-new:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1rem);
}

.value-icon-box {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.bg-orange {
    background: var(--color-orange);
}

.bg-purple {
    background: var(--color-purple);
}

.bg-green {
    background: var(--color-green);
}

.bg-yellow {
    background: var(--color-yellow);
}

.bg-blue {
    background: var(--color-blue);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .values-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}


/* Projects Section (Visual Cards) */
.projects-section-new {
    padding: 6rem 0;
    background: transparent;
    /* Show blobs */
    position: relative;
    overflow: hidden;
}

.company-info {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
}

.company-info th {
    width: 20%;
    min-width: 140px;
    /* Ensure enough space for labels */
    white-space: nowrap;
    vertical-align: top;
    text-align: left;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 700;
    color: var(--color-slate-900);
}

.company-info td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    vertical-align: top;
    color: var(--color-text);
    line-height: 1.8;
}

.company-info tr:last-child th,
.company-info tr:last-child td {
    border-bottom: none;
}

.projects-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Standard 2-column */
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card-new {
    background: white;
    border-radius: 2.5rem;
    padding: 1rem;
    /* Inner padding for the "frame" look */
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Visual Area */
.project-visual-new {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.bg-yellow-soft {
    background: #fff7ed;
}

/* Orange-50/100 mix */
.bg-blue-soft {
    background: #eff6ff;
}

.bg-pink-soft {
    background: #fdf2f8;
}

.bg-green-soft {
    background: #f0fdf4;
}

.project-badge-new {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-slate-900);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon-large svg {
    width: 60px;
    height: 60px;
    stroke-width: 1.5;
}

.text-orange {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.1);
}

.text-blue {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.text-pink {
    color: #f472b6;
    background: rgba(244, 114, 182, 0.1);
}

.text-green {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

/* Content Area */
.project-content-new {
    padding: 0 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-title-new {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--color-slate-900);
}

.project-desc-new {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.project-footer-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.project-tags-new {
    font-size: 0.875rem;
    font-weight: 700;
    color: #94a3b8;
}

.project-arrow-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.project-card-new:hover .project-arrow-btn {
    transform: rotate(45deg);
}

.bg-orange {
    background: #f97316;
}

.bg-slate {
    background: #64748b;
}

@media (max-width: 768px) {
    .projects-grid-new {
        grid-template-columns: 1fr;
    }
}

/* Contact Section New */
.contact-section-new {
    padding: 5rem 0;
    background: transparent;
    /* Show blobs */
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    /* Ensure absolute children are relative to this */
    overflow: hidden;
    /* Clip background image */
}

.contact-card {
    max-width: 42rem;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.9);
    /* Semi-transparent dark background */
    backdrop-filter: blur(10px);
    /* Glassmorphism effect */
    border-radius: 3rem;
    padding: 5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s ease;
}

.contact-card:hover {
    transform: scale(1.01);
}

.contact-bg {
    position: absolute;
    inset: 0;
    /* background-image is set inline in HTML */
    z-index: -1;
    /* Behind content */
}

.contact-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-text {
    color: #cbd5e1;
    /* slate-300 */
    margin-bottom: 2.5rem;
    font-weight: 500;
    position: relative;
}

.btn-white {
    padding: 1rem 2.5rem;
    background: white;
    color: var(--color-slate-900);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: linear-gradient(to right, #fed7aa, #e9d5ff);
    transform: scale(1.05);
}

/* Footer New */
.footer-new {
    margin-top: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 3rem 1.5rem;
    }

    .footer-new {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    /* slate-900/50 */
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 32rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: background 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background: transparent;
    /* Transparent full width */
    backdrop-filter: none;
    box-shadow: none;
    padding: 1rem 0;
}

.header.scrolled .header-inner {
    background: rgba(255, 255, 255, 0.95);
    /* White pill background */
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 2.5rem;
    /* Padding inside pill */
    border-radius: 9999px;
    /* Pill shape */
    margin-top: 0.5rem;
    /* Slight top offset */
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Reduced gap */
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-slate-900);
}

.logo-icon {
    width: 100px;
    height: 100px;
    transition: all 0.3s ease;
    /* Add transition */
}

.logo-text-img {
    height: 100px;
    /* Increased to 100px */
    width: auto;
    display: block;
    transition: all 0.3s ease;
    /* Add transition */
}

/* Scrolled State for Logo */
.header.scrolled .logo-icon {
    width: 60px;
    height: 60px;
}

.header.scrolled .logo-text-img {
    height: 60px;
}

/* Header Nav */
.header-nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav a {
    text-decoration: none;
    color: #64748b;
    /* Slate-500 */
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.header-nav a:hover {
    color: var(--color-slate-900);
    transform: translateY(-2px);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero Title Perspective for 3D Tilt */
.hero-title {
    perspective: 1000px;
    /* Essential for 3D effect */
    transform-style: preserve-3d;
}

.hero-title h1 {
    display: block;
    /* Ensure it's a block for transform */
    transform-style: preserve-3d;
}

/* Footer (Global) */
#footer {
    background: transparent;
    /* Show blobs */
    color: var(--color-slate-900);
    padding: 4rem 0 6rem;
    /* Increased bottom padding */
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Align top */
    position: relative;
}

.footer-brand {
    flex: 1;
}

.footer-copyright {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #94a3b8;
    /* Slate-400 */
    font-size: 0.8rem;
    text-align: center;
    top: 0;
    /* Align with top of other elements */
    padding-top: 0.5rem;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2rem;
    flex: 1;
}

.footer-menu-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: right;
}

.footer-menu-vertical a {
    text-decoration: none;
    color: #64748b;
    /* Slate-500 */
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-menu-vertical a:hover {
    color: var(--color-slate-900);
}

.footer-sns {
    display: flex;
    gap: 1.5rem;
}

.footer-sns a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.footer-sns a:hover {
    color: var(--color-slate-900);
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }

    .footer-copyright {
        position: static;
        transform: none;
        order: 3;
        /* Copyright at bottom on mobile */
        margin-top: 1rem;
    }

    .footer-right {
        align-items: center;
        order: 2;
    }

    .footer-brand {
        order: 1;
    }

    .footer-nav ul {
        flex-direction: column;
        /* Stack links on mobile */
        gap: 1rem;
    }
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-slate-900);
}

.modal-header {
    background: var(--color-slate-900);
    padding: 2rem;
    text-align: center;
    color: white;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 2rem;
}

.input-area {
    width: 100%;
    background: var(--color-slate-100);
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-slate-900);
    height: 8rem;
    resize: none;
    margin-bottom: 1.5rem;
}

.input-area:focus {
    outline: none;
    border-color: var(--color-purple);
}

.btn-generate {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to right, #9333ea, #4f46e5);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.2s ease;
}

.btn-generate:hover {
    transform: scale(1.02);
}

.btn-generate:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Page Header */
.page-header {
    padding-top: 120px;
    padding-bottom: var(--spacing-xl);
    background: linear-gradient(to bottom, #f0f4f8, #ffffff);
}

.page-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-bg-dark);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* Content Blocks */
.text-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 2;
}

.text-content p {
    margin-bottom: var(--spacing-md);
}

.bg-light {
    background-color: #f9f9f9;
}

/* About Logo */
.about-logo {
    max-width: 200px;
    margin: 0 auto var(--spacing-lg);
}

.logo-features {
    text-align: left;
    display: inline-block;
    margin-top: var(--spacing-md);
}

.logo-features li {
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-left: 1.5em;
}

.logo-features li::before {
    content: '•';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Company Info */
.company-info {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #eee;
}

.info-row {
    display: flex;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid #eee;
}

.info-row dt {
    width: 30%;
    font-weight: bold;
    color: var(--color-bg-dark);
}

.info-row dd {
    width: 70%;
}

@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
    }

    .info-row dt {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }

    .info-row dd {
        width: 100%;
    }
}

/* Projects Page */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xxl);
}

.project-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.project-item.reverse {
    flex-direction: row-reverse;
}

.project-content {
    flex: 1;
}

.project-image {
    flex: 1;
    height: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-accent);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.project-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-bg-dark);
}

.project-tagline {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(90deg, #0a192f, #007bff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-features {
    margin-top: var(--spacing-md);
    list-style: none;
}

.project-features li {
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* Placeholders */
.placeholder-gradient-1 {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

.placeholder-gradient-2 {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.placeholder-gradient-3 {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.placeholder-gradient-4 {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

@media (max-width: 768px) {

    .project-item,
    .project-item.reverse {
        flex-direction: column;
    }

    .project-image {
        width: 100%;
        min-height: 250px;
        flex: none;
    }
}

/* Philosophy Page */
.vision-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-bg-dark);
    margin-bottom: var(--spacing-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.value-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.value-card p {
    font-size: 0.9rem;
    color: #666;
}

.concept-section {
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    color: white;
}

.text-white {
    color: white;
}

.concept-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

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

.concept-item h3 {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.concept-divider {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
}

.concept-desc {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .concept-grid {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
}

/* Contact Page */
.contact-wrapper {
    display: flex;
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin-top: var(--spacing-lg);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f4f8;
    color: var(--color-bg-dark);
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1.5;
    background: white;
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.btn-submit {
    display: block;
    /* Ensure it's a block element */
    width: 100%;
    padding: 1rem;
    background: #0f172a;
    /* Hardcoded Slate-900 */
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
    position: relative;
    /* Ensure z-index works if needed */
    z-index: 10;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    /* Blue to Purple gradient */
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    color: white;
    /* Ensure text remains white */
}

@media (max-width: 768px) {

    /* Layout */
    .container {
        padding: 0 1.25rem;
    }

    /* Typography */
    .hero-title {
        font-size: clamp(3rem, 12vw, 4rem);
    }

    .mv-title {
        font-size: 1.75rem;
    }

    .mv-subtitle {
        font-size: 0.9rem;
    }

    /* Sections Spacing */
    .mv-section,
    .projects-section-new,
    .about-section,
    .footer {
        padding: 4rem 0;
        /* Reduce padding for mobile */
    }

    .mv-block {
        margin-bottom: 3rem;
    }

    /* Projects Grid */
    .projects-grid-new {
        grid-template-columns: 1fr;
        /* Stack projects vertically */
        gap: 2rem;
    }

    .project-card-new {
        border-radius: 1.5rem;
    }

    /* Contact Section */
    .contact-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Header */
    .logo-icon {
        width: 50px;
        height: 50px;
    }
}

/* Company Profile Service List */
.service-list {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.service-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
}

/* =========================================
   Mobile Optimization & Utilities
   ========================================= */

/* Responsive Utilities (for JS injection) */
.hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex !important;
    }

    .md\:block {
        display: block !important;
    }

    .md\:hidden {
        display: none !important;
    }
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.hidden {
    opacity: 0;
    visibility: hidden;
    display: flex !important;
    /* Keep flex layout but hide visually */
    pointer-events: none;
}

.mobile-nav:not(.hidden) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
    width: 100%;
    height: auto;
    /* Reset height */
    opacity: 1;
    /* Reset opacity */
}

.mobile-nav li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-nav:not(.hidden) li {
    animation: fadeUp 0.5s forwards;
}

.mobile-nav li:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-nav li:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-nav li:nth-child(3) {
    animation-delay: 0.3s;
}

.mobile-nav li:nth-child(4) {
    animation-delay: 0.4s;
}

.mobile-nav li:nth-child(5) {
    animation-delay: 0.5s;
}

.mobile-nav a {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-slate-900);
    text-decoration: none;
    font-family: var(--font-display);
    position: relative;
    display: inline-block;
}

.mobile-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transition: transform 0.3s ease;
}

.mobile-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Hint (Mobile) */
.scroll-hint-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    animation: bounce-right 2s infinite;
    margin-top: 0.5rem;
}

@keyframes bounce-right {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* =================================================================
   Game UI Styles
   ================================================================= */

/* 1. Custom Cursor */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    /* Center on mouse */
    mix-blend-mode: screen;
}

.cursor-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(59, 130, 246, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8), 0 0 20px rgba(168, 85, 247, 0.6);
    transition: transform 0.2s ease;
}

#custom-cursor.hover .cursor-inner {
    transform: scale(2.5);
    background: radial-gradient(circle, rgba(251, 146, 60, 0.8) 0%, rgba(236, 72, 153, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    box-shadow: 0 0 15px rgba(251, 146, 60, 0.8);
}

.cursor-particle {
    position: fixed;
    border-radius: 50%;
    background: white;
    pointer-events: none;
    z-index: 9998;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* 2. HUD Overlay */
#hud-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    /* Below Header (1000) but above content */
    font-family: 'Courier New', Courier, monospace;
    /* Tech font */
    color: rgba(148, 163, 184, 0.6);
    /* Slate-400 transparent */
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.hud-corner {
    position: absolute;
    padding: 1rem;
}

.hud-corner.top-left {
    top: 1rem;
    left: 1rem;
    border-top: 2px solid rgba(148, 163, 184, 0.4);
    border-left: 2px solid rgba(148, 163, 184, 0.4);
    width: 150px;
    height: 50px;
}

.hud-corner.bottom-right {
    bottom: 1rem;
    right: 1rem;
    border-bottom: 2px solid rgba(148, 163, 184, 0.4);
    border-right: 2px solid rgba(148, 163, 184, 0.4);
    width: 200px;
    height: 50px;
    text-align: right;
}

.hud-text {
    margin-bottom: 0.25rem;
    text-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
}

.status-online {
    color: #34d399;
    /* Green */
    animation: blink 2s infinite;
}

.hud-center-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotate-slow 20s linear infinite;
}

.hud-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.05) 51%);
    background-size: 100% 4px;
    pointer-events: none;
}

@keyframes rotate-slow {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* 3. Start Screen */
#start-screen {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    /* Dark semi-transparent overlay */
    backdrop-filter: blur(10px);
    z-index: 2000;
    /* Above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.5s ease;
}

#start-screen:hover {
    background: rgba(15, 23, 42, 0.6);
    /* Lighten on hover */
}

.start-content {
    text-align: center;
    color: white;
}

.start-logo-icon {
    width: 100px;
    /* Increased from 80px */
    height: 100px;
    margin-bottom: 0.5rem;
    /* Reduced from 1rem */
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.start-logo-text {
    width: 360px;
    /* Increased from 300px for better balance */
    max-width: 80vw;
    height: auto;
    margin-bottom: 3rem;
    /* Increased space before prompt */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.start-prompt {
    font-family: 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: var(--color-orange);
    text-shadow: 0 0 10px rgba(251, 146, 60, 0.8);
    transition: opacity 0.3s;
}

/* Loading Bar */
.loading-container {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    border-radius: 2px;
    overflow: hidden;
    display: none;
    /* Hidden initially */
    position: relative;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: var(--color-orange);
    box-shadow: 0 0 10px var(--color-orange);
}

.loading-text {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    display: none;
}

.blink {
    animation: blink-fast 1s infinite;
}

@keyframes blink-fast {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}