/* ============================================
   Lumiden — Styles
   Mobile-first, minimal & elegant
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #333333;
}

.nav-logo-icon {
    width: 28px;
    height: 28px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: #666666;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #007bff;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #333333;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    padding: 160px 0 100px;
    text-align: center;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: #888888;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Section shared --- */
.section-title {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #007bff;
    margin-bottom: 32px;
}

/* --- About --- */
.about {
    padding: 80px 0;
    text-align: center;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555555;
    max-width: 640px;
    margin: 0 auto;
}

/* --- Initiatives --- */
.initiatives {
    padding: 80px 0;
    background: #fafafa;
}

.initiatives-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 8px;
}

.initiative-card {
    display: block;
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 36px 96px 36px 32px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.initiative-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 123, 255, 0.2);
}

.card-icon {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
}

.card-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #007bff;
    background: rgba(0, 123, 255, 0.08);
    padding: 4px 12px;
    border-radius: 100px;
    margin-top: 24px;
}

.card-label--soon {
    color: #888888;
    background: rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.card-tagline {
    font-size: 1rem;
    font-weight: 400;
    color: #007bff;
    margin-bottom: 16px;
}

.card-description {
    font-size: 0.9375rem;
    color: #777777;
    line-height: 1.7;
    margin-bottom: 24px;
}

.card-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: #999999;
    transition: color 0.2s ease;
}

.initiative-card:hover .card-link {
    color: #007bff;
}

/* --- Contact --- */
.contact {
    padding: 80px 0;
    text-align: center;
}

.contact-text {
    font-size: 1.0625rem;
    color: #777777;
    margin-bottom: 24px;
}

.contact-email {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 400;
    color: #007bff;
    letter-spacing: -0.01em;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.contact-email:hover {
    border-bottom-color: #007bff;
}

/* --- Footer --- */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.footer p {
    font-size: 0.8125rem;
    color: #aaaaaa;
    font-weight: 300;
}

/* ============================================
   Responsive — Tablet (640px+)
   ============================================ */
@media (min-width: 640px) {
    .hero {
        padding: 200px 0 120px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

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

/* ============================================
   Responsive — Desktop (960px+)
   ============================================ */
@media (min-width: 960px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .about {
        padding: 120px 0;
    }

    .initiatives {
        padding: 120px 0;
    }

    .contact {
        padding: 120px 0;
    }
}

/* ============================================
   Responsive — Mobile nav (below 640px)
   ============================================ */
@media (max-width: 639px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 16px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 14px 24px;
        font-size: 1rem;
    }
}
