
:root {
    --royal-purple: #6a4c93;
    --gold: #f8c630;
    --soft-pink: #ffb7c5;
    --ivory: #fff9f0;
    --deep-teal: #0a9396;
    --light-teal: #94d2bd;
    --shadow: rgba(0,0,0,0.1);
    --text-dark: #333;
    --text-light: #fff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Glacial Indifference', sans-serif;
    background-color: var(--ivory);
    color: var(--text-dark);
    line-height: 1.6;
    background-image: linear-gradient(135deg, var(--ivory) 0%, var(--light-teal) 100%);
}
h1, h2, h3 {
    font-family: 'Alata', sans-serif;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--prelude), var(--tea-green));
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--bunker);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--mountbatten-pink);
}

.hero-image img {
    max-width: 100%;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--coral-tree);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--bunker);
    border: 2px solid var(--bunker);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--coral-tree);
}
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 4rem;
    }
    
    .hero-content {
        max-width: 50%;
    }
    
    .hero-image {
        max-width: 45%;
    }
    
    .cta-buttons {
        justify-content: flex-start;
    }
}
/* Profile Page Styles */
.profile-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--coral-tree);
}

.btn-edit {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

.username {
    font-size: 2rem;
    color: var(--coral-tree);
    border-bottom: 2px dashed var(--coral-tree);
    padding-bottom: 0.5rem;
}

.profile-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.5rem 1rem;
    background: var(--tea-green);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--coral-tree);
    color: white;
}

.tab-content {
    display: none;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.tab-content.active {
    display: block;
}

.story-input {
    width: 100%;
    height: 150px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.story-preview {
    margin-top: 2rem;
    padding: 1rem;
    border: 1px dashed #ddd;
    border-radius: 8px;
}

.reminder-card {
    background: #fff8e1;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.next-appointment {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--coral-tree);
    margin: 1rem 0;
}

.appointment-form {
    margin-top: 1rem;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.streak-counter {
    text-align: center;
    margin: 2rem 0;
}

.streak-count {
    font-size: 3rem;
    font-weight: bold;
    color: var(--coral-tree);
    margin: 0.5rem 0;
}

.badge-collection {
    margin-top: 2rem;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.badge-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.badge-item.locked {
    opacity: 0.5;
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Nutrition Page Styles */
.nutrition-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nutrition-header {
    text-align: center;
    margin-bottom: 3rem;
}

.nutrition-header h2 {
    font-size: 2.5rem;
    color: var(--coral-tree);
}

.nutrition-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.fact-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-5px);
}

.fact-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.fact-card h3 {
    padding: 1rem 1rem 0;
    color: var(--mountbatten-pink);
}

.fact-card p {
    padding: 0 1rem 1rem;
}

.fact-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: var(--prelude);
    border: none;
    font-family: 'Alata', sans-serif;
    cursor: pointer;
    transition: background 0.3s ease;
}

.fact-btn:hover {
    background: var(--mountbatten-pink);
    color: white;
}

.recipe-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.recipe-tabs {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.tab-btn {
    padding: 0.5rem 1rem;
    background: var(--tea-green);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--coral-tree);
    color: white;
}

.recipe-content {
    display: none;
}

.recipe-content.active {
    display: block;
}

.recipe-content img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.recipe-content h4 {
    color: var(--coral-tree);
    margin-bottom: 1rem;
}

.recipe-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}
