/* ===== Landing Page Styles - Shiftly ===== */

:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --accent: #f093fb;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    overflow-x: hidden;
}

.fw-800 { font-weight: 800; }

.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* ===== Navbar ===== */
#landing-nav {
    background: transparent !important;
    transition: all 0.3s ease;
    padding: 1rem 0;
}
#landing-nav.scrolled {
    background: rgba(102, 126, 234, 0.97) !important;
    backdrop-filter: blur(12px);
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* ===== Hero ===== */
.hero-section {
    background: var(--gradient);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: white;
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; }
.shape-3 { width: 200px; height: 200px; top: 40%; left: 30%; }

.text-gradient {
    background: linear-gradient(135deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge {
    display: inline-block;
}
.badge-inner {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* ===== Hero Preview Card ===== */
.hero-preview {
    perspective: 1000px;
}
.preview-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(3deg);
    transition: transform 0.4s ease;
}
.preview-card:hover {
    transform: rotateY(0) rotateX(0);
}
.preview-header {
    background: #f8f9fa;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.preview-body { padding: 16px; }

.mini-calendar { font-size: 0.75rem; }
.cal-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.cal-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 4px;
}
.cal-cell {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 4px;
    text-align: center;
    min-height: 52px;
}
.cal-cell.weekend { background: #fff3e0; }
.cal-cell.active { background: #e8eaf6; border: 2px solid var(--primary); }
.cal-cell .day {
    display: block;
    font-weight: 600;
    font-size: 0.7rem;
    color: #333;
    margin-bottom: 2px;
}
.shift {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    margin: 1px;
}
.shift-early { background: #28a745; }
.shift-late { background: #ffc107; color: #333; }
.shift-night { background: #6f42c1; }

.stats-bar { display: flex; flex-direction: column; gap: 8px; }
.stat-item {
    display: grid;
    grid-template-columns: 120px 1fr 40px;
    align-items: center;
    gap: 8px;
}
.stat-label { font-size: 0.75rem; color: #666; }
.stat-value { font-size: 0.75rem; font-weight: 700; color: #333; text-align: right; }

/* ===== Section Badge ===== */
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== Feature Cards ===== */
.feature-card {
    padding: 2rem;
    border-radius: 16px;
    background: white;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.feature-icon-primary { background: rgba(102,126,234,0.12); color: var(--primary); }
.feature-icon-success { background: rgba(40,167,69,0.12); color: #28a745; }
.feature-icon-warning { background: rgba(255,193,7,0.15); color: #e6a700; }
.feature-icon-info { background: rgba(13,202,240,0.12); color: #0dcaf0; }
.feature-icon-danger { background: rgba(220,53,69,0.12); color: #dc3545; }
.feature-icon-purple { background: rgba(118,75,162,0.12); color: #764ba2; }

/* ===== Steps ===== */
.step-card {
    padding: 2rem;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient);
    position: relative;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-section { min-height: auto; padding-top: 100px; }
    .hero-section .display-3 { font-size: 2.2rem; }
    .preview-card { transform: none; }
    .py-6 { padding-top: 3rem; padding-bottom: 3rem; }
}
