/* ============================================
   SilasCoding Landing Page
   Design: Apple Dark Mode + Soft Typography
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-page: #000000;
    --bg-card: #1d1d1f;
    --bg-card-hover: #2c2c2e;
    --text-primary: #d1d1d6;
    --text-secondary: #86868b;
    --text-link: #2997ff;
    --radius-card: 20px;
    --transition-speed: 0.3s;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-page);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 960px;
    padding: 80px 24px;
    margin: 0 auto;
}

/* --- Hero --- */
.hero {
    text-align: center;
    margin-bottom: 80px;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 24px;
    /* Remove black background if PNG has it */
    border-radius: 16px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--text-primary);
}

/* --- Cards Grid --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
}

/* --- Card Base --- */
.card {
    background-color: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-speed) ease,
                background-color var(--transition-speed) ease;
    cursor: default;
    border: none;
    outline: none;
}

/* --- Active Card (clickable) --- */
.card--active {
    cursor: pointer;
}

.card--active:hover {
    transform: translateY(-4px);
    background-color: var(--bg-card-hover);
}

.card--active:active {
    transform: translateY(-2px);
}

/* --- Coming Soon Card --- */
.card--coming-soon {
    opacity: 0.45;
    cursor: default;
}

/* --- Card Inner Elements --- */
.card-icon {
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

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

.card-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-link);
    margin-top: 8px;
}

.card-link--muted {
    color: var(--text-secondary);
}

/* --- Responsive: iPhone --- */
@media (max-width: 768px) {
    .container {
        padding: 60px 20px;
    }

    .hero {
        margin-bottom: 48px;
    }

    .hero-logo {
        width: 80px;
        margin-bottom: 16px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card {
        padding: 24px 20px;
    }
}
