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

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --secondary: #6366f1;
    --accent: #f59e0b;
    --dark: #1f2937;
    --light: #f9fafb;
    --white: #ffffff;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

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

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

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

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

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/market-hero.png') center/cover;
    opacity: 0.15;
    z-index: -1;
}

.hero-content {
    color: var(--white);
    max-width: 600px;
    animation: fadeInUp 1s ease;
    text-align: left;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 160px);
}

.hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: #1f2937;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    border: 8px solid #374151;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #6b7280;
    border-radius: 3px;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    border: 2px solid #6b7280;
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    background: var(--white);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--white);
    color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--white);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    animation: fadeInUp 1s ease;
    animation-fill-mode: both;
}

.badge:nth-child(1) { animation-delay: 0.2s; }
.badge:nth-child(2) { animation-delay: 0.4s; }
.badge:nth-child(3) { animation-delay: 0.6s; }
.badge:nth-child(4) { animation-delay: 0.8s; }

.badge-shop {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: 1px solid rgba(251, 191, 36, 0.5);
    font-weight: 600;
}

.hero-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease;
    animation-fill-mode: both;
}

.social-link:nth-child(1) { animation-delay: 1s; }
.social-link:nth-child(2) { animation-delay: 1.2s; }
.social-link:nth-child(3) { animation-delay: 1.4s; }

.social-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.max-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: var(--white);
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.benefits .intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    color: #6b7280;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.problems, .solutions {
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.problems:hover, .solutions:hover {
    transform: translateY(-5px);
}

.problems {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.problems h3 {
    color: #dc2626;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.solutions {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.solutions h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.icon {
    width: 28px;
    height: 28px;
    stroke-width: 2;
    flex-shrink: 0;
}

.problems .icon {
    color: #dc2626;
}

.solutions .icon {
    color: var(--primary);
}

/* How It Works - Roadmap */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.roadmap {
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
}

.roadmap::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.roadmap-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.roadmap-item:nth-child(1) { animation-delay: 0.1s; }
.roadmap-item:nth-child(2) { animation-delay: 0.2s; }
.roadmap-item:nth-child(3) { animation-delay: 0.3s; }
.roadmap-item:nth-child(4) { animation-delay: 0.4s; }
.roadmap-item:nth-child(5) { animation-delay: 0.5s; }

.roadmap-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    position: relative;
    z-index: 1;
}

.roadmap-icon .icon {
    width: 32px;
    height: 32px;
    color: var(--white);
    stroke-width: 2;
}

.roadmap-icon i.icon {
    font-size: 32px;
    width: auto;
    height: auto;
}

.roadmap-content {
    flex: 1;
    background: var(--white);
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.roadmap-content:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.roadmap-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.roadmap-content p {
    margin: 0;
    color: #6b7280;
    font-size: 1rem;
}

.tagline {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Partners Section */
.partners {
    padding: 100px 0;
    background: var(--white);
}

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

.partners-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.partners-text ul {
    list-style: none;
    margin-top: 24px;
}

.partners-text li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1.1rem;
}

.partners-text .icon {
    color: var(--primary);
    width: 28px;
    height: 28px;
}

.partners-contact {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
}

.contact-phone i {
    color: var(--primary);
    font-size: 2rem;
}

.phone-number {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: var(--primary);
}

.partners-social {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.partners-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.5rem;
    text-decoration: none;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.partners-social .social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.2rem;
}

.subscribe-form {
    display: flex;
    gap: 12px;
    background: rgba(255,255,255,0.2);
    padding: 8px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    min-width: 0;
    flex-shrink: 1;
}

.subscribe-form input {
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    min-width: 200px;
    background: var(--white);
    flex: 1;
}

.subscribe-form input:focus {
    outline: 2px solid var(--primary);
}

.subscribe-form button {
    background: var(--white);
    color: var(--secondary);
    border: none;
}

.subscribe-form button:hover {
    background: var(--light);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin: 8px 0;
    opacity: 0.8;
    font-size: 0.76rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--dark);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

.modal-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.modal-phone i {
    color: var(--primary);
    font-size: 2rem;
}

.modal-phone a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.modal-phone a:hover {
    color: var(--primary);
}

.modal-social {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-social .social-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 15px 25px;
    background: var(--light);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    font-weight: 500;
}

.modal-social .social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(5px);
}

.modal-social .social-link i {
    font-size: 1.5rem;
    width: 30px;
    min-width: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-social .max-logo {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin: 0 3px;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
        padding: 10px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .comparison {
        grid-template-columns: 1fr;
    }

    .roadmap::before {
        left: 20px;
    }

    .roadmap-icon {
        width: 50px;
        height: 50px;
    }

    .roadmap-icon .icon {
        width: 28px;
        height: 28px;
    }

    .partners-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .phone-mockup {
        width: 180px;
        height: 360px;
        padding: 10px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-badges {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-scroll {
        bottom: 20px;
    }

    .roadmap {
        padding-left: 0;
    }

    .roadmap::before {
        left: 15px;
    }

    .roadmap-item {
        gap: 20px;
        margin-bottom: 30px;
    }

    .roadmap-icon {
        width: 40px;
        height: 40px;
    }

    .roadmap-icon .icon {
        width: 24px;
        height: 24px;
    }

    .roadmap-content {
        padding: 16px 20px;
    }

    .roadmap-content h3 {
        font-size: 1.1rem;
    }

    .roadmap-content p {
        font-size: 0.9rem;
    }

    .benefits, .how-it-works, .partners {
        padding: 60px 0;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .subscribe-form {
        flex-direction: column;
        padding: 16px;
        border-radius: 16px;
        gap: 16px;
    }

    .subscribe-form input {
        min-width: auto;
        width: 100%;
    }

    .subscribe-form button {
        width: 100%;
        padding: 14px;
    }
}
