/* =============================================================================
   Gradescope Assignments Overview - Landing Page Styles
   ============================================================================= */

:root {
    --gs-teal: #1CA0A0;
    --gs-teal-dark: #158080;
    --gs-blue: #1CA0FF;
    --gs-blue-dark: #0d8ae6;
    --text-primary: #333;
    --text-secondary: #666;
    --text-muted: #888;
    --bg-light: #f8f9fa;
    --bg-white: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ Hero Section ============ */

.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 60px 0 80px;
    text-align: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 32px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gs-teal);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(28, 160, 160, 0.3);
}

.cta-button:hover {
    background: var(--gs-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 160, 160, 0.4);
}

.chrome-icon {
    opacity: 0.9;
}

.cta-subtext {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ============ Demo Section ============ */

.demo-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.demo-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.demo-wrapper {
    display: flex;
    justify-content: center;
}

.demo-panel {
    width: 100%;
    max-width: 700px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Mock Panel Styles */
.mock-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fafafa;
    border-bottom: 1px solid var(--border-color);
}

.mock-chevron {
    color: #666;
    font-size: 12px;
}

.mock-title {
    flex: 1;
    font-weight: 600;
    font-size: 15px;
}

.mock-actions {
    display: flex;
    gap: 8px;
}

.mock-btn {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    font-size: 13px;
    cursor: pointer;
}

.mock-btn-primary {
    background: var(--gs-blue);
    border-color: var(--gs-blue);
    color: white;
}

.mock-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #fafafa;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}

.mock-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    cursor: pointer;
}

.mock-checkbox input {
    accent-color: var(--gs-blue);
}

.mock-select,
.mock-search {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
}

.mock-search {
    width: 100px;
}

.mock-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.mock-summary b {
    color: var(--text-primary);
}

.mock-summary .urgent {
    color: #c53030;
}

.mock-list {
    max-height: 320px;
    overflow-y: auto;
}

.mock-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

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

.mock-item.urgent-bg {
    background: #fff5f5;
}

.mock-item.warning-bg {
    background: #fffbf0;
}

.mock-item-main {
    flex: 1;
}

.mock-item-title {
    font-weight: 500;
    color: var(--gs-blue);
    text-decoration: none;
    cursor: pointer;
}

.mock-item-title:hover {
    text-decoration: underline;
}

.mock-item-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.mock-course {
    color: var(--text-secondary);
}

.mock-dot {
    color: #ccc;
    margin: 0 4px;
}

.mock-due.urgent {
    color: #c53030;
    font-weight: 500;
}

.mock-due.warning {
    color: #b7791f;
}

.mock-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.mock-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.mock-badge.unsubmitted {
    background: #f0f0f0;
    color: #666;
}

.mock-submit {
    font-size: 11px;
    color: var(--gs-blue);
    text-decoration: none;
    cursor: pointer;
}

.mock-submit:hover {
    text-decoration: underline;
}

.mock-footer {
    padding: 10px 16px;
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    background: #fafafa;
    border-top: 1px solid var(--border-color);
}

/* ============ Features Section ============ */

.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 48px;
}

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

.feature-card {
    background: var(--bg-white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s;
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============ CTA Section ============ */

.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #1CA0A0 0%, #158585 100%);
    color: white;
}

.cta-section h2 {
    font-size: 28px;
    margin-bottom: 24px;
}

.cta-section .cta-button {
    background: white;
    color: var(--gs-teal);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta-section .cta-button:hover {
    background: #e0f7f7;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ============ Footer ============ */

.footer {
    padding: 40px 0;
    background: #1a1a1a;
    color: #aaa;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
}

.footer-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

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

.footer-disclaimer {
    font-size: 12px;
    color: #666;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* ============ Responsive ============ */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .tagline {
        font-size: 16px;
    }

    .cta-button {
        padding: 14px 24px;
        font-size: 16px;
    }

    .demo-section h2,
    .features-section h2 {
        font-size: 24px;
    }

    .mock-controls {
        gap: 8px;
    }

    .mock-summary {
        gap: 8px 12px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}