/* =============================================
   TurboScribe.pl — landing.css
   Design system: transkriptor.ru port
   ============================================= */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --dark: #0f172a;
    --dark-secondary: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lighter: #cbd5e1;
    --light: #f1f5f9;
    --white: #ffffff;
    --success: #10b981;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-card: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 40px -10px rgba(99, 102, 241, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body.menu-open { overflow: hidden; }

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

/* ========== NAVBAR ========== */
.navbar {
    position: static;
    background: white;
    border-bottom: 1px solid var(--light);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-logo {
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

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

.logo-sep {
    color: var(--gray-lighter);
    margin: 0 4px;
    font-weight: 400;
    -webkit-text-fill-color: var(--gray-lighter);
}

.logo-geo {
    color: var(--gray);
    font-weight: 500;
    font-size: 16px;
    -webkit-text-fill-color: var(--gray);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 0;
}

.navbar-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.navbar-burger.open span:nth-child(2) { opacity: 0; }
.navbar-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.navbar-mobile {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: all 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.navbar-mobile.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--light);
    margin-top: 24px;
}

/* ========== BUTTONS ========== */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: var(--dark);
    background: transparent;
    border: 2px solid var(--gray-lighter);
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: var(--gradient-card);
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: white;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    color: white;
    background: var(--gradient-primary);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.btn-outline-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    color: white;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-lg:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

/* ========== SECTION COMMONS ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-card);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
    background-color: var(--white);
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 70%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

/* Centered single-column hero variant */
.hero-inner-centered {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
    text-align: center;
}

.hero-text {
    max-width: 560px;
}

.hero-text-centered {
    max-width: 900px;
    width: 100%;
}

.hero-text-centered .hero-tags {
    justify-content: center;
}

.hero-visual-centered {
    position: relative;
    width: 100%;
    max-width: 560px;
}

.hero-visual-centered .hero-float-card.card-1 {
    top: 20%;
    left: -180px;
    right: auto;
}

.hero-visual-centered .hero-float-card.card-2 {
    top: 55%;
    right: -180px;
    left: auto;
    bottom: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gradient-card);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-badge i {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: var(--gradient-card);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
}

.hero-tag i {
    width: 15px;
    height: 15px;
    color: var(--primary);
}

.upload-cta {
    font-size: 13px;
    color: var(--gray-light);
    margin-top: 16px;
    text-align: center;
}

/* ========== HERO VISUAL / UPLOAD MOCKUP ========== */
.hero-visual {
    position: relative;
}

.hero-mockup {
    position: relative;
    background: var(--gradient-dark);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-xl);
}

.hero-mockup-upload {
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-mockup-upload:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35);
}

.hero-mockup-upload.dragover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.4);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray);
}

.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #eab308; }
.mockup-dot:nth-child(3) { background: #22c55e; }

/* Upload idle state */
#upload-idle {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-mockup-upload.dragover #upload-idle {
    border-color: var(--primary-light);
    background: rgba(99, 102, 241, 0.15);
}

.upload-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.upload-icon i {
    width: 28px;
    height: 28px;
    color: white;
}

.upload-title {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
}

.upload-btn-inner {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    background: var(--gradient-primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
}

.upload-btn-inner i {
    width: 16px;
    height: 16px;
}

.upload-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin-top: 20px;
}

.upload-hint i {
    width: 14px;
    height: 14px;
}

/* Upload selected state */
#upload-selected {
    display: none;
    padding: 28px 24px;
    text-align: center;
}

.file-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: white;
}

.file-icon i {
    width: 26px;
    height: 26px;
}

.file-name {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    word-break: break-all;
}

.file-size {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.btn-start {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    background: var(--gradient-primary);
    color: white;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.55);
}

.file-reset {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s;
}

.file-reset:hover { color: rgba(255,255,255,0.75); }

/* Progress state */
#upload-progress-wrap {
    display: none;
    padding: 32px 24px;
    text-align: center;
}

.progress-stage {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
}

.progress-track {
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 999px;
    transition: width 0.1s linear;
}

.progress-pct {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.progress-note {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}

/* Hidden file input */
#heroFileInput {
    display: none;
}

/* Float Cards */
.hero-float-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
    will-change: transform;
    white-space: nowrap;
    z-index: 2;
}

.hero-float-card.card-1 {
    top: 12%;
    right: -24px;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    bottom: 18%;
    left: -28px;
    animation-delay: 1s;
}

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

.float-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-icon i {
    width: 20px;
    height: 20px;
}

.float-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.float-icon.blue  { background: rgba(99, 102, 241, 0.1); color: var(--primary); }

.float-text { font-size: 13px; }

.float-text strong {
    display: block;
    font-weight: 600;
    color: var(--dark);
    font-size: 13px;
}

.float-text span {
    color: var(--gray);
    font-size: 12px;
}

/* ========== PAIN SECTION ========== */
.section-pain {
    padding: 100px 0;
    background: var(--light);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.pain-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.pain-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #ef4444;
}

.pain-icon i { width: 28px; height: 28px; }

.pain-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.pain-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.65;
}

.pain-cta-banner {
    background: var(--light);
    border-radius: 20px;
    padding: 18px 40px;
    text-align: center;
}

.pain-cta-banner p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 8px;
}

.pain-cta-banner p:last-child {
    margin-bottom: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

/* ========== FEATURES / BENEFITS ========== */
.section-features {
    padding: 100px 0;
}

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

.feature-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 32px 28px;
    border: 1px solid var(--light);
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

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

.feature-icon {
    display: none;
}

.feature-num {
    font-size: 25px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ========== HOW IT WORKS — 4 STEPS ========== */
.section-how {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: white;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.section-how .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-how .section-label {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: white;
}

.section-how .section-title { color: white; }
.section-how .section-subtitle { color: rgba(255,255,255,0.7); }

.steps-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 60px;
}

.steps-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.steps-left .step-item {
    text-align: right;
    flex-direction: row-reverse;
}

.step-num {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    flex-shrink: 0;
}

.step-content { padding-top: 6px; }

.step-title {
    font-size: 17px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.step-text {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

.steps-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.steps-image-wrapper { display: none; }
.steps-image-glow    { display: none; }

/* ========== USE CASES ========== */
.section-usecases {
    padding: 100px 0;
    background: var(--light);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.use-case-grid-card {
    background: white;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid var(--light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.use-case-grid-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.use-case-grid-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.use-case-grid-card:hover::before {
    opacity: 1;
}

.use-case-grid-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-card);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.use-case-grid-card:hover .use-case-grid-icon {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.use-case-grid-icon i {
    width: 26px;
    height: 26px;
}

.use-case-grid-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.use-case-grid-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.use-case-grid-list {
    list-style: none;
}

.use-case-grid-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--dark-secondary);
    padding: 6px 0;
    border-bottom: 1px solid var(--light);
}

.use-case-grid-list li:last-child {
    border-bottom: none;
}

.use-case-grid-list i {
    width: 16px;
    height: 16px;
    color: var(--success);
    flex-shrink: 0;
}

/* ========== TESTIMONIALS ========== */
.section-testimonials {
    padding: 100px 0;
}

.testimonials-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonials-track-wrapper {
    flex: 1;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
}

.testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3);
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}

.testimonial-stars i {
    width: 18px;
    height: 18px;
    color: #fbbf24;
    fill: #fbbf24;
}

.testimonial-text {
    font-size: 15px;
    color: var(--dark-secondary);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.testimonial-role {
    font-size: 13px;
    color: var(--gray);
}

.slider-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--dark);
}

.slider-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.slider-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.slider-btn i { width: 24px; height: 24px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-lighter);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.slider-dot:hover { background: var(--gray-light); }

.slider-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* ========== PRICING ========== */
.section-pricing {
    padding: 100px 0;
    background: var(--light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    border-radius: 24px;
    padding: 36px 32px;
    border: 2px solid var(--light);
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.plan-card.featured {
    border-color: var(--primary);
    transform: scale(1.04);
    box-shadow: var(--shadow-lg);
}

.plan-card.featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.plan-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.plan-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 18px 0 6px;
}

.plan-price-currency {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.plan-price-amount {
    font-size: 52px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.plan-price-period {
    font-size: 16px;
    color: var(--gray);
    font-weight: 500;
}

.plan-desc {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
    font-size: 14px;
    color: var(--dark-secondary);
}

.plan-features li:last-child { border-bottom: none; }

.plan-features i {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
}

.plan-cta {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.plan-cta-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.plan-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.plan-cta-ghost {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary) !important;
}

.plan-cta-ghost:hover {
    background: var(--primary);
    color: white;
}

/* ========== FAQ ========== */
.section-faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 14px;
    border: 1px solid var(--light);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover { border-color: var(--primary-light); }
.faq-item.open  { border-color: var(--primary-light); box-shadow: var(--shadow-md); }

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-q-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    padding-right: 16px;
}

.faq-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-arrow i { width: 20px; height: 20px; }

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
    display: none;
}

.faq-item.open .faq-a {
    display: block;
}

.faq-a-inner {
    padding: 0 28px 22px;
    font-size: 15px;
    color: var(--gray);
    line-height: 1.75;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    padding: 100px 0;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 100%; height: 200%;
    background: radial-gradient(ellipse at center, rgba(99,102,241,0.2) 0%, transparent 60%);
    pointer-events: none;
}

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

.cta-sup {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99,102,241,0.2);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.cta-banner h2 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 14px;
}

.cta-banner p {
    font-size: 18px;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

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

/* ========== FOOTER ========== */
.site-footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: start;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 12px;
    white-space: nowrap;
}

/* Старый вариант (span.pl) — на случай если где-то остался */
.footer-logo > span:not(.logo-gradient):not(.logo-sep):not(.logo-geo) {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Новый вариант — классы совпадают с navbar */
.footer-logo .logo-geo {
    color: rgba(255,255,255,0.55);
    -webkit-text-fill-color: rgba(255,255,255,0.55);
}

.footer-logo .logo-sep {
    color: rgba(255,255,255,0.25);
    -webkit-text-fill-color: rgba(255,255,255,0.25);
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li:last-child { margin-bottom: 0; }

.footer-col ul a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul a:hover { color: white; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.75); }

/* ========== MODALS (footer.php) ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.modal-top-bar {
    height: 4px;
    background: var(--gradient-primary);
}

.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border: none;
    background: var(--light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.2s ease;
    z-index: 1;
}

.modal-close:hover { background: var(--gray-lighter); color: var(--dark); }

.modal-close svg { width: 18px; height: 18px; }

.modal-body { padding: 28px 32px 32px; }

.modal-tabs {
    display: flex;
    gap: 4px;
    background: var(--light);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.modal-tab {
    flex: 1;
    padding: 9px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: var(--gray);
    background: none;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.5;
}

.modal-free-hint {
    display: inline-block;
    background: var(--gradient-card);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 20px;
    width: 100%;
}

.modal-alert {
    display: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 14px;
}

.modal-alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.modal-alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.modal-field { margin-bottom: 14px; }

.modal-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.modal-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--dark);
    background: var(--light);
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    transition: all 0.2s ease;
}

.modal-input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.modal-submit {
    width: 100%;
    padding: 14px;
    margin-top: 4px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: white;
    background: var(--gradient-primary);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99,102,241,0.4);
    transition: all 0.3s ease;
}

.modal-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.5);
}

.modal-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.modal-switch {
    text-align: center;
    font-size: 13px;
    color: var(--gray);
    margin-top: 16px;
}

.modal-switch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.modal-switch a:hover { text-decoration: underline; }

.modal-input-highlight {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.modal-input-highlight:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.22);
}

/* Result modal */
.result-ready-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: 100px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #059669;
    margin-bottom: 14px;
}

.result-ready-dot {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

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

.blurred-preview {
    background: var(--light);
    border-radius: 14px;
    padding: 16px;
    margin: 16px 0;
    position: relative;
    overflow: hidden;
}

.preview-line {
    font-size: 13px;
    color: var(--dark);
    padding: 5px 0;
    line-height: 1.5;
}

.preview-line.blurred {
    filter: blur(5px);
    user-select: none;
}

.preview-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(transparent, var(--light));
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .navbar-actions { display: none; }
    .navbar-burger { display: flex; }

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

    .hero-inner-centered {
        gap: 32px;
    }

    .hero-text { max-width: 100%; }

    .hero-tags { justify-content: center; }

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

    .hero-float-card.card-1 { right: 0; left: auto; }
    .hero-float-card.card-2 { left: 0; right: auto; }
    .hero-visual-centered .hero-float-card.card-1 { left: 0; right: auto; }
    .hero-visual-centered .hero-float-card.card-2 { right: 0; left: auto; }

    .pain-grid { grid-template-columns: repeat(2, 1fr); }

    .features-grid { grid-template-columns: repeat(2, 1fr); }

    .steps-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .steps-center { order: -1; }

    .app-mockup {
        transform: none;
        max-width: 100%;
    }

    .steps-left .step-item {
        text-align: left;
        flex-direction: row;
    }

    .steps-left, .steps-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .use-case-card.active { grid-template-columns: 1fr; }

    .use-case-image { padding: 32px; min-height: 280px; }

    .use-case-body { padding: 32px; }

    .use-cases-grid { grid-template-columns: repeat(2, 1fr); }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }

    .plan-card.featured { transform: none; }
    .plan-card.featured:hover { transform: translateY(-4px); }

    .testimonial-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    .hero { padding: 60px 0 40px; }

    .hero-title { font-size: 36px; }
    .hero-sub { font-size: 17px; }

    .section-title { font-size: 30px; }
    .section-subtitle { font-size: 16px; }

    .pain-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }

    .use-cases-grid { grid-template-columns: 1fr; }

    .use-case-grid-card { padding: 24px 20px; }

    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }

    .testimonial-card { flex: 0 0 100%; }

    .slider-btn { width: 40px; height: 40px; }
    .slider-btn i { width: 20px; height: 20px; }

    .cta-banner h2 { font-size: 30px; }
    .cta-actions { flex-direction: column; align-items: center; }

    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-cols { grid-template-columns: repeat(3, 1fr); }

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
        padding: 18px 0;
    }

    .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 14px; }

    .modal-body { padding: 22px 22px 28px; }
    .modal-title { font-size: 20px; }

    /* ── Bottom sheet на мобильных ── */
    .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .modal {
        max-width: 100%;
        width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 85vh;
        padding-bottom: env(safe-area-inset-bottom);
    }

    /* Ручка-индикатор сверху */
    .modal::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: #e2e8f0;
        border-radius: 2px;
        margin: 12px auto 0;
    }

    .hero-float-card { display: none; }

    .steps-left, .steps-right { grid-template-columns: 1fr; }

    .section-how { padding: 80px 0; }

    .app-sidebar { display: none; }
    .app-mockup  { font-size: 12px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 30px; }

    .pain-cta-banner { padding: 24px 20px; }
    .pain-cta-banner p { font-size: 15px; }
    .pain-cta-banner p:last-child { font-size: 18px; }

    .use-cases-tabs { flex-direction: column; align-items: stretch; }
    .use-case-tab { text-align: center; }

    .footer-cols { grid-template-columns: 1fr 1fr; }

    .footer-bottom-links { flex-direction: column; gap: 10px; }
}


* ══ WRAPPER ══ */
.app-mockup-wrap {
  perspective: 1200px;
  width: 100%;
}
 
.app-mockup {
  display: flex;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background: #f8fafc;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.07),
    0 8px 24px rgba(0,0,0,.10),
    0 32px 64px rgba(0,0,0,.08);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #1e293b;
  transform: rotateY(-2deg) rotateX(1deg);
  transform-style: preserve-3d;
}
 
/* ══ SIDEBAR ══ */
.app-sidebar {
  width: 190px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #e8edf3;
  display: flex;
  flex-direction: column;
  padding: 16px 0 12px;
  min-height: 520px;
}
 
.app-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 16px;
}
.app-logo-icon svg { width: 28px; height: 28px; display: block; }
.app-logo-turbo  { font-weight: 800; font-size: 14px; color: #1e293b; letter-spacing: -.3px; }
.app-logo-scribe { font-weight: 800; font-size: 14px; color: #2563eb; letter-spacing: -.3px; }
 
.app-nav-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 8px 14px 4px;
}
 
.app-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 8px; }
 
.app-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
  cursor: pointer;
}
.app-nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.app-nav-item.active {
  background: #eff6ff;
  color: #2563eb;
}
.app-nav-item:not(.active):hover { background: #f1f5f9; color: #334155; }
 
.app-sidebar-spacer { flex: 1; }
 
.app-plan-badge {
  margin: 0 8px 8px;
  padding: 8px 10px;
  background: linear-gradient(135deg, #fefce8, #fef9c3);
  border: 1px solid #fde68a;
  border-radius: 8px;
}
.app-plan-badge-inner {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #92400e;
  letter-spacing: .04em;
}
.app-plan-crown { font-size: 12px; }
.app-plan-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  font-size: 11px;
  color: #78350f;
}
.app-plan-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}
 
.app-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin: 0 4px;
  border-radius: 8px;
  cursor: pointer;
  border-top: 1px solid #f1f5f9;
}
.app-user:hover { background: #f8fafc; }
.app-user-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #dbeafe;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.app-user-info { flex: 1; min-width: 0; }
.app-user-name  { font-size: 11.5px; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-user-email { font-size: 10px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-user-chevron { width: 14px; height: 14px; color: #cbd5e1; flex-shrink: 0; }
 
/* ══ MAIN ══ */
.app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: #f8fafc;
  overflow: hidden;
}
 
.app-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
}
.app-breadcrumb:hover { color: #2563eb; }
.app-breadcrumb svg { width: 14px; height: 14px; }
 
/* File card */
.app-file-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
}
 
.app-file-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 7px;
}
 
.app-file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
 
.app-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #64748b;
}
.app-meta-item svg { width: 13px; height: 13px; }
.app-meta-speakers { color: #2563eb; }
 
.app-export-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
 
.app-export-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #fff;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, border-color .15s;
}
.app-export-btn svg { width: 13px; height: 13px; }
.app-export-btn:hover { background: #f1f5f9; border-color: #cbd5e1; }
 
/* Transcript card */
.app-transcript-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
}
 
.app-transcript-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
}
 
.app-transcript-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}
 
.app-edit-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  font-family: inherit;
}
.app-edit-btn svg { width: 12px; height: 12px; }
.app-edit-btn:hover { background: #f8fafc; }
 
.app-transcript-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
.app-speaker-block {
  padding-left: 10px;
  border-left: 3px solid;
}
.app-speaker-block.speaker-1 { border-color: #2563eb; }
.app-speaker-block.speaker-2 { border-color: #16a34a; }
 
.app-speaker-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  margin-bottom: 3px;
}
.speaker-1 .app-speaker-label { color: #2563eb; }
.speaker-2 .app-speaker-label { color: #16a34a; }
 
.app-speaker-block p {
  margin: 0;
  font-size: 11.5px;
  color: #334155;
  line-height: 1.55;
}