/* =====================================
   CSS Variables
   ===================================== */
:root {
    /* Colors */
    --primary-color: #0066FF;
    --text-dark: #1a1a2e;
    --text-light: #fff;
    --bg-white: #ffffff;
    --bg-light: #F5F7FA;
    --bg-dark: #0a1628;
    --gray-text: #6B7280;
    --border-color: #E5E7EB;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-japanese: 'Noto Sans JP', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================
   Reset & Base Styles
   ===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-japanese), var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.section {
    padding: var(--section-padding);
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* =====================================
   Typography
   ===================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    line-height: 1.3;
}

.section-subtitle {
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-text);
    margin-top: 12px;
}

/* =====================================
   Buttons
   ===================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #0052CC;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn i {
    margin-right: 8px;
}

/* =====================================
   Header / Navigation
   ===================================== */
.header {
    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: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-img {
    height: 24px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-cta {
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    background-color: #0052CC;
    transform: translateY(-2px);
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =====================================
   Hero Section
   ===================================== */

/* Hero Wave Animations */
@keyframes wave1 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-25px) translateY(-10px);
    }
}

@keyframes wave2 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(30px) translateY(15px);
    }
}

@keyframes wave3 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-20px) translateY(10px);
    }
}

.hero-wave {
    position: absolute;
    width: 200%;
    height: 100%;
    top: 0;
    left: -50%;
    opacity: 0.4;
    pointer-events: none;
}

.hero-wave-path {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
}

.wave-1 {
    animation: wave1 20s ease-in-out infinite;
    opacity: 0.6;
}

.wave-2 {
    animation: wave2 18s ease-in-out infinite;
    opacity: 0.4;
}

.wave-3 {
    animation: wave3 22s ease-in-out infinite;
    opacity: 0.5;
}
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a1628;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 150px 24px 100px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 32px;
    color: #ffffff;
    text-shadow: 
        0 0 40px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.9),
        0 4px 15px rgba(0, 0, 0, 0.7),
        0 2px 8px rgba(0, 102, 255, 0.3);
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    text-shadow: 
        0 0 30px rgba(0, 0, 0, 0.9),
        0 2px 10px rgba(0, 0, 0, 0.8),
        0 1px 5px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.scroll-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* =====================================
   About Section
   ===================================== */
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-card {
    background-color: var(--bg-white);
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #0052CC);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 2rem;
}

.about-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.about-card-text {
    color: var(--gray-text);
    line-height: 1.7;
}

/* =====================================
   Capabilities Section
   ===================================== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.capability-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
}

.capability-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.1);
    transform: translateY(-5px);
}

.capability-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 3rem;
    font-weight: 800;
    color: #E5E7EB;
    line-height: 1;
}

.capability-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.capability-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.capability-subtitle {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-bottom: 16px;
}

.capability-lead {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.capability-description {
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.capability-result {
    background-color: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-left: 4px solid var(--primary-color);
}

.capability-result strong {
    color: var(--primary-color);
}

/* =====================================
   DCC Section
   ===================================== */
.dcc {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0a2540 100%);
    color: var(--text-light);
}

.dcc .section-title,
.dcc .section-subtitle {
    color: var(--text-light);
}

.dcc-intro {
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 60px;
    color: rgba(255, 255, 255, 0.9);
}

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

.dcc-flow-img,
.dcc-modules-img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dcc-modules-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: var(--text-light);
    line-height: 1.6;
}

.dcc-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.dcc-module {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.dcc-module:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.module-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-light);
    border-radius: 16px;
    font-size: 1.5rem;
    padding: 15px;
}

.module-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 12px rgba(96, 165, 250, 0.6));
}

.module-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
}

.module-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}



.dcc-offerings {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.dcc-offering {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    max-width: 800px;
    width: 100%;
}

.dcc-offering:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.offering-label {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.offering-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
}

.offering-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* =====================================
   Services Section
   ===================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 36px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-card-featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary-color), #0052CC);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.service-subtitle {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.service-description {
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-result {
    background-color: var(--bg-light);
    padding: 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-left: 4px solid var(--primary-color);
}

.service-result strong {
    color: var(--primary-color);
}

/* =====================================
   Use Cases Section
   ===================================== */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.use-case-card {
    background-color: var(--bg-white);
    padding: 40px 24px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition-smooth);
}

.use-case-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.1);
}

.use-case-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #0052CC);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 1.75rem;
}

.use-case-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

/* =====================================
   Company Section
   ===================================== */
.company-info {
    max-width: 800px;
    margin: 0 auto;
}

.company-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.company-table th,
.company-table td {
    padding: 24px 32px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

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

.company-table th {
    font-weight: 700;
    color: var(--text-dark);
    background-color: var(--bg-light);
    width: 200px;
}

.company-table td {
    color: var(--gray-text);
}

/* =====================================
   Contact Section
   ===================================== */
.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052CC 100%);
    color: var(--text-light);
}

.contact .section-title {
    color: var(--text-light);
}

.contact-buttons {
    display: flex;
    justify-content: center;
}

.contact .btn-primary {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.contact .btn-primary:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact .btn-secondary {
    border-color: var(--text-light);
    color: var(--text-light);
}

.contact .btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* =====================================
   Footer
   ===================================== */
.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo .logo-img {
    height: 24px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* =====================================
   Modal
   ===================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    font-weight: 300;
    color: var(--gray-text);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.modal-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.modal-body p {
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: 16px;
}

.modal-body ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.modal-body li {
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: 8px;
}

/* =====================================
   Responsive Design
   ===================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .dcc-offerings {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        padding: 80px 32px 32px;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.show {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .nav-toggle,
    .nav-close {
        display: block;
    }
    
    .nav-close {
        position: absolute;
        top: 24px;
        right: 24px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn,
    .btn-large {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .capabilities-grid,
    .services-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .dcc-modules-grid {
        grid-template-columns: 1fr;
    }
    
    .company-table th,
    .company-table td {
        padding: 16px 20px;
    }
    
    .company-table th {
        width: 120px;
        font-size: 0.9rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-content {
        margin: 10% 16px;
        padding: 32px 24px;
    }
    
    .desktop-break {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
        padding: 0 16px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 16px;
    }
}

@media screen and (min-width: 769px) {
    .mobile-break {
        display: none;
    }
}

/* =====================================
   Animations
   ===================================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* =====================================
   Utility Classes
   ===================================== */
.text-center {
    text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }