/* === GLOBAL DESIGN SYSTEM & THEME VARIABLES === */
:root {
    --primary: #00f5ff;
    --primary-glow: rgba(0, 245, 255, 0.4);
    --secondary: #6366f1;
    --secondary-glow: rgba(99, 102, 241, 0.4);
    --accent: #10b981;
    --bg-dark: #02040a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(8, 12, 24, 0.75);
    --border: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 255, 255, 0.15);
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --text-main: #f8fafc;
    --text-muted: #64748b;
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.5);
    --bg-hero-gradient: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent), 
                        radial-gradient(circle at bottom left, rgba(0, 245, 255, 0.1), transparent);
}

* {
    transition: background-color 0.3s ease, border-color 0.3s ease;
    scroll-behavior: smooth;
}

/* Light Mode Overrides */
body.light-mode {
    --bg-dark: #f8fafc;
    --bg-card: rgba(0, 0, 0, 0.02);
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border: rgba(0, 0, 0, 0.08);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-hero-gradient: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent), 
                        radial-gradient(circle at bottom left, rgba(0, 245, 255, 0.05), transparent);
}

/* === CUSTOM TOOLTIP SYSTEM === */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: rgba(10, 10, 30, 0.95);
    color: #e0e0ff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: all 0.25s ease;
    z-index: 9999;
    border: 1px solid rgba(0, 242, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 242, 255, 0.1);
    max-width: 260px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(10, 10, 30, 0.95);
    pointer-events: none;
    opacity: 0;
    transition: all 0.25s ease;
    z-index: 9999;
}

[data-tooltip]:hover::after,
[data-tooltip]:hover::before,
[data-tooltip]:focus-visible::after,
[data-tooltip]:focus-visible::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.smart-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10050;
    max-width: min(280px, calc(100vw - 24px));
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 242, 255, 0.3);
    background: rgba(10, 10, 30, 0.96);
    color: #e0e0ff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px) scale(0.96);
    transition: opacity 0.18s ease, transform 0.18s ease;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 14px rgba(0, 242, 255, 0.12);
}

.smart-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
}

.smart-tooltip[data-show="true"] {
    opacity: 1;
}

.smart-tooltip[data-position="top"] {
    transform: translateY(0) scale(1);
}

.smart-tooltip[data-position="top"]::after {
    top: 100%;
    border-top-color: rgba(10, 10, 30, 0.96);
}

.smart-tooltip[data-position="bottom"] {
    transform: translateY(0) scale(1);
}

.smart-tooltip[data-position="bottom"]::after {
    bottom: 100%;
    border-bottom-color: rgba(10, 10, 30, 0.96);
}

body.smart-tooltips-ready [data-tooltip]::after,
body.smart-tooltips-ready [data-tooltip]::before {
    display: none !important;
}

@media (hover: none),
(pointer: coarse) {

    [data-tooltip]::after,
    [data-tooltip]::before {
        display: none !important;
    }
}

/* === MIC & CAMERA TOGGLE ACTIVE STATES === */
#toggle-mic.active {
    background: rgba(255, 0, 122, 0.25) !important;
    border-color: #ff007a !important;
    color: #ff007a !important;
    box-shadow: 0 0 15px rgba(255, 0, 122, 0.3);
}

#toggle-video.active {
    background: rgba(255, 0, 122, 0.25) !important;
    border-color: #ff007a !important;
    color: #ff007a !important;
    box-shadow: 0 0 15px rgba(255, 0, 122, 0.3);
}

/* === SENTIMENT BADGE CONTRAST FIX === */
#sentiment-badge {
    color: #aaa !important;
    border-color: #555 !important;
}

/* App Overlay */
.app-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 2000;
    display: none;
    /* Triggered by JS */
    opacity: 0;
    transition: 0.5s;
}

.app-overlay.active {
    display: block;
    opacity: 1;
}

.close-app {
    position: absolute;
    top: 20px;
    right: 40px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 2100;
    transition: 0.3s;
}

.close-app:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.megaverse-app-standalone {
    height: 100vh;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.megaverse-app-standalone .app-container {
    width: 100%;
    max-width: 1600px;
    height: 90vh;
    /* Premium large view */
    box-shadow: 0 0 100px rgba(0, 242, 255, 0.1);
}

.secondary-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 14px 34px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.5s;
    text-transform: uppercase;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.secondary-outline:hover {
    background: var(--secondary);
    color: white;
    box-shadow: var(--neon-purple);
}

/* Hide original section if needed */
.megaverse-app {
    display: none;
}

:root {
    --bg-dark: #050510;
    --bg-card: rgba(16, 18, 42, 0.6);
    --primary: #00f2ff;
    --secondary: #7000ff;
    --accent: #ff007a;
    --text-white: #ffffff;
    --text-gray: #a0a0b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-bright: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-blue: 0 0 15px rgba(0, 242, 255, 0.5);
    --neon-purple: 0 0 20px rgba(112, 0, 255, 0.4);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation - Ultra Sleek */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-white);
    text-shadow: var(--neon-blue);
}

.logo span {
    color: var(--primary);
}

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

.nav-ai-link {
    color: var(--secondary) !important;
    font-weight: 800 !important;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: var(--neon-blue);
}

.nav-ai-link {
    color: var(--secondary) !important;
    font-weight: 800 !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0 40px;
    background: var(--bg-hero-gradient), url('resim/live-video-konferans.png') no-repeat center center/cover !important;
    background-attachment: fixed;
}

.hero .container {
    width: 100%;
}

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

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: white;
}

.hero h1 span {
    background: linear-gradient(90deg, #00f2ff, #7000ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: glow-text 3s ease infinite alternate;
}

@keyframes glow-text {
    0% {
        filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.4));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(112, 0, 255, 0.6));
    }
}

.hero p {
    font-size: clamp(16px, 1.2vw, 19px);
    color: var(--text-gray);
    margin-bottom: 0;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 25px;
}

/* Premium Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.5s;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

nav .btn-primary {
    padding: 10px 24px !important;
    font-size: 13px !important;
}


.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 242, 255, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 14px 34px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.5s;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: var(--neon-blue);
    transform: translateY(-3px);
}

/* === PORTAL ENTRY BUTTONS === */
.portal-entry-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.portal-entry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
}

.portal-entry-btn.signup {
    background: linear-gradient(135deg, #00f2ff, #2979ff);
    color: #05070a;
    box-shadow: 0 10px 25px rgba(0, 242, 255, 0.3);
}

.portal-entry-btn.student {
    background: linear-gradient(135deg, #7000ff, #ff007a);
    color: #fff;
    box-shadow: 0 10px 25px rgba(112, 0, 255, 0.3);
}

.portal-entry-btn.signin {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(10px);
}

.portal-entry-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 242, 255, 0.4);
    filter: brightness(1.1);
}

.portal-entry-btn.signup:hover {
    box-shadow: 0 20px 45px rgba(0, 242, 255, 0.5);
}

.portal-entry-btn.student:hover {
    box-shadow: 0 20px 45px rgba(255, 0, 122, 0.5);
}

.portal-entry-btn.signin:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Lang Switcher */
.lang-switcher {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-switcher button {
    background: transparent;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-switcher button:hover,
.lang-switcher button.active {
    background: var(--primary);
    color: #000;
}

body.light-mode .lang-switcher {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .lang-switcher button {
    color: #000;
}

body.light-mode .lang-switcher button:hover,
body.light-mode .lang-switcher button.active {
    background: var(--primary);
    color: #000;
}

/* === THEME TOGGLE STYLING === */
.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1) rotate(15deg);
}

body.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #000;
}

/* === ANIMATIONS === */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Visualization */
/* CTA Grid & Cards */
.cta-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: stretch;
}

.cta-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    text-align: center;
    min-height: 180px;
    flex: 1;
    backdrop-filter: blur(10px);
}

.cta-main {
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.2), rgba(41, 121, 255, 0.2));
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
}

.cta-compact {
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.2), rgba(157, 80, 187, 0.2));
    border: 1px solid rgba(112, 0, 255, 0.3);
    color: #fff;
    box-shadow: 0 10px 30px rgba(112, 0, 255, 0.2);
}

.cta-interpreter {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.cta-large {
    background: linear-gradient(135deg, rgba(255, 158, 44, 0.22), rgba(255, 84, 0, 0.18));
    border: 1px solid rgba(255, 158, 44, 0.32);
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 128, 0, 0.24);
}

.cta-icon {
    width: 84px;
    height: 84px;
    margin-bottom: 20px;
    border-radius: 22px;
    background-color: rgba(255, 255, 255, 0.07);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 25px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cta-card:hover .cta-icon {
    transform: scale(1.1);
    opacity: 0.95;
}

.cta-main .cta-icon {
    background-image: url('resim/live-video-konferans.png');
}

.cta-compact .cta-icon {
    background-image: url('resim/live-video-compact.png');
}

.cta-interpreter .cta-icon {
    background-image: url('resim/live-interpreter.png');
}

.cta-large .cta-icon {
    background-image: url('resim/live-large-meeting.png');
}

.cta-label {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.cta-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.cta-main:hover {
    box-shadow: 0 20px 50px rgba(0, 242, 255, 0.4);
    background: rgba(0, 242, 255, 0.25);
}

.cta-compact:hover {
    box-shadow: 0 20px 50px rgba(112, 0, 255, 0.4);
    background: rgba(112, 0, 255, 0.25);
}

.cta-interpreter:hover {
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.2);
}

.cta-large:hover {
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.35);
    background: rgba(255, 140, 0, 0.22);
}

.badge-new {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff007a;
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 0, 122, 0.5);
}

.badge-live {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff9c2c;
    color: #130701;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 156, 44, 0.45);
}

.cta-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.cta-card:hover .cta-glow {
    left: 150%;
}

.hero-visual {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: 1s cubic-bezier(0.19, 1, 0.22, 1);
    max-height: 520px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scenario-card {
    padding: 15px;
}

.scenario-card h4 {
    margin-top: 15px;
    color: var(--primary);
}

.scenario-card p {
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .portal-entry-links {
        flex-direction: column;
    }

    .portal-entry-btn {
        width: 100%;
    }

    .cta-grid {
        flex-direction: column;
    }

    .cta-card {
        width: 100%;
    }
}

.hero-visual:hover {
    border-color: var(--primary);
    transform: perspective(1000px) rotateY(-5deg);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: 0.5s;
}

.hero-visual:hover .hero-img {
    opacity: 1;
    transform: scale(1.05);
}

/* Dashboard / App Section */
.megaverse-app {
    padding: 40px 0;
    background: #020208;
}

.app-container {
    height: 100vh;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr minmax(220px, 300px);
    gap: 1px;
    overflow: hidden;
    backdrop-filter: blur(30px);
}

.sidebar {
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: hidden;
    /* Prevent the entire sidebar from scrolling */
    overflow-x: hidden;
    min-width: 0;
}

.panel-header {
    padding: clamp(10px, 2vw, 25px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.panel-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(10px, 1.2vw, 14px);
    letter-spacing: 2px;
    color: var(--primary);
    white-space: nowrap;
}

.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

/* Coach Tips - Cyberpunk Style */
.coach-tip {
    background: linear-gradient(90deg, rgba(0, 255, 122, 0.1), transparent);
    border-left: 4px solid #00ff7a;
    padding: 20px;
    border-radius: 0 15px 15px 0;
    position: relative;
    animation: slideInLeft 0.5s forwards;
    margin-right: 30px;
    align-self: flex-start;
}

.coach-msg-user {
    background: rgba(0, 255, 122, 0.1);
    border-right: 4px solid #00ff7a;
    padding: 12px 16px;
    border-radius: 12px;
    align-self: flex-end;
    margin-left: 30px;
    margin-bottom: 15px;
    color: #00ff7a;
    animation: slideInRight 0.5s forwards;
    position: relative;
}

.coach-tip::before {
    content: 'STRATEGY';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 10px;
    background: var(--secondary);
    padding: 2px 8px;
    border-radius: 4px;
    color: white;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Main Stage - Video System */
.main-stage {
    padding: clamp(10px, 2vw, 25px);
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.5vw, 25px);
    background: radial-gradient(circle at center, rgba(0, 242, 255, 0.05), transparent);
    overflow-y: auto;
    min-width: 0;
    min-height: 0;
}

.video-grid {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.video-wrapper {
    background: var(--bg-glass);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    max-height: min(44vh, 520px);
    border: 1px solid var(--primary-glow);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(0, 242, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(40px);
}

.video-wrapper:hover {
    border-color: var(--primary);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 40px var(--primary-glow);
    transform: translateY(-8px) scale(1.02);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    /* Optional: makes it feel more integrated with UI */
}

#my-video-label,
#remote-video-label,
[id^="label-"] {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(10, 10, 20, 0.8);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 13px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 122, 0.3);
    color: #00ff7a !important;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(0, 255, 122, 0.6);
    z-index: 1000;
    pointer-events: none;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* For flag and name */
}

.mtac-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    padding: 18px 26px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    font-style: italic;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Controls */
.app-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(8px, 1.5vw, 25px) clamp(10px, 2vw, 40px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    margin-top: auto;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 8px;
}

.app-controls>div {
    display: flex;
    gap: clamp(4px, 0.5vw, 10px);
    align-items: center;
    flex-wrap: wrap;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
}

.icon-vu-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 28px;
    height: 36px;
    margin-right: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2px;
}

.icon-vu-container .icon {
    font-size: 16px;
    z-index: 2;
    transition: transform 0.2s;
    opacity: 0.9;
}

.icon-vu-container .vu-meter {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 1.5px;
    align-items: flex-end;
    padding: 4px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

.icon-vu-container .vu-meter span {
    flex: 1;
    height: 35%;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 1px;
    transition: height 0.05s ease, background 0.1s;
}

.icon-vu-container.active .icon {
    transform: scale(1.1);
    opacity: 1;
}

.control-btn {
    width: clamp(36px, 4vw, 60px);
    height: clamp(36px, 4vw, 60px);
    border-radius: 12px;
    background: var(--glass-bright);
    border: 1px solid var(--glass-border);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 1.8vw, 24px);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    padding: 4px;
}

.control-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: scale(1.1) translateY(-3px);
    box-shadow: var(--neon-blue);
}

.control-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255, 0, 122, 0.4);
}

/* Chat UI */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 14px;
    max-width: 85%;
}

.chat-bubble.me {
    background: var(--secondary);
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.chat-bubble.them {
    background: var(--glass-bright);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.chat-footer {
    padding: 15px 25px 25px 25px;
    /* Restored normal padding */
    display: flex;
    gap: 12px;
    background: var(--bg-card);
    flex-shrink: 0;
    /* Prevent flexbox from squishing the footer */
    border-top: 1px solid var(--glass-border);
}

.chat-input {
    flex: 1;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 18px 20px;
    color: white;
    font-size: 18px;
    line-height: 1.65;
    outline: none;
    transition: 0.3s;
}

:root {
    --mtac-transcript-font-size: 20px;
}

#transcript-bar {
    margin-top: 4px;
    align-items: stretch !important;
}

#transcript-bar .chat-input {
    min-height: 220px;
    color: #eefcff;
}

#transcript {
    min-height: 220px;
    font-size: var(--mtac-transcript-font-size);
    line-height: 1.75;
    font-weight: 600;
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
    white-space: pre-wrap;
}

.transcript-font-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

/* Prevent the fixed Home button from overlapping the coach header. */
#app-view #sidebar-left {
    padding-top: 54px;
}

@media (max-width: 640px) {

    #transcript-bar .chat-input,
    #transcript {
        min-height: 180px;
    }

    #app-view #sidebar-left {
        padding-top: 58px;
    }
}

.meeting-timer-corner {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 1200;
    padding: 8px 14px;
    border-radius: 14px;
    border: 1px solid rgba(0, 255, 122, 0.45);
    background: rgba(0, 20, 10, 0.86);
    color: #00ff7a;
    box-shadow: 0 0 20px rgba(0, 255, 122, 0.2);
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ai-state-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 25;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 255, 122, 0.16);
    border: 1px solid rgba(0, 255, 122, 0.45);
    color: #00ff7a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0 18px rgba(0, 255, 122, 0.16);
}

.video-wrapper.screen-share-active video,
.video-wrapper.video-screen-fit video {
    object-fit: contain !important;
    object-position: center center !important;
    background: #05070d;
}

.screen-share-active {
    object-fit: contain !important;
    background: #000;
}

.meeting-extension-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(2, 8, 20, 0.7);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.meeting-extension-panel {
    width: min(520px, 92vw);
    background: rgba(8, 14, 28, 0.94);
    border: 1px solid rgba(0, 242, 255, 0.18);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    padding: 28px;
    text-align: center;
}

.meeting-extension-panel h3 {
    font-size: 28px;
    margin: 0 0 12px;
    color: #f6fbff;
}

.meeting-extension-panel p {
    margin: 0 0 20px;
    color: #b8d1e9;
    font-size: 16px;
    line-height: 1.6;
}

.meeting-extension-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.chat-input:focus {
    border-color: var(--primary);
    background: var(--glass-bright);
}

/* Glow Effects */
.glow-primary {
    filter: drop-shadow(0 0 10px var(--primary));
}

@media (max-width: 1400px) {
    .app-container {
        grid-template-columns: 320px 1fr 320px;
    }
}

@media (max-width: 1100px) {
    .app-container {
        grid-template-columns: 300px 1fr;
    }

    .sidebar:last-of-type {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100% !important;
    }


    /* index.html fixes */
    nav {
        height: auto;
        padding: 15px 0;
    }

    nav .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li:not(.lang-switcher) {
        display: none;
        /* Simplify mobile nav */
    }

    .hero {
        padding: 60px 0;
        text-align: center;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    /* feature-grid */
    .feature-grid {
        grid-template-columns: 1fr !important;
    }

    /* app.html fixes */
    .app-container {
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
        overflow: hidden !important;
    }

    .sidebar {
        display: none !important;
        /* Hide both sidebars on mobile, used via toggle or later */
        height: 40vh !important;
    }

    .sidebar.active-mobile {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh !important;
        z-index: 3000;
        background: var(--bg-dark);
    }

    .main-stage {
        flex: 1;
        padding: 10px;
        overflow-y: auto;
    }

    .video-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .video-wrapper {
        aspect-ratio: 4/3;
        max-height: min(34vh, 320px);
    }

    .app-controls {
        padding: 10px;
        background: rgba(10, 10, 20, 0.95);
        border-top: 1px solid var(--glass-border);
        justify-content: space-around;
        gap: 5px;
    }

    .control-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .status-indicator {
        width: 100%;
        justify-content: center;
        margin-bottom: 5px;
    }

    .video-grid {
        grid-template-columns: none !important;
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding-bottom: 8px !important;
        height: min-content !important;
    }

    .video-grid .video-card {
        flex: 0 0 85% !important;
        scroll-snap-align: center !important;
        height: min(34vh, 320px) !important;
    }

    .mtac-overlay {
        font-size: 16px;
        line-height: 1.6;
        min-height: 84px;
        padding: 16px 18px;
    }

    .chat-input {
        font-size: 16px;
        line-height: 1.6;
        padding: 16px 18px;
    }

    #transcript-bar .chat-input {
        min-height: 88px;
    }

    /* login overlay */
    .login-container {
        width: 90% !important;
        margin: 50px auto !important;
        padding: 20px !important;
    }

    .megaverse-app-standalone {
        padding: 0 !important;
        height: 100vh !important;
    }

    .megaverse-app-standalone .app-container {
        height: 100vh !important;
        border-radius: 0 !important;
    }

    .mobile-only-btn {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .slide-content {
        padding: 20px !important;
    }

    .slide-title {
        font-size: 28px !important;
    }

    .slide-text {
        font-size: 16px !important;
    }
}

/* === AI COACH: force neon green text (put at file end to win cascade) === */
body #coach-messages,
body #coach-messages p,
body #coach-messages span,
body #coach-messages div {
    color: #00ff7a !important;
    text-shadow: 0 0 10px rgba(0, 255, 122, 0.55), 0 0 22px rgba(0, 255, 122, 0.35) !important;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* === FUTURISTIC UI HELPERS === */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glow-primary {
    color: var(--primary) !important;
    text-shadow: 0 0 10px var(--primary-glow);
}

.glow-secondary {
    color: var(--secondary) !important;
    text-shadow: 0 0 10px var(--secondary-glow);
}

.glow-accent {
    color: var(--accent) !important;
    text-shadow: 0 0 10px rgba(0, 255, 122, 0.5);
}

/* Responsive Containers & Grids */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }

    .solution-section .container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .solution-section:nth-child(even) .solution-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr !important;
    }

    .hero h1 {
        font-size: 40px !important;
    }

    .nav-links {
        display: none;
        /* Mobile menu needed */
    }

    .video-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Theme Transition Smoothness */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Fix for investor slides overlap */
.slide-content {
    max-height: 90vh;
    overflow-y: auto;
    width: 90% !important;
    margin: 0 auto;
}

/* === PROFESSIONAL ICON BUTTONS === */
.pro-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e0e0ff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.mobile-only-btn {
    display: none;
}

.pro-icon-btn:hover {
    background: rgba(0, 242, 255, 0.18);
    border-color: rgba(0, 242, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.25);
}

.pro-icon-btn.active,
#toggle-mic.active.pro-icon-btn,
#toggle-video.active.pro-icon-btn {
    background: rgba(255, 0, 122, 0.25) !important;
    border-color: #ff007a !important;
    box-shadow: 0 0 12px rgba(255, 0, 122, 0.4);
}

.pro-icon-btn.pro-blue {
    border-color: rgba(0, 242, 255, 0.4);
    color: #00f2ff;
}

.pro-icon-btn.pro-red {
    color: #ff4444;
}

.pro-icon-btn.pro-gold {
    border-color: rgba(255, 204, 0, 0.4);
    color: #ffcc00;
}

/* === PROFESSIONAL TEXT BUTTONS === */
.pro-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e0e0ff;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.pro-btn:hover {
    background: rgba(0, 242, 255, 0.15);
    border-color: rgba(0, 242, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 242, 255, 0.2);
}

.pro-btn.pro-btn-green {
    background: linear-gradient(135deg, rgba(0, 255, 122, 0.2), rgba(0, 200, 90, 0.15));
    border-color: rgba(0, 255, 122, 0.5);
    color: #00ff7a;
}

.pro-btn.pro-btn-green:hover {
    background: rgba(0, 255, 122, 0.3);
    box-shadow: 0 4px 15px rgba(0, 255, 122, 0.3);
}

.pro-btn.pro-btn-red {
    background: rgba(255, 60, 60, 0.15);
    border-color: rgba(255, 60, 60, 0.5);
    color: #ff5555;
}

.pro-btn.pro-btn-red:hover {
    background: rgba(255, 60, 60, 0.3);
    box-shadow: 0 4px 15px rgba(255, 60, 60, 0.3);
}

.pro-btn.pro-btn-purple {
    background: rgba(112, 0, 255, 0.2);
    border-color: rgba(112, 0, 255, 0.5);
    color: #aa88ff;
}

.pro-btn.pro-btn-purple:hover {
    background: rgba(112, 0, 255, 0.35);
    box-shadow: 0 4px 15px rgba(112, 0, 255, 0.3);
}

.btn-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    margin: 0 2px;
}

/* === DARK DEVICE SELECT DROPDOWNS === */
.device-select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(0, 255, 122, 0.4);
    border-radius: 10px;
    color: #eafff4 !important;
    padding: 6px 28px 6px 10px;
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    outline: none;
    height: 36px;
    min-width: 100px;
    max-width: 180px;
    transition: border-color 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2300ff7a'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
}

.device-select:focus {
    border-color: #00ff7a;
    box-shadow: 0 0 0 2px rgba(0, 255, 122, 0.2);
}

.device-select option {
    background: #0a0a1a !important;
    color: #eafff4 !important;
    padding: 8px;
}

/* Override for language select (blue accent) */
#target-language.device-select {
    border-color: rgba(0, 242, 255, 0.4);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2300f2ff'/%3E%3C/svg%3E") !important;
}

#target-language.device-select:focus {
    border-color: #00f2ff;
    box-shadow: 0 0 0 2px rgba(0, 242, 255, 0.2);
}

@keyframes toast-in {
    from {
        transform: translate(-50%, 20px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes toast-out {
    from {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    to {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* Chat & Message Layout Improvements */
.messages-container {
    overflow-x: hidden !important;
    word-wrap: break-word;
}

.chat-bubble {
    max-width: 90%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.chat-bubble.me {
    align-self: flex-end;
}

.chat-bubble.them {
    align-self: flex-start;
}

/* === PREMIUM LANDING PAGE (GLAMOUR REDESIGN) === */
.hero {
    background: linear-gradient(rgba(0, 0, (40 / 2), 0.7), rgba(0, 0, (60 / 2), 0.9)),
        url("/resim/meeting_vision_1772201740055.png") no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(transparent, #05070a);
}

.scenario-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 25px;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.scenario-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.15);
}

.scenario-card img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.scenario-card:hover img {
    transform: scale(1.05);
}

.scenario-card h3 {
    margin-bottom: 15px;
    color: white;
}

.scenario-card p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
}

/* === AI INTERPRETER MODE (REVISED HIGH-FIDELITY MOBILE UI) === */
body.interpreter-active {
    overflow: hidden;
}

.interpreter-view {
    display: none;
    flex-direction: column;
    height: var(--app-height, 100vh);
    min-height: 100dvh;
    background: #05070a;
    color: white;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-family: 'Inter', sans-serif;
    background: url('/interpreter_bg_mobile.png') no-repeat center center/cover !important;
    overflow: hidden;
}

.interpreter-main-container {
    flex: 1;
    max-width: 540px;
    /* Force mobile aspect ratio on desktop */
    width: 100%;
    margin: 0 auto;
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.interpreter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.interpreter-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: 0.3s;
}

button.header-icon {
    border: 0;
    color: inherit;
    padding: 0;
}

.header-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.header-icon.is-active {
    background: rgba(0, 242, 255, 0.16);
    box-shadow: 0 0 0 1px rgba(0, 242, 255, 0.25);
}

/* Waveform Box (Mockup Style) */
.waveform-container-box {
    margin: 0;
    height: 118px;
    min-height: 118px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0, 242, 255, 0.05);
    backdrop-filter: blur(40px);
    flex-shrink: 0;
}

.voice-wave-container {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 64px;
}

.voice-bar {
    width: 3px;
    height: 18px;
    background: #00f2ff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.6);
    transition: height 0.1s ease;
}

/* Chat Bubbles (Mockup Style) */
.interpreter-bubbles-scroll {
    min-height: 0;
    overflow-y: auto;
    padding: 14px 10px 18px 4px;
    margin: 0 -4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 242, 255, 0.5) transparent;
}

.interpreter-bubbles-scroll::-webkit-scrollbar {
    width: 6px;
}

.interpreter-bubbles-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.interpreter-bubbles-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 255, 0.35);
    border-radius: 999px;
}

.interpreter-bubbles-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 255, 0.6);
}

.translation-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.55;
    max-width: calc(100% - 12px);
    backdrop-filter: blur(20px);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    word-break: break-word;
}

.translation-bubble.source {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.translation-bubble.target {
    background: rgba(0, 242, 255, 0.15);
    border: 1px solid rgba(0, 242, 255, 0.3);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.bubble-label {
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.source .bubble-label {
    color: #00f2ff;
}

.target .bubble-label {
    color: #00ff7a;
}

/* Bottom Action Area */
.interpreter-bottom-area {
    position: relative;
    z-index: 2;
    padding: 8px 0 calc(12px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    background: linear-gradient(180deg, rgba(5, 7, 10, 0), rgba(5, 7, 10, 0.64) 18%, rgba(5, 7, 10, 0.94) 100%);
    flex-shrink: 0;
}

.mic-wrapper {
    position: relative;
    width: 84px;
    height: 84px;
}

.mic-action-btn {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #00cbff 0%, #0076ff 100%);
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.5);
    transition: 0.3s;
    position: relative;
    z-index: 2;
}

.mic-action-btn:active {
    transform: scale(0.95);
    background: radial-gradient(circle, #00f2ff 0%, #00cbff 100%);
}

.mic-action-btn .btn-text {
    font-size: 7px;
    font-weight: 700;
    margin-top: 3px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.15;
}

.mic-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border-radius: 50%;
    border: 1px solid rgba(0, 242, 255, 0.3);
    animation: micPulse 2s infinite;
}

@keyframes micPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.lang-selector-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
    flex-shrink: 0;
}

.lang-pill-action {
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.lang-pill-action:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 242, 255, 0.28);
    transform: translateY(-1px);
}

.lang-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.lang-pill .flag-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.lang-pill .lang-code {
    font-weight: 700;
    font-size: 15px;
    color: #ddd;
}

.lang-pill .lang-name {
    font-size: 9px;
    color: #888;
    margin-top: -2px;
}

.swap-languages-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.swap-languages-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: rotate(180deg);
}

.interpreter-settings-toggle {
    width: 100%;
    height: 34px;
    border: 1px solid rgba(0, 242, 255, 0.18);
    border-radius: 999px;
    background: rgba(9, 15, 27, 0.72);
    color: #dffaff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.interpreter-settings-toggle:hover,
.interpreter-settings-toggle.is-active {
    background: rgba(0, 242, 255, 0.12);
    border-color: rgba(0, 242, 255, 0.34);
}

.interpreter-settings-toggle:active {
    transform: scale(0.99);
}

.interpreter-settings-panel {
    width: 100%;
    display: none;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(10, 16, 28, 0.92), rgba(5, 8, 14, 0.86));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.interpreter-settings-panel.is-open {
    display: block;
}

.interpreter-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}

.interpreter-setting {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.interpreter-setting-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(223, 250, 255, 0.72);
}

.interpreter-device-select {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 40px;
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.12);
    background-color: rgba(3, 8, 16, 0.82) !important;
    color: #f5fdff !important;
}

.interpreter-target-select {
    border-color: rgba(0, 242, 255, 0.28);
}

/* Light Mode Overrides for Interpreter */
body.light-mode .interpreter-main-container {
    background: rgba(255, 255, 255, 0.6);
}

body.light-mode .interpreter-bubbles-scroll {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 23, 42, 0.08);
}

body.light-mode .interpreter-settings-panel {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(15, 23, 42, 0.08);
}

body.light-mode .interpreter-setting-label {
    color: rgba(15, 23, 42, 0.62);
}

body.light-mode .interpreter-settings-toggle {
    background: rgba(255, 255, 255, 0.78);
    color: #0f172a;
}

body.light-mode .translation-bubble.source {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

body.light-mode .waveform-container-box {
    background: rgba(255, 255, 255, 0.4);
}

@media (max-height: 760px) {
    .interpreter-main-container {
        gap: 10px;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    }

    .interpreter-header {
        padding: 10px 0;
    }

    .waveform-container-box {
        height: 94px;
        min-height: 94px;
        border-radius: 24px;
    }

    .interpreter-bottom-area {
        gap: 10px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 420px) {
    .interpreter-main-container {
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    }

    .interpreter-header h2,
    #interpreter-title {
        font-size: 16px !important;
    }

    .header-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .waveform-container-box {
        height: 88px;
        min-height: 88px;
        border-radius: 22px;
    }

    .voice-wave-container {
        height: 48px;
    }

    .interpreter-bubbles-scroll {
        padding: 12px 8px 18px 2px;
        border-radius: 20px;
    }

    .translation-bubble {
        font-size: 13px;
        padding: 11px 13px;
    }

    .mic-wrapper {
        width: 76px;
        height: 76px;
    }

    .lang-selector-pills {
        gap: 8px;
    }

    .lang-pill {
        padding: 8px 10px;
        min-width: 0;
    }

    .lang-pill .lang-code {
        font-size: 14px;
    }

    .lang-pill .lang-name {
        font-size: 8px;
    }

    .swap-languages-btn {
        width: 36px;
        height: 36px;
    }

    .interpreter-settings-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* === FUTURISTIC UI (SECOND DESIGN) === */
.futurist-btn {
    background: transparent;
    border: 1px solid rgba(0, 242, 255, 0.5);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.futurist-btn:hover {
    background: rgba(0, 242, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
    transform: translateY(-2px);
}

.futurist-btn.btn-danger {
    border-color: #ff007a;
    color: #ff007a;
}

.futurist-btn.btn-danger:hover {
    background: rgba(255, 0, 122, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 122, 0.3);
}

@media (max-width: 768px) {
    .glass-menu {
        padding: 8px 15px;
        gap: 8px;
    }

    .futurist-btn {
        padding: 8px 15px;
        font-size: 11px;
    }
}

/* === MEETING V2 (MODERN / SADE) === */
.v2-viewport {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 9000;
    display: flex;
    justify-content: center;
    align-items: stretch;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.v2-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/resim/meeting_vision_1772201740055.png') no-repeat center center/cover;
    filter: blur(50px) brightness(0.4);
    transform: scale(1.1);
    z-index: -1;
}

.v2-container {
    width: 100%;
    max-width: 1600px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 12px;
    overflow: hidden;
    /* Prevent body scroll */
}

.vid-v2-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    /* Important for flex child overflow */
    justify-content: center;
}


.v2-header {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    padding: 10px 5px;
}

.v2-header-left {
    display: flex;
    gap: 30px;
    align-items: center;
}

.v2-header-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v2-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

.v2-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    color: #fff;
    font-weight: 700;
}

.v2-sep {
    opacity: 0.3;
}

.v2-top-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


.v2-icon-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.v2-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.v2-icon-btn.v2-danger {
    background: #ff3b30;
}

.v2-icon-btn.v2-danger:hover {
    background: #ff453a;
    box-shadow: 0 0 15px rgba(255, 59, 48, 0.5);
}

.v2-video-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    align-items: center;
    overflow-y: auto;
    padding: 10px;
}

@media (max-width: 1200px) {
    .v2-video-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}


.v2-video-card.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.v2-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111;
}

.v2-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.v2-meta-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.v2-flag {
    width: 36px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.v2-user-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    margin: 0;
    color: white;
    letter-spacing: 1px;
}

.v2-user-info p {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    margin: 2px 0 0 0;
    font-weight: 600;
}

.v2-user-info .v2-loc {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    margin-top: 5px;
}

.v2-wave-mini {
    display: flex;
    gap: 4px;
    height: 18px;
    align-items: center;
    padding: 0 5px;
}

.v2-wave-mini span {
    width: 2px;
    background: #00ff7a;
    border-radius: 2px;
}

.v2-footer {
    flex-shrink: 0;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.v2-market-label {
    font-size: 10px;
    font-family: 'Orbitron', sans-serif;
    color: rgba(255, 255, 255, 0.3);
    min-width: 150px;
}

.v2-transcript-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    backdrop-filter: blur(20px);
}

#v2-transcript-target {
    font-size: 18px;
    color: #00ff7a;
    font-weight: 600;
}

#v2-transcript-source {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* === V2 SCREEN SHARE AREA === */
.v2-screen-share-area {
    position: relative;
    width: 100%;
    height: 60vh;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 242, 255, 0.3);
    background: #000;
}

.v2-screen-video-el {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.v2-screen-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v2-screen-badge {
    background: #00f2ff;
    color: #000;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
}

.v2-screen-sharer {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}


/* Animations */
.v2-wave-mini span:nth-child(1) {
    animation: v2wave 0.6s infinite alternate;
}

.v2-wave-mini span:nth-child(2) {
    animation: v2wave 0.8s infinite alternate;
}

.v2-wave-mini span:nth-child(3) {
    animation: v2wave 0.5s infinite alternate;
}

@keyframes v2wave {
    from {
        height: 4px;
    }

    to {
        height: 15px;
    }
}

@media (max-width: 992px) {
    .v2-video-grid {
        grid-template-columns: 1fr;
    }

    .v2-video-card {
        aspect-ratio: 1.7;
    }

    .v2-header-left,
    .v2-header-right {
        display: none;
    }
}

/* === V2 COMPACT MENU + TRANSCRIPT BAR ENHANCEMENTS === */
.v2-container {
    padding: 18px;
}

.v2-header {
    margin-bottom: 18px;
}

.v2-footer {
    padding-top: 25px;
}

.v2-stage-panel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    background: rgba(0, 255, 122, 0.05);
    border: 1px solid rgba(0, 255, 122, 0.15);
}

.v2-stage-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.v2-stage-item span {
    font-size: 11px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v2-transcript-bar {
    padding: 12px 16px;
}

.v2-transcript-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.v2-transcript-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.v2-transcript-lines {
    margin-top: 8px;
    max-height: 140px;
    overflow-y: auto;
    text-align: left;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.78);
    padding-right: 6px;
}

.v2-transcript-lines .v2-line {
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
    margin-bottom: 6px;
    word-break: break-word;
}

.v2-transcript-lines .v2-line .v2-ts {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    margin-right: 8px;
}

.v2-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9100;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
}

.v2-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 100vw);
    z-index: 9200;
    display: none;
    flex-direction: column;
    padding: 20px;
    background: rgba(10, 15, 25, 0.95);
    backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.v2-icon {
    font-family: inherit;
    font-size: 20px;
}

.v2-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 4px 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.v2-menu-title {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.v2-menu-close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    cursor: pointer;
}

.v2-menu-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

.v2-menu-body {
    overflow-y: auto;
    padding: 12px 4px 6px 4px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.v2-menu-section {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.18);
}

.v2-menu-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 10px;
}

.v2-menu-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v2-menu-row-wrap {
    flex-wrap: wrap;
}

.v2-input {
    flex: 1;
    min-width: 160px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 255, 122, 0.25);
    border-radius: 12px;
    padding: 10px 12px;
    color: #eafff4;
    outline: none;
    font-size: 12px;
}

.v2-input:focus {
    border-color: rgba(0, 255, 122, 0.55);
    box-shadow: 0 0 0 2px rgba(0, 255, 122, 0.12);
}

@media (max-width: 992px) {
    .v2-container {
        padding: 12px;
    }

    .v2-header {
        margin-bottom: 12px;
    }

    .v2-footer {
        padding-top: 12px;
    }

    .v2-transcript-lines {
        max-height: 170px;
    }
}

/* === V2 PRACTICAL MULTI-PARTICIPANT OVERRIDES === */
.v2-container {
    gap: 16px;
}

.v2-header {
    margin-bottom: 0;
}

.v2-market-trend {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 242, 255, 0.18);
    background: rgba(0, 242, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
}

.v2-welcome-bar {
    flex-shrink: 0;
    display: flex;
    /* Switch to flex for better height control */
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 255, 0.15);
    background: rgba(10, 15, 25, 0.85);
    backdrop-filter: blur(20px);
    margin-bottom: 5px;
    min-height: 60px;
}

.v2-welcome-copy {
    max-width: 40%;
}

.v2-welcome-text {
    font-size: 11px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2-welcome-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .v2-welcome-bar {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .v2-welcome-text {
        display: none;
    }
}


.v2-welcome-bar.is-compact .v2-welcome-text {
    display: none;
}

.v2-welcome-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.v2-welcome-eyebrow {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    letter-spacing: 1.3px;
    color: rgba(0, 242, 255, 0.78);
}

.v2-welcome-title {
    margin: 0;
    font-size: clamp(20px, 2.3vw, 30px);
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.02em;
}

.v2-welcome-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.55;
    max-width: 62ch;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.v2-welcome-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: center;
}

.v2-quick-setting {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v2-quick-setting span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.v2-quick-setting .device-select {
    max-width: none;
    width: 100%;
}

.v2-quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    grid-column: 1 / -1;
}

.v2-inline-note {
    flex: 1;
    min-width: 160px;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    line-height: 1.45;
}

.v2-stage-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 24px;
    border: 1px solid rgba(0, 255, 122, 0.14);
    background:
        linear-gradient(135deg, rgba(0, 255, 122, 0.08), rgba(0, 0, 0, 0.12)),
        rgba(4, 8, 20, 0.82);
    margin-top: 2px;
    order: 4;
}

.v2-stage-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.v2-stage-panel-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.v2-stage-panel-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.v2-stage-panel-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    letter-spacing: 1.2px;
    color: rgba(0, 255, 122, 0.82);
}

.v2-stage-panel-subtitle {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.5;
    max-width: 52ch;
}

.v2-stage-panel-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-self: stretch;
}

.v2-stage-metric {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 82px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.v2-stage-metric span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.56);
}

.v2-stage-metric strong {
    font-size: 26px;
    line-height: 1;
    color: #fff;
}

.v2-stage-slot-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 14px;
}

.v2-stage-slot-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v2-stage-group-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.56);
}

.v2-stage-slot-row,
.v2-seat-row {
    display: grid;
    gap: 10px;
}

.v2-stage-slot-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.v2-seat-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.v2-stage-slot,
.v2-seat-pill {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 74px;
    padding: 12px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.v2-stage-slot.is-filled,
.v2-seat-pill.is-filled {
    border-style: solid;
    border-color: rgba(0, 242, 255, 0.22);
    background: rgba(0, 242, 255, 0.08);
}

.v2-stage-slot-role,
.v2-seat-pill span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.56);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.v2-stage-slot strong,
.v2-seat-pill strong {
    font-size: 12px;
    color: #fff;
    word-break: break-word;
    line-height: 1.35;
}

.v2-status-badge {
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: v2-badge-pulse 2s infinite ease-in-out;
}

@keyframes v2-badge-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.v2-flag {
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


.v2-host-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v2-seat-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 122, 0.22);
    background: rgba(0, 255, 122, 0.08);
    color: #c9ffe7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.v2-quick-setting .v2-input[readonly] {
    cursor: text;
    color: #fff;
    border-color: rgba(0, 242, 255, 0.22);
}

.v2-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    align-content: stretch;
    align-items: stretch;
    min-height: 0;
    order: 2;
}

.v2-video-grid.v2-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.v2-video-grid.v2-grid-dense {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.v2-video-grid.v2-grid-collapsed {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.v2-video-card {
    min-height: 260px;
    aspect-ratio: auto;
    display: flex;
    align-items: stretch;
}

.v2-video-card-local {
    border-color: rgba(0, 242, 255, 0.22);
}

.v2-video-card-remote {
    border-color: rgba(0, 255, 122, 0.18);
}

.v2-video-card.v2-video-card-dynamic {
    border-color: rgba(255, 255, 255, 0.1);
}

.v2-video-card.v2-hidden-slot {
    display: none !important;
}

.v2-video-el {
    min-height: 260px;
    background:
        radial-gradient(circle at top, rgba(0, 242, 255, 0.08), transparent 48%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42));
}

.v2-footer {
    padding-top: 0;
    order: 3;
}

.v2-transcript-bar {
    min-height: 146px;
}

.v2-icon-btn.is-active {
    background: rgba(255, 0, 122, 0.18);
    box-shadow: 0 0 0 1px rgba(255, 0, 122, 0.3), 0 0 16px rgba(255, 0, 122, 0.18);
}

.v2-icon-btn.is-live {
    background: rgba(0, 255, 122, 0.16);
    box-shadow: 0 0 0 1px rgba(0, 255, 122, 0.28), 0 0 14px rgba(0, 255, 122, 0.15);
}

.app-home-fab {
    border: 1px solid rgba(0, 242, 255, 0.25);
    border-radius: 999px;
    background: rgba(4, 12, 28, 0.88);
    color: #fff;
    padding: 10px 14px;
    font: 600 13px/1 'Inter', sans-serif;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
}

.app-home-fab:hover {
    border-color: rgba(0, 242, 255, 0.55);
    box-shadow: 0 16px 38px rgba(0, 242, 255, 0.15);
}

@media (max-width: 1200px) {
    .v2-welcome-bar {
        grid-template-columns: 1fr;
    }

    .v2-stage-panel-header {
        flex-direction: column;
    }

    .v2-stage-panel-tools {
        justify-content: stretch;
    }

    .v2-stage-panel-tools .pro-btn {
        width: 100%;
    }

    .v2-stage-slot-wrap {
        grid-template-columns: 1fr;
    }

    .v2-header {
        gap: 14px;
        align-items: flex-start;
    }

    .v2-header-left,
    .v2-header-right {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 992px) {
    .v2-viewport {
        overflow-y: auto;
        overflow-x: hidden;
        align-items: flex-start;
    }

    .v2-container {
        max-width: none;
        min-height: 100%;
        height: auto;
        padding: 16px 14px 22px;
    }

    .v2-header {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .v2-header-left {
        justify-content: center;
        order: 0;
        font-size: 10px;
    }

    .v2-header-center {
        order: 1;
        width: 100%;
    }

    .v2-header-right {
        display: flex;
        justify-content: center;
        order: 2;
    }

    .v2-top-controls {
        width: 100%;
        padding: 10px 12px;
        gap: 10px;
        border-radius: 24px;
    }

    .v2-welcome-title {
        font-size: clamp(18px, 4.5vw, 26px);
    }

    .v2-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .v2-market-label {
        min-width: 0;
        text-align: center !important;
    }

    .v2-transcript-toolbar {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .v2-viewport {
        position: fixed;
        inset: 0;
        align-items: flex-start;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .v2-container {
        padding: 14px 12px 18px;
        gap: 12px;
    }

    .v2-top-controls {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-radius: 22px;
    }

    .v2-welcome-bar {
        padding: 16px;
        border-radius: 22px;
    }

    .v2-welcome-actions {
        grid-template-columns: 1fr;
    }

    .v2-quick-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .v2-quick-buttons .pro-btn {
        width: 100%;
        justify-content: center;
    }

    .v2-icon-btn {
        width: 100%;
        height: 48px;
        border-radius: 16px;
        font-size: 17px;
    }

    .v2-stage-panel {
        padding: 14px;
        border-radius: 20px;
    }

    .v2-stage-panel-header {
        gap: 10px;
    }

    .v2-stage-panel-metrics,
    .v2-stage-slot-row,
    .v2-seat-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v2-seat-chip {
        width: 100%;
        justify-content: center;
    }

    .v2-video-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .v2-video-grid.v2-grid-collapsed {
        grid-template-columns: 1fr;
    }

    .v2-video-card,
    .v2-video-el {
        min-height: clamp(200px, 52vw, 260px);
    }

    .v2-meta {
        padding: 18px;
    }

    .v2-user-info h3 {
        font-size: 14px;
    }

    .v2-user-info p,
    .v2-user-info .v2-loc {
        font-size: 10px;
    }

    .v2-transcript-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .v2-transcript-lines {
        max-height: 190px;
    }

    .v2-menu {
        top: 12px;
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        border-radius: 20px;
    }

    .v2-menu-row {
        flex-direction: column;
        align-items: stretch;
    }

    .v2-menu-row .device-select,
    .v2-menu-row .v2-input,
    .v2-menu-row .pro-btn {
        width: 100%;
        max-width: none !important;
    }

    #v2-coach-panel {
        left: 12px !important;
        right: 12px !important;
        top: 86px !important;
        bottom: 12px !important;
        width: auto !important;
    }

    .app-home-fab {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 560px) {
    .v2-header-left {
        gap: 8px;
        row-gap: 4px;
    }

    .v2-top-controls {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .v2-stage-panel-metrics,
    .v2-stage-slot-row,
    .v2-seat-row,
    .v2-quick-buttons {
        grid-template-columns: 1fr;
    }
}

/* Custom V1 Desktop Toggles */
@media (max-width: 900px) {
    .desktop-toggles {
        display: none !important;
    }
}
/* MTAC Premium UI layer - 2026 refresh */
:root {
    --mtac-ink: #05080d;
    --mtac-panel: rgba(12, 18, 26, 0.82);
    --mtac-panel-solid: #0f1720;
    --mtac-line: rgba(219, 239, 255, 0.13);
    --mtac-line-hot: rgba(121, 231, 255, 0.38);
    --mtac-text: #f5f8fb;
    --mtac-muted: #92a2b4;
    --mtac-cyan: #79e7ff;
    --mtac-lime: #a4ff79;
    --mtac-amber: #ffc05f;
    --mtac-red: #ff6f7d;
    --mtac-radius: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--mtac-text);
    background:
        radial-gradient(circle at 18% 12%, rgba(121, 231, 255, 0.12), transparent 26%),
        radial-gradient(circle at 84% 20%, rgba(164, 255, 121, 0.08), transparent 24%),
        linear-gradient(180deg, #05080d, #081017 62%, #05080d) !important;
}

.logo,
.footer-logo,
.hero h1,
.section-title,
.portal-entry-btn,
.cta-label,
.brand-title {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    letter-spacing: -0.04em;
}

nav {
    background: rgba(5, 8, 13, 0.72) !important;
    border-bottom: 1px solid var(--mtac-line);
    backdrop-filter: blur(18px);
}

nav .container {
    min-height: 76px;
}

.nav-links a,
.lang-switcher button,
.theme-toggle {
    border-radius: 10px !important;
}

.hero {
    min-height: 94vh;
    background:
        linear-gradient(120deg, rgba(5, 8, 13, 0.92), rgba(5, 8, 13, 0.68)),
        url("resim/live-video-konferans.png") center/cover no-repeat !important;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.84), transparent 78%);
}

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

.hero h1 {
    max-width: 900px;
    font-size: clamp(46px, 7vw, 92px) !important;
    line-height: 0.92 !important;
    margin-bottom: 26px !important;
}

.hero p {
    max-width: 680px;
    color: #c6d2dc !important;
    font-size: clamp(17px, 1.6vw, 22px) !important;
}

.portal-entry-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.portal-entry-btn,
.btn-primary,
.btn-outline,
.cta-card,
.pro-btn,
.btn-primary,
.btn-outline,
button {
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.portal-entry-btn {
    border-radius: 12px !important;
    border: 1px solid var(--mtac-line-hot) !important;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.portal-entry-btn.signup,
.btn-primary {
    background: linear-gradient(135deg, var(--mtac-cyan), #b9f3ff) !important;
    color: #041019 !important;
}

.portal-entry-btn.student {
    background: linear-gradient(135deg, var(--mtac-lime), #dcffc8) !important;
    color: #041019 !important;
}

.portal-entry-btn.signin,
.btn-outline {
    background: rgba(255, 255, 255, 0.065) !important;
    color: var(--mtac-text) !important;
    border-color: var(--mtac-line) !important;
}

.cta-grid {
    gap: 16px !important;
}

.cta-card {
    min-height: 148px !important;
    border-radius: var(--mtac-radius) !important;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
        rgba(10, 16, 24, 0.88) !important;
    border: 1px solid var(--mtac-line) !important;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28) !important;
    overflow: hidden;
}

.cta-card::after {
    content: "";
    position: absolute;
    inset: auto 18px 18px 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--mtac-cyan), var(--mtac-lime), transparent);
    opacity: 0.82;
}

.cta-card:hover,
.portal-entry-btn:hover,
.pro-btn:hover,
.pro-icon-btn:hover,
.btn-primary:hover,
.btn-outline:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 24px 44px rgba(121, 231, 255, 0.12) !important;
}

.scenario-card.glass,
.feature-card,
.solution-section img,
.tech-visual img {
    border-radius: var(--mtac-radius) !important;
    border: 1px solid var(--mtac-line);
}

.pro-btn,
.pro-icon-btn,
.btn-primary,
.btn-outline,
.control-btn,
.futurist-btn,
.v2-icon-btn {
    border-radius: 12px !important;
}

.pro-btn:disabled,
.pro-icon-btn:disabled,
.btn-primary:disabled,
.btn-outline:disabled,
button[aria-busy="true"] {
    opacity: 0.62 !important;
    cursor: wait !important;
    transform: none !important;
}

@media (max-width: 900px) {
    .hero-grid,
    .feature-grid,
    .solution-section .container,
    .video-tech .container {
        grid-template-columns: 1fr !important;
    }

    .hero {
        padding-top: 110px;
    }

    .hero-cta-group {
        margin-top: 34px !important;
    }

    .cta-grid {
        grid-template-columns: 1fr !important;
    }

    .portal-entry-btn {
        flex: 1 1 100%;
    }
}

/* MTAC landing layout repair - keep this layer at the end */
body:not(.meeting-active) {
    overflow-x: hidden;
}

body:not(.meeting-active) nav {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    min-height: 78px;
    padding: 14px 0 10px !important;
}

body:not(.meeting-active) nav .container {
    width: min(1180px, calc(100vw - 32px)) !important;
    min-height: 78px !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: center !important;
}

body:not(.meeting-active) .logo {
    white-space: nowrap !important;
    font-size: clamp(20px, 2vw, 27px) !important;
    line-height: 1.15 !important;
    min-width: max-content;
    padding-top: 4px !important;
    margin-top: 2px !important;
}

body:not(.meeting-active) .nav-links {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
}

body:not(.meeting-active) .nav-links li {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    min-width: 0 !important;
}

body:not(.meeting-active) .nav-links a,
body:not(.meeting-active) .lang-switcher button,
body:not(.meeting-active) .theme-toggle {
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 12px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    letter-spacing: 0.02em !important;
}

body:not(.meeting-active) .nav-ai-link,
body:not(.meeting-active) nav .btn-primary {
    font-size: 12px !important;
}

body:not(.meeting-active) .lang-switcher {
    padding: 3px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.055) !important;
    border: 1px solid rgba(255, 255, 255, 0.11) !important;
}

body:not(.meeting-active) .hero {
    min-height: auto !important;
    padding: 132px 0 84px !important;
    display: block !important;
    background:
        radial-gradient(circle at 18% 12%, rgba(121, 231, 255, 0.14), transparent 30%),
        radial-gradient(circle at 70% 18%, rgba(164, 255, 121, 0.11), transparent 26%),
        linear-gradient(180deg, #060a10 0%, #081119 58%, #05080d 100%) !important;
}

body:not(.meeting-active) .hero::after {
    content: "";
    position: absolute;
    inset: 86px 0 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 82%);
}

body:not(.meeting-active) .hero .container,
body:not(.meeting-active) .hero-grid {
    width: min(1180px, calc(100vw - 32px)) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.72fr) !important;
    gap: 30px !important;
    align-items: center !important;
}

body:not(.meeting-active) .hero-content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 760px !important;
    padding: 0 !important;
}

body:not(.meeting-active) .hero h1,
body:not(.meeting-active) #heroTitle {
    max-width: 760px !important;
    margin: 0 0 22px !important;
    font-size: clamp(42px, 5.4vw, 76px) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.07em !important;
    text-wrap: balance;
}

body:not(.meeting-active) .hero p,
body:not(.meeting-active) #heroText {
    max-width: 620px !important;
    margin: 0 !important;
    font-size: clamp(16px, 1.55vw, 20px) !important;
    line-height: 1.55 !important;
}

body:not(.meeting-active) .portal-entry-links {
    margin-top: 30px !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

body:not(.meeting-active) .portal-entry-btn {
    flex: 0 1 auto !important;
    min-width: 180px !important;
    min-height: 54px !important;
    padding: 0 22px !important;
}

body:not(.meeting-active) .hero-cta-group {
    margin-top: 34px !important;
}

body:not(.meeting-active) .cta-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    max-width: 620px !important;
}

body:not(.meeting-active) .cta-card {
    min-height: 116px !important;
    height: auto !important;
    padding: 18px !important;
}

body:not(.meeting-active) .cta-card .cta-icon {
    width: 42px !important;
    height: 42px !important;
}

body:not(.meeting-active) .hero-visual {
    position: relative !important;
    z-index: 1 !important;
    display: grid !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 430px !important;
    justify-self: end !important;
    transform: none !important;
}

body:not(.meeting-active) .scenario-card {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 16px !important;
    transform: none !important;
}

body:not(.meeting-active) .scenario-card img {
    max-height: 210px !important;
    object-fit: cover !important;
}

body:not(.meeting-active) .features .container,
body:not(.meeting-active) .solution-section .container,
body:not(.meeting-active) .video-tech .container,
body:not(.meeting-active) .vision .container,
body:not(.meeting-active) footer .container {
    width: min(1180px, calc(100vw - 32px)) !important;
}

@media (max-width: 1160px) {
    body:not(.meeting-active) nav .container {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 14px 0 !important;
    }

    body:not(.meeting-active) .logo {
        justify-self: center !important;
    }

    body:not(.meeting-active) .nav-links {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    body:not(.meeting-active) .hero {
        padding-top: 154px !important;
    }

    body:not(.meeting-active) .hero .container,
    body:not(.meeting-active) .hero-grid {
        grid-template-columns: 1fr !important;
    }

    body:not(.meeting-active) .hero-visual {
        display: none !important;
    }
}

@media (max-width: 760px) {
    body:not(.meeting-active) nav {
        position: relative !important;
    }

    body:not(.meeting-active) .nav-links li:nth-child(1),
    body:not(.meeting-active) .nav-links li:nth-child(2),
    body:not(.meeting-active) .nav-links li:nth-child(3),
    body:not(.meeting-active) .nav-links li:nth-child(4),
    body:not(.meeting-active) .nav-links li:last-child {
        display: none !important;
    }

    body:not(.meeting-active) .hero {
        padding: 56px 0 56px !important;
    }

    body:not(.meeting-active) .hero h1,
    body:not(.meeting-active) #heroTitle {
        font-size: clamp(38px, 13vw, 56px) !important;
    }

    body:not(.meeting-active) .portal-entry-btn {
        width: 100% !important;
        min-width: 0 !important;
    }

    body:not(.meeting-active) .cta-grid {
        grid-template-columns: 1fr !important;
    }
}

/* === PREMIUM HOMEPAGE REDESIGN === */
body.home-page {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Floating Glass Navbar */
.home-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, calc(100vw - 40px));
    height: 64px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 999px;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 24px;
    transition: var(--transition-base);
}

.home-nav-wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--text-white);
}

.home-logo span {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

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

.home-nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.home-nav-links a:hover {
    color: var(--primary);
}

.home-nav-cta {
    background: var(--primary);
    color: var(--bg-dark) !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700 !important;
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Hero Section */
.home-hero {
    min-height: 100vh;
    padding: 160px 0 80px;
    background: var(--bg-hero-gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, var(--secondary-glow), transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home-hero-main {
    max-width: 640px;
}

.home-kicker {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 20px;
}

.home-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.home-hero p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.home-cta-row {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.home-btn {
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.home-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.home-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.home-btn-secondary {
    border: 1px solid var(--border-bright);
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.02);
}

.home-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.home-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home-action-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: left;
}

.home-action-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.home-action-card strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-white);
}

.home-action-card span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.home-hero-art {
    position: relative;
}

.home-hero-art img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-bright);
}

/* Feature Sections */
.home-section {
    padding: 120px 0;
}

.home-section-soft {
    background: rgba(255, 255, 255, 0.01);
}

.home-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.home-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.home-section-lead {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 60px;
    max-width: 800px;
}

.home-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.home-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition-base);
}

.home-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.home-card img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.home-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.home-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

.home-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 20px;
}

/* Role Cards */
.home-role-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: var(--transition-base);
}

.home-role-card:hover {
    border-color: var(--secondary);
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.1), transparent);
}

.home-role-card h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.home-text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.home-text-link:hover {
    gap: 12px;
}

/* Steps */
.home-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.home-steps li {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-steps li span {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    flex-shrink: 0;
}

/* Footer */
.home-footer {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.home-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.home-footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.home-footer-brand span {
    color: var(--primary);
}

.home-footer p {
    color: var(--text-muted);
}

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

/* Animations */
@keyframes reveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-page .container > * {
    animation: reveal 0.8s ease forwards;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .home-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-hero-main {
        max-width: 100%;
        margin: 0 auto;
    }

    .home-hero-art {
        display: none;
    }

    .home-cta-row {
        justify-content: center;
    }

    .home-3col {
        grid-template-columns: 1fr;
    }

    .home-steps {
        grid-template-columns: 1fr;
    }

    .home-nav {
        width: calc(100vw - 20px);
        padding: 0 16px;
    }

    .home-nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .home-hero h1 {
        font-size: 40px;
    }

    .home-actions-grid {
        grid-template-columns: 1fr;
    }

    .home-cta-row {
        flex-direction: column;
    }

    .home-btn {
        width: 100%;
    }
}

/* 2026-05-07 home rebuild */
body.home-redesign {
    --home-bg: #05070b;
    --home-panel: #0d141b;
    --home-panel-strong: #111b24;
    --home-line: rgba(255, 255, 255, 0.12);
    --home-line-soft: rgba(255, 255, 255, 0.08);
    --home-text: #f7fbff;
    --home-muted: #a7b4c2;
    --home-cyan: #16d9e8;
    --home-green: #49d17d;
    --home-amber: #f5b84b;
    --home-rose: #ef5da8;
    margin: 0;
    background: var(--home-bg);
    color: var(--home-text);
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

body.home-redesign *,
body.home-redesign *::before,
body.home-redesign *::after {
    box-sizing: border-box;
}

body.home-redesign .container {
    width: min(1160px, calc(100vw - 40px));
    margin: 0 auto;
    padding: 0;
}

body.home-redesign .home-nav {
    position: sticky;
    top: 0;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    min-height: 72px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--home-line-soft);
    border-radius: 0;
    background: rgba(5, 7, 11, 0.9);
    backdrop-filter: blur(18px);
}

body.home-redesign .home-nav-wrap {
    width: min(1160px, calc(100vw - 40px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

body.home-redesign .home-logo,
body.home-redesign .home-footer-brand {
    color: var(--home-text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
}

body.home-redesign .home-logo {
    font-size: 20px;
    white-space: nowrap;
}

body.home-redesign .home-logo span,
body.home-redesign .home-footer-brand span {
    color: var(--home-cyan);
}

body.home-redesign .home-nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.home-redesign .home-nav-links a,
body.home-redesign .home-footer-actions a,
body.home-redesign .home-role-links a {
    color: var(--home-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

body.home-redesign .home-nav-links a:hover,
body.home-redesign .home-footer-actions a:hover,
body.home-redesign .home-role-links a:hover {
    color: var(--home-cyan);
}

body.home-redesign .home-hero {
    min-height: 0;
    padding: 92px 0 70px;
    display: block;
    background:
        linear-gradient(90deg, rgba(22, 217, 232, 0.08), transparent 35%),
        linear-gradient(180deg, #071017 0%, #05070b 100%);
    overflow: hidden;
}

body.home-redesign .home-hero::before {
    content: none;
}

body.home-redesign .home-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 44px;
    align-items: center;
}

body.home-redesign .home-hero-copy {
    max-width: 610px;
}

body.home-redesign .home-kicker,
body.home-redesign .home-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0 0 16px;
    padding: 6px 10px;
    border: 1px solid rgba(22, 217, 232, 0.35);
    border-radius: 6px;
    color: var(--home-cyan);
    background: rgba(22, 217, 232, 0.08);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.home-redesign .home-hero h1,
body.home-redesign .home-section h2 {
    margin: 0;
    color: var(--home-text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}

body.home-redesign .home-hero h1 {
    max-width: 720px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
}

body.home-redesign .home-hero p {
    margin: 24px 0 0;
    max-width: 620px;
    color: var(--home-muted);
    font-size: 18px;
    line-height: 1.65;
}

body.home-redesign .home-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 34px 0 0;
}

body.home-redesign .home-btn {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--home-text);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

body.home-redesign .home-btn-primary {
    background: var(--home-cyan);
    color: #031014;
    box-shadow: none;
}

body.home-redesign .home-btn-secondary {
    border-color: var(--home-line);
    background: rgba(255, 255, 255, 0.04);
}

body.home-redesign .home-btn:hover,
body.home-redesign .home-service-card:hover,
body.home-redesign .home-role-links a:hover {
    transform: translateY(-2px);
}

body.home-redesign .home-hero-panel {
    position: relative;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background: var(--home-panel);
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

body.home-redesign .home-hero-panel img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

body.home-redesign .home-live-strip {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

body.home-redesign .home-live-strip span {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    background: rgba(5, 7, 11, 0.78);
    color: var(--home-text);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

body.home-redesign .home-section {
    padding: 84px 0;
}

body.home-redesign .home-services-section {
    background: #071017;
}

body.home-redesign .home-platform-section {
    background: var(--home-bg);
}

body.home-redesign .home-workflow-section {
    background: #081018;
}

body.home-redesign .home-section-head {
    max-width: 760px;
    margin-bottom: 32px;
}

body.home-redesign .home-section h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

body.home-redesign .home-section-lead,
body.home-redesign .home-service-card p,
body.home-redesign .home-steps small,
body.home-redesign .home-footer p {
    color: var(--home-muted);
    line-height: 1.6;
}

body.home-redesign .home-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.home-redesign .home-service-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    padding: 16px;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background: var(--home-panel);
    color: var(--home-text);
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

body.home-redesign .home-service-card:hover {
    border-color: rgba(22, 217, 232, 0.65);
    background: var(--home-panel-strong);
}

body.home-redesign .home-service-card-featured {
    border-color: rgba(73, 209, 125, 0.46);
}

body.home-redesign .home-service-card img {
    width: 100%;
    height: 210px;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
    border: 1px solid var(--home-line-soft);
    background: #060a12;
}

body.home-redesign .home-service-number {
    color: var(--home-amber);
    font-size: 13px;
    font-weight: 800;
}

body.home-redesign .home-service-card h3 {
    margin: 0;
    color: var(--home-text);
    font-size: 24px;
    line-height: 1.1;
}

body.home-redesign .home-service-card p {
    margin: 0;
    font-size: 15px;
}

body.home-redesign .home-service-card strong {
    margin-top: auto;
    color: var(--home-cyan);
    font-size: 14px;
}

body.home-redesign .home-platform-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 38px;
    align-items: start;
}

body.home-redesign .home-platform-copy {
    position: sticky;
    top: 96px;
}

body.home-redesign .home-role-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

body.home-redesign .home-role-links a {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
}

body.home-redesign .home-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

body.home-redesign .home-proof-grid figure {
    margin: 0;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background: var(--home-panel);
    overflow: hidden;
}

body.home-redesign .home-proof-grid figure:first-child {
    grid-column: 1 / -1;
}

body.home-redesign .home-proof-grid img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    object-position: center;
    background: #060a12;
}

body.home-redesign .home-proof-grid figcaption {
    padding: 12px 14px;
    color: var(--home-text);
    font-size: 14px;
    font-weight: 800;
}

body.home-redesign .home-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

body.home-redesign .home-steps li {
    min-width: 0;
    min-height: 190px;
    padding: 18px;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: var(--home-panel);
}

body.home-redesign .home-steps li span {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--home-cyan);
    color: #031014;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

body.home-redesign .home-steps strong {
    color: var(--home-text);
    font-size: 17px;
}

body.home-redesign .home-footer {
    padding: 44px 0;
    border-top: 1px solid var(--home-line-soft);
    background: #05070b;
}

body.home-redesign .home-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
}

body.home-redesign .home-footer-brand {
    margin-bottom: 10px;
    font-size: 22px;
}

body.home-redesign .home-footer p {
    margin: 4px 0;
    font-size: 14px;
}

body.home-redesign .home-footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

body.home-redesign .home-footer-actions a {
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
}

body.home-redesign .home-page .container > *,
body.home-redesign .container > * {
    animation: none;
}

body.home-redesign.light-mode {
    --home-bg: #f5f7fa;
    --home-panel: #ffffff;
    --home-panel-strong: #eef6f8;
    --home-line: rgba(6, 18, 27, 0.14);
    --home-line-soft: rgba(6, 18, 27, 0.08);
    --home-text: #06121b;
    --home-muted: #536474;
}

body.home-redesign.light-mode .home-nav {
    background: rgba(255, 255, 255, 0.9);
}

body.home-redesign.light-mode .home-hero,
body.home-redesign.light-mode .home-services-section,
body.home-redesign.light-mode .home-workflow-section,
body.home-redesign.light-mode .home-footer {
    background: var(--home-bg);
}

@media (max-width: 980px) {
    body.home-redesign .home-hero-layout,
    body.home-redesign .home-platform-layout {
        grid-template-columns: 1fr;
    }

    body.home-redesign .home-platform-copy {
        position: static;
    }

    body.home-redesign .home-service-grid,
    body.home-redesign .home-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    body.home-redesign .container,
    body.home-redesign .home-nav-wrap {
        width: min(100% - 24px, 1160px);
    }

    body.home-redesign .home-nav-wrap {
        min-height: 64px;
        justify-content: center;
    }

    body.home-redesign .home-nav-links {
        display: none;
    }

    body.home-redesign .home-hero {
        padding: 58px 0 46px;
    }

    body.home-redesign .home-hero h1 {
        font-size: 40px;
    }

    body.home-redesign .home-hero p {
        font-size: 16px;
    }

    body.home-redesign .home-hero-panel img {
        aspect-ratio: 4 / 3;
    }

    body.home-redesign .home-live-strip {
        position: static;
        padding: 10px;
        grid-template-columns: 1fr;
    }

    body.home-redesign .home-service-grid,
    body.home-redesign .home-proof-grid,
    body.home-redesign .home-steps {
        grid-template-columns: 1fr;
    }

    body.home-redesign .home-proof-grid figure:first-child {
        grid-column: auto;
    }

    body.home-redesign .home-section {
        padding: 58px 0;
    }

    body.home-redesign .home-footer-inner {
        flex-direction: column;
    }

    body.home-redesign .home-footer-actions {
        justify-content: flex-start;
    }

    body.home-redesign .home-btn {
        width: 100%;
    }
}
