/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7C3AED;
    --primary-dark: #4F46E5;
    --accent-pink: #EC4899;
    --accent-orange: #F97316;
    --bg-light: #F0F4FF;
    --bg-white: #FFFFFF;
    --bg-dark: #0B0F1A;
    --text-dark: #1E293B;
    --text-body: #475569;
    --text-light: #94A3B8;
    --border-light: #E2E8F0;
    --gradient-main: linear-gradient(135deg, #7C3AED, #EC4899);
    --gradient-blue: linear-gradient(135deg, #4F46E5, #7C3AED);
    --gradient-purple: linear-gradient(135deg, #7C3AED, #A855F7);
    --gradient-pink: linear-gradient(135deg, #A855F7, #EC4899);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(226,232,240,0.5);
}

/* Nav links white on hero, dark when scrolled */
.navbar .nav-link {
    color: rgba(255,255,255,0.85);
}
.navbar .nav-link:hover {
    color: white;
}
.navbar.scrolled .nav-link {
    color: var(--text-body);
}
.navbar.scrolled .nav-link:hover {
    color: var(--primary);
}

/* Custom Dropdown for Navbar */
.navbar .custom-dropdown .dropdown-trigger {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}
.navbar.scrolled .custom-dropdown .dropdown-trigger {
    background: #F1F5F9;
    border-color: var(--border-light);
    color: var(--text-dark);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.logo-img {
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-white {
    display: block;
    height: 38px; /* Slightly taller because it has more whitespace padding */
}

.logo-dark {
    display: none;
    height: 25px; /* Shorter because it's tightly cropped */
}

.scrolled .logo-white {
    display: none;
}

.scrolled .logo-dark {
    display: block;
}

.logo:hover .logo-img {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: var(--transition);
    border-radius: 1px;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Custom Dropdown General */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

.custom-dropdown .dropdown-trigger {
    background: #F1F5F9;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    justify-content: space-between;
}

.custom-dropdown .dropdown-trigger:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.custom-dropdown .dropdown-trigger .arrow {
    width: 14px;
    height: 14px;
    transition: transform var(--transition);
    stroke: currentColor;
}

.custom-dropdown.open .dropdown-trigger .arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu List */
.custom-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 6px;
    list-style: none;
    min-width: 140px;
    z-index: 1002;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.custom-dropdown.open .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.custom-dropdown .dropdown-item {
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    display: block;
}

.custom-dropdown .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.custom-dropdown .dropdown-item.active {
    background: var(--primary);
    color: white;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001; /* Ensure hamburger stays above menu overlay */
    position: relative;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: white; /* Default to white for hero section */
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--text-dark); /* Dark when scrolled */
}

/* Hamburger Morphing into X */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--text-dark); /* Force dark in menu state */
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--text-dark); /* Force dark in menu state */
}

/* Mobile Menu Backdrop Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 26, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 90px 24px 40px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto; /* Enable scroll if content is too long */
}

.mobile-menu.active {
    right: 0;
}

.mobile-link {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--primary);
    padding-left: 8px;
}

/* Mobile Lang Selector */
.mobile-lang-selector {
    margin-top: 32px; /* Flow naturally below the menu links */
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-lang-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

/* Mobile specific custom dropdown */
.mobile-lang-selector .custom-dropdown {
    width: 100%;
    display: block;
}

.mobile-lang-selector .custom-dropdown .dropdown-trigger {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.mobile-lang-selector .custom-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 1px solid var(--border-light);
    margin-top: 8px;
    transform: translateY(0);
    background: #F8FAFC;
    /* To handle accordion effect instead of absolute pop-up */
    display: none; 
    opacity: 1;
    visibility: visible;
}

.mobile-lang-selector .custom-dropdown.open .dropdown-menu {
    display: flex;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(79,70,229,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(236,72,153,0.1) 0%, transparent 60%);
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(124,58,237,0.5);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-main);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 12px;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    background: linear-gradient(135deg, #A855F7, #7C3AED, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-desc {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.45s both;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124,58,237,0.45);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.subsection-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-pink);
    margin: 60px 0 24px;
}

/* ===== ABOUT ===== */
.about-section {
    background: var(--bg-light);
    padding: 100px 0 80px;
}

.about-desc {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.9;
}

.about-desc p + p {
    margin-top: 16px;
}

/* Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.metric-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.metric-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.metric-number span {
    color: var(--accent-pink);
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Info Card */
.info-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
}

.info-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--border-light);
}

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

.info-table td {
    padding: 16px 0;
    vertical-align: top;
}

.info-label {
    font-weight: 700;
    color: var(--primary);
    width: 140px;
    white-space: nowrap;
    font-size: 0.95rem;
}

.info-value {
    color: var(--text-body);
    font-size: 0.95rem;
}

/* Board */
.board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.board-member {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    transition: var(--transition);
}

.board-member:hover {
    background: #E8EAFF;
}

.board-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.board-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Shareholders */
.shareholder-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.shareholder-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.shareholder-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.shareholder-left {
    min-width: 240px;
}

.shareholder-pct {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-pink);
    margin-bottom: 4px;
}

.shareholder-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.shareholder-sub {
    font-size: 0.85rem;
    color: var(--text-light);
}

.shareholder-right p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== WHY SECTION ===== */
.why-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, #E8EAFF 100%);
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

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

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

.why-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.why-icon svg {
    width: 28px;
    height: 28px;
}

.why-icon-gradient {
    background: var(--gradient-main);
    color: white;
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* ===== SERVICES ===== */
.services-section {
    background: var(--bg-white);
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

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

.service-icon-bar {
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-bar svg {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    padding: 24px 28px 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

.service-card > p {
    padding: 0 28px;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
}

.service-list {
    list-style: none;
    padding: 20px 28px 28px;
}

.service-list li {
    font-size: 0.88rem;
    color: var(--text-body);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ===== DX SOLUTIONS ===== */
.dx-section {
    background: linear-gradient(180deg, #F0F4FF 0%, #E8EAFF 50%, #F0F4FF 100%);
    padding: 100px 0;
}

.dx-card {
    display: flex;
    gap: 0;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 48px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.dx-card:hover {
    box-shadow: var(--shadow-lg);
}

.dx-card.reverse {
    flex-direction: row-reverse;
}

.dx-card-image {
    flex: 1;
    min-height: 360px;
    background: linear-gradient(135deg, #F0F4FF, #E8EAFF);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.dx-product-img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: 8px;
    transition: var(--transition);
}

.dx-product-img:hover {
    transform: scale(1.03);
}

.dx-card-content {
    flex: 1;
    padding: 48px 40px;
}

.dx-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 6px;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}

.dx-badge.green {
    background: #DCFCE7;
    color: #16A34A;
}

.dx-badge.blue {
    background: #DBEAFE;
    color: #2563EB;
}

.dx-card-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.dx-card-content > p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 20px;
}

.dx-features {
    list-style: none;
}

.dx-features li {
    font-size: 0.9rem;
    color: var(--text-body);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dx-features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #DCFCE7;
    color: #16A34A;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.dx-highlight {
    background: var(--gradient-main);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    margin: 20px 0;
}

.dx-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid var(--primary);
    padding: 8px 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.dx-link:hover {
    background: var(--primary);
    color: white;
}

/* DX Mockup */
.dx-mockup {
    width: 100%;
    max-width: 380px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.dx-mockup-header {
    background: #F1F5F9;
    padding: 10px 16px;
}

.dx-mockup-dots {
    display: flex;
    gap: 6px;
}

.dx-mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CBD5E1;
}

.dx-mockup-dots span:first-child { background: #EF4444; }
.dx-mockup-dots span:nth-child(2) { background: #F59E0B; }
.dx-mockup-dots span:nth-child(3) { background: #22C55E; }

.dx-mockup-body {
    padding: 24px;
}

.dx-chart-placeholder {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
    margin-bottom: 20px;
}

.dx-chart-bar {
    flex: 1;
    background: var(--gradient-main);
    border-radius: 6px 6px 0 0;
    animation: barGrow 1.5s ease-out;
}

@keyframes barGrow {
    from { height: 0 !important; }
}

.dx-stat-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dx-stat-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0% 65%, #E2E8F0 65% 100%);
    position: relative;
}

.dx-stat-circle::after {
    content: '';
    position: absolute;
    inset: 8px;
    background: white;
    border-radius: 50%;
}

.dx-stat-lines {
    flex: 1;
}

.dx-stat-line {
    height: 8px;
    background: #E2E8F0;
    border-radius: 4px;
    margin-bottom: 8px;
}

.dx-stat-line.short {
    width: 60%;
}

/* DX Illustration */
.dx-illustration {
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dx-brain {
    position: relative;
}

.dx-brain-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #BFDBFE, #DDD6FE);
    border: 3px solid #93C5FD;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.dx-brain-sparkle {
    position: absolute;
    color: var(--primary);
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
}

.dx-brain-sparkle.s1 { top: -10px; right: -10px; animation-delay: 0s; }
.dx-brain-sparkle.s2 { top: 20px; left: -20px; animation-delay: 0.5s; }
.dx-brain-sparkle.s3 { bottom: 0; right: -20px; animation-delay: 1s; }

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.dx-ai-badge {
    position: absolute;
    bottom: -10px;
    right: -30px;
    background: var(--gradient-main);
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(124,58,237,0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== CONTACT / FOOTER ===== */
.contact-section {
    background: var(--bg-white);
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-light);
}

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

.footer-shareholders h4 {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 24px;
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-body);
    font-weight: 500;
}

.partner-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    padding: 40px 0;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-upstride-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-upstride-logo:hover {
    opacity: 1;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    padding-left: 20px;
    border-left: 1px solid var(--border-light);
}

.footer-email {
    color: var(--text-body);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-email::before {
    content: "✉";
    font-size: 1.1rem;
    color: var(--primary);
}

.footer-email:hover {
    color: var(--primary);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(124,58,237,0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

.scroll-top svg {
    width: 22px;
    height: 22px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .metrics-grid,
    .why-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dx-card,
    .dx-card.reverse {
        flex-direction: column;
    }
    
    .dx-card-image {
        min-height: 240px;
    }
    
    .shareholder-card {
        flex-direction: column;
        gap: 16px;
    }
    
    .shareholder-left {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content {
        padding: 100px 16px 60px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .metrics-grid,
    .why-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .board-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 24px;
    }
    
    .info-label {
        width: 100px;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .dx-card-content {
        padding: 32px 24px;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .footer-logos {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .shareholder-card {
        padding: 24px;
    }
}
