@keyframes fuwafuwa {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color1), var(--accent-color2));
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease-out;
}
:root {
    --primary-font: 'Poppins', 'Noto Sans JP', sans-serif;
    --text-color: #ffffff;
    --dark-bg: #0a0a1a;
    --glass-bg: rgba(10, 10, 26, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-color1: #00d9ff; /* Blue from logo */
    --accent-color2: #ff00aa; /* Purple/Magenta from logo */
    --container-width: 1200px;
    --transition-speed: 0.5s;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--accent-color1);
    text-decoration: none;
}

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

section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--accent-color1), var(--accent-color2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Aurora Background */
.aurora-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.aurora-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.4;
}

.shape1 {
    width: 600px;
    height: 600px;
    background: var(--accent-color1);
    top: -200px;
    left: -200px;
    animation: move1 20s infinite alternate;
}

.shape2 {
    width: 500px;
    height: 500px;
    background: var(--accent-color2);
    bottom: -150px;
    right: -150px;
    animation: move2 25s infinite alternate;
}

.shape3 {
    width: 400px;
    height: 400px;
    background: #ff8a00;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: move3 15s infinite alternate;
}

@keyframes move1 {
    to { transform: translate(100px, 200px) scale(1.2); }
}
@keyframes move2 {
    to { transform: translate(-150px, -100px) scale(0.8); }
}
@keyframes move3 {
    to { transform: translate(200px, -150px) scale(1.1); }
}

/* Glass Effect */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* Header */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: var(--container-width);
    z-index: 1000;
    padding: 15px 30px;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.logo img {
    height: 35px;
}

.main-nav {
    display: flex;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 10px;
    transition: background-color var(--transition-speed);
}

.main-nav a:hover {
    background-color: var(--glass-bg);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-background-slider .slide.active {
    opacity: 1;
}

.hero-background-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 60%;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    padding: 40px;
    background: linear-gradient(135deg, 
        rgba(0, 217, 255, 0.15) 0%,
        rgba(255, 0, 170, 0.15) 100%
    );
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0.4) 100%
    );
    z-index: -1;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 0.7;
    }
}

.hero-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 45%,
        rgba(0, 217, 255, 0.1) 48%,
        rgba(255, 0, 170, 0.1) 50%,
        transparent 55%
    );
    z-index: -1;
    animation: shine 3s infinite;
    transform: rotate(45deg);
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateY(-100%);
    }
    100% {
        transform: rotate(45deg) translateY(100%);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-quote {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: var(--text-color);
    min-height: 2em;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    background: linear-gradient(90deg, var(--accent-color1), var(--accent-color2));
    color: var(--text-color);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.5);
}

.cta-button::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.cta-button:active::after {
    width: 200px;
    height: 200px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.indicator.active {
    background: var(--accent-color1);
    transform: scale(1.2);
}

.indicator-tooltip {
    position: fixed;
    width: 150px;
    height: 84px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    border: 2px solid var(--glass-border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    z-index: 9999;
}

.indicator-tooltip.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Services Section */
.service-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px;
    text-align: center;
    transition: transform var(--transition-speed), background-color var(--transition-speed);
    position: relative;
    overflow: hidden;
    background-color: var(--glass-bg);
}

.service-card::before,
.service-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color1), var(--accent-color2));
    transition: width 0.4s ease-in-out;
}

.service-card::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.service-card::after {
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(10, 10, 26, 0.7);
}

.service-card:hover::before,
.service-card:hover::after {
    width: 100%;
}

.service-card .card-icon,
.service-card h3 {
    transition: transform 0.3s ease-out, text-shadow 0.3s ease-out;
}

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

.service-card:hover h3 {
    transform: translateY(-5px);
    text-shadow: 0 0 15px var(--accent-color1);
}

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

.card-icon i {
    font-size: 3.5rem;
    color: var(--accent-color1);
    text-shadow: 0 0 20px var(--accent-color1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color1);
}

.service-card p {
    opacity: 0.8;
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio-section {
    background: rgba(0, 0, 0, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-image {
    height: 200px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color1);
}

.portfolio-content p {
    opacity: 0.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color1);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* About Section */
.about-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-text {
    flex: 1.5;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text > p {
    margin-bottom: 30px;
    opacity: 0.8;
    font-size: 1.1rem;
}

.company-info {
    margin: 40px 0;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item h4 {
    width: 120px;
    font-size: 1rem;
    color: var(--accent-color1);
    font-weight: 500;
}

.info-item p {
    flex: 1;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info-cards {
    display: grid;
    gap: 20px;
}

.contact-card {
    padding: 30px;
    text-align: center;
    transition: transform var(--transition-speed);
}

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

.contact-icon {
    font-size: 2rem;
    color: var(--accent-color1);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent-color1);
}

.contact-card p {
    opacity: 0.9;
}

.contact-img {
    margin-top: 10px;
    max-width: 200px;
    filter: invert(1);
}

.contact-form-wrapper {
    padding: 40px;
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: var(--glass-bg);
    color: var(--text-color);
    font-family: var(--primary-font);
    transition: border-color var(--transition-speed);
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Contact Bottom */
.contact-bottom {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Footer */
.main-footer {
    background-color: #0a0a1a;
    padding: 80px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo-img {
    height: 100px;
    animation: fuwafuwa 2s ease-in-out infinite alternate;
}

.footer-company-name {
    font-size: 1.5rem;
    font-weight: 500;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav li {
    position: relative;
    padding-left: 20px;
}

.footer-nav li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color1);
}

.footer-nav a {
    color: var(--text-color);
    font-weight: 500;
    transition: color var(--transition-speed);
    font-size: 1.1rem;
}

.footer-nav a:hover {
    color: var(--accent-color1);
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    align-self: flex-start;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        max-width: 100%;
    }
    
    .about-content-wrapper {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .company-info .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-item h4 {
        width: auto;
        margin-bottom: 10px;
    }

    .service-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none;
        width: 100%;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--glass-border);
    }

    .main-header.menu-open .main-nav {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .main-nav a {
        display: block;
        text-align: center;
        padding: 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-quote {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-cards-container,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        align-items: center;
    }

    .footer-nav li {
        padding-left: 0;
    }

    .footer-nav li::before {
        display: none;
    }
}