/* Open Course Website CSS - Landing and About Pages */
:root {
    /* Open Course Color Palette */
    --oc-scarlet: #FF1F00;
    --oc-black: #000000;
    --oc-white-smoke: #F1F0F0;
    --oc-mint: #4FE8B0;
    --oc-salmon: #FF7966;
    --oc-platinum: #DEDEDE;
    --oc-iron: #1E1E1E;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--oc-black) 0%, var(--oc-iron) 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: var(--oc-black);
}

/* Navigation */
.nav {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--oc-white-smoke);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--oc-scarlet);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--oc-black) 0%, var(--oc-iron) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    height: 100px;
    width: auto;
    margin-bottom: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    background: rgba(255, 255, 255, 0.15);
    padding: 30px 40px;
    border-radius: 12px;
    display: inline-block;
}

.hero h1 {
    color: var(--oc-white-smoke);
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    color: var(--oc-platinum);
    font-size: 22px;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--oc-scarlet) 0%, #CC1900 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 31, 0, 0.4);
    background: linear-gradient(135deg, #FF3520 0%, var(--oc-scarlet) 100%);
}

/* Content Sections */
.content-section {
    background: var(--oc-white-smoke);
    padding: 80px 20px;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: var(--oc-black);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    color: var(--oc-iron);
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    border: 2px solid var(--oc-platinum);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--oc-scarlet) 0%, var(--oc-salmon) 100%);
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--oc-black);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--oc-iron);
    font-size: 16px;
    line-height: 1.6;
}

/* About Page Specific */
.about-content {
    background: var(--oc-white-smoke);
    padding: 80px 20px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    color: var(--oc-iron);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text h2 {
    color: var(--oc-black);
    font-size: 28px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.about-text h2:first-child {
    margin-top: 0;
}

/* Privacy Policy Page Specific */
.privacy-policy-text {
    max-width: 800px;
    margin: 0 auto;
    color: var(--oc-iron);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.privacy-policy-text p {
    margin-bottom: 20px;
}

.privacy-policy-text .last-updated {
    color: var(--oc-iron);
    font-size: 16px;
    font-style: italic;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--oc-platinum);
}

.privacy-policy-text h2 {
    color: var(--oc-black);
    font-size: 28px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.privacy-policy-text h2:first-of-type {
    margin-top: 0;
}

.privacy-policy-text a {
    color: var(--oc-scarlet);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.privacy-policy-text a:hover {
    color: #CC1900;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--oc-black);
    color: var(--oc-white-smoke);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer p {
    color: var(--oc-platinum);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    list-style: none;
}

.footer-links a {
    color: var(--oc-white-smoke);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--oc-scarlet);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-logo {
        height: 48px;
    }

    .hero-logo {
        height: 80px;
        padding: 20px 30px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .content-section,
    .about-content {
        padding: 50px 20px;
    }

    .footer-logo {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        height: 40px;
    }

    .hero {
        min-height: 70vh;
        padding: 40px 20px;
    }

    .hero-logo {
        height: 60px;
        padding: 15px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .footer-logo {
        height: 36px;
    }
}

