:root {
    --primary: #06B6D4;
    --primary-dark: #0891B2;
    --secondary: #3B82F6;
    --accent: #F472B6;
    --bg-light: #F0FDFA;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --card-bg: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    background: white;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
}

nav button {
    background: none;
    border: none;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

nav button:hover, nav button.active {
    color: var(--primary);
}

/* Hero */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    color: white;
    border-radius: 0 0 2rem 2rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

/* Forms */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

/* Activities Checkboxes */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.checkbox-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-card:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}

.checkbox-card input:checked + span {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s, opacity 0.2s;
}

.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--primary); color: white; }
.btn-secondary { background: white; border: 2px solid var(--primary); color: var(--primary); }
.btn-warning { background: var(--warning); color: white; }
.btn-success { background: var(--success); color: white; }

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.plan-card {
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.plan-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.2);
}

.plan-card h3 { color: var(--primary-dark); margin-top: 0; }
.plan-price { font-size: 2rem; font-weight: 700; color: var(--text-main); margin: 1rem 0; }
.plan-features { list-style: none; padding: 0; margin-bottom: 2rem; flex: 1; }
.plan-features li { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.plan-features li::before { content: "✓"; color: var(--success); font-weight: bold; }

/* Policies List */
.policy-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-warning { background: #FEF3C7; color: #92400E; }

/* Toast */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.toast {
    background: #1E293B;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 10px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hidden { display: none !important; }
.mt-large { margin-top: 3rem; }

/* Filters */
.filters-section {
    margin: 2rem 0;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 0.75rem;
    user-select: none;
}

.toggle input {
    display: none;
}

.slider {
    position: relative;
    width: 48px;
    height: 24px;
    background-color: #E2E8F0;
    border-radius: 99px;
    transition: 0.2s;
}

.slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle input:checked+.slider {
    background-color: var(--primary);
}

.toggle input:checked+.slider::before {
    transform: translateX(24px);
}

.label-text {
    font-weight: 600;
    color: var(--text-main);
}