/* Home Page Specific Styles (Neo-brutalist Flat Style) */

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        margin: 0 auto;
        max-width: 600px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.hero-text h1 span {
    background: var(--color-primary);
    border: var(--border-width) solid #000000;
    padding: 0.15rem 0.5rem;
    display: inline-block;
    transform: rotate(-1deg);
    box-shadow: var(--shadow-sm);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
    font-weight: 600;
}

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

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 700;
}

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

.bullet-icon {
    background: var(--color-success);
    border: 2px solid #000000;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Dashboard Mock Widget */
.hero-preview {
    perspective: 1000px;
}

.dashboard-mock {
    border: var(--border-width) solid #000000;
    box-shadow: var(--shadow-lg);
    background: #ffffff;
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--border-width) solid #000000;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
}

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

.icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: var(--border-width) solid #000000;
    background: var(--color-primary);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.dashboard-title {
    font-size: 1.1rem;
    font-weight: 900;
}

.dashboard-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.alignment-progress {
    margin: 1.5rem 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.progress-bar-bg {
    height: 16px;
    background: #ffffff;
    border: var(--border-width) solid #000000;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--color-success);
    border-radius: var(--radius-full);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    padding: 1.25rem 0;
    border-bottom: var(--border-width) solid #000000;
    border-top: var(--border-width) solid #000000;
    margin: 1.5rem 0;
    gap: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
}

.stat-number.primary { color: #000000; background: var(--color-primary); border: 2px solid #000000; border-radius: var(--radius-sm); padding: 0.1rem; }
.stat-number.success { color: #000000; background: var(--color-success); border: 2px solid #000000; border-radius: var(--radius-sm); padding: 0.1rem; }
.stat-number.warning { color: #000000; background: var(--color-warning); border: 2px solid #000000; border-radius: var(--radius-sm); padding: 0.1rem; }

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.recent-activity {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.activity-title {
    font-size: 0.85rem;
    font-weight: 900;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    background: #ffffff;
    border: var(--border-width) solid #000000;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    border: 2px solid #000000;
}
.dot.success { background-color: var(--color-success); }
.dot.warning { background-color: var(--color-warning); }

.activity-text {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 600;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-left: auto;
}

/* Feature/Problem/Works Sections Layout */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
}

.section-header p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Problem Box Card */
.problem-card {
    background: #ffffff;
    border-color: #000000;
}

.problem-card:hover {
    border-color: #000000;
    box-shadow: var(--shadow-lg);
}

.problem-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.problem-header h2 {
    font-size: 2.25rem;
}

.problem-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: var(--border-width) solid #000000;
}

.problem-stat-num {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    background: var(--color-error);
    border: var(--border-width) solid #000000;
    box-shadow: var(--shadow-sm);
    padding: 0.25rem 0.75rem;
    display: inline-block;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
}

.problem-stat-lbl {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0.75rem;
}

@media (max-width: 640px) {
    .problem-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Three Steps Grid */
.step-number {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: var(--border-width) solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.step-card:nth-child(1) .step-number {
    background: var(--color-primary);
    color: #000000;
}
.step-card:nth-child(2) .step-number {
    background: var(--color-secondary);
    color: #ffffff;
}
.step-card:nth-child(3) .step-number {
    background: var(--color-info);
    color: #ffffff;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Feature Icon Boxes */
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    border: var(--border-width) solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
    box-shadow: var(--shadow-sm);
}

.feature-card:nth-child(1) .feature-icon { background: var(--color-primary); color: #000000; }
.feature-card:nth-child(2) .feature-icon { background: var(--color-error); color: #ffffff; }
.feature-card:nth-child(3) .feature-icon { background: var(--color-warning); color: #000000; }
.feature-card:nth-child(4) .feature-icon { background: var(--color-secondary); color: #ffffff; }
.feature-card:nth-child(5) .feature-icon { background: var(--color-success); color: #000000; }
.feature-card:nth-child(6) .feature-icon { background: var(--color-info); color: #ffffff; }


.more-features-btn {
    text-align: center;
    margin-top: 4rem;
}

/* Deep Dives (Alternating rows) */
.deep-dive-container {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.deep-dive-row {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 5rem;
    align-items: center;
}

.deep-dive-row:nth-child(even) {
    grid-template-columns: 1fr 1.12fr;
}

@media (max-width: 900px) {
    .deep-dive-row, .deep-dive-row:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.deep-dive-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.deep-dive-text h3 {
    font-size: 2.25rem;
}

.deep-dive-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.deep-dive-item {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    border-bottom: 2px solid #000000;
    padding-bottom: 0.75rem;
    font-weight: 700;
}

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

.deep-dive-item span:last-child {
    color: var(--text-primary);
}

/* Protocol Coverage list styling */
.protocol-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.protocol-card h3 {
    font-size: 1.35rem;
    font-weight: 900;
}

/* Stats Row */
.stats-section {
    padding: 5rem 0;
    border-top: var(--border-width) solid #000000;
    border-bottom: var(--border-width) solid #000000;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    text-align: center;
}

.stat-number-lg {
    font-size: 3.5rem;
    font-weight: 900;
    color: #000000;
    background: var(--color-primary);
    border: var(--border-width) solid #000000;
    padding: 0.25rem 0.75rem;
    display: inline-block;
    transform: rotate(1.5deg);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    border-radius: var(--radius-sm);
}

.stat-desc {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Integrations Section */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (max-width: 640px) {
    .integration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.integration-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    border: var(--border-width) solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.integration-item:nth-child(1) .integration-icon-wrapper { background: var(--color-primary); color: #000000; }
.integration-item:nth-child(2) .integration-icon-wrapper { background: var(--color-warning); color: #000000; }
.integration-item:nth-child(3) .integration-icon-wrapper { background: var(--color-secondary); color: #000000; }
.integration-item:nth-child(4) .integration-icon-wrapper { background: var(--color-success); color: #000000; }

.integration-name {
    font-size: 1.05rem;
    font-weight: 800;
}

.integration-desc {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* CTA Box */
.cta-box {
    background: #ffffff;
    border: var(--border-width) solid #000000;
    box-shadow: var(--shadow-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 3rem;
    gap: 1.75rem;
    border-radius: var(--radius-lg);
}

.cta-box h2 {
    font-size: 3rem;
    font-weight: 900;
}

.cta-box p {
    max-width: 600px;
    font-size: 1.2rem;
    font-weight: 600;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}
