/* ==========================================================================
   ISANO — Peer-to-Peer Communication & Marketplace Website Styles
   Obsidian Navy Palette: #0F1E36, #162846, #1E355B, #FF6B4A, #10B981, #F59E0B
   ========================================================================== */

:root {
    --bg-darkest: #070D19;
    --bg-primary: #0F1E36;
    --bg-card: #14233D;
    --bg-card-hover: #1A2F50;
    --bg-surface: #1E355B;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(46, 80, 136, 0.5);
    
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --coral: #FF6B4A;
    --coral-light: #FF8A65;
    --coral-glow: rgba(255, 107, 74, 0.25);
    
    --emerald: #10B981;
    --emerald-light: #34D399;
    --emerald-glow: rgba(16, 185, 129, 0.2);
    
    --amber: #F59E0B;
    --blue: #3B82F6;
    --purple: #8B5CF6;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    background-color: var(--bg-darkest);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Ambient Background Glows */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 74, 0.18) 0%, rgba(15, 30, 54, 0) 70%);
    top: -150px;
    left: -100px;
}

.glow-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(15, 30, 54, 0) 70%);
    top: 400px;
    right: -200px;
}

.glow-3 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(15, 30, 54, 0) 70%);
    bottom: -150px;
    left: 20%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, #FF6B4A 0%, #F59E0B 50%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-main);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--coral) 0%, #E65100 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px var(--coral-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 74, 0.4);
    filter: brightness(1.08);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glow);
}

.btn-outline:hover {
    background: rgba(255, 107, 74, 0.1);
    border-color: var(--coral);
    color: var(--coral);
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 0.9rem 1.8rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(15, 30, 54, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-emblem {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(255, 107, 74, 0.3));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    line-height: 1;
}

.brand-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--coral);
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.8rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--emerald);
    animation: pulse 2s infinite;
}

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

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--emerald-light);
    letter-spacing: 0.04em;
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.4rem;
    max-width: 900px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 720px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.platform-support-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 3.5rem;
}

.platform-support-pills .pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dot-green { color: var(--emerald); }
.dot-blue { color: var(--blue); }
.dot-purple { color: var(--purple); }
.dot-amber { color: var(--amber); }

/* Interactive App Mockup */
.hero-mockup-wrapper {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.mockup-glass-card {
    background: rgba(20, 35, 61, 0.7);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 40px rgba(46, 80, 136, 0.2);
    overflow: hidden;
    text-align: left;
}

.mockup-header {
    background: rgba(15, 30, 54, 0.9);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

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

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mock-dot.red { background: #EF4444; }
.mock-dot.yellow { background: #F59E0B; }
.mock-dot.green { background: #10B981; }

.mockup-address-bar {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.mockup-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--emerald-light);
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.8rem;
}

.mockup-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.column-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--coral-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.mock-bubble {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    line-height: 1.4;
    max-width: 85%;
}

.mock-bubble.guest {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    align-self: flex-start;
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
}

.mock-bubble.owner {
    background: linear-gradient(135deg, var(--coral) 0%, #D84315 100%);
    color: #FFFFFF;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.mock-bubble.audio-bubble {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--emerald-light);
    font-weight: 600;
}

.mock-listing-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mock-img {
    height: 110px;
    background: linear-gradient(135deg, #1A365D 0%, #0F2942 100%);
    border-radius: var(--radius-sm);
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.6rem;
}

.tag-badge {
    background: var(--emerald);
    color: #070D19;
    font-weight: 800;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
}

.price-tag {
    background: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}

.mock-listing-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #FFFFFF;
}

.mock-listing-card .loc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.specs-row {
    display: flex;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.specs-row span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   Bento Grid Section
   ========================================================================== */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--coral);
    letter-spacing: 0.12em;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.bento-card {
    grid-column: span 6;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.bento-wide {
    grid-column: span 12;
}

.bento-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.bento-icon.coral {
    background: rgba(255, 107, 74, 0.15);
    color: var(--coral);
}

.bento-icon.green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald);
}

.bento-icon.amber {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
}

.bento-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue);
}

.bento-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
}

.bento-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.bento-card code {
    background: rgba(255, 255, 255, 0.08);
    color: var(--coral-light);
    font-family: var(--font-mono);
    font-size: 0.85em;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.bento-footer-stat {
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--emerald-light);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Downloads Section
   ========================================================================== */
.downloads-section {
    background: rgba(10, 17, 32, 0.6);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.download-card {
    grid-column: span 4;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    transition: all var(--transition-normal);
}

.download-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.download-card.spotlight {
    grid-column: span 12;
    background: linear-gradient(135deg, rgba(20, 35, 61, 0.9) 0%, rgba(15, 30, 54, 0.95) 100%);
    border: 1px solid rgba(255, 107, 74, 0.4);
    box-shadow: 0 20px 50px -10px rgba(255, 107, 74, 0.15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        "head qr"
        "sub qr"
        "specs qr"
        "btn qr";
    gap: 1rem 2rem;
}

.download-card.spotlight .card-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: var(--coral);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
}

.download-card.spotlight .os-icon {
    grid-area: head;
    margin-bottom: 0;
}

.download-card.spotlight h3 {
    font-size: 1.8rem;
    font-weight: 800;
}

.download-card.spotlight .card-sub {
    grid-area: sub;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.download-card.spotlight .spec-list {
    grid-area: specs;
}

.download-card.spotlight .download-btn-group {
    grid-area: btn;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.version-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    font-family: var(--font-mono);
}

.qr-install-box {
    grid-area: qr;
    background: rgba(10, 17, 32, 0.8);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

#apk-qr-canvas {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.qr-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    max-width: 200px;
}

.os-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.os-icon.android {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald);
}

.os-icon.windows {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue);
}

.os-icon.macos {
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple);
}

.os-icon.linux {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
}

.spec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

.spec-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-darkest);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 0.8rem;
    max-width: 380px;
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.2rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--coral);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   ZERO-INSTALL POPUP LIVE CHAT MODAL
   ========================================================================== */
.chat-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 13, 25, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.chat-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.chat-modal-window {
    width: 100%;
    max-width: 460px;
    height: 680px;
    max-height: 92vh;
    background: rgba(20, 35, 61, 0.95);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 107, 74, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.96);
    transition: transform var(--transition-normal);
    position: relative;
}

.chat-modal-backdrop.active .chat-modal-window {
    transform: translateY(0) scale(1);
}

/* Chat Header */
.chat-modal-header {
    background: rgba(15, 30, 54, 0.95);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

/* E2EE Call Banner */
.btn-icon.btn-call {
    color: var(--emerald);
    background: rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-full);
}
.btn-icon.btn-call:hover {
    background: rgba(16, 185, 129, 0.25);
}
.chat-call-banner {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.2), rgba(15, 30, 54, 0.95));
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #FFFFFF;
}
.call-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--emerald);
    animation: pulse 1.5s infinite;
}
.call-timer {
    flex: 1;
    font-weight: 600;
    color: var(--emerald);
}
.call-controls {
    display: flex;
    gap: 0.5rem;
}
.btn-call-tool {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.3rem 0.6rem;
    color: #FFFFFF;
    font-size: 0.8rem;
    cursor: pointer;
}
.btn-call-tool.btn-call-hangup {
    background: #EF4444;
    color: #FFFFFF;
    font-weight: 700;
}

.chat-recipient-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    overflow: hidden;
}

.chat-recipient-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--coral) 0%, #D84315 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #FFFFFF;
    font-size: 1rem;
    position: relative;
    flex-shrink: 0;
}

.online-indicator-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    background: var(--emerald);
    border: 2px solid var(--bg-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chat-recipient-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-recipient-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-recipient-title h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p2p-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--emerald-light);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.chat-recipient-id {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-header-actions {
    display: flex;
    gap: 0.3rem;
    flex-shrink: 0;
}

/* Listing Preview Inside Chat */
.chat-listing-card {
    background: rgba(10, 17, 32, 0.7);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.listing-thumb-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-surface);
    flex-shrink: 0;
}

.listing-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-details-box {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    overflow: hidden;
}

.listing-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-type {
    background: var(--emerald);
    color: #070D19;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.1rem 0.35rem;
    border-radius: var(--radius-sm);
}

.badge-price {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--coral-light);
}

.listing-details-box h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-details-box .loc-text {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Guest Name Prompt */
.guest-name-prompt {
    background: rgba(15, 30, 54, 0.98);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-glow);
}

.prompt-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.prompt-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
}

.prompt-input-row {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.prompt-input-row input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem;
    font-size: 0.88rem;
    color: #FFFFFF;
    outline: none;
    font-family: var(--font-main);
}

.prompt-input-row input:focus {
    border-color: var(--coral);
}

.prompt-hint {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Chat Messages Area */
.chat-messages-area {
    flex: 1;
    padding: 1rem 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.chat-messages-area::-webkit-scrollbar {
    width: 6px;
}

.chat-messages-area::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
}

.system-bubble {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: var(--emerald-light);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.system-bubble svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Inbound / Outbound Chat Bubbles */
.chat-msg-row {
    display: flex;
    flex-direction: column;
    max-width: 82%;
}

.chat-msg-row.outbound {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-msg-row.inbound {
    align-self: flex-start;
    align-items: flex-start;
}

.msg-bubble {
    padding: 0.65rem 0.95rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    line-height: 1.45;
    word-break: break-word;
    position: relative;
}

.chat-msg-row.outbound .msg-bubble {
    background: linear-gradient(135deg, var(--coral) 0%, #D84315 100%);
    color: #FFFFFF;
    border-bottom-right-radius: 4px;
}

.chat-msg-row.inbound .msg-bubble {
    background: var(--bg-surface);
    color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
}

.msg-meta-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
    font-size: 0.68rem;
    color: var(--text-muted);
}

.chat-msg-row.outbound .msg-meta-row {
    justify-content: flex-end;
}

.msg-img-preview {
    max-width: 240px;
    max-height: 200px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    display: block;
    cursor: pointer;
    margin-bottom: 0.4rem;
}

/* File streaming cards */
.file-bubble {
    min-width: 200px;
}

.file-card-box {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.2rem 0;
}

.file-icon-box {
    font-size: 1.5rem;
    line-height: 1;
}

.file-meta-box {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.file-name-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.file-progress-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.file-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: 0.5rem;
}

.file-progress-fill {
    height: 100%;
    background: var(--emerald);
    width: 0%;
    transition: width 0.15s ease-out;
}

.file-actions {
    margin-top: 0.5rem;
}

.btn-file-dl {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--emerald-light);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-file-dl:hover {
    background: var(--emerald);
    color: #070D19;
}

.msg-audio-player {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.3rem 0;
    min-width: 180px;
}

.audio-play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--coral);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.audio-play-btn:hover {
    transform: scale(1.08);
}

.audio-waveform-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.audio-waveform-fill {
    height: 100%;
    width: 0%;
    background: #FFFFFF;
    border-radius: var(--radius-full);
    transition: width 0.1s linear;
}

.audio-duration-label {
    font-size: 0.72rem;
    font-family: var(--font-mono);
}

/* Voice Recording Banner */
.voice-recording-banner {
    background: rgba(239, 68, 68, 0.18);
    border-top: 1px solid rgba(239, 68, 68, 0.3);
    border-bottom: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
}

.record-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #EF4444;
    animation: pulse 1s infinite;
}

.record-timer {
    font-family: var(--font-mono);
    font-weight: 700;
    color: #EF4444;
}

.record-status-text {
    flex: 1;
    color: #FFFFFF;
}

.btn-cancel-record {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #EF4444;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.btn-cancel-record:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Chat Input Bar */
.chat-input-bar {
    background: rgba(15, 30, 54, 0.98);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    border-top: 1px solid var(--border-color);
}

.btn-chat-tool {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-chat-tool:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--coral-light);
}

.chat-input-bar textarea {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
    color: #FFFFFF;
    resize: none;
    outline: none;
    font-family: var(--font-main);
    max-height: 100px;
    line-height: 1.4;
}

.chat-input-bar textarea:focus {
    border-color: var(--coral);
}

.btn-chat-send {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--coral);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px var(--coral-glow);
}

.btn-chat-send:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Chat App Download Banner */
.chat-app-download-banner {
    background: rgba(10, 17, 32, 0.9);
    padding: 0.55rem 1.25rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
}

.chat-app-download-banner span {
    color: var(--text-muted);
}

.chat-app-download-banner a {
    color: var(--coral-light);
    font-weight: 700;
    text-decoration: none;
}

.chat-app-download-banner a:hover {
    text-decoration: underline;
}

/* Floating Chat Trigger Widget */
.floating-chat-trigger {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--coral) 0%, #D84315 100%);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.75rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 10px 30px var(--coral-glow);
    cursor: pointer;
    z-index: 999;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.92rem;
    transition: all var(--transition-normal);
}

.floating-chat-trigger:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 35px rgba(255, 107, 74, 0.45);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .mockup-grid {
        grid-template-columns: 1fr;
    }
    .bento-card {
        grid-column: span 12;
    }
    .download-card {
        grid-column: span 6;
    }
    .download-card.spotlight {
        grid-column: span 12;
        grid-template-columns: 1fr;
        grid-template-areas: 
            "head"
            "sub"
            "specs"
            "btn"
            "qr";
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    .download-card {
        grid-column: span 1;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .chat-modal-backdrop {
        padding: 0;
    }
    .chat-modal-window {
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: none;
    }
    .floating-chat-trigger {
        bottom: 1.25rem;
        right: 1.25rem;
        padding: 0.7rem 1.2rem;
    }
}


/* ==========================================================================
   ENTERPRISE FLAGSHIP STYLES: Navbar Status, Dialer, 3D Phone & OS Badges
   ========================================================================== */

/* Navbar Live Status */
.nav-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
}

.status-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--emerald);
    box-shadow: 0 0 10px var(--emerald);
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--emerald-light);
    letter-spacing: 0.02em;
}

.btn-dialer-nav {
    background: rgba(255, 107, 74, 0.12);
    color: var(--coral-light);
    border: 1px solid rgba(255, 107, 74, 0.3);
    border-radius: var(--radius-md);
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-dialer-nav:hover {
    background: var(--coral);
    color: #FFFFFF;
    box-shadow: 0 4px 15px var(--coral-glow);
    transform: translateY(-1px);
}

/* Split Hero Section */
.hero-section {
    padding: 4.5rem 0 3.5rem;
    text-align: left;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}

.hero-right-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Instant Portal Dialer Card */
.portal-dialer-card {
    width: 100%;
    max-width: 580px;
    background: rgba(15, 30, 54, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.dialer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.dialer-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--coral);
    letter-spacing: 0.08em;
}

.dialer-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dialer-input-group {
    display: flex;
    align-items: stretch;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dialer-prefix {
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald-light);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(16, 185, 129, 0.25);
    user-select: none;
}

#input-hero-dialer {
    flex: 1;
    background: rgba(10, 17, 32, 0.85);
    border: none;
    padding: 0.75rem 1rem;
    color: #FFFFFF;
    font-family: var(--font-mono);
    font-size: 1rem;
    outline: none;
    transition: background 0.2s;
}

#input-hero-dialer:focus {
    background: rgba(15, 30, 54, 0.95);
}

.btn-dial {
    border-radius: 0;
    padding: 0.75rem 1.4rem;
    font-size: 0.92rem;
    white-space: nowrap;
}

.dialer-quick-handles {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-label {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 500;
}

.quick-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.2rem 0.65rem;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-pill:hover {
    background: rgba(255, 107, 74, 0.15);
    border-color: var(--coral);
    color: #FFFFFF;
}

/* Pure CSS 3D-Angled Smartphone Frame */
.phone-perspective-wrapper {
    perspective: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.phone-device {
    width: 330px;
    border-radius: 44px;
    background: #070D19;
    border: 4px solid #253A5E;
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85), 0 0 45px rgba(46, 80, 136, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.1);
    transform: rotateY(-8deg) rotateX(6deg) rotateZ(1deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.phone-device:hover {
    transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) scale(1.02);
    box-shadow: 0 35px 80px -10px rgba(255, 107, 74, 0.25), 0 0 50px rgba(16, 185, 129, 0.2);
}

.phone-speaker-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 5px;
    background: #162846;
    border-radius: 3px;
    z-index: 10;
}

.phone-camera-lens {
    position: absolute;
    top: 16px;
    left: calc(50% + 45px);
    width: 8px;
    height: 8px;
    background: #102038;
    border-radius: 50%;
    border: 1px solid #253A5E;
    z-index: 10;
}

.phone-screen {
    background: #0F1E36;
    border-radius: 34px;
    padding: 1.8rem 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    height: 520px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
    position: relative;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 0 0.5rem;
}

.status-time {
    font-weight: 700;
    color: #FFFFFF;
    font-family: var(--font-mono);
}

.status-icons {
    display: flex;
    gap: 0.5rem;
    font-size: 0.68rem;
}

.phone-chat-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(20, 35, 61, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
}

.phone-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coral), #E65100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    color: #FFFFFF;
    position: relative;
    flex-shrink: 0;
}

.avatar-online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    border: 1.5px solid #0F1E36;
}

.phone-user-meta {
    display: flex;
    flex-direction: column;
}

.phone-user-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.phone-user-row h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
}

.badge-verified {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--emerald-light);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-full);
}

.phone-portal-link {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
}

.phone-chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: hidden;
    justify-content: flex-end;
}

.phone-chat-bubble {
    max-width: 86%;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    line-height: 1.35;
    position: relative;
}

.phone-chat-bubble.guest {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-bottom-left-radius: 4px;
}

.phone-chat-bubble.owner {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--coral), #D84315);
    color: #FFFFFF;
    border-bottom-right-radius: 4px;
}

.bubble-time {
    display: block;
    font-size: 0.62rem;
    opacity: 0.75;
    text-align: right;
    margin-top: 3px;
    font-family: var(--font-mono);
}

.audio-voice-bubble {
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.audio-controls-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audio-play-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--emerald);
    color: #070D19;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
}

.audio-waveform-bars {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 16px;
}

.audio-waveform-bars .bar {
    width: 3px;
    background: var(--emerald-light);
    border-radius: 2px;
    animation: waveBounce 1.2s infinite ease-in-out;
}

.audio-waveform-bars .bar-1 { height: 6px; animation-delay: 0.0s; }
.audio-waveform-bars .bar-2 { height: 12px; animation-delay: 0.1s; }
.audio-waveform-bars .bar-3 { height: 16px; animation-delay: 0.2s; }
.audio-waveform-bars .bar-4 { height: 8px; animation-delay: 0.3s; }
.audio-waveform-bars .bar-5 { height: 14px; animation-delay: 0.4s; }
.audio-waveform-bars .bar-6 { height: 10px; animation-delay: 0.5s; }
.audio-waveform-bars .bar-7 { height: 5px; animation-delay: 0.6s; }

@keyframes waveBounce {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1.0); }
}

.audio-duration {
    font-size: 0.68rem;
    font-family: var(--font-mono);
    color: var(--emerald-light);
    font-weight: 600;
}

.audio-caption {
    font-size: 0.62rem;
    color: var(--emerald-light);
    display: block;
    margin-top: 2px;
}

.file-transfer-bubble {
    background: rgba(59, 130, 246, 0.12) !important;
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    align-self: flex-start;
}

.file-icon-box {
    font-size: 1.3rem;
}

.file-transfer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.file-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: #FFFFFF;
    word-break: break-all;
}

.file-meta {
    font-size: 0.62rem;
    color: var(--text-muted);
}

.file-progress-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 3px 0;
}

.file-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--coral), var(--emerald));
}

.file-status-text {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--emerald-light);
}

.phone-input-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(10, 17, 32, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.6rem;
}

.input-tool-icon {
    font-size: 0.85rem;
    opacity: 0.7;
    cursor: pointer;
}

.input-placeholder-box {
    flex: 1;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.input-send-icon {
    font-size: 0.85rem;
}

/* Download Hub: Recommended OS Badge & Integrity Accordion */
.download-card.os-recommended {
    border-color: var(--coral) !important;
    box-shadow: 0 0 35px rgba(255, 107, 74, 0.25) !important;
    position: relative;
}

.os-recommended-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--coral), #E65100);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(255, 107, 74, 0.4);
    z-index: 5;
    white-space: nowrap;
}

.version-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-top: 0.2rem;
}

.date-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.integrity-accordion {
    margin-top: 0.75rem;
    background: rgba(10, 17, 32, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.integrity-summary {
    padding: 0.65rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
    transition: background 0.2s;
}

.integrity-summary:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.integrity-body {
    padding: 0.85rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.78rem;
}

.integrity-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.integrity-key {
    color: var(--text-muted);
    font-weight: 500;
}

.integrity-val {
    font-family: var(--font-mono);
    color: var(--emerald-light);
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.integrity-link {
    color: var(--coral-light);
    text-decoration: none;
    font-weight: 600;
}

.integrity-link:hover {
    text-decoration: underline;
}

/* Responsive updates for split hero */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-left-col {
        align-items: center;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .portal-dialer-card {
        max-width: 100%;
    }
}
