/* ronri.net — Corporate Gradient SaaS for Academic Logic */

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === Base === */
body {
    background: #FFFFFF;
    color: #333333;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
}

/* === Hero Gradient === */
.hero-gradient {
    background: linear-gradient(135deg, #1E3A5F 0%, #2D1B69 100%);
    padding: 5rem 2rem 4.5rem;
    text-align: center;
    color: #FFFFFF;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.3;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.hero-mission {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

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

.cta-filled {
    display: inline-block;
    background: #FFFFFF;
    color: #1E3A5F;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.cta-filled:hover {
    background: #F8F9FB;
    transform: translateY(-1px);
}

.cta-outlined {
    display: inline-block;
    border: 1.5px solid #FFFFFF;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.cta-outlined:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

/* === Section Headings === */
.section-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1.3;
    color: #1E3A5F;
    margin-bottom: 1.5rem;
}

/* === Platform Features === */
.features {
    max-width: 960px;
    margin: 0 auto;
    padding: 3.5rem 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, #1E3A5F, #2D1B69) 1;
    border-radius: 0 0 8px 8px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1E3A5F;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: #4F6BED;
    text-decoration: none;
    transition: color 0.15s;
}

.feature-link:hover {
    color: #1E3A5F;
}

/* === Logic Symbols === */
.logic-symbol {
    font-family: 'Fira Code', monospace;
    font-weight: 400;
    background: #F8F9FB;
    padding: 1px 4px;
    border-radius: 2px;
}

/* === Recent Publications === */
.publications {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.pub-table {
    width: 100%;
    border-collapse: collapse;
}

.pub-table thead th {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    color: #6B7280;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.75rem 0.75rem;
    border-bottom: 2px solid #E5E7EB;
}

.pub-table tbody td {
    padding: 0.75rem 0.75rem;
    border-bottom: 1px solid #E5E7EB;
    font-size: 0.9rem;
    vertical-align: middle;
}

.pub-table tbody tr.alt {
    background: #F8F9FB;
}

.pub-date {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: #6B7280;
    white-space: nowrap;
}

.pub-title {
    font-weight: 500;
    color: #1E3A5F;
}

.topic-pill {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    background: #F8F9FB;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    padding: 2px 8px;
    color: #6B7280;
    white-space: nowrap;
}

/* === Community Hub === */
.community {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.community-panel {
    background: #F8F9FB;
    padding: 1.5rem;
    border-radius: 8px;
}

.panel-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #1E3A5F;
    margin-bottom: 1rem;
}

.thread-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #E5E7EB;
}

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

.thread-title {
    font-size: 0.85rem;
    color: #333333;
    line-height: 1.4;
}

.thread-replies {
    font-size: 0.75rem;
    color: #6B7280;
    white-space: nowrap;
    margin-left: 0.75rem;
    flex-shrink: 0;
}

.event-item {
    display: flex;
    align-items: baseline;
    padding: 0.6rem 0;
    border-bottom: 1px solid #E5E7EB;
}

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

.event-date {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: #4F6BED;
    margin-right: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.event-title {
    font-size: 0.85rem;
    color: #333333;
    line-height: 1.4;
}

/* === Footer === */
.site-footer {
    background: #FFFFFF;
    margin-top: 1rem;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem 2.5rem;
}

.footer-gradient-line {
    height: 3px;
    background: linear-gradient(90deg, #1E3A5F, #2D1B69);
    margin-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1E3A5F;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer-link {
    display: block;
    font-size: 0.85rem;
    color: #6B7280;
    text-decoration: none;
    margin-bottom: 0.4rem;
    transition: color 0.15s;
}

.footer-link:hover {
    color: #4F6BED;
}

/* === Partner Institutions === */
.footer-partners {
    border-top: 1px solid #E5E7EB;
    padding-top: 1.5rem;
    text-align: center;
}

.partner-label {
    display: block;
    font-size: 0.75rem;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.partner-logo {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6B7280;
    opacity: 0.6;
    filter: grayscale(100%);
    letter-spacing: 0.02em;
}

/* === Fade-In Animation === */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero-gradient {
        padding: 3.5rem 1.5rem 3rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pub-table {
        font-size: 0.85rem;
    }

    .pub-table thead th,
    .pub-table tbody td {
        padding: 0.5rem 0.4rem;
    }

    .partner-logos {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-heading {
        font-size: 1.35rem;
    }

    .pub-table thead th:nth-child(3),
    .pub-table tbody td:nth-child(3) {
        display: none;
    }
}
