:root {
    /* Warm Organic Palette */
    --bg-color: #f4f1ea; /* Soft cream */
    --text-main: #2c3e38; /* Deep muted green/gray */
    --text-light: #5a6b65;
    
    /* Brand Colors for DNA */
    --color-nurture: #d4a373; /* Warm sandy orange */
    --color-core: #8db596; /* Soft sage green */
    --color-prospect: #6b8e9b; /* Muted slate blue */
    --color-content: #e09f87; /* Soft terracotta */
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(44, 62, 56, 0.1);
    
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at top right, rgba(141, 181, 150, 0.15), transparent 40%),
                      radial-gradient(circle at bottom left, rgba(212, 163, 115, 0.15), transparent 40%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.app-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.app-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 300;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.card-desc {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
}

.help-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

input[type="number"], select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(44, 62, 56, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
    outline: none;
}

.input-wrapper input {
    padding-left: 2rem;
}

input:focus, select:focus {
    border-color: var(--color-core);
    box-shadow: 0 0 0 3px rgba(141, 181, 150, 0.2);
    background: #ffffff;
}

/* Buttons */
.btn-primary, .btn-cta {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--text-main);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    margin-top: 2rem;
}

.btn-primary:hover, .btn-cta:hover {
    background-color: var(--color-core);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(141, 181, 150, 0.3);
}

.btn-text {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-light);
    margin-top: 1rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-decoration: underline;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--text-main);
}

/* Utilities */
.hidden {
    display: none !important;
}

.accent-text {
    color: var(--color-nurture);
}

/* Results Section */
.results-summary {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.metric-box h3 {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-core);
}

.dna-analysis {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.dna-analysis h3 {
    margin-bottom: 0.5rem;
}

.warning-box {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(224, 159, 135, 0.15);
    border-left: 4px solid var(--color-content);
    border-radius: 4px 8px 8px 4px;
    font-size: 0.9rem;
}

/* Points Bar Chart */
.points-breakdown h3 {
    margin-bottom: 1.5rem;
}

.bar-group {
    margin-bottom: 1.2rem;
}

.bar-label {
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.bar-track {
    width: 100%;
    height: 12px;
    background: rgba(0,0,0,0.05);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.color-nurture { background-color: var(--color-nurture); }
.color-core { background-color: var(--color-core); }
.color-prospect { background-color: var(--color-prospect); }
.color-content { background-color: var(--color-content); }

.bar-value {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: right;
    font-weight: 600;
}

.cta-section {
    margin-top: 3rem;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 2rem;
}

.cta-section p {
    font-weight: 500;
    margin-bottom: 1rem;
}

.btn-cta small {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 600px) {
    .glass-card {
        padding: 1.5rem;
    }
    
    .results-summary {
        flex-direction: column;
    }
}
