:root {
    --primary: #2563EB;
    --accent: #00F5D4;
    --accent-soft: #E6FFFA;
    --bg-main: #F8FAFC;
    --card-bg: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border-light: #F1F5F9;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-pro: 0 10px 25px rgba(37, 99, 235, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: #0F172A;
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.5;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* Container responsive focused on mobile */
.app-container {
    width: 100%;
    max-width: 440px;
    min-height: 100vh;
    background: var(--bg-main);
    position: relative;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

#app {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Typography Overrides */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    color: var(--text-main);
}

/* Components */
.input-field {
    width: 100%;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 16px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 18px;
    padding: 18px 24px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-pro);
    width: 100%;
}

.btn-primary:active {
    transform: scale(0.97);
}

.card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid white;
}

/* Dashboard & Navigation */
.nav-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 392px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    display: flex;
    justify-content: space-around;
    padding: 12px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.4);
    border: none;
    background: none;
    cursor: pointer;
    flex: 1;
}

.nav-item.active {
    color: var(--accent);
}

.nav-item span {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    aspect-ratio: 1;
    background: white;
    border-radius: 28px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: all 0.2s;
}

.action-card:active {
    transform: scale(0.95);
}

/* Specials */
.login-hero {
    height: 38vh;
    background: url('../img/hero-bg.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.login-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3), var(--bg-main));
}

.login-logo-container {
    position: relative;
    z-index: 10;
    background: white;
    padding: 24px;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.login-form-container {
    padding: 40px 32px;
    margin-top: -48px;
    position: relative;
    z-index: 20;
    background: var(--bg-main);
    border-radius: 40px 40px 0 0;
    flex: 1;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 100px;
}

.goal-card {
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: white;
    transition: 0.2s;
}

.goal-card.active {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.day-check {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}

.day-check.active {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

/* Animations */
.animate-in {
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Exercise Cards */
.exercise-card.completed {
    opacity: 0.5;
    filter: grayscale(1);
}

.exercise-card.completed h4 {
    text-decoration: line-through;
}