/* Google x Meta Collaborative Design System */
:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --success-color: #34C759;
    --warning-color: #FF9500;
    --error-color: #FF3B30;
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --bg-quaternary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-tertiary: #666666;
    --border-color: #2a2a2a;
    --glass-bg: rgba(10, 10, 10, 0.8);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    
    /* Google x Meta specific colors */
    --google-blue: #4285f4;
    --google-red: #ea4335;
    --google-yellow: #fbbc04;
    --google-green: #34a853;
    --meta-blue: #1877f2;
    --meta-purple: #6f42c1;
    --gradient-primary: linear-gradient(135deg, var(--google-blue) 0%, var(--meta-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--meta-purple) 0%, var(--google-blue) 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Landing page uses system fonts */
body.landing-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Navigation */
.navbar-dark {
    background-color: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

/* Landing Page Navigation */
.landing-nav {
    background: rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

.landing-nav.scrolled {
    background: rgba(0, 0, 0, 0.8) !important;
    border-bottom: 1px solid var(--border-color);
}

.landing-nav .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    border-radius: 8px;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.landing-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--google-blue) !important;
}

.landing-nav .login-link {
    color: var(--text-secondary) !important;
}

.landing-nav .login-link:hover {
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.05);
}

.landing-nav .signup-btn {
    background: var(--gradient-primary) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0.5rem 1.5rem !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: white !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(66, 133, 244, 0.3) !important;
}

.landing-nav .signup-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.4) !important;
    color: white !important;
}

/* Mobile Navigation Fixes */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid var(--border-color);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0 !important;
    }
    
    .landing-nav .signup-btn {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    border-radius: 8px;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: var(--bg-tertiary);
    color: var(--primary-color) !important;
}

.dropdown-menu {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.dropdown-item {
    color: var(--text-primary);
    border-radius: 8px;
    margin: 2px 8px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--bg-tertiary);
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    padding-top: 0;
}

.main-content-authenticated {
    padding-top: 80px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 80px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 2rem;
}

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

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--bg-secondary);
    border-radius: 30px;
    padding: 20px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

.screen {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.ai-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
}

.speech-bubble {
    background: var(--bg-quaternary);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--bg-quaternary);
}

.record-button {
    width: 80px;
    height: 80px;
    background: var(--error-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.record-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 500;
    padding: 12px 24px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-secondary);
}

.btn-outline-light:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Cards */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.card-title {
    color: var(--text-primary);
    margin-bottom: 0;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Cards */
.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 500;
}

/* Action Cards */
.action-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.action-card:hover {
    background: var(--bg-quaternary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
    text-decoration: none;
}

.action-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    color: white;
}

.action-content h6 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.action-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Forms */
.form-control, .form-select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background: var(--bg-quaternary);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.25);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-check-input {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-primary);
}

/* Tables */
.table {
    --bs-table-bg: var(--bg-secondary);
    --bs-table-color: var(--text-primary);
    --bs-table-striped-bg: var(--bg-tertiary);
    --bs-table-hover-bg: var(--bg-quaternary);
    --bs-table-border-color: var(--border-color);
}

.table th {
    border-bottom: 2px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
}

.table td {
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

/* Badges */
.badge {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
}

.badge.bg-success {
    background: var(--success-color) !important;
}

.badge.bg-warning {
    background: var(--warning-color) !important;
    color: white !important;
}

.badge.bg-secondary {
    background: var(--bg-quaternary) !important;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: rgba(52, 199, 89, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.alert-danger {
    background: rgba(255, 59, 48, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.alert-info {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 122, 255, 0.2);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.features-section, .how-it-works-section, .pricing-section, .cta-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.how-it-works-section {
    background: var(--bg-primary);
}

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

/* Step Cards */
.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Cards */
.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 2rem;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

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

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

.pricing-card .badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color) !important;
}

.pricing-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.price .currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price .period {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-card .features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.pricing-card .features li i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* Page Headers */
.page-header {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.page-header-icon {
    animation: float 3s ease-in-out infinite;
}

.header-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 1.5rem auto 0;
}

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

/* Testimonial Collection */
.collect-testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.collect-header h2 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.collect-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.collect-state {
    padding: 2rem 0;
}

.record-button-container {
    margin: 2rem 0;
}

.record-button {
    width: 120px;
    height: 120px;
    background: var(--error-color);
    border: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    margin: 0 auto;
}

.record-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.record-button span {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.help-text {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Embedding Page Styles */
.layout-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.layout-option {
    flex: 1;
    min-width: 120px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem !important;
    border: 2px solid var(--border-color) !important;
    background: transparent !important;
    color: var(--text-secondary) !important;
    transition: all 0.3s ease !important;
    border-radius: 12px !important;
}

.layout-option:hover {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.layout-option i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.layout-option span {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.layout-option small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.btn-check:checked + .layout-option {
    border-color: var(--primary-color) !important;
    background: rgba(0, 122, 255, 0.1) !important;
    color: var(--primary-color) !important;
}

.color-presets {
    display: flex;
    gap: 0.5rem;
}

.color-preset {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-preset:hover {
    transform: scale(1.1);
    border-color: white;
}

.testimonial-card-selector {
    position: relative;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.testimonial-card-selector:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.testimonial-card-selector input[type="checkbox"]:checked + .testimonial-card-label {
    background: rgba(0, 122, 255, 0.1);
    border-color: var(--primary-color);
}

.testimonial-card-label {
    display: block;
    padding: 0;
    margin: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.testimonial-card-content {
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-company {
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-preview-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.display-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

.widget-showcase-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

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

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.widget-name {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.widget-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.layout-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.widget-theme-preview {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
}

.widget-preview {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.preview-header {
    padding: 1rem;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.preview-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.preview-logo-placeholder {
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.preview-content {
    padding: 1.5rem;
}

.quote-mark {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.preview-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.preview-author {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.widget-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.empty-state-inline {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-tertiary);
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    text-align: left;
}

.empty-state-enhanced {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-state-enhanced .empty-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-quaternary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-tertiary);
}

.empty-state-enhanced h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-state-enhanced p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.empty-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-item i {
    font-size: 1.5rem;
}

/* Code Editor Modal */
.code-editor-container {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
}

.code-editor-header {
    background: #2d2d2d;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.code-editor-tabs {
    display: flex;
    gap: 1rem;
}

.code-tab {
    padding: 0.5rem 1rem;
    background: #404040;
    border-radius: 6px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
}

.code-tab.active {
    background: #007ACC;
}

.code-editor-content {
    background: #1e1e1e;
    padding: 0;
}

.code-block {
    background: transparent;
    color: #D4D4D4;
    margin: 0;
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
}

.embed-instructions {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
}

.instruction-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.step-content p {
    margin: 0;
    font-size: 0.9rem;
}

/* Recording State */
.recording-indicator {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.recording-indicator i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--error-color);
    z-index: 10;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid var(--error-color);
    border-radius: 50%;
    animation: pulse 1.5s ease-out infinite;
}

.pulse-ring:nth-child(2) {
    animation-delay: 0.5s;
}

.pulse-ring:nth-child(3) {
    animation-delay: 1s;
}

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

.recording-timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--error-color);
    margin: 1rem 0;
}

/* AI Message */
.ai-message {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.ai-message::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--bg-tertiary);
}

/* Success/Error States */
.success-icon, .error-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.success-icon {
    background: var(--success-color);
    color: white;
}

.error-icon {
    background: var(--error-color);
    color: white;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--text-tertiary);
}

.empty-state h6 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Testimonial Items */
.testimonials-list {
    max-height: 500px;
    overflow-y: auto;
}

.testimonial-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    background: var(--bg-tertiary);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--text-tertiary);
}

.testimonial-content {
    flex: 1;
}

.testimonial-header {
    margin-bottom: 0.5rem;
}

.testimonial-header h6 {
    color: var(--text-primary);
    margin-bottom: 0;
    font-weight: 600;
}

.testimonial-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.testimonial-audio {
    width: 100%;
    max-width: 300px;
    height: 32px;
}

.testimonial-date {
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

.testimonial-date i {
    margin-right: 0.5rem;
}

.testimonial-menu {
    margin-left: 1rem;
}

/* Testimonial Selection */
.testimonial-selection {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    background: var(--bg-tertiary);
}

.testimonial-checkbox {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-quaternary);
    transition: all 0.3s ease;
}

.testimonial-checkbox:hover {
    background: var(--bg-secondary);
}

.testimonial-checkbox input:checked + label {
    color: var(--primary-color);
}

.testimonial-preview {
    margin-left: 1.5rem;
}

.testimonial-preview-header {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.testimonial-preview-content {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Embed Widgets */
.embed-widget-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.embed-widget-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.embed-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.embed-widget-header h6 {
    color: var(--text-primary);
    margin-bottom: 0;
    font-weight: 600;
}

.embed-widget-info {
    margin-bottom: 1rem;
}

.embed-widget-preview {
    background: var(--bg-quaternary);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.embed-preview-header {
    text-align: center;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border-radius: 6px;
}

.embed-preview-logo {
    height: 30px;
    width: auto;
}

.embed-preview-content {
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
}

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

/* Code Container */
.code-container {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.code-container pre {
    color: var(--text-primary);
    margin: 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
}

/* Avatar */
.avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    font-size: 1.2rem;
}

/* Toast */
.toast {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .collect-testimonial-card {
        margin: 1rem;
        padding: 2rem;
    }
    
    .testimonial-item {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-avatar {
        margin: 0 auto 1rem;
    }
    
    .testimonial-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .embed-widget-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .record-button {
        width: 100px;
        height: 100px;
        font-size: 1.5rem;
    }
    
    .recording-indicator {
        width: 100px;
        height: 100px;
    }
    
    .pulse-ring {
        width: 100px;
        height: 100px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-quaternary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* Loading states */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.processing-spinner {
    margin: 2rem 0;
}

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

.card, .feature-card, .stat-card, .action-card {
    animation: fadeIn 0.6s ease-out;
}

/* Print styles */
@media print {
    .navbar, .btn, .card-header {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* ========================================
   GOOGLE X META COLLABORATIVE DESIGN
   ======================================== */

/* Modern Hero Section */
.modern-hero {
    min-height: 110vh;
    background: radial-gradient(ellipse at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0 6rem 0;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 85vh;
    position: relative;
    z-index: 10;
    padding: 2rem 0;
}

.hero-content {
    z-index: 20;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.3);
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-heading {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.3);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(66, 133, 244, 0.4);
    color: white;
    text-decoration: none;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: var(--text-primary);
    text-decoration: none;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 2rem;
    background: var(--border-color);
}

/* Auth Options */
.auth-options {
    margin-top: 3rem;
    text-align: center;
}

.auth-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

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

.auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.email-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
    color: white;
    text-decoration: none;
}

.replit-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    color: var(--text-primary);
}

.replit-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: var(--text-primary);
    text-decoration: none;
}

.login-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.login-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-text a:hover {
    text-decoration: underline;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.floating-cards {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.testimonial-card, .ai-chat-card, .metrics-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 0;
    left: 0;
    width: 300px;
    animation-delay: 0s;
}

.card-2 {
    top: 100px;
    right: 0;
    width: 250px;
    animation-delay: -2s;
}

.card-3 {
    bottom: 0;
    left: 50px;
    width: 200px;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(0px) rotate(-1deg); }
    75% { transform: translateY(0px) rotate(0.5deg); }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.user-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

.avatar-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.user-company {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.audio-waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 1rem 0;
    height: 40px;
}

.wave-bar {
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: wave 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 25px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 15px; animation-delay: 0.4s; }
.wave-bar:nth-child(6) { height: 30px; animation-delay: 0.5s; }
.wave-bar:nth-child(7) { height: 20px; animation-delay: 0.6s; }
.wave-bar:nth-child(8) { height: 35px; animation-delay: 0.7s; }

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

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
}

.ai-glow {
    position: absolute;
    inset: -5px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0.3;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

.chat-bubble {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    position: relative;
}

.typing-dots {
    display: flex;
    gap: 4px;
    margin-bottom: 0.5rem;
}

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

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

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

.chat-text {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.metric-title {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-chart {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 40px;
    margin-bottom: 1rem;
}

.chart-bar {
    width: 8px;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: chartGrow 1s ease-out;
}

@keyframes chartGrow {
    from { height: 0; }
    to { height: var(--height); }
}

.metric-value {
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: orb 10s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-secondary);
    bottom: 30%;
    left: 10%;
    animation-delay: -5s;
}

@keyframes orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 20px) scale(1.05); }
}

.gradient-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(66, 133, 244, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 133, 244, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

/* Modern Features Section */
.modern-features {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
}

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

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.features-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

.features-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.modern-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s ease;
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-8px);
    border-color: rgba(66, 133, 244, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modern-card:hover .card-glow {
    opacity: 0.6;
    transform: scale(1.1);
}

.card-background {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: all 0.4s ease;
    transform: scale(0.8);
    filter: blur(60px);
}

.card-glow.large {
    filter: blur(80px);
}

.span-two {
    grid-column: span 2;
}

.feature-icon-container {
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.ai-icon { background: var(--gradient-primary); }
.voice-icon { background: var(--gradient-secondary); }
.embed-icon { background: var(--gradient-accent); }
.analytics-icon { background: linear-gradient(135deg, var(--success-color) 0%, var(--google-green) 100%); }
.link-icon { background: linear-gradient(135deg, var(--meta-purple) 0%, var(--secondary-color) 100%); }
.brand-icon { background: linear-gradient(135deg, var(--google-red) 0%, var(--error-color) 100%); }

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-content.horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-preview {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.flow-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.flow-step.active {
    color: var(--google-blue);
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.flow-step.active .step-dot {
    background: var(--google-blue);
    box-shadow: 0 0 10px rgba(66, 133, 244, 0.5);
}

.flow-connector {
    flex: 1;
    height: 1px;
    background: var(--border-color);
    margin: 0 0.5rem;
}

.audio-transcript {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audio-wave-mini {
    display: flex;
    align-items: center;
    gap: 2px;
}

.mini-bar {
    width: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    animation: miniWave 1s ease-in-out infinite;
}

.mini-bar:nth-child(1) { height: 12px; animation-delay: 0s; }
.mini-bar:nth-child(2) { height: 18px; animation-delay: 0.1s; }
.mini-bar:nth-child(3) { height: 8px; animation-delay: 0.2s; }
.mini-bar:nth-child(4) { height: 15px; animation-delay: 0.3s; }
.mini-bar:nth-child(5) { height: 10px; animation-delay: 0.4s; }

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

.transcript-text {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.85rem;
}

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

.embed-code {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.code-bracket { color: var(--google-red); }
.code-tag { color: var(--google-blue); }
.code-attr { color: var(--google-yellow); }
.code-value { color: var(--google-green); }

.analytics-dashboard {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.metric-tile {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
}

.metric-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.mini-chart {
    position: relative;
    height: 40px;
}

.chart-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 48%, var(--google-blue) 50%, transparent 52%);
    border-radius: 2px;
}

.chart-dots {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.chart-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.chart-dot.active {
    background: var(--google-blue);
    box-shadow: 0 0 10px rgba(66, 133, 244, 0.5);
}

/* Responsive Design for Google x Meta Style */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-heading {
        font-size: 3.5rem;
    }
    
    .hero-visual {
        height: 500px;
        order: 2;
        margin-top: 3rem;
    }
    
    .hero-content {
        order: 1;
        margin-bottom: 3rem;
        padding-bottom: 2rem;
    }
    
    .features-grid .span-two {
        grid-column: span 1;
    }
    
    .feature-content.horizontal {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        min-height: auto;
        padding: 3rem 0 4rem 0;
    }
    
    .hero-grid {
        gap: 3rem;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-heading {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: none;
    }
    
    .features-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .primary-button,
    .secondary-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .stat-item {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-visual {
        height: 350px;
        margin-top: 2rem;
        order: 2;
    }
    
    .hero-content {
        order: 1;
        padding-bottom: 2rem;
        margin-bottom: 1rem;
    }
    
    .card-1, .card-2, .card-3 {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 280px;
        margin: 0 auto 1rem auto;
        animation: none !important;
    }
    
    .floating-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        position: relative;
    }
    
    .hero-backdrop {
        opacity: 0.3;
    }
    
    .auth-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .auth-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-heading {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .features-title {
        font-size: 2rem;
    }
    
    .primary-button,
    .secondary-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .modern-card {
        padding: 1.5rem;
    }
    
    .hero-stats {
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-visual {
        height: 300px;
        margin-top: 2rem;
    }
    
    .card-1, .card-2, .card-3 {
        max-width: 100%;
        padding: 1rem;
    }
    
    .testimonial-card {
        font-size: 0.9rem;
    }
    
    .ai-chat-card {
        font-size: 0.9rem;
    }
    
    .metrics-card {
        font-size: 0.9rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
    
    .badge-icon {
        font-size: 1rem;
    }
    
    .features-container {
        padding: 0 1rem;
    }
    
    .modern-hero {
        padding: 2rem 0 3rem 0;
    }
}

/* Testimonials Page Styles */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.testimonial-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.testimonial-name {
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-details {
    flex: 1;
}

.testimonial-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.meta-item i {
    font-size: 0.75rem;
}

.testimonial-status .badge {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

.testimonial-content {
    margin: 1.5rem 0;
}

.testimonial-transcript {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(0, 122, 255, 0.05) 100%);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.testimonial-transcript::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

.testimonial-transcript p {
    margin: 0;
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    padding-left: 2rem;
}

.testimonial-audio {
    margin-bottom: 1rem;
}

.testimonial-audio audio {
    width: 100%;
    max-width: 400px;
    height: 40px;
}

.testimonial-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1.5rem;
}

.testimonial-actions .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.testimonial-actions .btn:hover {
    /* No floating animation */
}

.testimonial-status .badge {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 4rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.empty-state h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Modal Styles */
.testimonial-detail {
    color: var(--text-primary);
}

.testimonial-detail strong {
    color: var(--text-primary);
}

.testimonial-transcript {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Filter and Sort Controls */
.form-select-sm {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.form-select-sm:focus {
    background-color: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.25);
}

.form-select-sm option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

/* Audio Styling */
.testimonial-audio {
    margin: 1rem 0;
}

.testimonial-audio audio {
    width: 100%;
    height: 45px;
    border-radius: 8px;
    outline: none;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .testimonial-info {
        width: 100%;
    }
    
    .testimonial-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .testimonial-actions {
        justify-content: flex-start;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .testimonial-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .card-header .d-flex {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start !important;
    }
    
    .card-header .d-flex .d-flex {
        flex-direction: row;
        width: 100%;
    }
    
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 576px) {
    .testimonials-grid {
        padding: 0.5rem;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Notification Dropdown Styles */
.notification-dropdown {
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 0.75rem 1rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background-color: rgba(0, 122, 255, 0.05);
    border-left-color: var(--primary-color);
}

.notification-item:hover {
    background-color: var(--bg-tertiary);
}

.notification-content {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
}

.notification-message {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
}

.notification-time {
    color: var(--text-tertiary);
    font-size: 0.75rem;
}

.notification-badge {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.4rem !important;
    border-radius: 10px !important;
}

@media (max-width: 768px) {
    .notification-dropdown {
        width: 300px;
        right: 0 !important;
        left: auto !important;
    }
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--text-secondary);
    padding: 3rem 0 1rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.footer-heading {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 2rem 0 1.5rem;
}

.footer-copyright {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin: 0;
}

.footer-social {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.social-link i {
    font-size: 1rem;
}

/* Ensure footer stays at bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content,
.main-content-authenticated {
    flex: 1;
}

/* Responsive footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-social {
        text-align: center;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-heading {
        text-align: center;
        margin-top: 2rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-copyright {
        text-align: center;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .footer-title {
        font-size: 1.25rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link i {
        font-size: 0.9rem;
    }
}

/* Legal Pages Styles */
.legal-document {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.legal-content h2 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.legal-content h3 {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 1rem 0 1rem 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .legal-document {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
    
    .legal-content ul {
        margin-left: 1rem;
    }
}

/* Team Management Styles */
.team-members-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-member-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.team-member-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.member-avatar {
    margin-right: 1rem;
}

.avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.member-info {
    flex: 1;
}

.member-name {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.member-email {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.member-company {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin: 0;
}

.badge-owner {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.invitations-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.invitation-item {
    padding: 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.invitation-info {
    flex: 1;
}

.invitation-email {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.invitation-date,
.invitation-expires {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.invitation-expires {
    color: var(--warning-color);
}

.stats-icon.team {
    background: linear-gradient(135deg, #007AFF, #5856D6);
}

.stats-icon.pending {
    background: linear-gradient(135deg, #FF9500, #FF6B35);
}

.stats-icon.owner {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h6 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Simplified Team Management for Settings Page */
.team-members-simple {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.team-member-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

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

.member-avatar-small {
    width: 36px;
    height: 36px;
}

.avatar-img-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.member-details {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.member-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.member-email {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.badge-owner-small {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 8px;
    font-weight: 600;
}

.empty-state-simple {
    text-align: center;
    padding: 1.5rem;
    color: var(--text-secondary);
}

.empty-state-simple i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.invite-form {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.pending-invitations {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.invitation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.invitation-row:last-child {
    border-bottom: none;
}

.invitation-email {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.invitation-date {
    color: var(--text-secondary);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

@media (max-width: 768px) {
    .team-member-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .member-avatar {
        margin-right: 0;
    }
    
    .member-actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .invitation-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .invite-form .row {
        flex-direction: column;
    }
    
    .invite-form .col-md-4 {
        margin-top: 0.5rem;
    }
    
    .team-member-row,
    .invitation-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .member-actions-simple {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* Translation Settings Styles */
.translation-settings {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.translation-settings:hover {
    border-color: var(--primary-color);
}

.language-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.language-checkboxes .form-check {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.language-checkboxes .form-check:hover {
    border-color: var(--primary-color);
    background: var(--bg-tertiary);
}

.language-checkboxes .form-check-input:checked + .form-check-label {
    color: var(--primary-color);
    font-weight: 600;
}

.language-checkboxes .form-check-label {
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-meta .translation-indicator {
    background: var(--success-color);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Widget Preview Translation Info */
.widget-preview .translation-info {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.3);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--success-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.translation-info i {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .language-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .translation-settings {
        padding: 0.75rem;
    }
}

/* Pricing Page Styles */
.pricing-hero {
    padding: 4rem 0 2rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-radius: 20px;
    margin: 2rem auto;
}

.billing-toggle {
    font-size: 1.1rem;
    font-weight: 500;
}

.billing-toggle .form-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
    background-color: var(--border-color);
    border: none;
}

.billing-toggle .form-switch .form-check-input:checked {
    background-color: var(--primary-color);
}

.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    /* No floating animation */
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 12px 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 1rem 0;
}

.price .currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0.2rem;
}

.price .period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plan-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.pricing-features {
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--success-color);
    margin-right: 0.75rem;
    width: 16px;
    flex-shrink: 0;
}

.pricing-action .btn {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.comparison-table {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--bg-tertiary);
    border: none;
    padding: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-table td {
    border: none;
    padding: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

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

/* Billing Page Styles */
.subscription-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.subscription-card .card-header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.subscription-card .card-body {
    padding: 2rem;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 0.25rem;
}

.subscription-dates p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.usage-stats {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
}

.usage-item {
    margin-bottom: 1rem;
}

.usage-item:last-child {
    margin-bottom: 0;
}

.progress-sm {
    height: 6px;
    margin-top: 0.5rem;
}

.progress-sm .progress-bar {
    background: var(--gradient-primary);
}

.subscription-actions {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -1.75rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border: 2px solid var(--bg-secondary);
    border-radius: 50%;
}

.timeline-content {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

/* Sidebar Styles */
.sidebar {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    min-height: calc(100vh - 76px);
}

.sidebar .nav-link {
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 0.25rem 0;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.sidebar .nav-link.active {
    background: var(--primary-color);
    color: white;
}

/* Demo Video Section */
.demo-video-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.video-container {
    margin-top: 3rem;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-placeholder {
    position: relative;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.video-placeholder:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-backdrop {
    padding: 2rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-window {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
}

.browser-header {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

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

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-url {
    background: var(--bg-quaternary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex: 1;
}

.browser-content {
    padding: 2rem;
}

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

.ai-avatar-demo {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.ai-pulse {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0.5;
}

.ai-message {
    background: var(--bg-quaternary);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
}

.record-button-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--error-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Compact Page Header */
.page-header-compact {
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.page-header-compact h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.page-header-compact p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Testimonial Avatar */
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

/* Dashboard Testimonial Cards */
.testimonials-cards {
    /* Let Bootstrap handle the grid layout */
}

.testimonial-card-dashboard .card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.testimonial-card-dashboard .card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.testimonial-card-dashboard .avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-card-dashboard .card-title {
    color: var(--text-primary);
    font-weight: 600;
}

.testimonial-card-dashboard .card-text {
    color: var(--text-secondary);
    line-height: 1.5;
}

.testimonial-card-dashboard audio {
    border-radius: 8px;
    background: var(--bg-tertiary);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.video-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: between;
    align-items: center;
}

.video-modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    flex: 1;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.video-modal-body {
    padding: 2rem;
}

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

.demo-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.demo-message h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.demo-message p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.demo-actions .btn {
    min-width: 140px;
}

@media (max-width: 768px) {
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .pricing-hero {
        padding: 2rem 0 1rem 0;
        margin: 1rem;
    }
    
    .price .amount {
        font-size: 2.5rem;
    }
    
    .subscription-card .card-body {
        padding: 1.5rem;
    }
    
    .plan-name {
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: -1.25rem;
    }
}

/* Mobile Sidebar */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    color: #007AFF;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1050;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, sans-serif;
}

.mobile-sidebar.open {
    left: 0;
}

.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.sidebar-header {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: start;
}

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

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
}

.user-details {
    flex: 1;
}

.user-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.15rem;
}

.user-company {
    font-size: 0.75rem;
    color: #666;
    font-weight: 300;
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #aaa;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-left-color: #007AFF;
}

.sidebar-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-left-color: #007AFF;
}

.sidebar-link i {
    width: 20px;
    font-size: 0.9rem;
    color: #666;
}

.sidebar-link:hover i {
    color: #007AFF;
}

.sidebar-footer {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    color: #666;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.sidebar-footer-link:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #aaa;
}

.sidebar-footer-link.logout {
    color: #ef4444;
}

.sidebar-footer-link.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.sidebar-footer-link i {
    width: 16px;
    font-size: 0.75rem;
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block;
        margin-right: 1rem;
    }
    
    .navbar-collapse {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .mobile-sidebar,
    .sidebar-backdrop {
        display: none;
    }
}

/* Light Mode Theme */
body[data-theme="light"] {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --success-color: #34C759;
    --warning-color: #FF9500;
    --error-color: #FF3B30;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #e5e5e7;
    --bg-quaternary: #d1d1d6;
    --text-primary: #000000;
    --text-secondary: #6e6e73;
    --text-tertiary: #8e8e93;
    --border-color: #d1d1d6;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Light mode specific overrides */
body[data-theme="light"] .navbar-dark {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid #d1d1d6;
}

body[data-theme="light"] .navbar-dark .navbar-brand,
body[data-theme="light"] .navbar-dark .nav-link {
    color: #000 !important;
}

body[data-theme="light"] .navbar-dark .nav-link:hover {
    color: #007AFF !important;
}

body[data-theme="light"] .mobile-sidebar {
    background: rgba(255, 255, 255, 0.98);
    border-right: 1px solid #d1d1d6;
}

body[data-theme="light"] .sidebar-backdrop {
    background: rgba(0, 0, 0, 0.3);
}

body[data-theme="light"] .card,
body[data-theme="light"] .glass-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d1d1d6;
}

body[data-theme="light"] .btn-outline-primary {
    color: #007AFF;
    border-color: #007AFF;
}

body[data-theme="light"] .btn-outline-primary:hover {
    background: #007AFF;
    color: #fff;
}

body[data-theme="light"] .form-control,
body[data-theme="light"] .input-field {
    background: #ffffff;
    border-color: #d1d1d6;
    color: #000;
}

body[data-theme="light"] .form-control::placeholder,
body[data-theme="light"] .input-field::placeholder {
    color: #8e8e93;
}

body[data-theme="light"] .form-control:focus,
body[data-theme="light"] .input-field:focus {
    background: #ffffff;
    border-color: #007AFF;
}

body[data-theme="light"] .modal-content {
    background: #ffffff;
    border: 1px solid #d1d1d6;
}

body[data-theme="light"] .modal-header {
    border-color: #d1d1d6;
}

body[data-theme="light"] .btn-close {
    filter: invert(1);
}

/* Theme Toggle Switch */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.theme-toggle-switch {
    position: relative;
    width: 40px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.theme-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

body[data-theme="light"] .theme-toggle-switch {
    background: #007AFF;
}

body[data-theme="light"] .theme-toggle-slider {
    left: 22px;
}

.theme-toggle-icon {
    font-size: 0.85rem;
    color: #aaa;
}

body[data-theme="light"] .theme-toggle-icon {
    color: #666;
}

.theme-toggle-mobile {
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-toggle-mobile .theme-toggle-label {
    font-size: 0.85rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body[data-theme="light"] .theme-toggle-mobile {
    border-bottom-color: #d1d1d6;
}

body[data-theme="light"] .theme-toggle-mobile .theme-toggle-label {
    color: #666;
}

/* Smooth theme transitions */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card, .glass-card, .form-control, .input-field, .modal-content,
.navbar-dark, .mobile-sidebar, .btn {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
