/* Global Styles */
:root {
    --primary-color: #4a6cf7;
    --secondary-color: #6a11cb;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --body-bg: #f5f7ff;
    --card-bg: #ffffff;
    --text-color: #2d3748;
    --text-muted: #6c757d;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
    --gradient-success: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    --gradient-warning: linear-gradient(135deg, #ffc107 0%, #ff9d00 100%);
    --gradient-danger: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
}

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

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

/* Navigation */
.navbar {
    background-color: var(--card-bg);
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(74, 108, 247, 0.2);
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--warning-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--warning-color);
    border-radius: 2px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--gradient-warning);
    color: var(--dark-color);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Communication Tools Section */
.communication-tools {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--body-bg);
    }
    
    .section-header {
        text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
}

/* Beta Tag Styles */
.beta-mini-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

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

.tool-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(74, 108, 247, 0.1);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 108, 247, 0.15);
    border-color: var(--primary-color);
}

.tool-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(74, 108, 247, 0.2);
}

.tool-icon i {
    font-size: 2rem;
    color: white;
}

.tool-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.tool-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.tool-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tool-features span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
    font-size: 1.05rem;
}

.tool-features i {
    color: var(--success-color);
    font-size: 1.2rem;
}

/* Speech Analysis Practice Area */
.practice-area {
    padding: 3rem;
    max-width: 1200px;
    margin: 2rem auto;
    display: none;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(74, 108, 247, 0.08);
    border: 1px solid rgba(74, 108, 247, 0.1);
    position: relative;
    overflow: hidden;
}

.practice-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #4a6cf7, #6a11cb);
}

.practice-area.active {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

.practice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(74, 108, 247, 0.1);
    position: relative;
}

.practice-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #4a6cf7, #6a11cb);
}

.practice-header h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 700;
    background: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.practice-header h2::before {
    content: '\f130';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 12px;
    color: #4a6cf7;
}

/* Modern Question Dropdown */
.question-selector {
    background: linear-gradient(135deg, #f8faff 60%, #e0e7ff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(74,108,247,0.07);
    border: 1px solid #e0e7ff;
    margin-bottom: 24px;
    padding: 24px 20px 18px 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.question-selector:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(74,108,247,0.12);
}

  .question-selector h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #3b3b5c;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.question-selector h3::before {
    content: '\f059';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #4a6cf7;
    font-size: 1.1rem;
}

  .question-select {
    width: 100%;
    padding: 14px 44px 14px 16px;
    border-radius: 10px;
    border: 1.5px solid #bfcfff;
    background: #f4f7ff url('data:image/svg+xml;utf8,<svg fill="%234a6cf7" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M5.516 7.548a1 1 0 0 1 1.415 0L10 10.617l3.07-3.07a1 1 0 1 1 1.415 1.415l-3.777 3.778a1 1 0 0 1-1.415 0L5.516 8.963a1 1 0 0 1 0-1.415z"/></svg>') no-repeat right 16px center/20px 20px;
    font-size: 1.05rem;
    color: #2d3748;
    font-weight: 500;
    appearance: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(74,108,247,0.04);
    cursor: pointer;
  }

  .question-select:focus {
    outline: none;
    border: 2px solid #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74,108,247,0.13);
    background-color: #f0f4ff;
  }

  .question-select option, .question-select optgroup {
    background: #f4f7ff;
    color: #2d3748;
    font-size: 1rem;
  }

/* Motivation Section Enhancement */
.motivation-section {
    background: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
    color: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(74,108,247,0.15);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.motivation-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.motivation-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.motivation-section h3::before {
    content: '\f0eb';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: rgba(255,255,255,0.9);
}

.quick-tips {
    background: rgba(255,255,255,0.1);
    padding: 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Recording Controls Enhancement */
.recording-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(74,108,247,0.08);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(74,108,247,0.1);
}

.recording-controls::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #4a6cf7, #6a11cb);
}

#startRecording, #stopRecording {
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

#startRecording {
    background: linear-gradient(135deg, #4bde80 0%, #34d399 100%);
    color: white;
}

#startRecording:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75,222,128,0.25);
}

#stopRecording {
    background: linear-gradient(135deg, #ff6b6b 0%, #f87171 100%);
    color: white;
}

#stopRecording:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,107,0.25);
}

.timer {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4a6cf7;
    min-width: 120px;
    text-align: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(74,108,247,0.1);
    position: relative;
    border: 1px solid rgba(74,108,247,0.1);
}

.timer::before {
    content: "Recording Time";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 10px;
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 600;
    border-radius: 10px;
}

.recording-status {
    flex-grow: 1;
    text-align: right;
    color: #4a6cf7;
    font-weight: 500;
    position: relative;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    border-radius: 12px;
    border: 1px solid rgba(74,108,247,0.1);
}

/* Voice Input Area Enhancement */
.voice-input-area {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(74,108,247,0.08);
    margin-bottom: 24px;
    border: 1px solid rgba(74,108,247,0.1);
    transition: all 0.3s ease;
}

.voice-input-area:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(74,108,247,0.12);
}

.waveform {
    height: 80px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(74,108,247,0.1);
}

.recording-indicator {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #f3f4f6 0%, #f3f4f6 50%, #4a6cf7 50%, #4a6cf7 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.recording-indicator.active {
    opacity: 1;
    animation: waveform 2s infinite linear;
}

/* Transcript Container Enhancement */
.transcript-container {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(74,108,247,0.08);
    margin-top: 24px;
    border: 1px solid rgba(74,108,247,0.1);
    transition: all 0.3s ease;
}

.transcript-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(74,108,247,0.12);
}

.transcript-container h3 {
    color: #4a6cf7;
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.transcript-container h3::before {
    content: '\f15c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #4a6cf7;
}

.transcript-text {
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    padding: 20px;
    border-radius: 12px;
    color: #2d3748;
    min-height: 120px;
    line-height: 1.6;
    white-space: pre-wrap;
    border: 1px solid rgba(74,108,247,0.1);
    font-size: 1.05rem;
}

.replay-btn {
    margin-top: 16px;
    background: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74,108,247,0.2);
}

.replay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74,108,247,0.3);
}

.replay-btn:disabled {
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Practice Controls Enhancement */
.practice-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 24px;
}

#resetPractice {
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6a11cb;
    border: 1px solid rgba(106,17,203,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#resetPractice:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f9 100%);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

#resetPractice i {
    transition: transform 0.3s ease;
}

#resetPractice:hover i {
    transform: rotate(180deg);
}

.voice-input-area {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.waveform {
    height: 60px;
    background: #f3f4f6;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.recording-indicator {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #f3f4f6 0%, #f3f4f6 50%, #4a6cf7 50%, #4a6cf7 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.recording-indicator.active {
    opacity: 1;
    animation: waveform 2s infinite linear;
}

@keyframes waveform {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0% 0;
    }
}

.transcript-container {
    margin-top: 15px;
}

.transcript-container h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.transcript-text {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    color: #333;
    min-height: 100px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.replay-btn {
    margin-top: 10px;
    background: #4a6cf7;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.replay-btn:hover {
    background: #2748c4;
}

.replay-btn:disabled {
    background: #b0b0b0;
    cursor: not-allowed;
}

.practice-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.btn-practice {
    background: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(106, 17, 203, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-practice::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transition: left 0.6s ease-in-out;
}

.btn-practice:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(106, 17, 203, 0.35);
}

.btn-practice:hover::before {
    left: 100%;
}

.btn-practice:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

.btn-secondary-practice {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6a11cb;
    border: 1px solid rgba(106, 17, 203, 0.2);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary-practice:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f9 100%);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.btn-danger-practice {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    box-shadow: 0 8px 15px rgba(255, 107, 107, 0.25);
}

.btn-danger-practice:hover {
    box-shadow: 0 12px 25px rgba(255, 107, 107, 0.35);
}

.btn-practice i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-practice:hover i {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .recording-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .recording-status {
        text-align: center;
        margin-top: 10px;
    }
    
    .timer {
        margin: 0 auto;
    }
}

/* Resources Section */
.resources {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--body-bg);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
}

.resource-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(74, 108, 247, 0.1);
    position: relative;
    overflow: hidden;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 108, 247, 0.15);
    border-color: var(--primary-color);
}

.resource-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(74, 108, 247, 0.2);
}

.resource-icon i {
    font-size: 2rem;
    color: white;
}

.resource-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.resource-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: rgba(74, 108, 247, 0.1);
}

.resource-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

.coming-soon-tag {
    display: inline-block;
    background-color: var(--warning-color);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 6rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
    transition: var(--transition);
    font-size: 1.05rem;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

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

@keyframes slideIn {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
}
}

/* Interactive Elements */
.interactive-card {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.interactive-card.flipped {
    transform: rotateY(180deg);
}

.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
}

/* Process Diagram */
.process-diagram {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
}

.process-step {
    text-align: center;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 0.5rem;
    transition: transform 0.3s;
}

.process-step:hover {
    transform: scale(1.1);
}

.process-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* STAR Method */
.star-method {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.star-step {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: transform 0.3s;
}

.star-step:hover {
    transform: translateY(-5px);
}

/* Animated Lists */
.animated-list li {
    opacity: 0;
    animation: slideIn 0.5s forwards;
}

.mistake-list li {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

/* Card Tips */
.card-tips {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.language-card:hover .card-tips {
    opacity: 1;
    transform: translateY(0);
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary-color);
    z-index: 1000;
    transition: width 0.3s;
}

/* Practice Button */
.start-practice {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.start-practice:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Video Tutorials Page Styles */
.video-tutorials-page {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.search-container {
    position: relative;
    margin: 2rem 0;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #4a90e2;
    outline: none;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.popular-tag {
    background: #f0f4f8;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #4a90e2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popular-tag:hover {
    background: #4a90e2;
    color: white;
}

.filter-bar {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f0f4f8;
}

.filter-tag.active {
    background: #4a90e2;
    color: white;
}

.featured-section {
    margin: 3rem 0;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
}

.featured-video {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.featured-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.featured-thumbnail img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.featured-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(74, 144, 226, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-play i {
    color: white;
    font-size: 1.5rem;
}

.featured-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.featured-meta {
    display: flex;
    gap: 1rem;
    color: #666;
}

.watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #4a90e2;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.watch-btn:hover {
    background: #357abd;
}

.category-section {
    margin: 3rem 0;
}

.video-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
}

.video-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(74, 144, 226, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.video-info p {
    color: #666;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.duration {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Communication Guide Page Styles */
.guide-page {
    width: 100%;
    background: var(--light-bg);
    min-height: 100vh;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Hero Section */
.page-header {
    background: linear-gradient(135deg, #babdc8 0%, #b5b4c3 100%);
    position: relative;
    color: white;
    padding: 8rem 2rem 6rem;
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2H6zM0 34v-4H2v4H0v2h4v4h2V6h4V4H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease;
}

.page-header p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s;
}

.header-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s;
}

.header-actions button {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.start-learning {
    background: white;
    color: var(--primary-color);
}

.download-guide {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
}

.header-actions button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Guide Sections */
.guide-section {
    background: white;
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.guide-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.guide-section h2 {
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.section-content {
    padding-left: 2rem;
}

/* Element Grid */
.element-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin: 2.5rem 0;
}

/* Cards */
.element-card, .language-card, .style-card, .technique-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.element-card:hover, .language-card:hover, .style-card:hover, .technique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* Card Content */
.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

.element-card h3, .language-card h3, .style-card h3, .technique-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.element-card p, .language-card p, .style-card p, .technique-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Practice Tips */
.practice-tip {
    background: linear-gradient(135deg, #f6f9ff 0%, #f0f4ff 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 2.5rem 0;
    border-left: 6px solid var(--primary-color);
}

.practice-tip h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Process Steps */
.process-steps {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 2rem;
    height: 2px;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.process-step:last-child::after {
    display: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem 1rem 4rem;
    }

    .page-header h1 {
        font-size: 2.8rem;
    }

    .content-container {
        padding: 2rem 1rem;
    }

    .guide-section {
        padding: 2.5rem;
        border-radius: 20px;
    }

    .guide-section h2 {
        font-size: 2.2rem;
        padding-left: 1rem;
    }

    .section-content {
        padding-left: 1rem;
    }

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

    .process-steps {
        flex-direction: column;
    }

    .process-step::after {
        top: auto;
        bottom: -2rem;
        right: 50%;
        width: 2px;
        height: 2rem;
        transform: translateX(50%);
    }
}

/* Back to Tools Button */
.back-to-tools, .back-to-tools-conversation {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6c63ff 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.2);
}

.back-to-tools i, .back-to-tools-conversation i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-to-tools:hover, .back-to-tools-conversation:hover {
    background: linear-gradient(135deg, #6c63ff 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 108, 247, 0.3);
}

.back-to-tools:hover i, .back-to-tools-conversation:hover i {
    transform: translateX(-3px);
}

.back-to-tools:active, .back-to-tools-conversation:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(74, 108, 247, 0.2);
}

/* Voice Conversation AI Styling */
.ai-conversation-interface {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.ai-conversation-container {
    width: 90%;
    max-width: 1200px;
    height: 90%;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-conversation-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
    color: white;
}

.ai-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin-right: 15px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ai-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background-color: #4bde80;
    border-radius: 50%;
    border: 2px solid white;
}

.ai-header-info {
    flex-grow: 1;
}

.ai-header-info h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.ai-header-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.close-conversation-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-conversation-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.ai-conversation-main {
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    flex-grow: 1;
    overflow: hidden;
}

.conversation-sidebar {
    background-color: #f8f9fa;
    padding: 20px;
    border-right: 1px solid #e9ecef;
    overflow-y: auto;
}

.user-stats {
    margin-bottom: 30px;
}

.user-stats h3 {
    font-size: 1.1rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.stat-item {
    margin-bottom: 15px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.progress-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(#4a6cf7 var(--progress, 0%), #e9ecef var(--progress, 0%));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    position: relative;
}

.progress-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
}

.progress-value {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.progress-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a6cf7, #6a11cb);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.conversation-topics {
    margin-bottom: 20px;
}

.conversation-topics h3 {
    font-size: 1.1rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.topics-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.topic-btn {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    text-align: left;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.topic-btn:hover {
    background-color: #f1f3f9;
    border-color: #d0d7de;
}

.topic-btn.active {
    background-color: #4a6cf7;
    color: white;
    border-color: #4a6cf7;
}

.conversation-chat {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-right: 1px solid #e9ecef;
}

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

.user-message, .ai-message, .system-message {
    max-width: 80%;
    padding: 15px;
    border-radius: 12px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

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

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

.ai-message {
    align-self: flex-start;
    background-color: #f1f3f9;
    color: #333;
    border-bottom-left-radius: 4px;
}

.system-message {
    align-self: center;
    background-color: #f8f9fa;
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
    max-width: 60%;
    text-align: center;
}

.message-content p {
    margin: 0;
    line-height: 1.5;
}

.message-time {
    font-size: 0.8rem;
    margin-top: 5px;
    opacity: 0.8;
    text-align: right;
}

.ai-message .message-time {
    color: #666;
}

.user-message .message-time {
    color: rgba(255, 255, 255, 0.9);
}

.chat-input-area {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background-color: white;
}

.voice-controls {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.voice-btn {
    background-color: #4a6cf7;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.voice-btn:hover {
    background-color: #2748c4;
}

.voice-btn.recording {
    background-color: #ff6b6b;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

.voice-visualizer {
    flex-grow: 1;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.visualizer-bars {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.visualizer-bars div {
    width: 3px;
    height: 30%;
    background-color: #4a6cf7;
    border-radius: 3px;
    transition: height 0.1s ease;
}

.visualizer-bars.active div {
    animation: barAnimation 1.5s infinite alternate;
}

@keyframes barAnimation {
    0% {
        height: 30%;
    }
    100% {
        height: 80%;
    }
}

.visualizer-bars div:nth-child(even) {
    animation-delay: 0.3s;
}

.visualizer-bars div:nth-child(3n) {
    animation-delay: 0.6s;
}

.input-controls {
    display: flex;
    gap: 10px;
}

.input-controls textarea {
    flex-grow: 1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    resize: none;
    min-height: 60px;
    max-height: 120px;
    transition: border-color 0.2s;
}

.input-controls textarea:focus {
    outline: none;
    border-color: #4a6cf7;
}

.send-btn {
    background-color: #4a6cf7;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    align-self: flex-end;
    transition: all 0.2s;
}

.send-btn:hover {
    background-color: #2748c4;
}

.conversation-feedback {
    padding: 20px;
    background-color: #f8f9fa;
    overflow-y: auto;
}

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

.feedback-header h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.feedback-controls {
    display: flex;
    gap: 5px;
}

.feedback-btn {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.feedback-btn:hover {
    background-color: #e9ecef;
}

.feedback-btn.active {
    background-color: #4a6cf7;
    color: white;
}

.feedback-item {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feedback-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
}

.feedback-details p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.ai-conversation-footer {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.conversation-tools {
    display: flex;
    gap: 10px;
}

.tool-btn {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.tool-btn:hover {
    background-color: #f1f3f9;
    border-color: #d0d7de;
}

.settings-btn {
    background: none;
    border: 1px solid #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.settings-btn:hover {
    background-color: #f1f3f9;
    border-color: #d0d7de;
}

/* Error message */
.error-message {
    background-color: #fff3f3;
    border-left: 4px solid #ff6b6b;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 4px;
    color: #c53030;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .ai-conversation-main {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
    }
    
    .conversation-sidebar, .conversation-feedback {
        display: none;
    }
    
    .user-message, .ai-message {
        max-width: 90%;
    }
}

/* Modern Analysis Results Section - Professional UI */
.analysis-results {
    background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
    border-radius: 32px;
    box-shadow: 
        0 20px 60px rgba(74, 108, 247, 0.08),
        0 8px 24px rgba(106, 17, 203, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    margin: 40px auto;
    padding: 40px;
    border: 1px solid rgba(74, 108, 247, 0.12);
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    animation: slideUpFade 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.analysis-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 108, 247, 0.3), transparent);
}

.analysis-results::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(74, 108, 247, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(106, 17, 203, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Score Display Enhancement */
.score-display {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
    position: relative;
}

.score-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 40px rgba(102, 126, 234, 0.3),
        0 8px 16px rgba(118, 75, 162, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: all 0.3s ease;
}

.score-circle:hover {
    transform: scale(1.05);
    box-shadow: 
        0 25px 50px rgba(102, 126, 234, 0.4),
        0 12px 24px rgba(118, 75, 162, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.score-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1;
    margin-bottom: 4px;
}

.score-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-align: center;
}

/* Modern Analysis Grid */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

/* Enhanced Analysis Cards */
.analysis-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 
        0 8px 32px rgba(74, 108, 247, 0.08),
        0 4px 16px rgba(106, 17, 203, 0.06);
    border: 1px solid rgba(74, 108, 247, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.analysis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 24px 24px 0 0;
}

.analysis-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(74, 108, 247, 0.15),
        0 8px 24px rgba(106, 17, 203, 0.1);
    border-color: rgba(74, 108, 247, 0.2);
}

.analysis-card:nth-child(1) { animation-delay: 0.1s; }
.analysis-card:nth-child(2) { animation-delay: 0.2s; }
.analysis-card:nth-child(3) { animation-delay: 0.3s; }

/* Analysis Header Enhancement */
.analysis-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(74, 108, 247, 0.1);
}

.analysis-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
    position: relative;
    overflow: hidden;
}

.analysis-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

.analysis-icon i {
    font-size: 1.8rem;
    color: #fff;
    z-index: 1;
    position: relative;
}

.analysis-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Analysis Content Enhancement */
.analysis-content {
    color: #4a5568;
    line-height: 1.7;
}

.analysis-point {
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
    border-left: 4px solid #667eea;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInRight 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.analysis-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 2px 2px 0;
}

.analysis-point:hover {
    background: linear-gradient(135deg, #e8f2ff 0%, #dbe7ff 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.analysis-point strong {
    color: #2d3748;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.analysis-point em {
    color: #667eea;
    font-style: italic;
    font-weight: 600;
}

/* Numbered Points Enhancement */
.analysis-point.numbered {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.point-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.point-content {
    flex: 1;
    color: #4a5568;
    line-height: 1.6;
}

/* Section Headers Enhancement */
.analysis-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.analysis-section-heading .emoji {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Analysis Section Styles */
.analysis-section {
    margin-bottom: 32px;
}

.feedback-sections {
    margin-top: 32px;
}

/* Individual Analysis Cards for Dynamic Content */
.analysis-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 
        0 8px 32px rgba(74, 108, 247, 0.08),
        0 4px 16px rgba(106, 17, 203, 0.06);
    border: 1px solid rgba(74, 108, 247, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.analysis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 24px 24px 0 0;
}

.analysis-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(74, 108, 247, 0.15),
        0 8px 24px rgba(106, 17, 203, 0.1);
    border-color: rgba(74, 108, 247, 0.2);
}

/* Analysis Header for Dynamic Cards */
.analysis-card .analysis-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(74, 108, 247, 0.1);
}

.analysis-card .analysis-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
    position: relative;
    overflow: hidden;
}

.analysis-card .analysis-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

.analysis-card .analysis-icon i {
    font-size: 1.8rem;
    color: #fff;
    z-index: 1;
    position: relative;
}

.analysis-card .analysis-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Analysis Content for Dynamic Cards */
.analysis-card .analysis-content {
    color: #4a5568;
    line-height: 1.7;
}

.analysis-card .analysis-point {
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
    border-left: 4px solid #667eea;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInRight 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.analysis-card .analysis-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 2px 2px 0;
}

.analysis-card .analysis-point:hover {
    background: linear-gradient(135deg, #e8f2ff 0%, #dbe7ff 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.analysis-card .analysis-point strong {
    color: #2d3748;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.analysis-card .analysis-point em {
    color: #667eea;
    font-style: italic;
    font-weight: 600;
}

/* Analysis Section Containers */
.analysis-section-container {
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
    border-left: 4px solid #667eea;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInRight 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.analysis-section-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 2px 2px 0;
}

.analysis-section-container:hover {
    background: linear-gradient(135deg, #e8f2ff 0%, #dbe7ff 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.analysis-section-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.analysis-section-header::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
}

.analysis-section-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.analysis-section-content .analysis-point {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 0;
    border-left: 3px solid #667eea;
    transition: all 0.3s ease;
}

.analysis-section-content .analysis-point:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(4px);
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.1);
}

/* Analysis Content Headers */
.analysis-card .analysis-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.analysis-card .analysis-content h4::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
}

/* Loading Animation */
.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.loading-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(74,108,247,0.1) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

.loading-spinner {
    width: 70px;
    height: 70px;
    border: 6px solid rgba(74,108,247,0.1);
    border-left-color: #4a6cf7;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 0 20px rgba(74,108,247,0.2);
}

.loading-spinner::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(74,108,247,0.1);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-text {
    color: #4a6cf7;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    animation: fadeInOut 2s ease-in-out infinite;
}

.loading-subtext {
    color: #666;
    margin-top: 10px;
    font-size: 0.95rem;
    text-align: center;
    max-width: 400px;
    line-height: 1.6;
    opacity: 0.8;
    animation: fadeInOut 2s ease-in-out infinite 0.5s;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Loading Animation for Transcript */
.transcript-text.loading {
    position: relative;
    min-height: 120px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    overflow: hidden;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(74,108,247,0.1);
}

.transcript-text.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.8) 50%, 
        rgba(255,255,255,0) 100%);
    animation: shimmer 1.5s infinite;
}

.transcript-text.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(74,108,247,0.05) 0%,
        rgba(74,108,247,0.1) 50%,
        rgba(74,108,247,0.05) 100%);
    animation: verticalShimmer 2s ease-in-out infinite;
}

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

@keyframes verticalShimmer {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Loading Dots Animation */
.loading-dots {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.loading-dot {
    width: 8px;
    height: 8px;
    background: #4a6cf7;
    border-radius: 50%;
    animation: dotPulse 1.4s infinite;
}

.loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Feedback Sections Enhancement */
.recommendations-section,
.practice-tips-section,
.overall-feedback-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 32px;
    margin: 24px 0;
    box-shadow: 
        0 8px 32px rgba(74, 108, 247, 0.08),
        0 4px 16px rgba(106, 17, 203, 0.06);
    border: 1px solid rgba(74, 108, 247, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.recommendations-section::before,
.practice-tips-section::before,
.overall-feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 24px 24px 0 0;
}

.recommendations-section:hover,
.practice-tips-section:hover,
.overall-feedback-section:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 48px rgba(74, 108, 247, 0.12),
        0 8px 24px rgba(106, 17, 203, 0.08);
}

.recommendations-section h4,
.practice-tips-section h4,
.overall-feedback-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.recommendations-section h4::before,
.practice-tips-section h4::before,
.overall-feedback-section h4::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
}

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

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

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .analysis-results {
        margin: 32px 20px;
        padding: 32px 24px;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .analysis-section {
        margin-bottom: 24px;
    }
    
    .feedback-sections {
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .analysis-results {
        margin: 24px 16px;
        padding: 24px 20px;
        border-radius: 24px;
    }
    
    .score-circle {
        width: 140px;
        height: 140px;
    }
    
    .score-value {
        font-size: 3rem;
    }
    
    .analysis-card {
        padding: 24px 20px;
    }
    
    .analysis-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .analysis-icon {
        margin-right: 0;
    }
    
    .recommendations-section,
    .practice-tips-section,
    .overall-feedback-section {
        padding: 24px 20px;
    }
    
    .beta-mini-tag {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
}

@media (max-width: 480px) {
    .analysis-results {
        margin: 16px 12px;
        padding: 20px 16px;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-value {
        font-size: 2.5rem;
    }
    
    .analysis-card {
        padding: 20px 16px;
    }
    
    .analysis-point {
        padding: 16px;
    }
    
    .analysis-section-heading {
        font-size: 1.1rem;
        padding: 12px 16px;
    }
    
    .analysis-card .analysis-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .analysis-card .analysis-icon {
        margin-right: 0;
        width: 48px;
        height: 48px;
    }
    
    .analysis-card .analysis-icon i {
        font-size: 1.5rem;
    }
    
    .analysis-card .analysis-title {
        font-size: 1.2rem;
    }
    
    .analysis-card .analysis-content h4 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
    
    .beta-mini-tag {
        font-size: 0.65rem;
        padding: 2px 8px;
    }
}



@media (max-width: 993px) {
  .main {
    display: block;
  }
}