/* FITOHEMORO Static Site - Compiled CSS */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors (HSL) */
    --color-background: hsl(0, 0%, 98%);
    --color-foreground: hsl(210, 24%, 10%);
    --color-card: hsl(0, 0%, 100%);
    --color-primary: hsl(189, 94%, 43%);
    --color-primary-foreground: hsl(0, 0%, 100%);
    --color-secondary: hsl(189, 100%, 96%);
    --color-accent: hsl(158, 64%, 52%);
    --color-accent-foreground: hsl(0, 0%, 100%);
    --color-muted: hsl(210, 20%, 94%);
    --color-muted-foreground: hsl(210, 12%, 55%);
    --color-border: hsl(210, 20%, 90%);
    --color-destructive: hsl(0, 84%, 60%);
    --color-amber: hsl(38, 92%, 50%);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    font-size: 120%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
    background-image: url('./images/floral-background.png');
    background-repeat: repeat;
    background-size: 600px 600px;
    background-attachment: fixed;
    background-position: center;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.3));
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 45px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
}

.nav-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-foreground);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 400px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--color-background), rgba(250, 250, 250, 0.8) 50%, transparent);
}

.hero-content {
    position: relative;
    padding: 3rem 1rem;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 40rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: bold;
    line-height: 1.2;
}

.text-primary {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-foreground);
    opacity: 0.9;
    line-height: 1.5;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--color-border);
}

.star-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-amber);
}

.rating-value {
    font-weight: 600;
    font-size: 1.125rem;
}

.rating-count {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.price-badge {
    background-color: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(13, 189, 236, 0.2);
}

.price-label {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.price-value {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-full);
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.badge-accent {
    background-color: var(--color-accent);
    color: var(--color-accent-foreground);
}

.badge-icon {
    width: 0.75rem;
    height: 0.75rem;
    margin-right: 0.375rem;
}

@media (min-width: 768px) {
    .hero {
        min-height: 700px;
    }
    
    .hero-content {
        padding: 8rem 1rem;
        min-height: 700px;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .badge {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .badge-icon {
        width: 1rem;
        height: 1rem;
        margin-right: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: 800px;
    }
    
    .hero-content {
        padding: 10rem 1rem;
        min-height: 800px;
    }
    
    .hero-text {
        max-width: 48rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline {
    border: 2px solid var(--color-border);
    background-color: var(--color-background);
    color: var(--color-foreground);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-accent-foreground);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-accent-foreground);
}

.btn-accent:hover {
    opacity: 0.9;
}

.btn-sm {
    height: auto;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    height: auto;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .btn-lg {
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }
}

.btn-full {
    width: 100%;
}

.btn-rounded {
    border-radius: var(--radius-full);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Section */
.section {
    padding: 4rem 0;
}

.section-gradient {
    background: linear-gradient(to bottom right, var(--color-secondary), var(--color-background));
}

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

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-foreground);
    opacity: 0.8;
    max-width: 42rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: rgba(13, 189, 236, 0.5);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-lg);
    background-color: rgba(13, 189, 236, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefit-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-desc {
    color: var(--color-muted-foreground);
}

/* Ingredients */
.ingredients-card {
    background: linear-gradient(to bottom right, rgba(213, 249, 253, 0.3), var(--color-background));
    border: 2px solid rgba(13, 189, 236, 0.2);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.ingredients-header {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.leaf-icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-accent);
}

.ingredients-title {
    font-size: 2.25rem;
    font-weight: bold;
}

.ingredients-grid {
    display: grid;
    gap: 2rem;
    justify-items: center;
}

@media (min-width: 768px) {
    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ingredients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ingredient-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.ingredient-image {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(13, 189, 236, 0.2);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
}

.ingredient-image:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
    border-color: rgba(13, 189, 236, 0.4);
}

.ingredient-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ingredient-name {
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.ingredient-desc {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* How to Use */
.how-to-use-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .how-to-use-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-image-container {
    display: flex;
    justify-content: center;
}

.product-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 32rem;
    transition: all 0.3s;
}

.product-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.how-to-use-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.usage-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.usage-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.usage-item {
    display: flex;
    gap: 0.75rem;
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    color: var(--color-primary);
}

.special-offer-card {
    background-color: rgba(52, 211, 153, 0.1);
    border: 2px solid rgba(52, 211, 153, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.offer-title {
    font-size: 1.25rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.offer-text {
    font-size: 1.125rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star-filled {
    width: 1.25rem;
    height: 1.25rem;
    fill: var(--color-amber);
    color: var(--color-amber);
}

.testimonial-quote {
    color: var(--color-muted-foreground);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.875rem;
}

/* FAQ */
.faq-container {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--color-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1rem;
}

.faq-answer p {
    color: var(--color-muted-foreground);
    font-size: 0.875rem;
}

/* Order Form */
.cta-content {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.offer-badge {
    background-color: rgba(52, 211, 153, 0.1);
    border: 2px solid rgba(52, 211, 153, 0.3);
    border-radius: var(--radius-md);
    padding: 1rem;
    max-width: 42rem;
    margin: 0 auto;
}

.order-form-card {
    max-width: 42rem;
    margin: 0 auto;
    background-color: var(--color-card);
    border: 2px solid rgba(13, 189, 236, 0.2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.order-form-header {
    background: linear-gradient(to bottom right, rgba(13, 189, 236, 0.05), rgba(213, 249, 253, 0.2));
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.625rem;
    border-radius: 50%;
    background-color: rgba(13, 189, 236, 0.1);
    color: var(--color-primary);
}

.form-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.form-subtitle {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.success-message {
    padding: 3rem;
    text-align: center;
    border: 2px solid rgba(52, 211, 153, 0.5);
    background-color: rgba(52, 211, 153, 0.05);
    border-radius: var(--radius-md);
    margin: 1.5rem;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    padding: 1rem;
    border-radius: 50%;
    background-color: rgba(52, 211, 153, 0.2);
    color: var(--color-accent);
    margin: 0 auto 1rem;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--color-muted-foreground);
}

#orderForm {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.label-icon {
    width: 1rem;
    height: 1rem;
    color: var(--color-primary);
}

.form-input {
    height: 2.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(13, 189, 236, 0.1);
}

.form-input.error {
    border-color: var(--color-destructive);
}

.error-message {
    font-size: 0.875rem;
    color: var(--color-destructive);
    display: none;
}

.error-message.visible {
    display: block;
}

.price-summary {
    border-radius: var(--radius-lg);
    background: linear-gradient(to bottom right, rgba(13, 189, 236, 0.05), rgba(213, 249, 253, 0.1));
    padding: 1rem;
    border: 2px solid rgba(13, 189, 236, 0.2);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.price-row span:first-child {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.price-row span:last-child {
    font-weight: 600;
}

.price-divider {
    height: 1px;
    background-color: var(--color-border);
    margin: 0.75rem 0;
}

.price-total {
    margin-bottom: 0;
}

.price-total span:first-child {
    font-weight: bold;
    font-size: 1.125rem;
    color: var(--color-foreground);
}

.price-total span:last-child {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.promo-message {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
    background-color: rgba(52, 211, 153, 0.1);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background-color: rgba(210, 228, 242, 0.3);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    flex: 1;
}

.consent-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
    cursor: pointer;
}

.consent-text {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
}

.form-footer {
    font-size: 0.75rem;
    text-align: center;
    color: var(--color-muted-foreground);
}

/* Footer */
.footer {
    border-top: 1px solid var(--color-border);
    background-color: var(--color-card);
}

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

/* Floating Action Bar */
.floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsl(189, 94%, 43%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.floating-bar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.floating-bar-promo {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.btn-white {
    background-color: white;
    color: hsl(189, 94%, 43%);
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
    .floating-bar-promo {
        font-size: 0.875rem;
    }
}

/* Loading State */
#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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

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

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .ingredients-title {
        font-size: 1.5rem;
    }
}