/* ===================================
   VARIABLES & RESET
   =================================== */
:root {
    --primary-color: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary-color: #10B981;
    --secondary-dark: #059669;
    --accent-color: #F59E0B;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
    --border-color: #E5E7EB;
    --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);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section__header {
    text-align: center;
    margin-bottom: 48px;
}

.section__badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section__title {
        font-size: 2.5rem;
    }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn--secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn--full {
    width: 100%;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav__list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav__link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

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

.nav__link--cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.nav__link--cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        padding: 32px 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 24px;
    }

    .nav__toggle {
        display: flex;
    }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0E7FF 100%);
    position: relative;
    overflow: hidden;
}

.hero__container {
    display: grid;
    gap: 48px;
    align-items: center;
}

.hero__content {
    animation: fadeInUp 0.8s ease;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero__description {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.app-stores {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-store-btn img {
    height: 50px;
    transition: var(--transition);
}

.app-store-btn:hover img {
    transform: scale(1.05);
}

.hero__image {
    animation: fadeInRight 0.8s ease;
}

.hero-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero__scroll {
    text-align: center;
    margin-top: 48px;
}

.scroll-down {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-weight: 500;
    animation: bounce 2s infinite;
}

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

    .hero__title {
        font-size: 3.5rem;
    }

    .hero__buttons {
        flex-direction: row;
        align-items: center;
    }

    .app-stores--center {
        justify-content: center;
    }
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-white);
}

.steps {
    display: grid;
    gap: 48px;
}

.step {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--border-radius);
    background: var(--bg-light);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.step__icon {
    margin: 0 auto 24px;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.step-icon-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-light);
    opacity: 0.2;
}

.step__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.step__description {
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.step__cta {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.step__cta:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

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

/* ===================================
   BENEFITS MERCHANT SECTION
   =================================== */
.benefits-merchant {
    padding: 80px 0;
    background: var(--bg-gray);
}

.benefits-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 64px;
}

.benefit-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.benefit-card__icon {
    margin-bottom: 24px;
    color: var(--primary-color);
}

.benefit-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.benefit-card__description {
    color: var(--text-gray);
    line-height: 1.6;
}

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

.cta-section {
    text-align: center;
    padding: 64px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-lg);
    color: white;
}

.cta-section__title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section__subtitle {
    font-size: 1.125rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* ===================================
   BENEFITS USERS SECTION
   =================================== */
.benefits-users {
    padding: 80px 0;
    background: var(--bg-white);
}

.features-showcase {
    display: grid;
    gap: 64px;
}

.feature {
    display: grid;
    gap: 32px;
    align-items: center;
}

.feature__icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.feature__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature__description {
    color: var(--text-gray);
    font-size: 1.125rem;
    line-height: 1.6;
}

.feature-img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .feature {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

    .feature--reverse {
        direction: rtl;
    }

    .feature--reverse > * {
        direction: ltr;
    }
}

.app-download {
    text-align: center;
    margin-top: 64px;
    padding: 48px 32px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
}

.app-download__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
}

/* ===================================
   SOCIAL PROOF SECTION
   =================================== */
.social-proof {
    padding: 80px 0;
    background: var(--bg-gray);
}

.badges {
    display: grid;
    gap: 32px;
    margin-bottom: 64px;
}

.badge {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.badge svg {
    margin: 0 auto 16px;
    color: var(--accent-color);
}

.badge__text {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

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

.testimonials {
    display: grid;
    gap: 32px;
}

.testimonial {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.testimonial__stars {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial__text {
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 16px;
}

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

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

/* ===================================
   CONTACT FORM SECTION
   =================================== */
.contact-form {
    padding: 80px 0;
    background: var(--bg-white);
}

.form-wrapper {
    display: grid;
    gap: 48px;
    margin-bottom: 64px;
}

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

.form-container {
    background: var(--bg-light);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.form-header {
    margin-bottom: 32px;
}

.form__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form__subtitle {
    color: var(--text-gray);
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-group--checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-label-checkbox {
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.form-label-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 16px;
}

.contact-info {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.contact-info__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-info__text {
    color: var(--text-gray);
    margin-bottom: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 64px 0 24px;
}

.footer__content {
    display: grid;
    gap: 48px;
    margin-bottom: 48px;
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer__description {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer__social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer__links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer__apps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__copyright {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

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

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

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

/* ===================================
   RESPONSIVE IMAGES PLACEHOLDER
   =================================== */
.hero-img,
.step-icon-img,
.feature-img {
    background: var(--bg-gray);
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================
   ACCESSIBILITY
   =================================== */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
