@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --bg-gradient: linear-gradient(135deg, #FFFBF7 0%, #FFE4E8 100%);
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(255, 255, 255, 0.5);
    --soft-pink: #FFE4E8;
    --rose-gold: #B76E79;
    --rose-gold-light: #d698a1;
    --deep-purple: #4B2E83;
    --purple-light: #6a4aab;
    --text-dark: #2a2a2a;
    --text-muted: #7a7a7a;
    --shadow-soft: 0 12px 30px rgba(183, 110, 121, 0.12);
    --shadow-hover: 0 15px 35px rgba(75, 46, 131, 0.15);
    --border-radius: 24px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-dark);
    padding-bottom: 100px;
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--deep-purple);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    margin-bottom: 30px;
    padding-top: 20px;
    animation: fadeInDown 0.6s ease-out;
}

.greeting {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--deep-purple), var(--rose-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.date-text {
    color: var(--rose-gold);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Glassmorphism Cards */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--card-border);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out backwards;
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.3s; }
.card:nth-child(5) { animation-delay: 0.4s; }

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px) scale(1.01);
    background: rgba(255, 255, 255, 0.85);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-title i {
    background: linear-gradient(135deg, #fff, var(--soft-pink));
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(183, 110, 121, 0.1);
}

/* Enhanced Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--rose-gold), var(--deep-purple));
    color: white;
    border: none;
    padding: 16px 28px;
    border-radius: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(75, 46, 131, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
}

.btn-primary:hover::after {
    left: 200%;
}

.btn-primary:active {
    transform: scale(0.96);
    box-shadow: 0 4px 10px rgba(75, 46, 131, 0.2);
}

/* Form Elements */
label {
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--deep-purple);
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="time"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid rgba(183, 110, 121, 0.2);
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    margin-bottom: 20px;
    color: var(--text-dark);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 4px rgba(183, 110, 121, 0.15);
    background: #fff;
    transform: translateY(-2px);
}

/* Checkbox specific */
.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 228, 232, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.checkbox-item:hover {
    background: rgba(255, 228, 232, 0.8);
    border-color: rgba(183, 110, 121, 0.2);
    transform: translateX(5px);
}

.checkbox-item input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    margin-bottom: 0;
    accent-color: var(--deep-purple);
    cursor: pointer;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    padding: 15px 10px 25px;
    box-shadow: 0 -10px 30px rgba(75, 46, 131, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    transition: var(--transition);
    gap: 6px;
    padding: 5px 15px;
    border-radius: 12px;
}

.nav-item i {
    font-size: 1.5rem;
    transition: var(--transition);
}

.nav-item.active {
    color: var(--deep-purple);
    background: rgba(75, 46, 131, 0.05);
}

.nav-item.active i {
    transform: translateY(-4px) scale(1.1);
    color: var(--rose-gold);
}

.nav-item:active {
    transform: scale(0.9);
}

/* Quote Card */
.quote-card {
    background: linear-gradient(135deg, rgba(255, 228, 232, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-left: 5px solid var(--rose-gold);
    font-style: italic;
    color: var(--deep-purple);
    font-size: 1.1rem;
    padding: 30px;
}

/* Progress bar */
.progress-container {
    width: 100%;
    height: 10px;
    background: rgba(183, 110, 121, 0.1);
    border-radius: 5px;
    margin-top: 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--rose-gold), var(--deep-purple));
    border-radius: 5px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
