/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.logo-icon {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

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

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 80px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    margin-bottom: 2.5rem;
    min-height: 4.5rem;
    display: block;
    position: relative;
}

.hero-title-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-title span {
    display: inline-block;
    opacity: 0;
    filter: blur(4px);
    animation: focus-in 0.6s cubic-bezier(0.550, 0.085, 0.680, 0.530) forwards;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.hero-title .highlight span {
    color: var(--primary-color);
}

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

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.service-icon {
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: var(--accent-color);
}

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

.step {
    text-align: left;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

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

.step-icon {
    color: var(--primary-color);
    background: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

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

.step-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-left: 0.5rem;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background-color: var(--white);
}

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

.portfolio-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    height: 250px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.placeholder-image {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Dashboard Preview Styles */
.dashboard-preview {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    font-family: 'Inter', sans-serif;
}

.dashboard-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.dashboard-stats {
    display: flex;
    gap: 0.5rem;
}

.dashboard-stats .stat {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

.dashboard-content {
    padding: 1rem;
    height: calc(100% - 60px);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* PVC Windows Studio Dashboard */
.configurator-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    background: var(--accent-color);
    border-radius: var(--border-radius);
    position: relative;
}

.window-frame {
    width: 60px;
    height: 40px;
    border: 3px solid var(--text-primary);
    border-radius: 4px;
    position: relative;
}

.window-pane {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #87ceeb, #98d8e8);
    border-radius: 1px;
}

.handle {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 12px;
    background: var(--text-primary);
    border-radius: 2px;
}

.price-panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: var(--accent-color);
    border-radius: 4px;
    font-size: 0.8rem;
}

.price-item span:first-child {
    color: var(--text-secondary);
}

.price-item span:last-child {
    font-weight: 600;
    color: var(--primary-color);
}

/* Legnosystem Dashboard */
.production-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.job-card {
    background: var(--accent-color);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    border-left: 4px solid var(--primary-color);
}

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

.job-id {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.job-status {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

.job-status.active {
    background: #10b981;
    color: white;
}

.job-progress {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 1s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.metric {
    background: var(--accent-color);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* AI Analytics Dashboard */
.ai-chart {
    height: 60px;
    background: var(--accent-color);
    border-radius: var(--border-radius);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-line {
    width: 80%;
    height: 40px;
    position: relative;
    border-bottom: 2px solid var(--border-color);
}

.data-point {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    bottom: 0;
    transform: translateY(50%) scale(0);
    opacity: 0;
    transition: all 0.5s ease;
}

.data-point::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.prediction-line {
    position: absolute;
    right: 10%;
    height: 40px;
    border-bottom: 2px dashed var(--primary-color);
    transform: rotate(15deg);
}

.prediction-point {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
    bottom: 0;
    transform: translateY(50%) scale(0);
    opacity: 0;
    transition: all 0.5s ease;
}

.ai-insights {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--accent-color);
    border-radius: 4px;
    font-size: 0.8rem;
}

.insight-icon {
    font-size: 1rem;
}

.insight-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* ERP Dashboard */
.erp-modules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.module-card {
    background: var(--accent-color);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

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

.module-name {
    font-size: 0.7rem;
    color: var(--text-primary);
    font-weight: 500;
}

.erp-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 0.5rem;
}

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

.stat-number {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag {
    background-color: var(--accent-color);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--accent-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo h3 {
    color: var(--primary-color);
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a svg {
    width: 16px;
    height: 16px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--text-secondary);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-light);
}

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

@keyframes focus-in {
    0% {
      filter: blur(8px);
      opacity: 0;
      transform: scale(1.1);
    }
    100% {
      filter: blur(0);
      opacity: 1;
      transform: scale(1);
    }
}

@keyframes fade-out {
    0% {
      filter: blur(0);
      opacity: 1;
      transform: scale(1);
    }
    100% {
      filter: blur(4px);
      opacity: 0;
      transform: scale(0.95);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        flex-direction: column;
        gap: 1.5rem;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .nav-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .nav-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .nav-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero .container {
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 4.5vw, 3.5rem);
        min-height: 4rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
        min-height: 3.5rem;
        margin-bottom: 1.5rem;
    }
    
    .services-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

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

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* E-commerce Dashboard */
.ecommerce-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 6px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
}

.product-image {
    width: 100%;
    height: 40px;
    background: linear-gradient(45deg, #e2e8f0, #cbd5e1);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

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

.product-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
}

.product-price {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

.ai-recommendations {
    background: var(--accent-color);
    border-radius: 6px;
    padding: 0.75rem;
}

.recommendation-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rec-icon {
    font-size: 1rem;
}

.rec-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.sales-chart {
    display: flex;
    align-items: end;
    gap: 0.25rem;
    height: 30px;
}

.chart-bar {
    flex: 1;
    background: var(--primary-color);
    border-radius: 2px;
    min-height: 4px;
}

/* Fitness Dashboard */
.fitness-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 1rem;
    color: white;
}

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

.user-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-info {
    flex: 1;
}

.user-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.user-level {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.streak-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

.streak-icon {
    font-size: 0.875rem;
}

.workout-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.workout-info {
    flex: 1;
}

.workout-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.workout-subtitle {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.workout-meta {
    text-align: right;
}

.workout-duration {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.workout-intensity {
    display: block;
    font-size: 0.75rem;
    color: #ef4444;
    font-weight: 500;
}

.workout-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-ring {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0deg 270deg, #e5e7eb 270deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.progress-ring::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
}

.progress-text {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 1;
}

.workout-stats {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.workout-stat {
    text-align: center;
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.fitness-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.metric-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.metric-content {
    flex: 1;
}

.metric-value {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.ai-coach-section {
    margin-top: 0.5rem;
}

.coach-message {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.coach-avatar {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.message-content {
    flex: 1;
}

.message-text {
    font-size: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Analytics Dashboard */
.analytics-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-container {
    background: var(--white);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.line-chart {
    height: 60px;
    position: relative;
}

.analytics-insights {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* CRM Dashboard */
.crm-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pipeline-view {
    display: flex;
    gap: 0.5rem;
}

.pipeline-stage {
    flex: 1;
    background: var(--white);
    border-radius: 6px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
}

.stage-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.lead-card {
    background: var(--accent-color);
    border-radius: 4px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.lead-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
    display: block;
}

.lead-score {
    font-size: 0.625rem;
    color: var(--primary-color);
    font-weight: 600;
}

.crm-metrics {
    display: flex;
    gap: 1rem;
}

/* Legal Dashboard */
.legal-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-management {
    background: var(--white);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.case-card {
    background: var(--accent-color);
    border-radius: 6px;
    padding: 0.75rem;
}

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

.case-id {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.case-status {
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    background: var(--border-color);
    color: var(--text-secondary);
}

.case-status.active {
    background: #dcfce7;
    color: #166534;
}

.case-info {
    margin-bottom: 0.75rem;
}

.case-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.case-client {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.case-progress {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.legal-stats {
    display: flex;
    gap: 1rem;
} 