/* HomeStyles.css */
.hero {
    background: linear-gradient(135deg, #f4c430 0%, #e6b800 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: #1a1a1a;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-button {
    background: #2563eb;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.dashboard-preview {
    padding: 4rem 0;
    background: #f8fafc;
}

.dashboard-mockup {
    background: #1a1a1a;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    min-height: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.sidebar {
    background: #f4c430;
    width: 200px;
    padding: 2rem 0;
    color: #1a1a1a;
}

.sidebar-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.sidebar-item.active {
    background: rgba(26, 26, 26, 0.1);
    font-weight: 600;
}

.sidebar-item:hover {
    background: rgba(26, 26, 26, 0.05);
}

.main-content {
    flex: 1;
    padding: 2rem;
    color: white;
}

.widget-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    height: 100%;
}

.widget {
    background: #2d2d2d;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.widget h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: #e5e5e5;
}

.vendor-score {
    text-align: center;
}

.score-circle {
    margin: 1rem auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 8px solid #8b5cf6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: conic-gradient(#8b5cf6 78%, #404040 78%);
    transition: transform 0.3s ease;
}

.score-circle:hover {
    transform: scale(1.05);
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 88px;
    height: 88px;
    background: #2d2d2d;
    border-radius: 50%;
}

.score {
    font-size: 2rem;
    font-weight: bold;
    z-index: 1;
}

.generate-report-btn {
    background: #6366f1;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    margin-top: auto;
    transition: all 0.3s ease;
}

.generate-report-btn:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

.trend-chart,
.prediction-chart {
    flex: 1;
    background: linear-gradient(45deg, transparent 40%, #f4c430 50%, transparent 60%);
    border-radius: 0.25rem;
    position: relative;
    overflow: hidden;
}

.trend-chart::after,
.prediction-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #f4c430;
    border-radius: 2px;
    animation: pulse 2s infinite;
}

.violation-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #404040;
    transition: background-color 0.2s ease;
}

.violation-item:hover {
    background: rgba(244, 196, 48, 0.1);
    border-radius: 0.25rem;
    margin: 0 -0.5rem;
    padding: 0.75rem 0.5rem;
}

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

.vendor {
    font-weight: 500;
}

.date {
    color: #f4c430;
    font-size: 0.875rem;
}

.features {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #1a1a1a;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
}

.ai-icon {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.speed-icon {
    background: linear-gradient(135deg, #f59e0b, #f4c430);
}

.security-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature p {
    color: #6b7280;
    line-height: 1.6;
}

/* Loading animation for demo */
.loading {
    opacity: 0.7;
    pointer-events: none;
}