/* Basic Reset & Root Variables */
:root {
    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Nunito', sans-serif;
    /* Colors inspired by logo - Adjust as needed */
    --color-primary: #E8A0BF; /* Pink/Purple */
    --color-secondary: #A0D2DB; /* Blue/Green */
    --color-accent: #FCE38A; /* Yellow/Pink */
    --color-text: #333;
    --color-text-light: #555;
    --color-bg: #fdf9f6; /* Soft off-white/beige */
    --color-white: #fff;
    --color-border: #eee;
    --gradient-bg: linear-gradient(135deg, #FCE38A, #E8A0BF, #A0D2DB); /* Logo gradient */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background-color: var(--color-bg);
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; color: #4a4a4a; }
h2 { font-size: 2.2rem; color: var(--color-primary); text-align: center; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; color: var(--color-secondary); }
p { margin-bottom: 1rem; color: var(--color-text-light); font-size: 1.05rem; }
a { color: var(--color-primary); text-decoration: none; }
section { padding: 60px 0; }
section:nth-child(even) { background-color: var(--color-white); }

/* CTA Button Style */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--color-accent), var(--color-primary));
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Header / Hero Section */
.hero {
    background: var(--gradient-bg);
    background: linear-gradient(135deg, #fce38a99, #e8a0bf99, #a0d2db99), url('path/to/watercolor-background.jpg'); /* Optional subtle background */
    background-color: #fdf1e6; /* Fallback */
    background-size: cover;
    color: var(--color-text);
    text-align: center;
    padding: 100px 0 60px 0;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero .logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: #4a4a4a; /* Darker text on light bg */
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #5f5f5f;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero .cta-note {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #777;
}

/* Problem/Solution Section */
.problem-solution .problems {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    text-align: center;
    flex-wrap: wrap;
}
.problem-solution .problems div {
    flex-basis: 30%;
    margin-bottom: 1rem;
}
.problem-solution .problems i {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}
.problem-solution p {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* How It Works Section */
.how-it-works .steps {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 30px; /* Add gap between steps */
    flex-wrap: wrap;
}
.how-it-works .step {
    flex: 1;
    min-width: 250px; /* Ensure steps don't get too narrow */
    padding: 20px;
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.how-it-works .step-icon {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    background: var(--color-primary);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
}

/* Upload & Email Section */
#upload-section {
    background-color: #f4e9e1; /* Slightly different bg */
}
#analysis-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
#analysis-form h2 {
    text-align: center;
    margin-bottom: 2rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}
.form-group input[type="email"],
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}
.form-group input[type="file"] {
    padding: 5px; /* Adjust padding for file input */
}

/* Image Preview Styling */
.image-preview {
    width: 100%;
    height: 200px; /* Adjust as needed */
    border: 1px dashed var(--color-secondary);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Hide overflow */
    background-color: #f9f9f9;
    border-radius: 5px;
}
.image-preview-image {
    display: none; /* Hide initially */
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* Cover the area */
}
.image-preview-default-text {
    color: #aaa;
}
.form-message {
    text-align: center;
    margin-top: 1rem;
    font-weight: bold;
}
.form-message.success { color: green; }
.form-message.error { color: red; }

/* Benefits Section */
.benefits .benefit-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.benefits .benefit-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary); /* Use primary or secondary */
}
.benefits .benefit-item h3 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

/* Trust & Credibility Section */
.trust-credibility {
    text-align: center;
}
.trust-credibility p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.trust-credibility .user-voices {
    margin-top: 2rem;
    font-style: italic;
    color: #777;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    border-left: 5px solid var(--color-accent);
    display: inline-block; /* Fit content */
}
.trust-credibility strong {
    display: block;
    margin-top: 1.5rem;
    color: var(--color-text);
}

/* Final CTA Section */
.final-cta {
    background: var(--gradient-bg);
    background-color: #fdf1e6; /* Fallback */
    text-align: center;
    color: var(--color-text);
}
.final-cta h2 { color: #4a4a4a;}
.final-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #5f5f5f;
}

/* Footer Section */
footer {
    background-color: #e7dcd5; /* Darker beige */
    color: var(--color-text-light);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}
.footer-logo {
    max-width: 80px;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}
footer nav a {
    color: var(--color-text-light);
    margin: 0 10px;
}
footer nav a:hover {
    color: var(--color-primary);
}
/* Footer Social links styling (optional) */
/*
.social-links { margin-top: 1rem; }
.social-links a {
    color: var(--color-text-light);
    font-size: 1.2rem;
    margin: 0 8px;
}
.social-links a:hover { color: var(--color-primary); }
*/


/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero { padding: 80px 0 40px 0; min-height: auto;}
    .hero p { font-size: 1rem; }

    .problem-solution .problems { flex-direction: column; align-items: center; }
    .problem-solution .problems div { flex-basis: auto; width: 80%; }

    .how-it-works .steps { flex-direction: column; gap: 20px; }

    #analysis-form { padding: 20px; }

    .benefits .benefit-items { grid-template-columns: 1fr; } /* Stack benefits */

    section { padding: 40px 0; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .container { padding: 0 15px; }
    .cta-button { font-size: 1rem; padding: 10px 20px; }
    .hero p { font-size: 0.9rem; }
}