/* ==========================================================================
   Urban Seller - Modern homepage theme (2026 redesign)
   Self-contained: does not depend on the legacy bootstrap/style.css.
   ========================================================================== */

:root {
    --brand: #f15a29;          /* tomato / primary action */
    --brand-dark: #d4461b;
    --teal: #16b1ab;           /* secondary brand */
    --teal-dark: #0f8e89;
    --ink: #15212e;            /* headings */
    --body: #54626f;           /* body text */
    --muted: #8a98a5;
    --line: #e7ecf1;
    --bg: #ffffff;
    --bg-alt: #f5f8fb;
    --bg-dark: #15212e;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 10px rgba(21, 33, 46, .06);
    --shadow: 0 16px 40px rgba(21, 33, 46, .10);
    --shadow-lg: 0 30px 60px rgba(21, 33, 46, .16);
    --maxw: 1160px;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--body);
    font-size: 17px;
    line-height: 1.65;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: var(--ink);
    line-height: 1.2;
    margin: 0 0 .5em;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 64px 0; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { font-size: 19px; color: var(--muted); margin: 0; }

.eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(241, 90, 41, .35); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { color: var(--brand); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-white:hover { background: #fff; color: var(--ink); }
.btn-lg { padding: 17px 36px; font-size: 16px; }

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}
.nav__brand img { height: 30px; }
.nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__links a {
    color: var(--ink);
    font-weight: 500;
    font-size: 15px;
}
.nav__links a:hover { color: var(--brand); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 26px;
    color: var(--ink);
    cursor: pointer;
    line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #16b1ab 0%, #1c86c4 55%, #2256a8 100%);
    padding: 120px 0 130px;
    text-align: center;
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}
.hero::before { width: 460px; height: 460px; top: -160px; right: -120px; }
.hero::after { width: 320px; height: 320px; bottom: -140px; left: -80px; }
.hero .container { position: relative; z-index: 1; }
.hero h1 {
    color: #fff;
    font-size: clamp(34px, 6vw, 60px);
    max-width: 14ch;
    margin: 0 auto .25em;
}
.hero p {
    font-size: clamp(18px, 2.4vw, 23px);
    color: rgba(255, 255, 255, .9);
    max-width: 620px;
    margin: 0 auto 36px;
}
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .75); }

/* ---------- Logos strip ---------- */
.logos { padding: 40px 0; border-bottom: 1px solid var(--line); }
.logos p { text-align: center; color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.logos__img { margin: 0 auto; max-width: 880px; opacity: .85; }

/* ---------- Split / overview ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(26px, 3.5vw, 36px); }
.split ul { list-style: none; padding: 0; margin: 24px 0 0; }
.split ul li { position: relative; padding-left: 34px; margin-bottom: 16px; font-size: 17px; }
.split ul li i { position: absolute; left: 0; top: 3px; color: var(--teal); font-size: 18px; }
.media-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
    background: #000;
}
.media-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(22, 177, 171, .15), rgba(28, 134, 196, .15));
    color: var(--teal-dark);
    font-size: 22px;
    margin-bottom: 20px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { margin: 0; font-size: 15.5px; color: var(--body); }

/* ---------- Integrations ---------- */
.integrations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.integration {
    display: flex; gap: 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 22px;
    transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.integration:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.integration i { font-size: 24px; color: var(--brand); margin-top: 2px; }
.integration h4 { font-size: 17px; margin: 0 0 4px; }
.integration p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-toggle {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin: 0 0 48px;
    font-weight: 600; color: var(--muted);
}
.pricing-toggle .active-label { color: var(--ink); }
.switch { position: relative; width: 56px; height: 30px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; inset: 0; cursor: pointer;
    background: var(--teal); border-radius: 999px; transition: .3s;
}
.slider::before {
    content: ""; position: absolute; height: 22px; width: 22px; left: 4px; top: 4px;
    background: #fff; border-radius: 50%; transition: .3s var(--ease);
}
.switch input:checked + .slider::before { transform: translateX(26px); }
.badge-save { background: rgba(22,177,171,.14); color: var(--teal-dark); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.plan {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 26px;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.plan--featured { border-color: var(--brand); box-shadow: var(--shadow); transform: scale(1.03); }
.plan__tag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
    padding: 5px 14px; border-radius: 999px; letter-spacing: .04em;
}
.plan__name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plan__price { font-size: 42px; font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--ink); margin: 12px 0 2px; }
.plan__price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan__per { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan ul li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; align-items: center; gap: 10px; }
.plan ul li i { color: var(--teal); }
.plan ul li:last-child { border-bottom: 0; }
.plan .btn { width: 100%; }
.price-annual { display: none; }
.pricing[data-mode="annual"] .price-annual { display: inline; }
.pricing[data-mode="annual"] .price-monthly { display: none; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(135deg, #16b1ab 0%, #1c86c4 100%);
    color: #fff; text-align: center; border-radius: 0;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.5vw, 38px); }
.cta-band p { color: rgba(255,255,255,.9); font-size: 18px; max-width: 600px; margin: 0 auto 30px; }

/* ---------- Testimonial ---------- */
.quote {
    max-width: 820px; margin: 0 auto; text-align: center;
    background: var(--bg); border-radius: var(--radius);
    padding: 56px 48px; box-shadow: var(--shadow);
    position: relative;
}
.quote::before {
    content: "\201C"; font-family: Georgia, serif; font-size: 90px; color: var(--brand);
    position: absolute; top: 6px; left: 34px; line-height: 1; opacity: .25;
}
.quote p { font-size: 19px; color: var(--ink); font-style: italic; line-height: 1.7; }
.quote cite { display: block; margin-top: 20px; font-style: normal; font-weight: 700; color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #aeb9c4; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer a { color: #aeb9c4; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 30px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; color: #8493a1; max-width: 280px; }
.social { display: flex; gap: 12px; margin-top: 8px; }
.social a {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; font-size: 16px;
    transition: background .2s var(--ease);
}
.social a:hover { background: var(--brand); }
.footer-bottom {
    margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: 13.5px; color: #7c8a98;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .grid--3, .grid--4, .integrations { grid-template-columns: repeat(2, 1fr); }
    .pricing { grid-template-columns: repeat(2, 1fr); }
    .plan--featured { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .nav__links, .nav__actions .btn-ghost { display: none; }
    .nav__toggle { display: block; }
    .nav__links.open {
        display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
        position: absolute; top: 74px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 16px 24px 22px; box-shadow: var(--shadow);
    }
    .nav__links.open a { padding: 10px 0; width: 100%; }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .section { padding: 72px 0; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .grid--3, .grid--4, .integrations, .pricing, .footer-grid { grid-template-columns: 1fr; }
    .quote { padding: 40px 26px; }
    .footer-bottom { flex-direction: column; }
}
