/* Парафраз - Чистый Liquid Glass Design System */

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: 
        radial-gradient(circle at 20% 80%, rgba(30, 30, 60, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(60, 30, 90, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(20, 40, 80, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, #000000 0%, #0a0a1a 50%, #1a1a2e 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Liquid Glass Parameters - Настоящее толстое стекло */
    --shadow-offset: 0px;
    --shadow-blur: 20px;
    --shadow-spread: 0px;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --tint-color: 255, 255, 255;
    --tint-opacity: 0.08;
    --frost-blur: 16px;
    --element-radius: 16px;
    --outer-shadow-blur: 20px;
    --glass-thickness: 8px;
    
    /* Colors */
    --primary: #007AFF;
    --primary-dark: #0056CC;
    --secondary: #5856D6;
    --accent: #FF3B30;
    --success: #34C759;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-tertiary: rgba(255, 255, 255, 0.6);
    --border: rgba(255, 255, 255, 0.2);
    
    /* Animation */
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-fast: 0.2s;
    --transition-medium: 0.3s;
    --transition-slow: 0.4s;
}

/* ===== GLASS SYSTEM - НАСТОЯЩЕЕ ТОЛСТОЕ СТЕКЛО ===== */
.glass-card {
    position: relative;
    border-radius: var(--element-radius);
    isolation: isolate;
    
    /* Эффект толстого стекла */
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.1) 0%, 
            rgba(255, 255, 255, 0.05) 50%, 
            rgba(255, 255, 255, 0.1) 100%);
    
    /* Стеклянные границы */
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    /* Толстое стекло - тени */
    box-shadow: 
        0px var(--glass-thickness) calc(var(--outer-shadow-blur) * 1.5) rgba(0, 0, 0, 0.3),
        0px 2px 8px rgba(0, 0, 0, 0.2),
        inset 0px 1px 0px rgba(255, 255, 255, 0.2),
        inset 0px -1px 0px rgba(255, 255, 255, 0.1);
    
    /* Искажение фона как через толстое стекло */
    backdrop-filter: 
        blur(var(--frost-blur)) 
        saturate(120%) 
        brightness(1.1)
        contrast(1.1);
    -webkit-backdrop-filter: 
        blur(var(--frost-blur)) 
        saturate(120%) 
        brightness(1.1)
        contrast(1.1);
    
    transition: border-color var(--transition-medium) var(--ease-smooth), box-shadow var(--transition-medium) var(--ease-smooth);
    will-change: transform;
    transform: translateZ(0);
}

/* Искажение фона через SVG фильтр */
.glass-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: calc(var(--element-radius) + 2px);
    /* Disable heavy filters to avoid flicker */
    filter: none !important;
    -webkit-filter: none !important;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0.45;
}



/* Glass Content Positioning */
.glass-card > * {
    position: relative;
    z-index: 1;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.section {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 6vw, 4rem);
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #007AFF, #5856D6, #FF3B30);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-medium) var(--ease-smooth);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

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

.brand {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.875rem, 2vw, 1rem);
    padding: 0.5rem 0;
    position: relative;
    transition: all var(--transition-medium) var(--ease-smooth);
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-medium) var(--ease-smooth);
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all var(--transition-fast) var(--ease-smooth);
}

.mobile-toggle:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* ===== BUTTONS - СТЕКЛЯННЫЕ КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: var(--element-radius);
    font-weight: 600;
    font-size: clamp(0.875rem, 2vw, 1rem);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-height: 48px;
    isolation: isolate;
    
    /* Стеклянная кнопка - базовые стили */
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.12) 0%, 
            rgba(255, 255, 255, 0.06) 50%, 
            rgba(255, 255, 255, 0.12) 100%);
    
    border: 1px solid rgba(255, 255, 255, 0.25);
    
    /* Стеклянные тени */
    box-shadow: 
        0px 4px 16px rgba(0, 0, 0, 0.2),
        inset 0px 1px 0px rgba(255, 255, 255, 0.3),
        inset 0px -1px 0px rgba(255, 255, 255, 0.1);
    
    /* Искажение фона через стеклянную кнопку */
    backdrop-filter: blur(10px) saturate(130%) brightness(1.05);
    -webkit-backdrop-filter: blur(10px) saturate(130%) brightness(1.05);
    
    transition: all var(--transition-medium) var(--ease-smooth);
}

/* Искажение фона для кнопок */
.btn::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: calc(var(--element-radius) + 1px);
    filter: url(#glass-subtle);
    -webkit-filter: url("#glass-subtle");
    background: 
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0.4;
}

.btn > * {
    position: relative;
    z-index: 1;
}

.btn-primary {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    
    /* Активное состояние всегда */
    background: 
        linear-gradient(135deg, 
            rgba(0, 122, 255, 0.5) 0%, 
            rgba(0, 86, 204, 0.4) 50%, 
            rgba(0, 122, 255, 0.5) 100%);
    
    border-color: rgba(0, 122, 255, 0.6);
    
    box-shadow: 
        0px 8px 24px rgba(0, 122, 255, 0.4),
        0px 2px 8px rgba(0, 122, 255, 0.2),
        inset 0px 2px 0px rgba(255, 255, 255, 0.5),
        inset 0px -2px 0px rgba(0, 122, 255, 0.3);
    
    backdrop-filter: blur(14px) saturate(150%) brightness(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(150%) brightness(1.1);
}

.btn-primary::before {
    opacity: 0.6;
}

.btn-secondary {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.18) 0%, 
            rgba(255, 255, 255, 0.10) 50%, 
            rgba(255, 255, 255, 0.18) 100%);
    
    border-color: rgba(255, 255, 255, 0.35);
    
    box-shadow: 
        0px 8px 24px rgba(255, 255, 255, 0.15),
        inset 0px 2px 0px rgba(255, 255, 255, 0.4),
        inset 0px -2px 0px rgba(255, 255, 255, 0.2);
    
    backdrop-filter: blur(14px) saturate(150%) brightness(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(150%) brightness(1.1);
}

.btn-secondary::before {
    opacity: 0.6;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    width: fit-content;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    color: var(--primary);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stats .stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-stats .stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ===== STATS ===== */
.stats {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== HERO VISUAL ===== */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: clamp(320px, 90vw, 450px);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* ===== МОБИЛЬНАЯ КАРТОЧКА MEETINGVIEW ===== */
.mobile-meeting-card {
    width: 100%;
    max-width: clamp(320px, 90vw, 380px);
    height: 600px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 0.5) 50%, 
        rgba(255, 255, 255, 0.8) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 35px 60px -10px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 2px 10px rgba(255, 255, 255, 0.3),
        inset 0 -2px 10px rgba(0, 0, 0, 0.05);
    animation: floatGentle 8s ease-in-out infinite;
    position: relative;
    z-index: 10;
}

/* Мобильный хедер */
.mobile-header {
    height: 60px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.85) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: white;
    position: relative;
}

.mobile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.back-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}



.mobile-header .meeting-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.header-actions i {
    width: 24px;
    height: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}



/* Мобильный контент */
.mobile-content {
    padding: 25px;
    height: calc(100% - 60px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== UNIFIED AUDIO PLAYER ===== */
.unified-audio-player {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    padding: 16px;
    margin-bottom: 20px;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.audio-time {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.playback-rate {
    font-size: 0.8rem;
    color: #3b82f6;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-button-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(29, 78, 216, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
}

.waveform-container {
    flex: 1;
    position: relative;
    height: 60px;
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.8), rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(8px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    margin-left: 0;
    width: 100%;
}

.waveform-timeline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(203, 213, 225, 0.5);
    z-index: 2;
}

.timeline-progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.waveform-bars {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 100%;
    padding: 8px 12px;
    gap: 1px;
    width: 100%;
}

.waveform-bars .wave-bar {
    flex: 1;
    min-width: 2px;
    max-width: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    transition: all 0.3s ease;
    animation: waveAnimation 2s ease-in-out infinite;
    opacity: 0.7;
}

.waveform-bars .wave-bar.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
    opacity: 1;
}

/* ===== SUMMARY EDITOR ===== */
.summary-editor {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.summary-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.generate-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(22, 163, 74, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 
        0 4px 12px rgba(34, 197, 94, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.editor-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.editor-text {
    color: #374151;
    line-height: 1.6;
}

.editor-text h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.editor-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 16px 0 8px 0;
}

.editor-text p {
    margin: 8px 0;
    font-size: 0.9rem;
}

.editor-text ul {
    margin: 8px 0;
    padding-left: 20px;
}

.editor-text li {
    margin: 4px 0;
    font-size: 0.9rem;
}

.editor-text strong {
    color: #1e293b;
    font-weight: 600;
}

/* Editor Toolbar (как в SummaryEditor) */
.editor-toolbar {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    flex-wrap: wrap;
}

.toolbar-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.toolbar-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.toolbar-btn.active {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.toolbar-divider {
    width: 1px;
    height: 20px;
    background: rgba(203, 213, 225, 0.6);
    margin: 0 4px;
}

/* ===== ПЛАВАЮЩИЕ КАРТОЧКИ ===== */

/* Карточка со списком встреч */
.floating-meetings-card {
    position: absolute;
    top: -20px;
    right: -40px;
    width: 180px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.6) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 2px 8px rgba(255, 255, 255, 0.3),
        inset 0 -1px 4px rgba(0, 0, 0, 0.03);
    animation: floatSlow 10s ease-in-out infinite;
    animation-delay: -2s;
    z-index: 8;
}

/* Карточка с чатом */
.floating-chat-card {
    position: absolute;
    bottom: -40px;
    left: -100px;
    width: 260px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.7) 0%, 
        rgba(30, 41, 59, 0.5) 50%, 
        rgba(51, 65, 85, 0.8) 100%);
    backdrop-filter: blur(35px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 30px 55px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 2px 8px rgba(255, 255, 255, 0.15),
        inset 0 -1px 4px rgba(0, 0, 0, 0.1);
    animation: floatSlow 12s ease-in-out infinite;
    animation-delay: -4s;
    z-index: 7;
}

/* Заголовки карточек */
.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

.floating-meetings-card .card-header {
    color: #1e293b;
}

.floating-meetings-card .card-header i {
    color: #3b82f6;
}

.floating-chat-card .card-header {
    color: #f1f5f9;
}

.floating-chat-card .card-header i {
    color: #22c55e;
}

/* Мини-список встреч */
.meetings-mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.meeting-mini-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.meeting-mini-item.active {
    background: rgba(59, 130, 246, 0.1);
}

.meeting-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.meeting-dot.blue {
    background: #3b82f6;
}

.meeting-dot.purple {
    background: #8b5cf6;
}

.meeting-dot.green {
    background: #22c55e;
}

.meeting-mini-info {
    flex: 1;
    min-width: 0;
}

.meeting-mini-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meeting-mini-time {
    font-size: 0.7rem;
    color: #64748b;
}

/* Мини-чат */
.chat-mini-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    max-height: 120px;
    overflow-y: auto;
}

.mini-message {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    line-height: 1.4;
    max-width: 85%;
}

.mini-message.user {
    background: #3b82f6;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.mini-message.ai {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-mini-input {
    display: flex;
    gap: 8px;
}

.chat-mini-input input {
    flex: 1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #f1f5f9;
    font-size: 0.8rem;
}

.chat-mini-input input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.chat-mini-input button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(22, 163, 74, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 12px rgba(34, 197, 94, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}



/* Мини-карточки функций с настоящим liquid glass */
.feature-mini-card {
    position: absolute;
    padding: 14px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.2) 30%, 
        rgba(255, 255, 255, 0.1) 70%, 
        rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.2),
        0 8px 25px -8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    z-index: 15;
    animation: floatSlow 8s ease-in-out infinite;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Добавляем псевдоэлемент для имитации жидкого стекла */
.feature-mini-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.1) 30%, 
        transparent 70%);
    opacity: 0.6;
    pointer-events: none;
    animation: liquidMove 10s ease-in-out infinite;
}

@keyframes liquidMove {
    0%, 100% {
        transform: translateX(-10px) translateY(-10px) rotate(0deg);
    }
    50% {
        transform: translateX(10px) translateY(10px) rotate(180deg);
    }
}

.feature-mini-card i {
    color: #3b82f6;
    font-size: 1rem;
}

/* Hover эффект для мини-карточек */
.feature-mini-card:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.25) 50%, 
        rgba(255, 255, 255, 0.4) 100%);
    box-shadow: 
        0 20px 45px -10px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 3px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(30px) saturate(200%);
}

.feature-mini-card:nth-child(4):hover {
    transform: translateY(-5px) scale(1.05) rotate(-5deg);
}

.feature-mini-card:nth-child(5):hover {
    transform: translateY(-5px) scale(1.05) rotate(3deg);
}

.feature-mini-card:nth-child(6):hover {
    transform: translateY(-5px) scale(1.05) rotate(-2deg);
}

/* Позиционирование мини-карточек поверх макетов */
.feature-mini-card:nth-child(4) {
    top: 120px;
    left: -10px;
    animation-delay: -1s;
    transform: rotate(-5deg);
}

.feature-mini-card:nth-child(5) {
    top: 200px;
    right: 10px;
    animation-delay: -3s;
    transform: rotate(3deg);
}

.feature-mini-card:nth-child(6) {
    bottom: 150px;
    left: 10px;
    animation-delay: -5s;
    transform: rotate(-2deg);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) scale(var(--scale, 1));
    }
    50% {
        transform: translateY(-20px) scale(var(--scale, 1));
    }
}

@keyframes waveAnimation {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.8);
    }
}

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



/* ===== RESPONSIVE HERO STYLES ===== */
@media (max-width: 1200px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual {
        height: 500px;
    }
    
    .floating-card:nth-child(2),
    .floating-card:nth-child(3),
    .floating-card:nth-child(4) {
        display: none;
    }
}

/* ===== АДАПТИВНЫЕ СТИЛИ ===== */
@media (max-width: 1200px) {
    .visual-container {
        max-width: 550px;
    }
    
    /* Убираем плавающие карточки на планшетах */
    .floating-meetings-card,
    .floating-chat-card {
        display: none;
    }
    
    /* Делаем мини-карточки ближе */
    .feature-mini-card:nth-child(4) {
        left: -50px;
    }
    
    .feature-mini-card:nth-child(5) {
        right: -50px;
    }
    
    .feature-mini-card:nth-child(6) {
        right: -60px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero .container {
        gap: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        height: 500px;
    }
    
    .visual-container {
        max-width: 480px;
    }
    
    .mobile-meeting-card {
        max-width: 350px;
        height: 500px;
    }
    

    
    /* Скрываем все плавающие элементы на мобильных */
    .floating-meetings-card,
    .floating-chat-card,
    .feature-mini-card {
        display: none;
    }
    
    /* Уменьшаем отступы в мобильном контенте */
    .mobile-content {
        padding: 20px;
        gap: 15px;
    }
    
    .mobile-header .meeting-title {
        font-size: 0.9rem;
    }
    
    .unified-audio-player {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .play-button-large {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .waveform-container {
        height: 50px;
    }
    
    .summary-header {
        padding: 12px 16px;
    }
    
    .editor-content {
        padding: 16px;
    }
    
    .editor-text h2 {
        font-size: 1rem;
    }
    
    .editor-text p,
    .editor-text li {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-visual {
        height: 450px;
    }
    
    .visual-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .mobile-meeting-card {
        max-width: 320px;
        height: 450px;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* Еще более компактный мобильный интерфейс */
    .mobile-content {
        padding: 15px;
        gap: 12px;
    }
    
    .mobile-header {
        height: 50px;
        padding: 0 15px;
    }
    
    .mobile-header .meeting-title {
        font-size: 0.85rem;
    }
    
    .unified-audio-player {
        padding: 10px;
        margin-bottom: 12px;
    }
    
    .play-button-large {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .waveform-container {
        height: 45px;
    }
    
    .player-controls {
        gap: 10px;
    }
    
    .summary-header {
        padding: 10px 12px;
    }
    
    .summary-header h3 {
        font-size: 0.9rem;
    }
    
    .generate-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .editor-content {
        padding: 12px;
    }
    
    .editor-text h2 {
        font-size: 0.95rem;
    }
    
    .editor-text h3 {
        font-size: 0.9rem;
    }
    
    .editor-text p,
    .editor-text li {
        font-size: 0.8rem;
    }
    
    .editor-toolbar {
        padding: 6px 8px;
    }
    
    .toolbar-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}









.meeting-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(51, 65, 85, 0.3);
    border: 1px solid transparent;
}



.meeting-item.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.meeting-accent {
    width: 3px;
    height: 40px;
    border-radius: 2px;
}

.meeting-accent.border-blue-500 { background: #3b82f6; }
.meeting-accent.border-purple-500 { background: #8b5cf6; }

.meeting-info {
    flex: 1;
    min-width: 0;
}

.meeting-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(241, 245, 249, 0.9);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meeting-date {
    font-size: 10px;
    color: rgba(148, 163, 184, 0.7);
    margin-bottom: 2px;
}

.meeting-status {
    font-size: 10px;
    color: rgba(34, 197, 94, 0.8);
}

.meeting-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}



.meeting-actions i {
    color: rgba(148, 163, 184, 0.6);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    font-size: 10px;
    transition: all 0.2s ease;
}



/* Центральная область */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(71, 85, 105, 0.2);
    min-width: 0;
}

.meeting-header {
    padding: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(51, 65, 85, 0.3);
}

.meeting-title-area h3 {
    font-size: 16px;
    font-weight: 700;
    color: rgba(241, 245, 249, 0.9);
    margin: 0 0 4px 0;
}

.meeting-meta span {
    font-size: 12px;
    color: rgba(148, 163, 184, 0.7);
}

.meeting-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}



.audio-player {
    padding: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.waveform-container {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 40px;
    margin-bottom: 12px;
    justify-content: center;
}

.wave-bar {
    width: 3px;
    height: 8px;
    background: rgba(148, 163, 184, 0.3);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.wave-bar.played {
    background: #3b82f6;
    height: 24px;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    font-size: 12px;
    color: rgba(148, 163, 184, 0.7);
}

.audio-progress {
    flex: 1;
    max-width: 200px;
    height: 4px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 2px;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: #3b82f6;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.content-tabs {
    display: flex;
    padding: 0 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(30, 41, 59, 0.4);
}

.tab {
    padding: 12px 16px;
    font-size: 12px;
    color: rgba(148, 163, 184, 0.7);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}



.transcript-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    font-size: 11px;
}

.transcript-block {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.speaker {
    font-weight: 600;
    color: #3b82f6;
    min-width: 60px;
}

.transcript-block .text {
    flex: 1;
    color: rgba(241, 245, 249, 0.8);
    line-height: 1.4;
}

.timestamp {
    font-size: 10px;
    color: rgba(148, 163, 184, 0.5);
    min-width: 40px;
    text-align: right;
}

/* Правая боковая панель */
.sidebar-right {
    width: 280px;
    background: rgba(30, 41, 59, 0.6);
    border-left: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.chat-header {
    padding: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(51, 65, 85, 0.3);
}

.chat-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(241, 245, 249, 0.9);
    margin: 0 0 8px 0;
}

.context-selector {
    width: 100%;
    padding: 6px 8px;
    font-size: 11px;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 4px;
    color: rgba(241, 245, 249, 0.8);
}

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message.user .message-content {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    align-self: flex-end;
    max-width: 80%;
}

.message.ai .message-content {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    align-self: flex-start;
    max-width: 80%;
}

.message-content {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 11px;
    color: rgba(241, 245, 249, 0.9);
    line-height: 1.4;
}

.message-time {
    font-size: 9px;
    color: rgba(148, 163, 184, 0.5);
    align-self: flex-end;
}

.chat-input {
    padding: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    gap: 8px;
    background: rgba(51, 65, 85, 0.3);
}

.chat-input input {
    flex: 1;
    padding: 8px 12px;
    font-size: 11px;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 6px;
    color: rgba(241, 245, 249, 0.9);
}

.chat-input input::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.chat-input button {
    width: 32px;
    height: 32px;
    background: #3b82f6;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Нижняя панель управления */
.mockup-footer {
    height: 40px;
    background: rgba(30, 41, 59, 0.8);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    backdrop-filter: blur(10px);
}

.footer-left, .footer-right {
    width: 40px;
    display: flex;
    justify-content: center;
}

.footer-btn {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: rgba(148, 163, 184, 0.7);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-btn:hover {
    color: rgba(241, 245, 249, 0.9);
    background: rgba(148, 163, 184, 0.1);
}

.footer-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.new-recording-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #3b82f6;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.new-recording-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.mini-player {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background: rgba(51, 65, 85, 0.5);
    border-radius: 6px;
    font-size: 10px;
    color: rgba(241, 245, 249, 0.8);
    min-width: 220px;
}

.mini-player i {
    color: #3b82f6;
    cursor: pointer;
}

.mini-progress {
    position: relative;
    flex: 1;
    height: 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.mini-progress-bar {
    position: absolute;
    inset: 0 0 0 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #0b63ff, #60a5fa);
}

/* Адаптивность макета */
@media (max-width: 768px) {
    .app-mockup {
        height: 500px;
        max-width: 100%;
    }
    
    .sidebar-left, .sidebar-right {
        display: none;
    }
    
    .mockup-content {
        flex-direction: column;
    }
    
    .main-content {
        width: 100%;
    }
}

/* Адаптивность макета и hero секции */
@media (max-width: 1024px) {
    .hero {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .hero-grid {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
        perspective: 800px;
        min-height: 500px;
    }
    
    .app-mockup {
        max-width: 700px;
        height: 450px;
        transform: rotateY(-10deg) rotateX(8deg) translateZ(30px);
    }
    
    .app-mockup:hover {
        transform: rotateY(-5deg) rotateX(3deg) translateZ(50px) scale(1.01);
    }
}

@media (max-width: 768px) {
    .navbar { padding: 0.5rem 0; }
    .nav-content { gap: 0.75rem; }
    .brand { display: inline-flex; align-items: center; gap: 8px; }
    .hero {
        padding-top: 60px;
        min-height: auto;
        padding-bottom: 2rem;
    }
    
    .hero-grid {
        gap: 2rem;
        max-width: 100%;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        text-align: center;
    }
    
    .hero-visual {
        perspective: 600px;
        min-height: 400px;
    }
    
    .app-mockup {
        height: 400px;
        max-width: 100%;
        transform: rotateY(-8deg) rotateX(5deg) translateZ(20px);
    }
    

    
    .sidebar-left, .sidebar-right {
        display: none;
    }
    
    .mockup-content {
        flex-direction: column;
    }
    
    .main-content {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .hero-visual {
        perspective: 400px;
        min-height: 300px;
    }
    
    .app-mockup {
        height: 300px;
        transform: rotateY(-5deg) rotateX(3deg) translateZ(10px);
        border-radius: 15px;
    }
    

}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 4vw, 2rem);
}

.feature-item {
    text-align: center;
}

.feature-item .glass-card { transition: transform var(--transition-medium) var(--ease-smooth), box-shadow var(--transition-medium) var(--ease-smooth); animation: fadeInUp 0.8s ease-out 0.2s both; backdrop-filter: blur(var(--frost-blur)); -webkit-backdrop-filter: blur(var(--frost-blur)); background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: all var(--transition-medium) var(--ease-smooth);
}



.feature-content h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-content p {
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 4vw, 2.5rem);
}

.pricing-item {
    position: relative;
}

.pricing-item.popular {
    transform: scale(1.05);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #FF6B47);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
}

.pricing-item .glass-card {
    padding: 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-content h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.pricing-price {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.pricing-period {
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.features-list i {
    width: 16px;
    text-align: center;
}

.features-list i.fa-check {
    color: var(--success);
}

.features-list i.fa-times {
    color: var(--text-tertiary);
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(88, 86, 214, 0.1));
}

.cta-card .glass-card { transition: transform var(--transition-medium) var(--ease-smooth), box-shadow var(--transition-medium) var(--ease-smooth); animation: fadeInUp 0.8s ease-out 0.2s both;
    padding: clamp(2rem, 6vw, 4rem);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 2rem;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .brand {
    font-size: 1.5rem;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.link-column h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.link-column ul {
    list-style: none;
}

.link-column li {
    margin-bottom: 0.5rem;
}

.link-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition-fast) var(--ease-smooth);
}

.link-column a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-medium) var(--ease-smooth);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* ===== BACKGROUND ELEMENTS ===== */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: clamp(60px, 8vw, 120px);
    height: clamp(60px, 8vw, 120px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.floating-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 20%; right: 15%; animation-delay: -2s; }
.floating-element:nth-child(3) { top: 60%; left: 5%; animation-delay: -4s; }
.floating-element:nth-child(4) { top: 80%; right: 10%; animation-delay: -6s; }
.floating-element:nth-child(5) { top: 40%; left: 80%; animation-delay: -8s; }
.floating-element:nth-child(6) { top: 70%; left: 70%; animation-delay: -10s; }
.floating-element:nth-child(7) { top: 30%; right: 40%; animation-delay: -12s; }
.floating-element:nth-child(8) { top: 50%; left: 30%; animation-delay: -14s; }
.floating-element:nth-child(9) { top: 15%; left: 60%; animation-delay: -16s; }
.floating-element:nth-child(10) { top: 85%; right: 50%; animation-delay: -18s; }
.floating-element:nth-child(11) { top: 25%; right: 70%; animation-delay: -20s; }
.floating-element:nth-child(12) { top: 65%; left: 50%; animation-delay: -22s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) rotate(270deg); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium) var(--ease-smooth);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-item.popular {
        transform: none;
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-element {
        display: none;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element {
        animation: none !important;
    }
}

/* ===== FOCUS STATES ===== */
.btn:focus,
.nav-link:focus,
.social-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== UTILITIES ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hidden {
    display: none;
}

/* ===== ВОССТАНОВЛЕННЫЕ HOVER ЭФФЕКТЫ ===== */

/* Hover эффекты для карточек функций */
.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0px 8px 24px rgba(0, 122, 255, 0.4);
}

/* Hover эффекты для ссылок в футере */
.link-column a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Hover эффекты для кнопок футера */
.footer-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.new-recording-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Hover для mobile toggle */
.mobile-toggle:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Hover эффекты для кнопок */
.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 
        0px 12px 30px rgba(0, 122, 255, 0.5),
        0px 4px 12px rgba(0, 122, 255, 0.3),
        inset 0px 3px 0px rgba(255, 255, 255, 0.6),
        inset 0px -3px 0px rgba(0, 122, 255, 0.4);
    backdrop-filter: blur(16px) saturate(160%) brightness(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(160%) brightness(1.2);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 
        0px 12px 30px rgba(255, 255, 255, 0.2),
        inset 0px 3px 0px rgba(255, 255, 255, 0.5),
        inset 0px -3px 0px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(16px) saturate(160%) brightness(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(160%) brightness(1.2);
}

/* Hover эффекты для кнопок в макетах тоже нужны */
.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 16px rgba(34, 197, 94, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.playback-rate:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.05);
}

/* ===== SHOWCASE SECTIONS ===== */
.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.feature-showcase.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-showcase.reverse .showcase-visual {
    order: -1;
}

.showcase-content {
    padding: 2rem 0;
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(99, 102, 241, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Одинаковые стили для блока ИИ-помощника */
.ai-chat-showcase .feature-benefits {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(99, 102, 241, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Одинаковая ширина колонок как в блоках выше */
.ai-chat-showcase .feature-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.benefit-item p {
    color: white;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    text-align: right;
}

/* ===== REALISTIC PLAYER DEMO ===== */
.realistic-player-demo {
    padding: 0;
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
}

.player-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.demo-meeting-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.demo-metadata {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: #64748b;
}

.processing-badge {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.demo-audio-player {
    padding: 1.5rem;
    background: white;
    position: relative;
}

.demo-player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.demo-audio-time {
    font-family: monospace;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 600;
}

.demo-playback-rate {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.demo-player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-play-button-large {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.demo-waveform-container {
    flex: 1;
    position: relative;
    height: 60px;
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.8), rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(8px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.demo-waveform-timeline {
    position: absolute;
    top: 8px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: rgba(203, 213, 225, 0.5);
    border-radius: 1px;
    z-index: 2;
}

.demo-timeline-progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.demo-waveform-bars {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 100%;
    padding: 8px 12px;
    gap: 0.5px;
    padding-top: 12px;
}

.demo-wave-bar {
    flex: 1;
    min-width: 2px;
    max-width: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    transition: all 0.3s ease;
    opacity: 0.7;
    animation: waveAnimation 2s ease-in-out infinite;
}

.demo-wave-bar.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
    opacity: 1;
}

.existing-note {
    position: absolute;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 3;
}

.note-dot {
    width: 8px;
    height: 8px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3);
    animation: pulse 2s infinite;
}

.note-popover-overlay {
    position: absolute;
    transform: translateX(-50%);
    z-index: 100;
    background: white;
    border-radius: 12px;
    box-shadow: 
        0 20px 40px -12px rgba(0, 0, 0, 0.25),
        0 8px 20px -6px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    width: 280px;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.popover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(248, 250, 252, 0.9);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.popover-title {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.popover-close {
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(156, 163, 175, 0.1);
    border-radius: 4px;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
}

.popover-close:hover {
    background: rgba(156, 163, 175, 0.2);
}

.popover-content {
    padding: 16px;
}

.timestamp-display {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #3b82f6;
    font-size: 0.85rem;
    font-weight: 500;
}

.timestamp-display i {
    font-size: 0.8rem;
}

.note-input {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid rgba(209, 213, 219, 0.8);
    border-radius: 8px;
    background: rgba(249, 250, 251, 0.8);
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.4;
    resize: vertical;
    font-family: inherit;
    margin-bottom: 16px;
}

.note-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.popover-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-cancel {
    padding: 8px 16px;
    border: 1px solid rgba(209, 213, 219, 0.8);
    background: white;
    color: #6b7280;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 500;
}

.btn-cancel:hover {
    background: rgba(249, 250, 251, 0.8);
}

.btn-save {
    padding: 8px 16px;
    border: none;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-save:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.popover-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top-color: white;
}

.popover-arrow::before {
    content: '';
    position: absolute;
    top: -9px;
    left: -8px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.1);
}

.demo-notes-preview {
    background: rgba(248, 250, 252, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 1.5rem;
}

.notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.notes-count {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.add-note-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.notes-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.note-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.note-time {
    font-family: monospace;
    font-size: 0.8rem;
    color: #3b82f6;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.note-text {
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.4;
}

/* ===== EDITOR DEMO ===== */
.editor-demo {
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(248, 250, 252, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.editor-title {
    font-weight: 600;
    color: #0f172a;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.ai-generate-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.editor-content {
    padding: 1.5rem;
    min-height: 200px;
    background: white;
    color: #1e293b;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

.editor-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.75rem 1rem;
    background: rgba(248, 250, 252, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.tool-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.tool-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.tool-btn.active {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.toolbar-divider {
    width: 1px;
    height: 20px;
    background: rgba(203, 213, 225, 0.6);
    margin: 0 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .feature-showcase,
    .feature-showcase.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-showcase.reverse .showcase-visual {
        order: 0;
    }
    
    .benefit-item {
        gap: 0.75rem;
    }
    
    .benefit-item i {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .waveform-demo,
    .editor-demo {
        max-width: 100%;
    }
    
    .demo-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .editor-header {
        padding: 0.75rem 1rem;
    }
    
    .editor-content {
        padding: 1rem;
        min-height: 150px;
    }
    
    .feature-benefits {
        gap: 1.5rem;
    }
    
    .benefit-item {
        gap: 1rem;
    }
    
    .chat-demo {
        max-width: 100%;
        height: 500px;
    }
    
    .chat-demo-header {
        padding: 1rem 1.25rem;
    }
    
    .chat-demo-messages {
        padding: 1rem 1.25rem;
        gap: 1rem;
    }
    
    .message-bubble {
        max-width: 240px;
        font-size: 0.8rem;
        padding: 0.75rem 1rem;
    }
    
    .full-app-demo {
        max-width: 100%;
        height: 500px;
        grid-template-columns: 1fr;
        grid-template-rows: 140px 1fr 45px;
    }
    
    .app-sidebar-left {
        grid-column: 1;
        grid-row: 1;
        border-right: none;
        border-bottom: 1px solid rgba(71, 85, 105, 0.3);
        max-height: 140px;
    }
    
    .app-header {
        padding: 0.75rem 1rem;
    }
    
    .app-brand {
        font-size: 1rem;
    }
    
    .meetings-list {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        padding: 0.5rem 1rem;
    }
    
    .meeting-item {
        min-width: 180px;
        flex-shrink: 0;
        margin-bottom: 0;
    }
    
    .meeting-accent-border {
        width: 3px;
    }
    
    .app-main-content {
        grid-column: 1;
        grid-row: 2;
    }
    
    .main-header {
        padding: 0.75rem 1rem;
    }
    
    .meeting-title-section h3 {
        font-size: 1rem;
    }
    
    .meeting-tabs {
        overflow-x: auto;
    }
    
    .tab {
        padding: 0.75rem 1rem;
        min-width: max-content;
    }
    
    .main-content-area {
        padding: 1rem;
    }
    
    .transcript-content {
        gap: 1rem;
    }
    
    .speaker-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .speaker-text {
        padding: 0.75rem 0.75rem 0.75rem 2rem;
        font-size: 0.8rem;
    }
    
    .app-sidebar-right {
        display: none; /* Скрываем chat sidebar на мобильных */
    }
    
    .app-footer {
        grid-column: 1;
        grid-row: 3;
        padding: 0 0.75rem;
    }
    
    .footer-btn span {
        display: none; /* Скрываем текст кнопок на мобильных */
    }
    
    .footer-btn.new-recording span {
        display: inline; /* Оставляем текст только для главной кнопки */
    }
    
    .mini-player-area {
        display: none; /* Скрываем mini-player на мобильных */
    }
}

/* ===== HIDDEN ELEMENTS ===== */
/* Временно скрываем тарифы и кнопку входа */
.pricing.section {
    display: none !important;
}

.nav-menu .btn.btn-primary {
    display: none !important;
}

/* Скрываем ссылки на тарифы в футерах */
.footer-links a[href="#pricing"],
.footer-links a[href*="pricing"] {
    display: none !important;
}

/* ===== AI CHAT DEMO ===== */
.ai-chat-showcase {
    /* Убираем фон чтобы был одинаковый с блоком выше */
}

.chat-demo {
    width: 100%;
    max-width: 480px;
    height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.chat-demo-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.chat-demo-title i {
    color: var(--primary);
    font-size: 1.125rem;
}

.online-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34D399;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.chat-demo-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.demo-message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: messageSlideIn 0.5s ease-out;
}

.demo-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.user-avatar {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.ai-avatar {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
}

.message-bubble {
    max-width: 320px;
    padding: 0.875rem 1.125rem;
    border-radius: 18px;
    line-height: 1.5;
    font-size: 0.875rem;
}

.user-bubble {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-bubble {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 4px;
}

.ai-bubble strong {
    color: var(--primary);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-10px); opacity: 1; }
}

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

.chat-demo-input {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.input-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.5rem 0.75rem;
    backdrop-filter: blur(10px);
}

.input-container input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.875rem;
    padding: 0.5rem;
}

.input-container input::placeholder {
    color: var(--text-secondary);
}

.send-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.send-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

/* ===== FULL APP INTERFACE DEMO ===== */
.sidebar-section-title{
    color:#e2e8f0;
    font-size:0.8rem;
    font-weight:600;
    padding:0 1rem 0.5rem 1rem;
    display:flex;
    align-items:center;
    gap:0.5rem;
    opacity:0.9;
}

/* App-like two panels area */
.two-panels{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:1rem;
}
.panel{
    background: #ffffff;
    border:1px solid rgba(71,85,105,0.2);
    border-radius:10px;
    backdrop-filter: blur(2px);
}
.panel-header{
    display:flex;align-items:center;justify-content:space-between;
    padding:0.75rem 1rem;border-bottom:1px solid rgba(71,85,105,0.25);
}
.panel-header h4{margin:0;color:#0f172a;font-size:0.95rem;font-weight:700}
.retranscribe-btn,.regenerate-btn{
    background:#0b63ff;color:#fff;border:none;border-radius:8px;padding:0.4rem 0.7rem;font-size:0.8rem;cursor:pointer
}
.retranscribe-btn i,.regenerate-btn i{margin-right:0.4rem}

.transcript-list{padding:0.75rem 1rem;display:flex;flex-direction:column;gap:0.5rem}
.transcript-item{display:flex;gap:0.5rem;align-items:flex-start;background:rgba(15,23,42,0.03);padding:0.5rem 0.6rem;border-radius:8px;border-left:3px solid rgba(0,122,255,0.35)}
.transcript-item .time{font-family:ui-monospace,Consolas,monospace;color:#64748b;font-weight:700;font-size:0.75rem;min-width:36px;margin-right:0.25rem}
.transcript-item p{margin:0;color:#334155;font-size:0.9rem}

.summary-card{padding:1rem; color:#0f172a}
.summary-card h3{margin:0 0 8px 0;color:#0f172a}
.summary-card h4{margin:12px 0 6px 0;color:#1f2937;font-size:0.95rem}
.summary-card ul{margin:6px 0 0 1rem}
.summary-card li{margin:4px 0}

.player-bar{display:flex;align-items:center;gap:0.75rem;margin-top:1rem;background:rgba(255,255,255,0.55);border:1px solid rgba(71,85,105,0.25);border-radius:10px;padding:0.5rem 0.75rem}
.play-btn{width:36px;height:36px;border-radius:50%;background:#0b63ff;color:#fff;border:none;display:flex;align-items:center;justify-content:center}
.ws-demo{position:relative;flex:1;height:56px;border-radius:10px;background:#ffffff;overflow:hidden;border:1px solid rgba(71,85,105,0.2)}
.ws-demo::after{content:none}
/* remove old timeline styles */
.player-time{font-family:ui-monospace,Consolas,monospace;color:#334155;font-size:0.8rem}

@media (max-width: 1024px){
  .two-panels{grid-template-columns:1fr}
}

.full-app-demo {
    width: 100%;
    max-width: 1200px;
    min-height: 680px;
    height: auto;
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    grid-template-rows: auto 56px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

/* Left Sidebar - Real App Interface */
.app-sidebar-left {
    grid-column: 1;
    grid-row: 1;
    background: rgba(30, 41, 59, 0.9);
    border-right: 1px solid rgba(71, 85, 105, 0.3);
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #e2e8f0;
    letter-spacing: 0.025em;
}

.app-brand i {
    color: var(--primary);
    font-size: 1.375rem;
}

.app-header-actions {
    display: flex;
    gap: 0.5rem;
}

.header-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(71, 85, 105, 0.5);
    border: none;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.header-action-btn:hover {
    background: rgba(71, 85, 105, 0.8);
    color: #e2e8f0;
}

.sidebar-divider {
    height: 1px;
    background: rgba(71, 85, 105, 0.3);
    margin: 0.75rem 1rem;
}

.meetings-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 1rem 1rem 1rem;
}

.meeting-item {
    position: relative;
    background: rgba(51, 65, 85, 0.6);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.meeting-item:hover {
    background: rgba(51, 65, 85, 0.8);
    transform: translateY(-1px);
}

.meeting-item.active {
    background: rgba(51, 65, 85, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.meeting-accent-border {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
}

.meeting-accent-border.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.meeting-accent-border.teal {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.meeting-content {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.meeting-info h5 {
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meeting-meta {
    color: #94a3b8;
    font-size: 0.75rem;
    margin: 0;
}

.meeting-status-badges {
    display: flex;
    gap: 0.25rem;
}

.status-badge {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.recording {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.2);
    animation: pulse-recording 1.5s ease-in-out infinite;
}

.status-badge.completed {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.2);
}

@keyframes pulse-recording {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Main Content - Meeting View */
.app-main-content {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    background: rgba(51, 65, 85, 0.4);
    min-height: 540px;
}

.main-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(30, 41, 59, 0.5);
}

.meeting-title-section h3 {
    color: #f1f5f9;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.meeting-title-section .meeting-meta {
    color: #94a3b8;
    font-size: 0.8rem;
}

.meeting-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(71, 85, 105, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.action-btn:hover {
    background: rgba(71, 85, 105, 0.8);
    color: #e2e8f0;
    transform: translateY(-1px);
}

.action-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.meeting-tabs {
    display: flex;
    padding: 0;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    background: rgba(30, 41, 59, 0.3);
}

.tab {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    color: #94a3b8;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
    position: relative;
}

.tab:hover {
    color: #e2e8f0;
    background: rgba(71, 85, 105, 0.3);
}

.tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(0, 122, 255, 0.05);
    font-weight: 600;
}

.main-content-area {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: rgba(51, 65, 85, 0.2);
}

/* Player area on top of content, like MeetingView */
.player-area{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:0.75rem;margin-bottom:1rem;background:#ffffff;border:1px solid rgba(71,85,105,0.2);border-radius:10px;padding:0.5rem 0.75rem}
.play-btn.large{width:44px;height:44px}
.player-meta{display:flex;align-items:center;gap:0.75rem;color:#334155;font-size:0.85rem}
.player-meta .playback-rate{opacity:0.8}

.transcript-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.speaker-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.speaker-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.speaker-avatar.blue {
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
}

.speaker-avatar.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.speaker-name {
    color: #f1f5f9;
    font-size: 0.875rem;
    font-weight: 600;
}

.speaker-message .timestamp {
    color: #94a3b8;
    font-size: 0.75rem;
    margin-left: auto;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

.speaker-text {
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    padding-left: 2.5rem;
    background: rgba(30, 41, 59, 0.3);
    padding: 1rem 1rem 1rem 2.5rem;
    border-radius: 8px;
    border-left: 3px solid rgba(0, 122, 255, 0.3);
}

/* Right Sidebar - Chat AI */
.app-sidebar-right {
    grid-column: 3;
    grid-row: 1;
    background: rgba(30, 41, 59, 0.9);
    border-left: 1px solid rgba(71, 85, 105, 0.3);
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    background: rgba(30, 41, 59, 0.5);
}

.chat-header h4 {
    color: #f1f5f9;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-header h4 i {
    color: var(--primary);
}

.context-selector {
    margin-top: 0.5rem;
}

.context-select {
    width: 100%;
    padding: 0.5rem;
    background: rgba(51, 65, 85, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 0.8rem;
    outline: none;
}

.context-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
}

.chat-messages-area {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(51, 65, 85, 0.2);
}

.chat-message {
    display: flex;
    align-items: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message .message-content {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.5;
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.ai .message-content {
    background: rgba(30, 41, 59, 0.8);
    color: #e2e8f0;
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-bottom-left-radius: 4px;
}

.chat-input-area {
    padding: 1rem;
    border-top: 1px solid rgba(71, 85, 105, 0.3);
    background: rgba(30, 41, 59, 0.5);
}

.chat-input-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(51, 65, 85, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.chat-input-container input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #e2e8f0;
    font-size: 0.875rem;
    padding: 0.25rem;
}

.chat-input-container input::placeholder {
    color: #94a3b8;
}

.chat-send-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

/* Footer Bar */
.app-footer {
    grid-column: 1 / -1;
    grid-row: 2;
    background: rgba(30, 41, 59, 0.9);
    border-top: 1px solid rgba(71, 85, 105, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.footer-left,
.footer-right {
    width: 40px;
}

.footer-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-btn {
    padding: 0.5rem;
    background: rgba(71, 85, 105, 0.5);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 6px;
    color: #94a3b8;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.footer-btn:hover {
    background: rgba(71, 85, 105, 0.8);
    color: #e2e8f0;
}

.footer-btn.new-recording {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    padding: 0.75rem 1.25rem;
    min-width: 160px;
    font-weight: 600;
}

.footer-btn.new-recording:hover {
    background: #0056cc;
    transform: translateY(-1px);
}

.mini-player-area {
    max-width: 200px;
}

.mini-player {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(51, 65, 85, 0.8);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(71, 85, 105, 0.3);
    font-size: 0.75rem;
    color: #cbd5e1;
}

.mini-player .duration {
    color: #94a3b8;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

.app-interface-showcase .feature-showcase {
    grid-template-columns: 1fr; /* single column: mockup only */
}
.app-interface-showcase .container { max-width: 1280px; }
.app-interface-showcase .showcase-visual { width: 100%; }

/* Make center two-panels more comfortable */
.two-panels { grid-template-columns: 1fr 1fr; }
.transcript-panel .transcript-list{max-height: 360px; overflow: auto}
.summary-panel .summary-card{max-height: 360px; overflow: auto}

/* smaller meeting list items */
.meeting-item .meeting-info h5{font-size:0.8rem}
.meeting-item .meeting-meta{font-size:0.7rem}

/* footer button alignment tweak */
.app-footer .footer-btn{display:inline-flex; align-items:center; justify-content:center}

/* compact transcript & summary */
.transcript-panel .panel-header h4,.summary-panel .panel-header h4{font-size:0.9rem}
.transcript-item p{font-size:0.85rem}
.summary-card{font-size:0.9rem}
.summary-card h3{font-size:1.1rem}
.summary-card h4{font-size:0.95rem}

/* Freeze glass shade during animations in feature & CTA cards */
.feature-item .glass-card, .cta-card .glass-card { opacity: 1 !important; }
.feature-item .glass-card::before, .cta-card .glass-card::before { filter: none !important; -webkit-filter: none !important; opacity: 0.5 !important; }

@media (max-width: 768px){
  .full-app-demo{grid-template-columns: 1fr; grid-template-rows: auto auto auto;}
  .app-sidebar-left{grid-column:1; grid-row:1;}
  .app-main-content{grid-column:1; grid-row:2;}
  .app-sidebar-right{grid-column:1; grid-row:3;}
  .two-panels{grid-template-columns:1fr;}
  .mini-player{min-width: 0; width: 100%;}
}

@media (max-width: 768px){
  .container{ max-width: 100%; padding: 0 1rem; }
  .brand{ font-size: 1.5rem; }
  .hero{ min-height: 100vh; padding-top: 96px; }
  .hero .container{ padding-left: 1rem; padding-right: 1rem; }
  .hero-visual{ height: auto; min-height: 360px; }
  .visual-container{ max-width: 420px; }
}

@media (max-width: 430px){
  .navbar{ padding: .75rem 0; }
  .brand{ font-size: 1.6rem; }
  .hero{ min-height: 100vh; padding-top: 80px; padding-bottom: 2rem; }
  .hero-grid{ flex-direction: column; gap: 1.5rem; }
  .hero-visual{ order: -1; min-height: 360px; }
  .visual-container{ max-width: 360px; }
  .hero-title{ font-size: 2rem; }
  .hero-description{ font-size: 1rem; }
  .stats-grid{ grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .features-grid{ grid-template-columns: 1fr; gap: 1rem; }
  .section{ padding: 2.5rem 0; }
}
@media (min-width: 431px) and (max-width: 768px){
  .brand{ font-size: 1.7rem; }
  .hero{ min-height: 100vh; padding-top: 90px; }
  .visual-container{ max-width: 420px; }
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
  .features-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 430px){
  /* Stack feature showcase blocks and shrink visuals */
  .feature-showcase{ grid-template-columns: 1fr !important; gap: 1rem; }
  .feature-showcase .showcase-visual{ transform: scale(0.9); transform-origin: top center; }
  .notes-waveform .showcase-visual,
  .summary-editor-showcase .showcase-visual,
  .ai-chat-showcase .showcase-visual{ transform: scale(0.9); transform-origin: top center; }
  .feature-showcase .feature-benefits{ margin-top: .25rem; }
  
  /* App interface demo smaller on mobile */
  .full-app-demo{ transform: scale(0.9); transform-origin: top center; }
  .app-interface-showcase .container{ overflow: visible; }
}

@media (max-width: 480px){
  /* Force single-column and fit visuals */
  .notes-waveform .feature-showcase,
  .summary-editor-showcase .feature-showcase,
  .ai-chat-showcase .feature-showcase{ grid-template-columns: 1fr !important; gap: 1rem !important; }

  .notes-waveform .showcase-visual,
  .summary-editor-showcase .showcase-visual,
  .ai-chat-showcase .showcase-visual{ width: 100% !important; display:flex; justify-content:center; }

  .notes-waveform .feature-benefits,
  .summary-editor-showcase .feature-benefits,
  .ai-chat-showcase .feature-benefits{ width: 100% !important; }

  .realistic-player-demo,
  .editor-demo,
  .chat-demo{ width: 100% !important; max-width: 100% !important; transform: scale(0.85) !important; transform-origin: top center !important; }

  /* App interface demo smaller */
  .app-interface-showcase .feature-showcase{ grid-template-columns: 1fr !important; }
  .full-app-demo{ width: 100% !important; max-width: 100% !important; transform: scale(0.8) !important; transform-origin: top center !important; }
}

@media (min-width: 481px) and (max-width: 768px){
  .notes-waveform .feature-showcase,
  .summary-editor-showcase .feature-showcase,
  .ai-chat-showcase .feature-showcase,
  .app-interface-showcase .feature-showcase{ grid-template-columns: 1fr !important; gap: 1.25rem !important; }

  .realistic-player-demo,
  .editor-demo,
  .chat-demo{ width: 100% !important; max-width: 100% !important; transform: scale(0.92) !important; transform-origin: top center !important; }
  .full-app-demo{ width: 100% !important; max-width: 100% !important; transform: scale(0.88) !important; transform-origin: top center !important; }
}

@media (max-width: 768px){
  /* Hide full interface mockup on mobile */
  .app-interface-showcase.section{ display: none !important; }

  /* Ensure feature benefits fit width */
  .notes-waveform .feature-benefits,
  .summary-editor-showcase .feature-benefits,
  .ai-chat-showcase .feature-benefits{ width:100% !important; box-sizing:border-box; padding: 1rem !important; }
  .notes-waveform .feature-benefits .benefit-item i,
  .summary-editor-showcase .feature-benefits .benefit-item i,
  .ai-chat-showcase .feature-benefits .benefit-item i{ width:32px !important; height:32px !important; font-size:.9rem !important; }
  .notes-waveform .feature-benefits .benefit-item h4,
  .summary-editor-showcase .feature-benefits .benefit-item h4,
  .ai-chat-showcase .feature-benefits .benefit-item h4{ font-size:1rem !important; }
  .notes-waveform .feature-benefits .benefit-item p,
  .summary-editor-showcase .feature-benefits .benefit-item p,
  .ai-chat-showcase .feature-benefits .benefit-item p{ font-size:.9rem !important; }

  /* Visuals shrink and center */
  .notes-waveform .showcase-visual,
  .summary-editor-showcase .showcase-visual,
  .ai-chat-showcase .showcase-visual{ width:100% !important; display:flex; justify-content:center; }
  .realistic-player-demo,
  .editor-demo,
  .chat-demo{ max-width: 100% !important; width: 100% !important; transform-origin: top center !important; transform: scale(0.8) !important; }
}

@media (max-width: 480px){
  /* Notes in Player: visual full-width, no downscale */
  .notes-waveform .showcase-visual{ justify-content: center !important; }
  .notes-waveform .realistic-player-demo{ width:100% !important; max-width:100% !important; transform:none !important; }

  /* Beautiful Summary Editor: center and slightly larger */
  .summary-editor-showcase .showcase-visual{ justify-content:center !important; }
  .summary-editor-showcase .editor-demo{ width:100% !important; max-width:100% !important; transform:scale(0.95) !important; transform-origin: top center !important; }

  /* Smart AI Assistant: center and slightly larger */
  .ai-chat-showcase .showcase-visual{ justify-content:center !important; }
  .ai-chat-showcase .chat-demo{ width:100% !important; max-width:100% !important; transform:scale(0.95) !important; transform-origin: top center !important; }
}

@media (min-width: 481px) and (max-width: 768px){
  .notes-waveform .showcase-visual{ justify-content:center !important; }
  .notes-waveform .realistic-player-demo{ width:100% !important; max-width:640px !important; transform:none !important; }

  .summary-editor-showcase .showcase-visual{ justify-content:center !important; }
  .summary-editor-showcase .editor-demo{ width:100% !important; max-width:640px !important; transform:scale(0.97) !important; transform-origin: top center !important; }

  .ai-chat-showcase .showcase-visual{ justify-content:center !important; }
  .ai-chat-showcase .chat-demo{ width:100% !important; max-width:640px !important; transform:scale(0.97) !important; transform-origin: top center !important; }
}

@media (max-width: 480px){
  /* Match 'Заметки прямо в плеере' behavior */
  .summary-editor-showcase .feature-showcase,
  .ai-chat-showcase .feature-showcase{ grid-template-columns: 1fr !important; gap: 1rem !important; }
  .summary-editor-showcase .showcase-visual,
  .ai-chat-showcase .showcase-visual{ width:100% !important; display:flex !important; justify-content:center !important; }
  .summary-editor-showcase .editor-demo,
  .ai-chat-showcase .chat-demo{ width:100% !important; max-width:100% !important; transform:none !important; margin:0 auto !important; }
}

@media (max-width: 768px){
  .summary-editor-showcase .feature-showcase{ grid-template-columns: 1fr !important; gap: 1rem !important; }
  .ai-chat-showcase .feature-showcase{ grid-template-columns: 1fr !important; gap: 1rem !important; }
}

@media (max-width: 768px){
  /* HERO strict centering */
  .hero .container{ max-width: 100vw !important; margin: 0 auto !important; padding-left: 1rem !important; padding-right: 1rem !important; }
  .hero-content{ align-items: center !important; text-align: center !important; }
  .hero-visual, .visual-container{ margin: 0 auto !important; display: flex !important; justify-content: center !important; }

  /* Summary Editor section: single column, centered */
  .summary-editor-showcase .feature-showcase{ grid-template-columns: 1fr !important; gap: 1rem !important; width: 100% !important; }
  .summary-editor-showcase .feature-benefits{ width: 100% !important; margin: 0 auto !important; }
  .summary-editor-showcase .showcase-visual{ width: 100% !important; display: flex !important; justify-content: center !important; }
  .summary-editor-showcase .showcase-visual > *{ width: 100% !important; max-width: 100% !important; margin: 0 auto !important; transform: none !important; }

  /* AI Chat section: single column, centered */
  .ai-chat-showcase .feature-showcase{ grid-template-columns: 1fr !important; gap: 1rem !important; width: 100% !important; }
  .ai-chat-showcase .feature-benefits{ width: 100% !important; margin: 0 auto !important; }
  .ai-chat-showcase .showcase-visual{ width: 100% !important; display: flex !important; justify-content: center !important; }
  .ai-chat-showcase .showcase-visual > *{ width: 100% !important; max-width: 100% !important; margin: 0 auto !important; transform: none !important; }
}

/* Mirror notes-waveform behavior for the other two sections */
@media (max-width: 480px){
  .summary-editor-showcase .feature-showcase,
  .ai-chat-showcase .feature-showcase{ grid-template-columns: 1fr !important; gap: 1rem !important; }
  .summary-editor-showcase .feature-benefits,
  .ai-chat-showcase .feature-benefits{ width:100% !important; box-sizing:border-box; padding: 1rem !important; }
  .summary-editor-showcase .showcase-visual,
  .ai-chat-showcase .showcase-visual{ justify-content:center !important; }
  .summary-editor-showcase .editor-demo{ width:100% !important; max-width:100% !important; transform:none !important; }
  .ai-chat-showcase .chat-demo{ width:100% !important; max-width:100% !important; transform:none !important; }
}
@media (min-width: 481px) and (max-width: 768px){
  .summary-editor-showcase .feature-showcase,
  .ai-chat-showcase .feature-showcase{ grid-template-columns: 1fr !important; gap: 1.25rem !important; }
  .summary-editor-showcase .feature-benefits,
  .ai-chat-showcase .feature-benefits{ width:100% !important; }
  .summary-editor-showcase .showcase-visual,
  .ai-chat-showcase .showcase-visual{ justify-content:center !important; }
  .summary-editor-showcase .editor-demo,
  .ai-chat-showcase .chat-demo{ width:100% !important; max-width:640px !important; transform:none !important; }
}

/* Global horizontal overflow guard */
html, body { overflow-x: hidden; }

@media (max-width: 768px){
  /* Strict single-column and no-overscroll for summary-editor & ai-chat */
  .summary-editor-showcase .feature-showcase,
  .ai-chat-showcase .feature-showcase{ width:100% !important; margin:0 !important; grid-template-columns:1fr !important; gap:.75rem !important; overflow:hidden !important; }
  .summary-editor-showcase .showcase-content,
  .ai-chat-showcase .showcase-content{ padding:0 !important; }
  .summary-editor-showcase .feature-benefits,
  .ai-chat-showcase .feature-benefits{ max-width:100% !important; width:100% !important; padding:1rem !important; border-radius:12px !important; overflow:hidden !important; box-sizing:border-box !important; }
  .summary-editor-showcase .showcase-visual,
  .ai-chat-showcase .showcase-visual{ width:100% !important; margin:0 !important; padding:0 !important; display:flex !important; justify-content:center !important; overflow:hidden !important; }
  .summary-editor-showcase .showcase-visual > *,
  .ai-chat-showcase .showcase-visual > *{ display:block !important; width:100% !important; max-width:100% !important; margin:0 auto !important; transform:none !important; box-sizing:border-box !important; }
}

@media (max-width: 430px){
  /* Mockups fit width exactly */
  .realistic-player-demo,
  .editor-demo,
  .chat-demo{ width:100% !important; max-width:360px !important; margin:0 auto !important; transform:none !important; box-sizing:border-box !important; }
  .summary-editor-showcase .showcase-visual,
  .ai-chat-showcase .showcase-visual{ overflow:visible !important; }
  .summary-editor-showcase .feature-benefits,
  .ai-chat-showcase .feature-benefits{ overflow:visible !important; }
  /* Slightly tighter text to avoid horizontal overflow */
  .summary-editor-showcase .feature-benefits h4,
  .ai-chat-showcase .feature-benefits h4{ font-size:0.95rem !important; }
  .summary-editor-showcase .feature-benefits p,
  .ai-chat-showcase .feature-benefits p{ font-size:0.9rem !important; }
}
@media (min-width: 431px) and (max-width: 768px){
  .realistic-player-demo,
  .editor-demo,
  .chat-demo{ width:100% !important; max-width:420px !important; margin:0 auto !important; transform:none !important; box-sizing:border-box !important; }
  .summary-editor-showcase .showcase-visual,
  .ai-chat-showcase .showcase-visual{ overflow:visible !important; }
}

@media (max-width: 430px){
  /* Responsive benefit items layout (icon + text) */
  .summary-editor-showcase .feature-benefits .benefit-item,
  .ai-chat-showcase .feature-benefits .benefit-item{ display:grid !important; grid-template-columns: 36px 1fr !important; column-gap: .75rem !important; align-items:flex-start !important; }
  .summary-editor-showcase .feature-benefits .benefit-item i,
  .ai-chat-showcase .feature-benefits .benefit-item i{ width:36px !important; height:36px !important; }
  .summary-editor-showcase .feature-benefits .benefit-item h4,
  .ai-chat-showcase .feature-benefits .benefit-item h4{ margin:0 0 .25rem 0 !important; font-size:1rem !important; }
  .summary-editor-showcase .feature-benefits .benefit-item p,
  .ai-chat-showcase .feature-benefits .benefit-item p{ margin:0 !important; font-size:.92rem !important; line-height:1.45 !important; overflow-wrap: anywhere; word-break: break-word; }
}

@media (max-width: 430px){
  /* Make text occupy full width (second column) next to icon */
  .summary-editor-showcase .feature-benefits .benefit-item i,
  .ai-chat-showcase .feature-benefits .benefit-item i{ grid-column:1; grid-row:1 / span 2; }
  .summary-editor-showcase .feature-benefits .benefit-item h4,
  .ai-chat-showcase .feature-benefits .benefit-item h4{ grid-column:2 / -1; }
  .summary-editor-showcase .feature-benefits .benefit-item p,
  .ai-chat-showcase .feature-benefits .benefit-item p{ grid-column:2 / -1; }
}

@media (max-width: 768px){
  .summary-editor-showcase .feature-benefits,
  .summary-editor-showcase .feature-benefits .benefit-item,
  .summary-editor-showcase .feature-benefits h4,
  .summary-editor-showcase .feature-benefits p,
  .ai-chat-showcase .feature-benefits,
  .ai-chat-showcase .feature-benefits .benefit-item,
  .ai-chat-showcase .feature-benefits h4,
  .ai-chat-showcase .feature-benefits p{ text-align: left !important; }
}

@media (max-width: 430px){
  .notes-waveform .feature-benefits .benefit-item{ display:grid !important; grid-template-columns: 36px 1fr !important; column-gap: .75rem !important; align-items:flex-start !important; }
  .notes-waveform .feature-benefits .benefit-item i{ width:36px !important; height:36px !important; grid-column:1; grid-row:1 / span 2; }
  .notes-waveform .feature-benefits .benefit-item h4{ grid-column:2 / -1; margin:0 0 .25rem 0 !important; }
  .notes-waveform .feature-benefits .benefit-item p{ grid-column:2 / -1; margin:0 !important; overflow-wrap:anywhere; word-break: break-word; }
}

@media (max-width: 768px){
  /* Left-align texts in notes-waveform benefits */
  .notes-waveform .feature-benefits,
  .notes-waveform .feature-benefits .benefit-item,
  .notes-waveform .feature-benefits h4,
  .notes-waveform .feature-benefits p{ text-align: left !important; }

  /* Slight extra spacing above AI chat mockup */
  .ai-chat-showcase .showcase-visual{ padding-top: 12px !important; }
}

/* Full app demo: fill layout with shared background and dividers */
.full-app-demo .main-content-area{ display:grid; grid-template-rows: auto 1fr; gap:0; background: rgba(30,41,59,0.35); }
.full-app-demo .player-area{ background: transparent; border:none; border-bottom:1px solid rgba(71,85,105,0.35); padding: .75rem 1rem; }
.full-app-demo .ws-demo{ border:1px solid rgba(71,85,105,0.3); background: rgba(15,23,42,0.08); }
.full-app-demo .two-panels{ height:100%; display:grid; grid-template-columns: 1fr 1fr; gap:0; }
.full-app-demo .panel{ background: transparent; border:none; box-shadow:none; }
.full-app-demo .summary-panel{ border-left:1px solid rgba(71,85,105,0.35); }
.full-app-demo .transcript-panel .transcript-list{ height:100%; overflow:auto; }
.full-app-demo .summary-panel .summary-card{ height:100%; overflow:auto; background: transparent; color:#e2e8f0; }

@media (max-width: 430px){
  .cta .cta-content h2{ font-size: 1.25rem !important; white-space: nowrap !important; }
}

/* Full app demo: white content area with dark text */
.full-app-demo .main-content-area{ background:#ffffff !important; }
.full-app-demo .transcript-content,
.full-app-demo .speaker-text,
.full-app-demo .speaker-name,
.full-app-demo .meeting-title-section .meeting-meta,
.full-app-demo .summary-panel .summary-card{ color:#0f172a !important; }
.full-app-demo .speaker-text{ color:#334155 !important; }
.full-app-demo .meeting-tabs{ background:#ffffff !important; border-bottom:1px solid rgba(15,23,42,0.12) !important; }
.full-app-demo .tab{ color:#475569 !important; }
.full-app-demo .tab.active{ color:#0b63ff !important; border-bottom-color:#0b63ff !important; }

@media (max-width: 768px){
  /* Strict centering and full width for hero */
  .hero{ padding-left: 0 !important; padding-right: 0 !important; }
  .hero .container{ width: 100% !important; max-width: 100% !important; padding-left: 12px !important; padding-right: 12px !important; margin-left: auto !important; margin-right: auto !important; }
  .hero-grid, .hero-content, .hero-visual, .visual-container{ margin-left: auto !important; margin-right: auto !important; }
}

/* Full app demo: white player background too */
.full-app-demo .player-area{ background:#ffffff !important; border-bottom:1px solid rgba(15,23,42,0.12) !important; }
.full-app-demo .ws-demo{ background:#ffffff !important; border:1px solid rgba(15,23,42,0.12) !important; }

@media (max-width: 768px){
  .footer-brand{ text-align: center !important; }
  .footer-brand .brand{ display: inline-flex !important; align-items: center; justify-content: center; margin: 0 auto !important; }
}

@media (min-width: 768px) and (max-width: 1200px){
  .hero{ padding-top: 96px; }
  .hero-grid{ display:flex; flex-direction: column; align-items: center; gap: 2.5rem; }
  .hero-content{ max-width: 680px; margin: 0 auto; align-items: center; text-align: center; }
  .hero-description{ max-width: 620px; margin: 0 auto; line-height: 1.7; }
  .hero-actions{ justify-content: center; }
  .hero-visual{ min-height: 520px; }
  .visual-container{ max-width: 520px; margin: 0 auto; }
}

@media (min-width: 768px) and (max-width: 1200px){
  .hero-actions{ margin-bottom: 16px; }
}

/* Full app demo: hide transcript scrollbar */
.full-app-demo .transcript-panel .transcript-list{ scrollbar-width: none; }
.full-app-demo .transcript-panel .transcript-list::-webkit-scrollbar{ width: 0; height: 0; }

/* Full app demo: brighter meeting meta in header */
.full-app-demo .main-header .meeting-title-section .meeting-meta{ color: rgba(255,255,255,0.9) !important; }

/* Full app demo: white header, larger title, no meta, no border before player */
.full-app-demo .main-header{ background:#ffffff !important; border-bottom:none !important; }
.full-app-demo .meeting-title-section h3{ font-size:1.35rem !important; font-weight:700 !important; color:#0f172a !important; }
.full-app-demo .meeting-title-section .meeting-meta{ display:none !important; }
.full-app-demo .player-area{ border-top:none !important; border-bottom:none !important; }

/* Full app demo: tighten vertical spacing so content sits higher */
.full-app-demo .main-header{ margin-bottom: 0 !important; }
.full-app-demo .main-content-area{ padding-top: 6px !important; }
.full-app-demo .player-area{ padding-top: 6px !important; padding-bottom: 8px !important; }
.full-app-demo .two-panels{ margin-top: 6px !important; }

/* Contact email pill link */
.email-chip{ display:inline-flex; align-items:center; gap:.5rem; padding:.675rem 1rem; border-radius:9999px; text-decoration:none; font-weight:600; color:#ffffff; background: linear-gradient(135deg, var(--primary), var(--secondary)); border:1px solid rgba(255,255,255,0.15); box-shadow: 0 10px 24px rgba(0,122,255,0.25), inset 0 1px 0 rgba(255,255,255,0.2); transition: transform var(--transition-fast) var(--ease-smooth), box-shadow var(--transition-fast) var(--ease-smooth); }
.email-chip i{ font-size:0.95rem; }
.email-chip:hover{ transform: translateY(-1px); box-shadow: 0 14px 28px rgba(0,122,255,0.35), inset 0 1px 0 rgba(255,255,255,0.25); }
.email-chip:active{ transform: translateY(0); }
.email-chip:focus{ outline: 2px solid rgba(255,255,255,0.5); outline-offset: 2px; }
.email-chip:visited{ color:#ffffff; }
