/* =========================================
   RESET + GLOBAL
   ========================================= */

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

html {
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 85, 247, 0.5) rgba(255, 255, 255, 0.05);
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

html::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.5);
    border-radius: 10px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0f;
    color: #fff;
    overflow-x: hidden;
}

/* =========================================
   BACKGROUND: MESH + PARTICLES
   ========================================= */

.mesh-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(45deg, #0a0a0f 0%, #1a0f2e 50%, #0a0a0f 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 1) 0%, rgba(147, 51, 234, 0.5) 40%, transparent 70%);
    top: -15%;
    left: -15%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, rgba(37, 99, 235, 0.4) 40%, transparent 70%);
    top: 40%;
    right: -15%;
    animation-delay: -7s;
}

.orb-3 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.7) 0%, rgba(219, 39, 119, 0.3) 40%, transparent 70%);
    bottom: -15%;
    left: 25%;
    animation-delay: -14s;
}

.orb-4 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.6) 0%, rgba(6, 182, 212, 0.3) 40%, transparent 70%);
    top: 15%;
    right: 25%;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(30px, 60px) scale(1.05); }
    50%      { transform: translate(-20px, -30px) scale(0.95); }
    75%      { transform: translate(-40px, 20px) scale(1.02); }
}

/* Particles */

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(168, 85, 247, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* =========================================
   HEADER / NAV
   ========================================= */

header {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-link {
    text-decoration: none;
}

.logo-link .logo {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.logo-link:hover .logo {
    opacity: 0.8;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 40px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a855f7, #3b82f6);
    transition: width 0.3s;
}

nav a:hover {
    color: #a855f7;
}

nav a:hover::after {
    width: 100%;
}

nav a.nav-login {
    margin-left: 32px;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.7);
    font-weight: 600;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

nav a.nav-login:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(59, 130, 246, 0.9));
    color: #ffffff;
    border-color: transparent;
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.2),
        0 18px 40px rgba(15, 23, 42, 0.9);
}

/* =========================================
   LAYOUT
   ========================================= */

.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px 40px;
}

/* =========================================
   HERO
   ========================================= */

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

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(
    135deg,
    #a855f7 0%,
    #3b57f6 25%,
    #ec4899 50%,
    rgb(34, 152, 231) 75%,
    #a855f7 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s ease infinite;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================
   FEATURES GRID (3x2)
   ========================================= */

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 85, 247, 0.8),
        rgba(59, 130, 246, 0.8),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 15px 40px rgba(168, 85, 247, 0.15),
        0 0 60px rgba(168, 85, 247, 0.08),
        inset 0 0 30px rgba(168, 85, 247, 0.03);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(59, 130, 246, 0.2));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #a855f7, #3b82f6);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover .feature-icon::after {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

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

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

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

/* =========================================
   HERO SMALL FEATURES (внутри demo-container)
   ========================================= */

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.hero-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 85, 247, 0.8),
        rgba(59, 130, 246, 0.8),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.hero-feature:hover::before {
    transform: translateX(100%);
}

.hero-feature:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow:
        0 10px 30px rgba(168, 85, 247, 0.15),
        0 0 40px rgba(168, 85, 247, 0.08),
        inset 0 0 20px rgba(168, 85, 247, 0.03);
}

.hero-feature h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.hero-feature p {
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.4;
    margin: 0;
}

/* =========================================
   STATS SECTION (отдельный блок)
   ========================================= */

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

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-box {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 85, 247, 0.8),
        rgba(59, 130, 246, 0.8),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.stat-box:hover::before {
    transform: translateX(100%);
}

.stat-box:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow:
        0 20px 60px rgba(168, 85, 247, 0.2),
        0 0 80px rgba(168, 85, 247, 0.1),
        inset 0 0 40px rgba(168, 85, 247, 0.05);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================
   HOW IT WORKS
   ========================================= */

.how-it-works {
    padding: 80px 0;
}

.how-it-works h2 {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 85, 247, 0.8),
        rgba(59, 130, 246, 0.8),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.step:hover::before {
    transform: translateX(100%);
}

.step:hover {
    transform: translateY(-10px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow:
        0 20px 60px rgba(168, 85, 247, 0.2),
        0 0 80px rgba(168, 85, 247, 0.1),
        inset 0 0 40px rgba(168, 85, 247, 0.05);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.step h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.step p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* =========================================
   DEMO SECTION
   ========================================= */

.demo-section {
    padding: 40px 0 80px;
    position: relative;
}

.demo-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 60px 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.demo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 85, 247, 0.8),
        rgba(59, 130, 246, 0.8),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.demo-container:hover::before {
    transform: translateX(100%);
}

.demo-container:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow:
        0 20px 60px rgba(168, 85, 247, 0.2),
        0 0 80px rgba(168, 85, 247, 0.1),
        inset 0 0 40px rgba(168, 85, 247, 0.05);
}

.demo-container::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: rgba(10, 10, 15, 0.9);
    border-radius: 29px;
    z-index: -1;
}

.demo-container h2 {
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.demo-container > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-size: 16px;
}

/* Stats внутри demo-container */

.stats-container-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.stats-container-top .stat-box {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 30px 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.stats-container-top .stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 85, 247, 0.8),
        rgba(59, 130, 246, 0.8),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.stats-container-top .stat-box:hover::before {
    transform: translateX(100%);
}

.stats-container-top .stat-box:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 15px 40px rgba(168, 85, 247, 0.15),
        0 0 60px rgba(168, 85, 247, 0.08),
        inset 0 0 30px rgba(168, 85, 247, 0.03);
}

.stats-container-top .stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stats-container-top .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   UPLOAD / PREVIEW / PROGRESS
   ========================================= */

.upload-area {
    border: 2px dashed rgba(168, 85, 247, 0.4);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    transition: left 0.5s;
}

.upload-area:hover::before {
    left: 100%;
}

.upload-area:hover {
    border-color: rgba(168, 85, 247, 0.7);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
}

.upload-area.active {
    border-color: rgba(168, 85, 247, 0.8);
    background: rgba(168, 85, 247, 0.1);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.3);
}

.upload-area input {
    display: none;
}

.upload-text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.upload-hint {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Preview */

.preview-section {
    margin-top: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    animation: slideIn 0.3s ease-out;
}

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

.preview-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.preview-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 2;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-label {
    color: rgba(255, 255, 255, 0.5);
}

.preview-value {
    font-weight: 600;
    color: #a855f7;
}

.preview-buttons {
    display: flex;
    gap: 15px;
}

.process-btn,
.cancel-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.process-btn {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: white;
}

.process-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.4);
}

.cancel-btn {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Progress bar */

.progress-bar {
    margin-top: 30px;
    width: 100%;
    height: 60px;
    background: rgba(168, 85, 247, 0.05);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: none;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.progress-bar.active {
    display: block;
    animation: slideIn 0.3s ease-out;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a855f7, #3b82f6);
    border-radius: 15px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 15px;
    font-weight: 600;
    z-index: 2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* =========================================
   RESULTS
   ========================================= */

.results {
    margin-top: 40px;
    display: none;
}

.results.active {
    display: block;
    animation: slideIn 0.5s ease-out;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stats .stat-box {
    padding: 25px 20px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stats .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Audio players */

.player-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.player-box {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.player-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 85, 247, 0.8),
        rgba(59, 130, 246, 0.8),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.player-box:hover::before {
    transform: translateX(100%);
}

.player-box:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
}

.player-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

audio {
    width: 100%;
    height: 44px;
    outline: none;
}

/* Download buttons */

.download-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.download-btn {
    flex: 1;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.4);
}

.download-btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Timeline */

.timeline {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.timeline-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.timeline-track {
    width: 100%;
    height: 10px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.timeline-marker {
    position: absolute;
    height: 10px;
    background: linear-gradient(90deg, #a855f7, #3b82f6);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.timeline-marker:hover {
    height: 16px;
    top: -3px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

/* Found words */

.found-words-section {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    margin-top: 20px;
}

.found-words-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.found-words-list {
    max-height: 300px;
    overflow-y: auto;
}

.found-words-list::-webkit-scrollbar {
    width: 8px;
}

.found-words-list::-webkit-scrollbar-track {
    background: rgba(168, 85, 247, 0.05);
    border-radius: 10px;
}

.found-words-list::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.4);
    border-radius: 10px;
}

.found-word-item {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid #a855f7;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s;
}

.found-word-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.word-time {
    font-weight: 600;
    color: #a855f7;
    font-size: 13px;
    min-width: 80px;
}

.word-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* =========================================
   CASES
   ========================================= */

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

.cases-section h2 {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.case-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 85, 247, 0.8),
        rgba(59, 130, 246, 0.8),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.case-card:hover::before {
    transform: translateX(100%);
}

.case-card:hover {
    transform: translateY(-10px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow:
        0 20px 60px rgba(168, 85, 247, 0.2),
        0 0 80px rgba(168, 85, 247, 0.1),
        inset 0 0 40px rgba(168, 85, 247, 0.05);
}

.case-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.case-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* =========================================
   FAQ
   ========================================= */

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

.faq-section h2 {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 85, 247, 0.8),
        rgba(59, 130, 246, 0.8),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.faq-item:hover::before,
.faq-item.active::before {
    transform: translateX(100%);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(168, 85, 247, 0.4);
}

.faq-question {
    font-weight: 600;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    margin-top: 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    display: none;
    animation: slideIn 0.3s ease-out;
}

.faq-item.active .faq-answer {
    display: block;
}

.toggle-icon {
    transition: transform 0.3s;
    display: inline-block;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

/* =========================================
   CTA
   ========================================= */

.cta-section {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    padding: 60px 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 85, 247, 0.8),
        rgba(59, 130, 246, 0.8),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.cta-section:hover::before {
    transform: translateX(100%);
}

.cta-section:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow:
        0 20px 60px rgba(168, 85, 247, 0.2),
        0 0 80px rgba(168, 85, 247, 0.1),
        inset 0 0 40px rgba(168, 85, 247, 0.05);
}

.cta-section h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.cta-btn {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.4);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.5);
}

.cta-btn span {
    position: relative;
    z-index: 1;
}

/* =========================================
   EMOJI / TWEMOJI
   ========================================= */

.feature-icon,
.upload-text,
.process-btn,
.cancel-btn,
.download-btn,
.case-card h3,
footer p {
    font-family: -apple-system, BlinkMacSystemFont, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
}

img.emoji {
    height: 1em;
    width: 1em;
    margin: 0 0.05em 0 0.1em;
    vertical-align: -0.1em;
}

.feature-icon img.emoji {
    height: 28px;
    width: 28px;
    margin: 0;
}

.upload-text img.emoji,
.process-btn img.emoji,
.cancel-btn img.emoji,
.download-btn img.emoji {
    height: 1.2em;
    width: 1.2em;
    vertical-align: -0.2em;
}

/* =========================================
   FOOTER
   ========================================= */

footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    border-top: 1px solid rgba(168, 85, 247, 0.1);
}

/* =========================================
   BETA MODAL
   ========================================= */

.beta-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

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

.beta-modal-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(168, 85, 247, 0.35), transparent 55%),
                radial-gradient(circle at bottom, rgba(59, 130, 246, 0.45), transparent 60%);
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(16px);
}

.beta-modal-content {
    position: relative;
    max-width: 520px;
    margin: 0 24px;
    padding: 28px 28px 24px;
    background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.35), transparent 55%),
                radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.25), transparent 55%),
                rgba(15, 23, 42, 0.96);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.9),
        0 32px 60px rgba(15, 23, 42, 0.95);
    color: #e5e7eb;
    z-index: 1;
}

.beta-modal-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #e5e7eb, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.beta-modal-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #cbd5f5;
}

.beta-modal-content a {
    color: #38bdf8;
    text-decoration: none;
}

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

.beta-modal-btn {
    margin-top: 16px;
    padding: 12px 28px;
    font-size: 14px;
}

@media (max-width: 640px) {
    .beta-modal-content {
        padding: 22px 20px 20px;
    }
}

/* =========================================
   AUTH PAGES (LOGIN / REGISTER)
   ========================================= */

/* страница вокруг формы */
.auth-page {
    padding-top: 40px;
    padding-bottom: 100px;
}

/* секция с карточкой */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 420px;
}

/* карточка авторизации — СТИЛЬ КАК У FEATURE-CARD / DEMO */
.auth-card {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 32px 40px;

    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;

    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
}

/* заголовок и подзаголовок на странице авторизации */
.auth-hero h1 {
    font-size: 42px;
}

.auth-hero p {
    opacity: 0.8;
}

/* форма */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 12px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-label {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* инпуты: и по классу, и любые внутри .auth-card */
.auth-card input,
.auth-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.75);
    color: #e2e8f0;
    transition: 0.2s ease;
}

.auth-card input:focus,
.auth-input:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.35);
    outline: none;
}

/* кнопка сабмита: любые кнопки внутри auth-card + специальные классы */
.auth-card button,
.auth-submit,
.auth-submit-btn {
    margin-top: 6px;
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
    box-shadow: 0 16px 40px rgba(88, 28, 135, 0.5);
}

.auth-card button:hover,
.auth-submit:hover,
.auth-submit-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    box-shadow: 0 20px 50px rgba(88, 28, 135, 0.65);
}

/* нижний текст */
.auth-footer {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
}

.auth-link {
    color: #a855f7;
    text-decoration: none;
    font-weight: 500;
}

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

/* блоки ошибок/успеха */
.auth-alert {
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.auth-alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: #fecaca;
}

.auth-alert-success {
    background: rgba(22, 163, 74, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.4);
    color: #bbf7d0;
}

/* =========================================
   VERIFY EMAIL PAGE
   ========================================= */

.verify-page {
    padding-top: 40px;
    padding-bottom: 80px;
}

.verify-section {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.verify-card {
    width: 100%;
    max-width: 720px;
    padding: 28px 26px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(168, 85, 247, 0.16), transparent 55%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.15), transparent 60%),
        rgba(10, 10, 18, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(24px);
}

.verify-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
}

.verify-success {
    background: rgba(22, 163, 74, 0.14);
    color: #4ade80;
}

.verify-error {
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
}

.verify-body {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
}

.verify-body p {
    margin: 0 0 12px 0;
}

.verify-actions {
    margin-top: 26px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.verify-secondary-btn {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.65);
}

.verify-secondary-btn:hover {
    border-color: rgba(191, 219, 254, 0.9);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    nav {
        display: flex;
        gap: 20px;
    }

    nav a {
        margin-left: 0;
    }

    .container {
        padding: 80px 20px 20px;
    }

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

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

    .stats-container-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .demo-container {
        padding: 40px 20px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .player-container {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
    }

    .auth-card {
        padding: 24px 20px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== DASHBOARD TABLES ===== */

.dashboard-history-block .timeline {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 20px 22px 18px;
}

.dashboard-table-scroll {
    overflow-x: auto;
    margin-top: 8px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table thead th {
    padding: 9px 10px;
    text-align: left;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.9);
    border-bottom: 1px solid rgba(148, 163, 184, 0.5);
    white-space: nowrap;
}

.data-table tbody td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.7);
    color: rgba(226, 232, 240, 0.9);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: rgba(148, 163, 184, 0.08);
}

.data-table td.tx-desc {
    white-space: normal;
}

/* Статусы задач */

.jobs-status-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.jobs-status-processing {
    background: rgba(59, 130, 246, 0.18);
    color: #bfdbfe;
}

.jobs-status-completed {
    background: rgba(22, 163, 74, 0.2);
    color: #bbf7d0;
}

.jobs-status-error {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
}

.jobs-status-uploaded {
    background: rgba(148, 163, 184, 0.25);
    color: #e5e7eb;
}

/* Кнопки скачивания в таблице */

.jobs-actions-cell {
    text-align: right;
    white-space: nowrap;
}

.download-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    margin-left: 6px;
    border-radius: 999px;
    border: 1px solid rgba(129, 140, 248, 0.7);
    background: rgba(17, 24, 39, 0.9);
    font-size: 12px;
    font-weight: 500;
    color: #e5e7eb;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.download-chip:first-child {
    margin-left: 0;
}

.download-chip:hover {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    box-shadow: 0 8px 22px rgba(88, 28, 135, 0.45);
    transform: translateY(-1px);
}

.jobs-actions-placeholder {
    opacity: 0.6;
    font-size: 12px;
}

@media (max-width: 768px) {
    .data-table {
        font-size: 12px;
    }

    .data-table thead th,
    .data-table tbody td {
        padding: 6px 8px;
    }
}

/* ===== История задач / операций в личном кабинете ===== */

.history-card {
    margin-top: 18px;
    padding: 20px 22px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(148, 163, 184, 0.35);
    backdrop-filter: blur(18px);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.7),
        0 24px 50px rgba(15, 23, 42, 0.9);
}

.history-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
    opacity: 0.9;
}

.history-table-wrapper {
    overflow-x: auto;
}

/* общие стили таблиц */
.jobs-table,
.ops-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.jobs-table th,
.jobs-table td,
.ops-table th,
.ops-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    text-align: left;
    white-space: nowrap;
}

.jobs-table th,
.ops-table th {
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(148, 163, 184, 0.9);
}

.jobs-table tbody tr:hover,
.ops-table tbody tr:hover {
    background: rgba(15, 23, 42, 0.75);
}

/* статусы */
.jobs-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(148, 163, 184, 0.2);
    color: #e5e7eb;
}

.jobs-status-completed {
    background: rgba(22, 163, 74, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.8);
    color: #bbf7d0;
}

.jobs-status-processing {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.8);
    color: #bfdbfe;
}

.jobs-status-error {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(248, 113, 113, 0.9);
    color: #fecaca;
}

/* кнопки скачивания */
.jobs-actions {
    display: flex;
    gap: 6px;
}

.jobs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    outline: none;
    background: rgba(59, 130, 246, 0.18);
    color: #bfdbfe;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, opacity 0.12s ease;
    white-space: nowrap;
}

.jobs-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.5),
                0 10px 20px rgba(15, 23, 42, 0.9);
    background: rgba(59, 130, 246, 0.3);
}

.jobs-btn-secondary {
    background: rgba(148, 163, 184, 0.18);
    color: #e5e7eb;
}

.jobs-btn-secondary:hover {
    background: rgba(148, 163, 184, 0.3);
}
/* ADMIN */
.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.history-table th,
.history-table td {
    text-align: left;
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.history-table th {
    font-weight: 600;
    opacity: 0.75;
}

.history-table tr:hover {
    background: rgba(255,255,255,0.03);
    cursor: pointer;
}

/* .dashboard-section {
    padding: 40px 0 80px;
    position: relative;
} */

.dashboard-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 60px 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.dashboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 85, 247, 0.8),
        rgba(59, 130, 246, 0.8),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.dashboard-container:hover::before {
    transform: translateX(100%);
}

.dashboard-container:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow:
        0 20px 60px rgba(168, 85, 247, 0.2),
        0 0 80px rgba(168, 85, 247, 0.1),
        inset 0 0 40px rgba(168, 85, 247, 0.05);
}

.dashboard-container::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: rgba(10, 10, 15, 0.9);
    border-radius: 29px;
    z-index: -1;
}