/* Evalexon - Soft & Delicate Design System */

:root {
    /* Soft Pastel Color Palette */
    --pastel-beige: #F5F1E8;
    --light-mint: #D4E8E0;
    --soft-cream: #FFF8F0;
    --pale-green: #C8E6C9;
    --gentle-rose: #F8E8E8;
    --soft-sage: #B8D4C8;
    --warm-sand: #E8DCC8;
    --mint-accent: #A8D5BA;
    --rose-accent: #E8C8C8;
    
    /* Text Colors */
    --text-primary: #4A5568;
    --text-secondary: #718096;
    --text-light: #A0AEC0;
    
    /* Gradients */
    --gradient-soft: linear-gradient(135deg, var(--light-mint) 0%, var(--soft-cream) 100%);
    --gradient-warm: linear-gradient(135deg, var(--pastel-beige) 0%, var(--gentle-rose) 100%);
    --gradient-fresh: linear-gradient(135deg, var(--pale-green) 0%, var(--light-mint) 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--soft-cream);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Header Styles */
header {
    background: var(--gradient-soft);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mint-accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: var(--gradient-soft);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--mint-accent);
    position: relative;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.features-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--mint-accent);
}

.btn-primary {
    background: var(--gradient-fresh);
    color: var(--text-primary);
    font-weight: 700;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(168, 213, 186, 0.3);
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(168, 213, 186, 0.4);
}

/* Section Styles */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

/* Problem Section */
.problem-section {
    background: white;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.bullet {
    width: 12px;
    height: 12px;
    background: var(--mint-accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.problem-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.why-choose {
    background: var(--gradient-warm);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--gradient-fresh);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-box svg {
    width: 40px;
    height: 40px;
    color: white;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.card-text {
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.7;
}

/* Ingredients Section */
.ingredients-section {
    background: var(--pastel-beige);
}

.ingredient-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}

.ingredient-icon {
    width: 70px;
    height: 70px;
    background: var(--light-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.ingredient-icon svg {
    width: 35px;
    height: 35px;
    color: var(--mint-accent);
}

.ingredient-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.ingredient-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* How to Use Section */
.how-to-use {
    background: white;
}

.step-card {
    position: relative;
    background: var(--soft-cream);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 4px solid var(--mint-accent);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-fresh);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(168, 213, 186, 0.3);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

/* Form Section */
.form-section {
    background: var(--gradient-soft);
}

.form-container {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--light-mint);
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--soft-cream);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--mint-accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(168, 213, 186, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

/* Contact Info Section */
.contact-info {
    background: white;
}

.info-card {
    background: var(--soft-cream);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-fresh);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.info-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.info-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-text {
    color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials {
    background: var(--gentle-rose);
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.testimonial-header {
    margin-bottom: 1.5rem;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: #F59E0B;
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
}

/* FAQ Section */
.faq-section {
    background: white;
}

.faq-item {
    background: var(--soft-cream);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--mint-accent);
}

.faq-question {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Legal Section */
.legal-section {
    background: var(--pastel-beige);
}

.legal-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.legal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.legal-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-list {
    list-style: none;
    padding-left: 0;
}

.legal-list li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-list li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--mint-accent);
    font-size: 1.5rem;
}

.warning-box {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

/* Footer */
footer {
    background: var(--gradient-soft);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--mint-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Back to Top Button */
.back-to-top {
    background: var(--gradient-fresh);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(168, 213, 186, 0.3);
    display: inline-block;
    text-decoration: none;
    margin: 2rem auto;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(168, 213, 186, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-5 {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--soft-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--mint-accent);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--soft-sage);
}

/* Smooth Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}