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

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    background: #FFFFFF;
    color: #000000;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 40;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #000000;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: #00E6B8;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

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

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

.nav-links a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.8);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #000000;
}

.cta-btn {
    padding: 0.5rem 1rem;
    background: #00E6B8;
    color: #000000;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: transform 0.2s;
}

.cta-btn:hover {
    transform: translateY(-1px);
}

/* Hero */
.hero {
    padding: 4rem 0 6rem;
}

@media (min-width: 768px) {
    .hero {
        padding: 6rem 0 8rem;
    }
}

.hero-content {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(0, 0, 0, 0.9);
    margin-bottom: 2rem;
    max-width: 36rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #00E6B8;
    color: #000000;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: filter 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary:hover {
    filter: brightness(0.95);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #000000;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hero-note {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.7);
}

.hero-phone {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 20rem;
    height: 32.5rem;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 2.5rem;
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 2rem;
    overflow: hidden;
    padding: 1rem;
    position: relative;
}

.phone-content {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.detection-overlay {
    position: absolute;
    top: 2.5rem;
    left: 2rem;
    width: 10rem;
    height: 7rem;
    border: 2px solid #00E6B8;
    border-radius: 0.25rem;
    animation: pulse 2.2s infinite;
}

.nutrition-popup {
    position: absolute;
    bottom: 2rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.9);
    color: #FFFFFF;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    padding: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.5s 0.4s both;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features */
.features {
    padding: 3rem 0;
}

.features-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

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

.feature-card {
    background: #FFFFFF;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-accent {
    width: 2rem;
    height: 0.25rem;
    background: #00E6B8;
    border-radius: 0.125rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.8);
}

/* How It Works */
.how-it-works {
    padding: 3rem 0;
}

.how-it-works h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .how-it-works h2 {
        font-size: 1.875rem;
    }
}

.steps {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

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

.step {
    background: #FFFFFF;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: #00E6B8;
}

.step-title {
    font-weight: 700;
    margin: 0.25rem 0;
}

.step p {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.8);
}

/* Demo */
.demo {
    padding: 3rem 0;
}

.demo h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .demo h2 {
        font-size: 1.875rem;
    }
}

.demo-form {
    background: #FFFFFF;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}

.demo-form input[type="file"] {
    flex: 1;
    min-width: 200px;
    font-size: 0.875rem;
}

.demo-result {
    background: #FFFFFF;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.result-summary {
    margin-bottom: 0.75rem;
}

.summary-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.result-items {
    display: grid;
    gap: 0.5rem;
}

.result-item {
    font-size: 0.875rem;
}

.error {
    color: #dc2626;
    font-size: 0.875rem;
}

.hidden {
    display: none;
}

/* Testimonials */
.testimonials {
    padding: 3rem 0;
}

.testimonials h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials h2 {
        font-size: 1.875rem;
    }
}

.testimonials-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

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

.testimonial {
    background: #FFFFFF;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.testimonial footer {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.7);
}

/* FAQ */
.faq {
    padding: 3rem 0;
}

.faq h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .faq h2 {
        font-size: 1.875rem;
    }
}

.faq-list {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 0.5rem;
    color: rgba(0, 0, 0, 0.9);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 4rem;
    padding: 2.5rem 0;
}

.footer-content {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

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

.footer-logo {
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.8);
    max-width: 20rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.8);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #000000;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 24rem;
    background: #FFFFFF;
    color: #000000;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 50;
}

@media (min-width: 768px) {
    .cookie-consent {
        left: auto;
        right: 1rem;
    }
}

.cookie-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.cookie-content p {
    font-size: 0.875rem;
    margin: 0.25rem 0 0.75rem;
}

.cookie-checkbox {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-decline {
    padding: 0.5rem 0.75rem;
    background: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideInUp 0.5s ease-out;
}
