:root {
    --primary: #7FA88C; /* Sage Green (The "Money" color) */
    --secondary: #D88C9A; /* Dusty Rose (The "Personal" color) */
    --bg-main: #FFF0F3; /* Pale Pink / Blush Background */
    --surface: #ffffff;
    --text-main: #2D2A26;
    --text-muted: #6B6661;
    --border: #F0DDE1; /* Soft pink-tinted border */
    --shadow: 0 4px 24px rgba(216, 140, 154, 0.12); /* Subtle pink glow shadow */
    --radius: 20px;
}

* { box-sizing: border-box; }

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    background: rgba(255, 255, 255, 0.85); /* Slightly transparent white */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo { font-size: 1.6rem; font-weight: 800; display: flex; align-items: baseline; }
.capit { color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.elle { color: var(--secondary); font-style: italic; font-family: serif; font-size: 2rem; margin-left: 2px; }

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--secondary); }

.container {
    max-width: 950px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Cards now feel lighter and float on the pink background */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

/* THE BUTTON: Green to Pink transition */
button, .btn {
    background: var(--primary); /* Money Green */
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 99px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth transition */
    box-shadow: 0 4px 12px rgba(127, 168, 140, 0.2);
}

button:hover, .btn:hover {
    background: var(--secondary); /* Turns to Pink */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(216, 140, 154, 0.3);
}

.ai-input-wrapper {
    background: #fff;
    border: 2px solid var(--border);
}

.ai-input-wrapper:focus-within {
    border-color: var(--secondary);
}

textarea {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    padding: 1rem 0;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    color: var(--text-main);
}

textarea:focus { outline: none; }

h1 { 
    font-size: 3.2rem; 
    font-weight: 900; 
    letter-spacing: -0.03em; 
    margin-bottom: 1rem; 
    color: #1a1a1a; 
}

.badge {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Updated Progress Bar to match the theme */
progress {
    width: 100%;
    height: 14px;
    border-radius: 10px;
    appearance: none;
    border: none;
    background-color: #FEEAEF; /* Light pink track */
}

progress::-webkit-progress-bar { background-color: #FEEAEF; border-radius: 10px; }
progress::-webkit-progress-value { background-color: var(--primary); border-radius: 10px; }

input {
    width: 100%;
    padding: 0.9rem;
    margin: 0.5rem 0 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--secondary);
}

.footer { text-align: center; padding: 4rem 0; color: var(--text-muted); font-size: 0.9rem; }