/* Variables */
:root {
    --yellow-primary: #ffe500;
    --text-dark: #2D2D2D;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--yellow-primary);
    z-index: 1000;
    padding: 0rem 0;
}

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

.logo img {
    height: 100px;
    width: auto;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.nav-link:hover {
    background-color: rgba(45, 45, 45, 0.1);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background-color: var(--yellow-primary);
    width: 100%;
    padding-top: 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 2rem;
}

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

.hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: 0.9;
    margin-top: 1rem;
}
.hero-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}


.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 70%;
    height: auto;
    border-radius: 10px;
}

/* Email Signup Container */
.hero-signup-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    text-align: center; /* Center text content */
}

.hero-signup {
    background-color: var(--yellow-primary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--text-dark);
    color: var(--yellow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: var(--yellow-primary);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: #fff;
}

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

.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-content p {
    font-size: 1.125rem;
    color: var(--text-dark);
    line-height: 1.6;
    opacity: 0.8;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-video {
    width: 30%;
    height: 30%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(45, 45, 45, 0.2);
}

/* Text Decoration */
.brush-underline {
    position: relative;
    display: inline-block;
}

.brush-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(255, 17, 17, 0.15);
    border-radius: 30% 50% 40% 50%;
    transform: rotate(-1deg);
}

.brush-underline::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -5%;
    width: 110%;
    height: 8px;
    background-color: rgba(45, 45, 45, 0.1);
    border-radius: 40% 30% 50% 30%;
    transform: rotate(1deg);
}

/* Scanner Page Specific */
.scanner-hero {
    background-color: #ffffff;
    min-height: 70vh;
}

.scanner-hero .hero-image img {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hero-content-below {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-signup {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--yellow-primary);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.signup-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.signup-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.email-signup {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.email-input {
    padding: 1rem;
    border: 2px solid var(--text-dark);
    border-radius: 8px;
    font-size: 1rem;
    min-width: 300px;
    background: white;
}

.signup-btn {
    white-space: nowrap;
    background: var(--text-dark);
    color: var(--yellow-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.125rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2D2D2D;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: #fff;
    padding: 2rem 0;
    border-top: 1px solid rgba(45, 45, 45, 0.1);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-dark);
    opacity: 0.7;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-image {
        text-align: center;
    }

    .hero-signup-container {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-image img {
        margin: 0 auto;
    }

    .feature-row {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0;
    }

    .feature-image img {
        max-width: 70%;
    }

    .email-signup {
        flex-direction: column;
    }

    .email-input {
        width: 100%;
    }

    .signup-btn {
        width: 100%;
    }

    .hero-signup {
        margin-top: 2rem;
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem;
    }

    .header-nav {
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
}