/* Modern AI SaaS Dashboard Styles */

/* General Layout */
.page-wrapper {
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 60px 0;
}

/* Hero Section */
.hero-section {
    background: transparent;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #0ea5e9;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary-lg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-lg:hover::before {
    left: 100%;
}

.btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(14, 165, 233, 0.5);
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-card-stack {
    position: relative;
    width: 400px;
    height: 300px;
}

.visual-card {
    position: absolute;
    background: #ffffff;
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.card-1 {
    width: 320px;
    height: 400px;
    right: 0;
    top: -50px;
    z-index: 1;
    transform: rotate(3deg);
    padding: 20px;
}

.card-header-mock {
    height: 40px;
    background: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zheight-link {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.zheight-link:hover {
    color: #0ea5e9;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.card-body-mock {
    height: 200px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-agent-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.card-2 {
    width: 200px;
    height: 100px;
    bottom: -20px;
    left: -20px;
    z-index: 2;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f0fdf4;
    border: 1px solid rgba(16, 185, 129, 0.4);
    transform: rotate(-2deg);
}

.vc-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vc-text {
    font-weight: 700;
    color: #1e293b;
}

/* Features Section */
.features-section {
    background: transparent;
    padding: 60px 0;
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #a0a0a0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: #ffffff;
    backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(14, 165, 233, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(139, 92, 246, 0.15));
    color: #0ea5e9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 1rem;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(0, 0, 0, 0.05);
}

.text-primary {
    color: #0ea5e9;
}

/* Recent Section */
.recent-section {
    background: transparent;
    min-height: 600px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.view-all-btn {
    color: #0ea5e9;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    padding-left: 24px;
    font-size: 14px;
    opacity: 0.9;
    margin-top: 6px;
    transition: all 0.2s;
}

.view-all-btn:hover {
    color: #06b6d4;
    opacity: 1;
    transform: translateX(3px);
}

.assessments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: flex-start;
}

/* Assessment Card (Reused from previous CSS but refined) */
.assessment-card {
    background: #ffffff;
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    flex: 1 1 380px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 28px 28px 32px;
}

.assessment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(14, 165, 233, 0.4);
    background: #f8fafc;
}

.assessment-header {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.assessment-info {
    flex: 1;
}

.assessment-name {
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.assessment-meta {
    display: flex;
    gap: 1rem;
    margin-top: 10px;
    margin-bottom: 4px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #64748b;
}

.meta-icon {
    opacity: 0.7;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-completed {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.assessment-body {
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
    flex: 1;
}

.rule-summary {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.rule-summary-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.rule-summary-item.compliant {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.rule-summary-item.non-compliant {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.rule-summary-item.needs-review {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.assessment-footer {
    padding-top: 1.25rem;
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-view-report {
    display: inline-block;
    padding: 14px 18px;
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 4px;
}

.btn-view-report::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-view-report:hover::before {
    left: 100%;
}

.btn-view-report:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.4);
}

/* Empty State Large */
.empty-state-large {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 5rem 2rem;
}

.empty-icon-lg {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.1));
    color: #0ea5e9;
    border-radius: 50%;
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.empty-state-large h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 0.75rem;
}

.empty-state-large p {
    font-size: 1rem;
    color: #a0a0a0;
    max-width: 500px;
    margin: 0 auto;
}

.btn-primary-mt {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary-mt::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-mt:hover::before {
    left: 100%;
}

.btn-primary-mt:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.4);
}

/* Responsive */
/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 0;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .stats-grid {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    section {
        padding: 40px 0;
    }

    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary-lg,
    .btn-secondary-lg {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        padding: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 24px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .btn-primary-lg,
    .btn-secondary-lg {
        font-size: 16px;
        padding: 14px 24px;
    }

    .section-title {
        font-size: 26px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .stat-value {
        font-size: 36px;
    }
}