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

:root {
    --primary: #FBE37A;
    --primary-dark: #F5D65F;
    --secondary: #FFF8D1;
    --background: #FFFFFF;
    --foreground: #1A1A1A;
    --muted: #FEFBF0;
    --muted-foreground: #737373;
    --border: #F5EDD3;
    --radius: 12px;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FBE37A 0%, #FFF8D1 100%);
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--foreground);
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

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

.phone-mockup {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

.phone-screen {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 20px;
    color: var(--muted-foreground);
    max-width: 800px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px -6px rgba(251, 227, 122, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted-foreground);
    font-size: 16px;
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse > * {
    direction: ltr;
}

.showcase-image {
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.showcase-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.showcase-text p {
    font-size: 18px;
    color: var(--muted-foreground);
}

/* Scan Section */
.scan-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFCF5 100%);
}

.scan-phones {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.scan-phone-item {
    position: relative;
}

.scan-phone-img {
    width: 320px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.scan-phone-item:hover .scan-phone-img {
    transform: scale(1.05);
}

.scan-badge {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--foreground);
    color: var(--background);
    padding: 8px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 8px 30px -6px rgba(251, 227, 122, 0.3);
}

/* Search Section */
.search-section {
    background: var(--background);
}

.search-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 20px -4px rgba(251, 227, 122, 0.2);
}

.search-icon {
    color: var(--foreground);
}

.marketplaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.marketplace-card {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--background);
    border: 1px solid var(--border);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--color);
    transition: all 0.3s ease;
}

.marketplace-card:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px -4px rgba(251, 227, 122, 0.2);
}

/* Screenshots Carousel */
.screenshots-carousel {
    background: var(--muted);
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: 24px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    max-width: 400px;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--foreground);
    color: var(--background);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

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

.carousel-prev {
    left: -24px;
}

.carousel-next {
    right: -24px;
}

/* How It Works */
.how-it-works {
    background: var(--background);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.step-item {
    text-align: center;
}

.step-icon-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 30px -6px rgba(251, 227, 122, 0.3);
}

.step-number {
    position: absolute;
    top: -8px;
    right: calc(50% - 48px);
    width: 32px;
    height: 32px;
    background: var(--foreground);
    color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 20px -4px rgba(251, 227, 122, 0.2);
}

.step-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-item p {
    font-size: 18px;
    color: var(--muted-foreground);
}

/* Contact Form */
.contact-section {
    background: var(--muted);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.error-message {
    color: #DC2626;
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #DC2626;
}

.form-group.error .error-message {
    display: block;
}

.btn-submit {
    width: 100%;
    justify-content: center;
}

.form-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    background: #D1FAE5;
    color: #065F46;
    display: block;
}

.form-status.error {
    background: #FEE2E2;
    color: #991B1B;
    display: block;
}

/* Footer */
.footer {
    background: var(--foreground);
    color: var(--background);
    padding: 48px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 32px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--background);
}

.btn-footer {
    background: var(--primary);
    color: var(--foreground);
    margin-top: 8px;
}

.btn-footer:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 16px;
    }

    .showcase-item,
    .showcase-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .showcase-image {
        margin: 0 auto;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-prev {
        left: -12px;
    }

    .carousel-next {
        right: -12px;
    }

    .marketplaces-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .scan-phone-img {
        width: 280px;
    }
}

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