@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --am-primary: #FFB800; /* NearUs signature yellow */
    --am-primary-dark: #E5A600;
    --am-primary-soft: rgba(255, 184, 0, 0.15);
    --am-dark: #111827;
    --am-dark-soft: #1F2937;
    --am-text: #111827;
    --am-text-muted: #4B5563;
    --am-bg: #FFFFFF;
    --am-cream: #F9FAFB;
    --am-border: #E5E7EB;
    --am-radius: 24px;
    --am-radius-sm: 16px;
    --am-shadow: 0 12px 32px -8px rgba(0,0,0,0.08);
    --am-shadow-lg: 0 24px 48px -12px rgba(0,0,0,0.12);
    --am-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ── */
body.am-landing {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: var(--am-text);
    background: var(--am-bg) !important;
    -webkit-font-smoothing: antialiased;
    padding-top: 0 !important;
    overflow-x: hidden;
}

body.am-landing .preloader,
body.am-landing .navbar-top,
body.am-landing header:not(.am-nav),
body.am-landing footer:not(.am-footer),
body.am-landing .subscribe-newsletter {
    display: none !important;
}

/* ── Utility & Common ── */
.am-section { padding: 96px 0; }
.am-section--white { background: var(--am-bg); }
.am-section--cream { background: var(--am-cream); }
.am-section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 56px;
    color: var(--am-dark);
}
.am-section__title--left { text-align: left; margin-bottom: 24px; }

/* Buttons */
.am-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none !important;
    transition: var(--am-transition);
    cursor: pointer;
    border: none;
}
.am-btn--primary {
    background: var(--am-primary);
    color: var(--am-dark) !important;
}
.am-btn--primary:hover {
    background: var(--am-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 184, 0, 0.3);
}
.am-btn--ghost {
    background: transparent;
    color: var(--am-dark) !important;
    box-shadow: inset 0 0 0 2px var(--am-border);
}
.am-btn--ghost:hover {
    box-shadow: inset 0 0 0 2px var(--am-dark);
    background: var(--am-cream);
}
.am-btn--outline {
    background: transparent;
    color: var(--am-dark) !important;
    border: 2px solid var(--am-dark);
}
.am-btn--outline:hover {
    background: var(--am-dark);
    color: #fff !important;
}

/* ── Floating Nav ── */
.am-nav {
    position: fixed;
    top: 24px; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 24px;
    transition: var(--am-transition);
}
.am-nav.is-scrolled { top: 12px; }
.am-nav__island {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 12px 12px 24px;
    border-radius: 99px;
    width: 100%;
    max-width: 900px;
    box-shadow: var(--am-shadow);
    border: 1px solid rgba(255,255,255,0.4);
}
.am-nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}
.am-nav__logo-pin {
    width: 32px; height: 32px;
    background: var(--am-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--am-dark);
}
.am-nav__logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--am-dark);
    letter-spacing: -0.02em;
}
.am-nav__logo-accent { color: var(--am-primary-dark); }
.am-nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--am-dark);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: var(--am-transition);
}
.am-nav__cta:hover { background: #000; transform: scale(1.02); }

/* ── Hero ── */
.am-hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(255, 184, 0, 0.08) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(17, 24, 39, 0.03) 0%, transparent 40%),
                var(--am-cream);
    overflow: hidden;
}
.am-hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}
.am-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    color: var(--am-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 32px;
}
.am-hero__tag-dot {
    width: 8px; height: 8px;
    background: var(--am-primary);
    border-radius: 50%;
}
.am-hero__heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--am-dark);
    margin-bottom: 24px;
}
.am-hero__sub {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: var(--am-text-muted);
    margin: 0 auto 40px;
    max-width: 600px;
}
.am-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.am-hero__visual {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}
.am-hero__phone img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--am-shadow-lg);
    border: 8px solid #fff;
    position: relative;
    z-index: 2;
}
.am-hero__float {
    position: absolute;
    top: 20%; left: -40%;
    background: #fff;
    padding: 16px 24px;
    border-radius: var(--am-radius-sm);
    box-shadow: var(--am-shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: float 5s ease-in-out infinite;
}
.am-hero__float-dot {
    width: 12px; height: 12px;
    background: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}
.am-hero__float-title { font-weight: 700; font-size: 15px; margin: 0; color: var(--am-dark); }
.am-hero__float-sub { font-size: 13px; color: var(--am-text-muted); margin: 0; }
.am-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    opacity: 0.6;
}
.am-hero__blob--1 {
    width: 200px; height: 200px;
    background: var(--am-primary);
    top: 10%; right: -20%;
}
.am-hero__blob--2 {
    width: 250px; height: 250px;
    background: #4F46E5;
    bottom: -10%; left: -30%;
    opacity: 0.3;
}
.am-hero__stores {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

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

/* ── App Store Buttons ── */
.am-app-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.am-app-btns__item img { height: 44px; transition: transform 0.2s; }
.am-app-btns__item:hover img { transform: translateY(-2px); }
.am-app-btns--lg .am-app-btns__item img { height: 52px; }

/* ── What You Get (Duo) ── */
.am-duo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}
.am-duo__card {
    background: #fff;
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    padding: 48px 40px;
    transition: var(--am-transition);
}
.am-duo__card--accent {
    background: var(--am-dark);
    border-color: var(--am-dark);
    color: #fff;
}
.am-duo__card:hover { transform: translateY(-4px); box-shadow: var(--am-shadow-lg); }
.am-duo__icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--am-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.am-duo__card--accent .am-duo__icon { background: rgba(255,255,255,0.1); }
.am-duo__icon img { width: 32px; height: 32px; object-fit: contain; }
.am-duo__card h3 { font-size: 24px; font-weight: 800; margin-bottom: 16px; color: inherit; }
.am-duo__card--accent h3 { color: #fff; }
.am-duo__card p {
    color: var(--am-text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}
.am-duo__card--accent p { color: rgba(255,255,255,0.7); }
.am-duo__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--am-dark);
    text-decoration: none !important;
}
.am-duo__card--accent .am-duo__link { color: var(--am-primary); }
.am-duo__link:hover { gap: 12px; }

/* ── How it works (Steps) ── */
.am-steps__label {
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--am-text-muted);
    margin: -32px 0 40px;
}
.am-steps {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 4px 40px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.am-steps::-webkit-scrollbar { display: none; }
.am-steps__card {
    flex: 0 0 min(300px, 85vw);
    scroll-snap-align: center;
    background: #fff;
    border: 2px solid var(--am-border);
    border-radius: var(--am-radius);
    padding: 40px 32px;
    transition: var(--am-transition);
    opacity: 0.6;
    transform: scale(0.95);
}
.am-steps__card.is-active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--am-primary);
    box-shadow: var(--am-shadow);
}
.am-steps__num {
    display: inline-flex;
    width: 48px; height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--am-cream);
    color: var(--am-dark);
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 24px;
}
.am-steps__card.is-active .am-steps__num {
    background: var(--am-primary);
    color: var(--am-dark);
}
.am-steps__card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.am-steps__card p { color: var(--am-text-muted); line-height: 1.6; margin: 0; }

/* ── Services Grid ── */
.am-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}
.am-services-grid__card {
    background: #fff;
    border-radius: var(--am-radius-sm);
    padding: 32px 24px;
    text-align: center;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid var(--am-border);
    transition: var(--am-transition);
}
.am-services-grid__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--am-shadow);
    border-color: var(--am-primary);
}
.am-services-grid__icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    background: var(--am-cream);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.am-services-grid__icon img { width: 32px; height: 32px; object-fit: contain; }
.am-services-grid__card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--am-dark); }
.am-services-grid__card p { font-size: 14px; color: var(--am-text-muted); margin: 0; }

/* ── About Us ── */
.am-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.am-about__text p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--am-text-muted);
    margin-bottom: 40px;
}
.am-about__img img {
    width: 100%;
    border-radius: var(--am-radius);
    box-shadow: var(--am-shadow-lg);
}

/* ── Testimonials ── */
.am-testimonials__card {
    background: #fff;
    border-radius: var(--am-radius);
    padding: 48px;
    box-shadow: var(--am-shadow);
    max-width: 600px;
    margin: 20px auto;
}
.am-testimonials__quote { color: var(--am-primary); margin-bottom: 24px; }
.am-testimonials__card blockquote {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--am-dark);
    margin: 0 0 32px;
    border: none; padding: 0;
}
.am-testimonials__author { display: flex; align-items: center; gap: 16px; }
.am-testimonials__author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.am-testimonials__author strong { display: block; font-size: 16px; color: var(--am-dark); }
.am-testimonials__author small { color: var(--am-text-muted); font-size: 14px; }

/* ── Newsletter ── */
.am-newsletter {
    background: var(--am-dark);
    border-radius: var(--am-radius);
    padding: 64px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.am-newsletter__content { flex: 1; min-width: 300px; }
.am-newsletter__content h2 { color: #fff; font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.am-newsletter__content p { color: rgba(255,255,255,0.7); font-size: 16px; margin: 0; max-width: 400px; }
.am-newsletter__form {
    display: flex;
    gap: 12px;
    flex: 1;
    min-width: 300px;
    max-width: 480px;
}
.am-newsletter__form input {
    flex: 1;
    padding: 0 24px;
    border-radius: 99px;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: inherit;
}

/* ── App Download ── */
.am-download {
    background: var(--am-primary);
    border-radius: var(--am-radius);
    padding: 0 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
}
.am-download__text { padding: 64px 0; max-width: 480px; }
.am-download__text h3 { font-size: 40px; font-weight: 800; color: var(--am-dark); margin-bottom: 16px; letter-spacing: -0.02em; }
.am-download__text p { font-size: 18px; color: rgba(0,0,0,0.7); margin-bottom: 32px; line-height: 1.6; }
.am-download__phone { align-self: flex-end; margin-bottom: -40px; }
.am-download__phone img { max-width: 320px; filter: drop-shadow(0 24px 48px rgba(0,0,0,0.2)); }

/* ── Footer ── */
.am-footer-wave svg { display: block; width: 100%; height: 60px; background: var(--am-cream); }
.am-footer {
    background: #1A1A1A;
    padding: 80px 0 40px;
    text-align: center;
}
.am-footer__brand { margin-bottom: 32px; display: flex; justify-content: center; }
.am-footer__logo img { height: 40px; filter: brightness(0) invert(1); }
.am-footer__socials { display: flex; justify-content: center; gap: 16px; margin-bottom: 48px; }
.am-footer__social-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff !important;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    transition: var(--am-transition);
    text-decoration: none;
}
.am-footer__social-btn:hover { background: var(--am-primary); color: var(--am-dark) !important; transform: translateY(-2px); }
.am-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-bottom: 32px; }
.am-footer__links a { color: rgba(255,255,255,0.7) !important; text-decoration: none; font-size: 15px; font-weight: 500; transition: var(--am-transition); }
.am-footer__links a:hover { color: #fff !important; }
.am-footer__contacts { display: flex; justify-content: center; gap: 24px; margin-bottom: 48px; }
.am-footer__contacts a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 15px; }
.am-footer__bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); font-size: 14px; }

/* ── Animations ── */
.is-visible { animation: fadeInUp 0.6s ease forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.am-duo__card { opacity: 0; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .am-about, .am-duo { grid-template-columns: 1fr; }
    .am-hero__float { left: 0; top: 10%; }
    .am-download { flex-direction: column; padding: 48px 32px 0; text-align: center; }
    .am-download__text { padding: 0 0 40px; }
    .am-download__phone { margin-bottom: -20px; }
    .am-app-btns { justify-content: center; }
}
@media (max-width: 767px) {
    .am-section { padding: 64px 0; }
    .am-hero { padding-top: 140px; }
    .am-hero__heading { font-size: 2.5rem; }
    .am-newsletter { padding: 40px 24px; flex-direction: column; text-align: center; }
    .am-newsletter__form { width: 100%; flex-direction: column; }
    .am-nav__island { padding: 12px; }
    .am-nav__cta { padding: 10px 16px; }
    .am-nav__cta svg { display: none; }
}
