:root {
    --bg-dark: #050507;
    --bg-secondary: #0a0a0f;
    /* Updated Brand Colors based on Logo/Hero (Green/Blue/Purple) */
    --primary: #3b82f6;
    /* Blue */
    --secondary: #8b5cf6;
    /* Purple */
    --accent: #10b981;
    /* Green (New) */
    --primary-glow: rgba(59, 130, 246, 0.4);
    --secondary-glow: rgba(139, 92, 246, 0.4);
    --accent-glow: rgba(16, 185, 129, 0.4);

    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom cursor */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    opacity: 1;
}

a:hover~.cursor-outline,
button:hover~.cursor-outline {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: var(--accent-glow);
    border-color: transparent;
}

/* Typography & Utilities */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    color: var(--accent);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--text-main);
}

.mt-2 {
    margin-top: 2rem;
}

.center-btn {
    text-align: center;
    margin-top: 2rem;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: padding 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    /* Slight background to pop the logo */
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.logo img {
    height: 50px;
    /* Increased size significantly */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-contact {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--accent);
    border-radius: 20px;
    color: var(--accent) !important;
}

.btn-contact:hover {
    background: var(--accent);
    color: white !important;
}

.btn-contact::after {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 7, 0.4), var(--bg-dark));
}

.hero-content {
    text-align: center;
    z-index: 10;
    margin-top: -50px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-family: var(--font-jp);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Page Header (for sub-pages) */
.page-header {
    padding: 10rem 0 4rem;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent 40%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--text-muted));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    color: var(--text-muted);
    font-family: var(--font-jp);
}


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* Section Styles */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--accent);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-family: var(--font-jp);
}

.about-stat {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 1.5rem;
}

.stat-card:nth-child(3) {
    grid-column: span 2;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.section-services-teaser {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-family: var(--font-jp);
    font-size: 0.95rem;
}

/* Careers Section */
.careers-section {
    position: relative;
    overflow: hidden;
}

.careers-bg {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-glow), transparent 60%);
    opacity: 0.2;
    z-index: -1;
}

.careers-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem;
}

.careers-content h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.careers-content>p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-family: var(--font-jp);
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-item {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.job-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.job-item span {
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

.job-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.job-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

/* Contact Section */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
    border: none;
    cursor: auto;
}

/* Link Arrow */
.link-arrow {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 500;
    transition: transform 0.3s;
}

.link-arrow:hover {
    transform: translateX(5px);
}

/* Teaser Section */
.section-teaser {
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-secondary));
}

.teaser-content h2 {
    margin-bottom: 1rem;
}

.teaser-content p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 1rem;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    background-color: #030304;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-logo-img {
    height: 40px;
    /* Increased footer logo size */
    width: auto;
    margin-bottom: 0.5rem;
    /* Removed filter invert to keep original logo colors if it looks good on dark, 
       or keep it if it's black. Assuming original logo has colors suitable for dark bg */
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-divider {
    color: var(--text-muted);
    opacity: 0.5;
}

.footer-bottom {
    text-align: center;
    color: #4b5563;
    font-size: 0.8rem;
}

/* Animations code for Script reference */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    transform: translateX(-50px);
}

.slide-right {
    transform: translateX(50px);
}

.slide-left.active,
.slide-right.active {
    transform: translateX(0);
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-grid,
    .services-grid,
    .about-stat {
        grid-template-columns: 1fr;
    }

    .stat-card:nth-child(3) {
        grid-column: auto;
    }
}

/* Company Profile Section */
.profile-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 2rem;
}

.profile-table th,
.profile-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.profile-table th {
    width: 30%;
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

.profile-table td {
    color: var(--text-muted);
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
    border-bottom: none;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.team-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
    padding: 5px;
    /* Space between border and image */
    background: rgba(255, 255, 255, 0.05);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.team-card:hover .team-img {
    filter: grayscale(0%);
}

.team-name {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-jp);
}

/* History Grid Layout */
.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--glass-border) 10%, var(--glass-border) 90%, transparent);
}

.history-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.history-year {
    width: 50%;
    padding-right: 3rem;
    text-align: right;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
}

.history-content {
    width: 50%;
    padding-left: 3rem;
}

.history-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--bg-dark);
    border: 2px solid var(--accent);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s;
}

.history-item:hover .history-dot {
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.history-item:nth-child(even) .history-year {
    order: 2;
    text-align: left;
    padding-right: 0;
    padding-left: 3rem;
}

.history-item:nth-child(even) .history-content {
    order: 1;
    text-align: right;
    padding-left: 0;
    padding-right: 3rem;
}

@media (max-width: 768px) {
    .history-timeline::before {
        left: 0;
    }

    .history-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 1rem;
        border-left: 2px solid var(--glass-border);
        padding-left: 2rem;
        margin-bottom: 2.5rem;
    }

    .history-timeline::before {
        display: none;
        /* Hide center line on mobile, use left border instead */
    }

    .history-year,
    .history-content,
    .history-item:nth-child(even) .history-year,
    .history-item:nth-child(even) .history-content {
        width: 100%;
        text-align: left;
        padding: 0;
        order: initial;
    }

    .history-year {
        margin-bottom: 0.5rem;
    }

    .history-dot {
        left: -17px;
        /* Align with new left border */
        top: 0;
        transform: none;
    }
}

/* Organization Tree Diagram */
.org-chart-wrapper {
    overflow-x: auto;
    padding: 2rem 0;
    margin-top: 2rem;
}

.org-chart {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    min-width: 800px;
}

/* Columns */
.org-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 2rem;
}

/* Node/Card Styling */
.org-node {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    width: 240px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 2;
}

.org-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.org-node.highlight {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.org-node .role {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 700;
}

.org-node .name {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.org-node .members {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Connectors */
.org-node.adviser::after {
    content: '';
    position: absolute;
    right: -4rem;
    top: 50%;
    width: 4rem;
    height: 2px;
    background: var(--accent);
    opacity: 0.5;
    z-index: 1;
}

.org-node.head::after {
    content: '';
    position: absolute;
    right: -4rem;
    top: 50%;
    width: 4rem;
    height: 2px;
    background: var(--accent);
    opacity: 0.5;
    z-index: 1;
}

/* Vertical Bracket for Teams */
.teams-bracket {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    padding-left: 2rem;
    /* border-left removed to fix overflow using pseudo-elements on children instead */
}

.org-node.team::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    width: 2rem;
    height: 2px;
    background: var(--accent);
    opacity: 0.5;
}

.teams-bracket .org-node.team::after {
    content: '';
    position: absolute;
    left: -2rem;
    width: 2px;
    background: rgba(16, 185, 129, 0.5);
    /* Connect to previous and next nodes (half gap of 1.5rem each) */
    top: -0.75rem;
    bottom: -0.75rem;
}

.teams-bracket .org-node.team:first-child::after {
    top: 50%;
    /* Start from center */
}

.teams-bracket .org-node.team:last-child::after {
    bottom: 50%;
    /* End at center */
}

.teams-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.connector-bridge {
    width: 2rem;
    height: 2px;
    background: var(--accent);
    opacity: 0.5;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .org-chart {
        flex-direction: column;
        min-width: auto;
        gap: 3rem;
    }

    .org-node.adviser::after,
    .org-node.head::after,
    .org-node.team::before,
    .teams-bracket,
    .connector-bridge {
        display: none;
    }

    .org-chart::before {
        content: '';
        width: 2px;
        height: 50px;
        background: linear-gradient(to bottom, transparent, var(--accent));
        display: block;
    }

    .org-node::after {
        content: '';
        position: absolute;
        bottom: -3rem;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 3rem;
        background: var(--glass-border);
        display: block !important;
    }

    .org-node:last-child::after {
        display: none !important;
    }

    .org-col {
        gap: 3rem;
    }
}

/* QAIN Service Page Styles */
.qain-hero h1 {
    font-size: 5rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.qain-badge {
    background: rgba(255, 235, 59, 0.1);
    color: #fcd34d;
    border: 1px solid #fcd34d;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

/* Process Flow */
.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.process-step {
    padding: 1.5rem;
    text-align: center;
    width: 180px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid var(--glass-border);
}

.process-step.highlight-border {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.process-step h4 {
    color: white;
    font-size: 1rem;
    line-height: 1.4;
}

.step-label {
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.text-sm {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.process-arrow {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Feature Boxes */
.qain-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-box {
    padding: 3rem;
}

.feature-box h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Lineup Grid */
.lineup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.lineup-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.lineup-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.lineup-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.lineup-desc {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-jp);
}

/* Support Section */
.support-section {
    text-align: center;
    padding: 4rem;
}

.support-section h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.support-list {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.support-list span {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
}

/* Responsive QAIN */
@media (max-width: 900px) {
    .process-flow {
        flex-direction: column;
        gap: 2rem;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .qain-features,
    .lineup-grid {
        grid-template-columns: 1fr;
    }
}

/* Video Modal Styles */
.btn-play {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 10;
}

.btn-play:hover {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.play-icon {
    font-size: 0.9rem;
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-container {
    width: 90%;
    max-width: 1000px;
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    background: black;
}

.video-container video {
    width: 100%;
    display: block;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .close-modal {
        top: 1rem;
        right: 1rem;
        background: rgba(0, 0, 0, 0.5);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}