/* Variables based on Spec */
:root {
    --primary: #208080;
    --primary-hover: #186666;
    --alert: #C0152F;
    --bg-color: #FFFCF9;
    --text-main: #1F2121;
    --text-sec: #626C7C;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3 { font-weight: 600; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
p { margin-bottom: 1rem; color: var(--text-sec); }
a { text-decoration: none; color: inherit; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary); }
.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a:hover { color: var(--primary); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { border: 1px solid var(--text-main); }
.btn-alert { background: var(--alert); color: var(--white); }

/* Hero Section */
.hero { padding: 80px 0; display: flex; align-items: center; gap: 40px; }
.hero-content { flex: 1; }
.hero-image { flex: 1; }
.hero-image img { width: 100%; border-radius: 12px; }

/* Features Grid */
.features-section { padding: 60px 0; background: var(--white); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* Dashboard Specifics */
.dashboard-layout { display: flex; min-height: 100vh; }
.sidebar { width: 250px; background: white; border-right: 1px solid #ddd; padding: 20px; }
.sidebar a { display: block; padding: 10px; margin-bottom: 5px; border-radius: 4px; }
.sidebar a.active { background: var(--primary); color: white; }
.dash-content { flex: 1; padding: 40px; }

.check-in-btn {
    width: 200px; height: 200px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 1.5rem;
    border: 8px solid #e0f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    transition: 0.3s;
    flex-direction: column;
}
.check-in-btn:hover { transform: scale(1.05); }
.check-in-btn.safe { background: #20B898; border-color: #ccfbf1; cursor: default; }

/* Mobile */
@media (max-width: 768px) {
    .hero { flex-direction: column-reverse; text-align: center; }
    .nav-links { display: none; } /* Simplified for mobile example */
    .dashboard-layout { flex-direction: column; }
    .sidebar { width: 100%; border-bottom: 1px solid #ddd; }
}