/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Space+Grotesk:wght@300;500;700&family=Inter:wght@300;400;500&display=swap');

:root {
    /* Global Scale: 80% of standard 16px ~ 13px */
    font-size: 13px;

    --bg-color: #ffffff;
    --text-primary: #111111;
    --text-secondary: #555555;
    --accent-blue: #2962ff;
    --accent-glow: rgba(41, 98, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.05);

    /* Font Stacks */
    --font-heading: 'Space Grotesk', 'Noto Sans SC', sans-serif;
    --font-body: 'Inter', 'Noto Sans SC', sans-serif;
}

/* Optimization for Chinese Typography */
html[lang="cn"] body {
    font-family: 'Noto Sans SC', sans-serif;
}

html[lang="cn"] h1,
html[lang="cn"] h2,
html[lang="cn"] h3 {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 700; /* Bolder headings in CN */
    letter-spacing: 0; /* CN doesn't need wide letter spacing */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    /* overflow: hidden; Removed to allow scrolling in modal if needed, or handle in class */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--accent-blue);
}

.links {
    display: flex;
    gap: 2.5rem;
    background: rgba(255,255,255,0.8);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
}

.links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch {
    background: none;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
    font-family: var(--font-body);
}

.lang-switch:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-nav {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh; /* Allow growth */
    height: auto;      /* Remove fixed height */
    width: 100%;
    display: flex;
    align-items: flex-start; /* Start from top instead of center */
    justify-content: center;
    overflow-x: hidden; /* Only hide horizontal overflow */
    text-align: center;
    padding-top: 140px; /* Space for Nav + some breathing room */
    padding-bottom: 4rem; /* Space at bottom */
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    background: rgba(41, 98, 255, 0.05);
    padding: 6px 12px;
    border-radius: 4px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(41, 98, 255, 0.7);
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(41, 98, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(41, 98, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(41, 98, 255, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, #111 30%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 3rem;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    background: var(--accent-blue);
    box-shadow: 0 15px 30px -5px var(--accent-glow);
}

.btn-primary .arrow {
    transition: transform 0.3s;
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    color: #111;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-left: 1rem;
    cursor: pointer; /* Ensure pointer for whitepaper button */
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: #111;
    transform: scale(1.05);
}

/* Carousel & Arrows */
.showcase-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1800px; /* Increased from 1600px */
    margin: 0 auto 3rem auto;
    position: relative;
    padding: 0 1rem;
    gap: 1rem;
}

.hero-showcase-carousel {
    width: 100%;
    max-width: 1600px; /* Increased from 1400px */
    overflow: hidden;
    position: relative;
    z-index: 10;
    border-radius: 24px;
    flex-shrink: 1;
}

.carousel-track {
    display: flex;
    width: 200%; /* 2 slides */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    width: 50%;
    padding: 1rem; /* Padding to prevent clipping of shadows */
    display: flex;
    justify-content: center;
    align-items: center; /* Center content vertically if heights differ */
    box-sizing: border-box;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(0, 0, 0, 0.4); /* Darker by default for visibility on white */
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
    flex-shrink: 0;
    padding: 10px;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.carousel-btn svg {
    width: 48px; /* Slightly smaller icon to balance text */
    height: 48px;
    stroke-width: 2; /* Bolder stroke */
    transition: all 0.3s ease;
}

.nav-label {
    opacity: 0.6;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.carousel-btn:hover {
    color: var(--accent-blue); /* Color on hover */
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn:hover .nav-label {
    opacity: 1;
}

.carousel-btn:hover svg {
    filter: drop-shadow(0 0 8px rgba(41, 98, 255, 0.4));
    transform: scale(1.1);
}

.carousel-btn.prev {
    left: -140px; /* More space for text */
    flex-direction: row; /* Arrow left, text right */
    text-align: left;
}

.carousel-btn.next {
    right: -140px; /* More space for text */
    flex-direction: row; /* Text left, arrow right */
    text-align: right;
}

.carousel-btn svg {
    width: 48px; /* Slightly smaller icon to balance text */
    height: 48px;
    stroke-width: 2; /* Bolder stroke */
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    color: white;
    transform: scale(1.1);
}

.carousel-btn:hover svg {
    filter: drop-shadow(0 0 10px rgba(41, 98, 255, 0.5));
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

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

.indicator.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* Hero Video Container (Adjusted for Slide) */
.hero-video-container {
    width: 100%;
    max-width: 1400px; /* Increased from 1300px */
    margin: 0; /* Remove vertical margin */
    position: relative;
    z-index: 10;
    background: #000;
    border-radius: 16px;
    padding: 8px;
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Ensure video inside fits perfectly */
.hero-video-container .video-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: none;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Simulation Section (Adjusted) */
.sim-section {
    width: 100%;
    margin: 0; /* Remove margin */
    display: flex;
    justify-content: center;
}

.sim-container {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 1600px; /* Increased from 1400px */
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Vital for equal height */
    color: white;
    font-family: 'Space Grotesk', monospace;
    gap: 3rem;
}

.sim-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.sim-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.2rem;
    padding-left: 4px;
}

.sim-header h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.sim-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}

.sim-dot.green { background-color: #00ff9d; color: #00ff9d; }
.sim-dot.blue { background-color: #2962ff; color: #2962ff; }
.sim-dot.purple { background-color: #d500f9; color: #d500f9; }

.sim-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1; /* Fills column height */
    min-height: 220px; /* Ensure substantial height */
    gap: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.sim-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

/* Row & Layout Helpers */
.sim-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.sim-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sim-value.mono {
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 0.5px;
    color: #888;
    font-size: 0.8rem;
}

.sim-status-badge {
    background: rgba(0, 255, 157, 0.1);
    color: #00ff9d;
    border: 1px solid rgba(0, 255, 157, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* 1. Visual Box (Wave) */
.sim-visual-box {
    position: relative;
    height: 80px;
    background: #050505;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
    margin: 0.5rem 0;
}

#sim-wave {
    width: 100%;
    height: 100%;
}

.sim-visual-overlay {
    position: absolute;
    bottom: 6px;
    right: 8px;
    font-size: 0.6rem;
    color: rgba(0, 255, 157, 0.8);
    font-family: monospace;
}

/* Data Grid */
.sim-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    margin-top: auto; /* Push to bottom */
    text-align: center;
    background: rgba(255,255,255,0.02);
    padding: 10px;
    border-radius: 8px;
}

.sim-sublabel {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    display: block;
    margin-bottom: 4px;
}

.sim-data-grid div div {
    font-size: 0.9rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    font-family: 'Space Grotesk', monospace;
}
.highlight { color: #00ff9d; font-weight: 700; }

/* 2. Console */
.sim-console {
    flex: 1; /* Grow to fill space */
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.8rem;
    font-family: 'Space Grotesk', monospace; /* More legible than Courier */
    font-size: 0.75rem;
    color: #a0a0a0;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 80px; /* Fixed height to prevent jitter */
    min-height: 80px;
}

.sim-log-line {
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.sim-log-success { color: #00ff9d; }
.sim-log-info { color: #2962ff; }

.sim-hash-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.03);
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden; /* Ensure content stays in box */
}

.sim-hash-row .sim-label {
    flex-shrink: 0; /* Prevent label from shrinking */
    margin-right: 10px;
}

#sim-hash {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0; /* Allow flex item to shrink */
    text-align: right;
    width: 100%;
}

/* 3. Tx List */
.sim-balance-large {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 1.5rem 0;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
    font-family: 'Space Grotesk', monospace;
}

.sim-balance-large .currency {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
}

.sim-tx-list {
    /* Fixed height to prevent jitter when items appear */
    height: 100px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 0.6rem;
}

.sim-tx-item {
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sim-tx-item:last-child { border: none; }
.sim-tx-val { color: #d500f9; }

.sim-row.highlight .sim-value {
    color: #00ff9d;
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.3);
    font-weight: 700;
}

/* Arrow */
.sim-arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.1);
    padding: 0 0.5rem;
    align-self: center;
    margin-top: 2rem; /* Align better visually with cards */
    animation: pulse-arrow 2s infinite;
}

@keyframes pulse-arrow {
    0%, 100% { opacity: 0.1; transform: translateX(0); }
    50% { opacity: 0.5; transform: translateX(3px); }
}

/* Responsive Sim */
@media (max-width: 768px) {
    .sim-container {
        flex-direction: column;
        padding: 1.5rem;
        gap: 2rem;
        max-width: 90%;
    }
    .sim-col {
        width: 100%;
    }
    .sim-card {
        min-height: 200px;
    }
    .sim-arrow {
        transform: rotate(90deg);
        margin: -1rem 0;
        padding: 0.5rem 0;
    }

    @keyframes pulse-arrow {
        0%, 100% { opacity: 0.1; transform: translateY(0) rotate(90deg); }
        50% { opacity: 0.5; transform: translateY(3px) rotate(90deg); }
    }
}

/* Features Row */
.features-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
    margin-top: 1rem; /* Adjust margin if needed */
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: default;
    min-width: 260px;
    text-align: left;
    height: 100%; /* Equal height */
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 45px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.9);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-icon {
    background: rgba(41, 98, 255, 0.05);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.card-icon svg {
    color: var(--accent-blue);
    width: 32px;
    height: 32px;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    width: 100%;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    font-size: 0.8rem;
    color: #444;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-list li::before {
    content: '•';
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.2em;
    line-height: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal.visible {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 3rem;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 900px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Whitepaper Content Styles */
.whitepaper-container {
    font-family: var(--font-body);
    line-height: 1.7;
    color: #333;
}

.wp-header {
    text-align: center;
    margin-bottom: 2rem;
}

.wp-header h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #111;
}

.wp-header h2 {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.wp-meta {
    font-size: 0.9rem;
    color: #777;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.wp-divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 2rem 0;
}

.wp-section {
    margin-bottom: 2.5rem;
}

.wp-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #111;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-blue);
    padding-left: 12px;
}

.wp-section h4 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: #222;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.wp-section p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.wp-section ul, .wp-section ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.wp-section li {
    margin-bottom: 0.5rem;
}

.wp-section strong {
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    /* Restore readable font size for mobile */
    :root {
        font-size: 14px;
    }

    nav {
        padding: 1rem 1.5rem;
    }

    .hero {
        padding-top: 100px;
    }

    .features-row {
        flex-direction: column;
        align-items: center;
    }
    .glass-card {
        width: 100%;
        max-width: 320px;
    }
    .links {
        display: none;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 90%;
    }

    /* Video Responsive */
    .hero-video-container {
        margin: 0;
        padding: 4px; /* Thinner bezel on mobile */
        width: 100%;
    }

    .carousel-slide {
        padding: 0.5rem;
    }

    /* Mobile Controls Adjustment */
    .showcase-wrapper {
        padding: 0;
        gap: 0;
    }

    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: rgba(0,0,0,0.3);
        border-radius: 50%;
        backdrop-filter: blur(4px);
    }

    .carousel-btn.prev { left: 10px; }
    .carousel-btn.next { right: 10px; }

    .carousel-btn svg {
        width: 24px;
        height: 24px;
        filter: none;
    }

    .carousel-btn:hover {
        background: rgba(0,0,0,0.5);
        transform: translateY(-50%);
    }
}
