/* ============================================
   MagiJobs — Landing Page (shadcn-style)
   ============================================ */

/* ── Navbar ──────────────────────────────────── */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition-slow);
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--foreground);
}

.landing-logo .accent { color: var(--brand); }

.logo-icon-sm {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-md);
    background: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.landing-nav-links { display: flex; align-items: center; gap: 24px; }
.landing-nav-links a:not(.btn) { font-size: var(--text-sm); font-weight: 500; color: var(--muted-foreground); transition: color var(--transition-fast); }
.landing-nav-links a:not(.btn):hover { color: var(--foreground); }

/* ── Hero ────────────────────────────────────── */
.hero-section { padding: 140px 0 80px; text-align: center; position: relative; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--muted-foreground);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--foreground);
    letter-spacing: -0.04em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--foreground) 0%, var(--muted-foreground) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle { font-size: var(--text-lg); color: var(--muted-foreground); max-width: 560px; margin: 0 auto 32px; line-height: 1.7; }

.hero-cta { display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; }

.hero-stats { display: flex; justify-content: center; align-items: center; gap: 40px; }
.hero-stat { font-size: var(--text-sm); color: var(--muted-foreground); }
.hero-stat strong { display: block; font-family: var(--font-heading); font-size: var(--text-2xl); color: var(--foreground); margin-bottom: 2px; letter-spacing: -0.03em; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ── Sections ────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--muted); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge { display: inline-block; padding: 4px 12px; background: var(--muted); color: var(--muted-foreground); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; border-radius: var(--radius-full); margin-bottom: 12px; border: 1px solid var(--border); }
.section-header h2 { font-size: var(--text-3xl); margin-bottom: 12px; letter-spacing: -0.03em; }
.section-header p { font-size: var(--text-lg); color: var(--muted-foreground); max-width: 480px; margin: 0 auto; }

/* ── Bento Grid ──────────────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.bento-item {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-normal);
}

.bento-item:hover {
    box-shadow: 0 4px 20px -4px rgba(0,0,0,0.05);
    border-color: var(--ring);
}

.bento-item.large { grid-column: span 2; grid-row: span 2; }
.bento-item.tall { grid-row: span 2; }
.bento-item.wide { grid-column: span 2; }

.bento-icon {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    background: var(--muted); display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}

.bento-icon svg { width: 24px; height: 24px; color: var(--foreground); }
.bento-item h3 { font-size: var(--text-lg); margin-bottom: 8px; letter-spacing: -0.02em; }
.bento-item p { font-size: var(--text-sm); color: var(--muted-foreground); margin: 0; line-height: 1.6; }

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-item.large { grid-column: span 2; }
    .bento-item.tall { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item.large, .bento-item.wide { grid-column: span 1; }
}

/* ── Steps ───────────────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.step-card { 
    text-align: center; 
    padding: 32px 24px; 
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    position: relative;
    transition: all var(--transition-normal);
}
.step-card:hover {
    border-color: var(--ring);
    box-shadow: 0 4px 20px -4px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}
.step-number { 
    width: 56px; height: 56px; 
    border-radius: var(--radius-full); 
    background: var(--foreground); color: #fff; 
    font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700; 
    display: flex; align-items: center; justify-content: center; 
    margin: 0 auto 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
}
.step-card h3 { font-size: var(--text-lg); margin-bottom: 12px; letter-spacing: -0.01em; }
.step-card p { font-size: var(--text-sm); color: var(--muted-foreground); margin: 0; line-height: 1.6; }

/* ── Platforms Grid ──────────────────────────── */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.platform-grid .glass-card {
    transition: all var(--transition-normal);
    border: 1px solid var(--border);
    background: var(--background);
}
.platform-grid .glass-card:hover {
    border-color: var(--ring);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

/* ── CTA ─────────────────────────────────────── */
.cta-section { background: var(--foreground); padding: 80px 0; text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 24px; }
.cta-section p { color: var(--gray-400); margin-bottom: 32px; }

/* ── Footer ──────────────────────────────────── */
.landing-footer { padding: 32px 0; border-top: 1px solid var(--border); text-align: center; font-size: var(--text-sm); color: var(--muted-foreground); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
    .platform-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .landing-nav-links a:not(.btn) { display: none; }
    .hero-section { padding: 100px 0 48px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-stat-divider { width: 40px; height: 1px; }
    .section { padding: 48px 0; }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
    .platform-grid { grid-template-columns: 1fr; }
}
