:root {
    --color-primary: #0D47A1;
    --color-primary-light: #1565C0;
    --color-accent: #FF9800;
    --color-accent-hover: #F57C00;
    --color-text: #2C3E50;
    --color-text-light: #607D8B;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8F9FA;
    --color-border: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

    --font-base: 'Noto Sans JP', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Body Background Atmosphere */
body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(13, 71, 161, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

.text-highlight {
    color: var(--color-primary);
}

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

.text-white {
    color: white;
}

.text-muted {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--primary {
    background-color: var(--color-primary);
    color: white;
}

.btn--primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
}

.btn--accent {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.btn--accent:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.5);
}

.btn--outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn--outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn--white {
    background-color: white;
    color: var(--color-primary);
}

.btn--white:hover {
    background-color: #f0f0f0;
}

.btn--lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

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

/* Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header__container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo img {
    height: 40px;
}

.header__nav-list {
    display: flex;
    gap: 2rem;
}

.header__nav-list a {
    font-weight: 500;
    color: var(--color-text);
}

.header__nav-list a:hover {
    color: var(--color-primary);
}

.header__menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.header__menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
}

@media (max-width: 768px) {

    .header__nav,
    .header__actions {
        display: none;
    }

    .header__menu-btn {
        display: flex;
    }
}

/* Hero */
.hero {
    padding-top: var(--header-height);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F5F7FA 0%, #E3F2FD 100%);
}

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

.hero__title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
}

/* Hero Visual Replacement - Customer Attraction Hub */
.hero__visual-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Central Shop */
.visual-center {
    position: relative;
    z-index: 10;
}

.shop-icon-circle {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(13, 71, 161, 0.2);
    position: relative;
    z-index: 2;
}

.shop-icon-circle i {
    font-size: 3.5rem;
    color: var(--color-primary);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    opacity: 0;
    animation: pulse 3s infinite ease-out;
}

.pulse-ring.delay {
    animation-delay: 1.5s;
}

@keyframes pulse {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.5;
    }

    100% {
        width: 250%;
        height: 250%;
        opacity: 0;
    }
}

/* Floating Users */
.floating-user {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.user-circle {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--color-text-light);
    transition: 0.3s;
}

.user-circle i {
    font-size: 1.8rem;
}

/* Positions */
.user-1 {
    top: 0;
    right: 20px;
    animation: float-user 4s infinite ease-in-out;
}

.user-2 {
    bottom: 30px;
    right: 0;
    animation: float-user 5s infinite ease-in-out 1s;
}

.user-3 {
    bottom: 10px;
    left: 10px;
    animation: float-user 4.5s infinite ease-in-out 0.5s;
}

.user-4 {
    top: 40px;
    left: -20px;
    animation: float-user 5.5s infinite ease-in-out 1.5s;
}

@keyframes float-user {

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

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

/* Connection Lines (Simulated by pseudo elements or could be SVG, here simple dots) */
.connection-line {
    position: absolute;
    width: 2px;
    height: 60px;
    background: repeating-linear-gradient(to bottom, var(--color-primary-light) 0, var(--color-primary-light) 4px, transparent 4px, transparent 8px);
    opacity: 0.3;
    z-index: -1;
    display: none;
    /* Hidden for pure layout simplicity, animation implies connection */
}

/* Flying Emojis */
.floating-emoji {
    position: absolute;
    font-size: 1.5rem;
    color: var(--color-accent);
    opacity: 0;
    animation: fly-emoji 3s infinite ease-in;
}

.user-1 .floating-emoji {
    top: 10px;
    right: 0;
    animation-delay: 0.5s;
}

.user-2 .floating-emoji {
    top: -10px;
    left: 0;
    animation-delay: 1.5s;
}

.user-3 .floating-emoji {
    top: 0;
    right: -10px;
    animation-delay: 2.5s;
}

.user-4 .floating-emoji {
    top: -20px;
    left: 10px;
    animation-delay: 3.5s;
}

@keyframes fly-emoji {
    0% {
        transform: scale(0.5) translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: scale(1.2) translate(-50px, 50px);
        opacity: 0;
    }

    /* Move towards center approx */
}

/* Adjust vector for each user to fly towards center */
.user-1 .floating-emoji {
    animation-name: fly-center-1;
}

.user-2 .floating-emoji {
    animation-name: fly-center-2;
}

.user-3 .floating-emoji {
    animation-name: fly-center-3;
}

.user-4 .floating-emoji {
    animation-name: fly-center-4;
}

@keyframes fly-center-1 {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(-80px, 80px) scale(1.2);
        opacity: 0;
    }
}

@keyframes fly-center-2 {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(-80px, -80px) scale(1.2);
        opacity: 0;
    }
}

@keyframes fly-center-3 {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(80px, -80px) scale(1.2);
        opacity: 0;
    }
}

@keyframes fly-center-4 {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(80px, 80px) scale(1.2);
        opacity: 0;
    }
}


/* Background Shapes */
.visual-bg-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.bg-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 152, 0, 0.05);
    top: -20px;
    left: -20px;
}

.bg-2 {
    width: 200px;
    height: 200px;
    background: rgba(13, 71, 161, 0.05);
    bottom: -10px;
    right: -10px;
}

@media (max-width: 768px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        margin-bottom: 2rem;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__visual-container {
        width: 300px;
        height: 300px;
        margin-top: 2rem;
    }

    .shop-icon-circle {
        width: 90px;
        height: 90px;
    }

    .shop-icon-circle i {
        font-size: 2.5rem;
    }

    .user-circle {
        width: 45px;
        height: 45px;
    }

}


/* Sections */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    /* Context for absolute positioning inside */
}

.section__header {
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section__title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

.section__subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
    letter-spacing: 0.1em;
}

/* About Cards */
.card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card__icon-wrapper {
    width: 60px;
    height: 60px;
    background: #E3F2FD;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card__title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card__text {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Features */
.features {
    background-color: var(--color-text);
    /* Dark background */
    color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.feature-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--color-accent);
}

/* Case Studies */
.cases {
    background-color: var(--color-bg-alt);
}

.case-list {
    display: grid;
    gap: var(--spacing-lg);
}

.case-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.case-card__image {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.case-card__image img {
    max-height: 400px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.case-card__content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.case-card__logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.case-card__heading {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.case-card__desc {
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

.case-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-card__tags span {
    background: #E3F2FD;
    color: var(--color-primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

    .case-card__image img {
        max-height: 250px;
    }
}

/* Flow */
.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 1rem;
}

.flow-step__number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(13, 71, 161, 0.1);
    line-height: 1;
    margin-bottom: -1.5rem;
    position: relative;
    z-index: 1;
}

.flow-step__title {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.flow-step__desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.flow-step__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    color: var(--color-primary-light);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .flow-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .flow-step__arrow {
        transform: rotate(90deg);
        height: auto;
        margin: -1rem 0;
    }
}

/* Contact */
.contact {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    text-align: center;
}

.contact__title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact__text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}


/* Contact Form */
.contact__form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: #999;
}

.form-submit-btn {
    align-self: center;
    border: none;
    cursor: pointer;
    min-width: 200px;
}

.form-message {
    margin-top: 1rem;
    min-height: 1.5rem;
    font-weight: bold;
}

.form-message.success {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-message.error {
    color: #ffeb3b;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Footer - Dark Theme */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.footer__logo {
    height: 35px;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
    /* Make logo white */
    opacity: 0.9;
}

.footer__copy {
    color: #888;
    font-size: 0.9rem;
}

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

.footer__links a {
    color: #ccc;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    text-align: center;
    color: #666;
}

@media (max-width: 768px) {
    .footer__content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

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

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: white;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu__nav ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu__nav a {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Hide reCAPTCHA Badge */
.grecaptcha-badge {
    visibility: hidden;
}