/* =========================================================
   WLTX AI Social Media Marketing System — theme overrides
   Reference: wl-tg.com (primary #0462ee, navy #0b1b3a)
   ========================================================= */
:root {
    --heading-font: "Outfit", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    --body-font: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    --wltx-blue: #0462ee;
    --wltx-blue-dark: #0348b0;
    --wltx-navy: #0b1b3a;
    --wltx-ink: #1e293b;
    --wltx-muted: #64748b;
    --wltx-border: #e6ecf8;
    --wltx-soft: #f4f8ff;
}

body {
    font-family: var(--body-font);
    color: #334155;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--wltx-navy);
    letter-spacing: -0.02em;
}

a { color: var(--wltx-blue); }

/* ---------- Header ---------- */
.header__area .header__main {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border: 1px solid rgba(4, 98, 238, 0.08);
    border-top: none;
    border-radius: 0 0 18px 18px;
    padding: 18px 30px;
}

.header__area .header__logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__area .header__logo a img {
    width: auto !important;
    max-width: 170px !important;
    height: 44px;
    object-fit: contain;
}

.header__area .header__menu ul li a {
    font-weight: 500;
    color: var(--wltx-ink);
}

.header__area .header__menu ul li a:hover,
.header__area .header__menu ul li a.active {
    color: var(--wltx-blue);
}

.header__cta {
    white-space: nowrap;
    padding: 10px 20px !important;
    font-size: 14px;
}

/* ---------- Hero ---------- */
.hero__area {
    background:
        radial-gradient(1100px 520px at 82% -10%, #dbeafe 0%, rgba(219, 234, 254, 0) 62%),
        linear-gradient(180deg, #eef5ff 0%, #ffffff 100%);
}

.hero__wrap {
    background-image: radial-gradient(circle, rgba(4, 98, 238, 0.12) 1px, transparent 1.5px);
    background-size: 20px 20px;
    background-position: top center;
}

.hero__wrap {
    border-left: none;
    border-right: none;
    padding-top: 160px;
    padding-bottom: 100px;
}

.hero__content h1 {
    font-size: clamp(36px, 4.2vw, 60px);
    line-height: 1.08;
    font-weight: 800;
}

.hero__content p {
    color: #475569;
    font-size: 18px;
    line-height: 1.7;
}

.hero__content .platform p {
    color: var(--wltx-blue);
    font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
    border-radius: 999px;
    padding: 13px 28px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
}

.btn--base {
    box-shadow: 0 10px 24px rgba(4, 98, 238, 0.22);
}

.btn--base:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(4, 98, 238, 0.28);
}

.btn--white {
    background: #fff;
    color: var(--wltx-navy);
    border: 1px solid var(--wltx-border);
    box-shadow: 0 6px 18px rgba(15, 35, 80, 0.06);
}

.btn--white:hover {
    color: var(--wltx-blue);
    border-color: rgba(4, 98, 238, 0.35);
}

/* ---------- Section headings ---------- */
.section__heading span {
    color: var(--wltx-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section__heading span.text--pink,
.section__heading span.text--info,
.section__heading span.text--orange,
.section__heading span.text--base {
    color: #0348b0 !important;
}

.badge--base,
.badge--base.custom--badge {
    background-color: #e8f0ff !important;
    color: #0348b0 !important;
}

.section__heading h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 700;
    line-height: 1.15;
}

.section__heading p {
    color: var(--wltx-muted);
    line-height: 1.7;
}

/* ---------- Feature / service cards ---------- */
.feature__wrap {
    border: 1px solid var(--wltx-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 35, 80, 0.07);
    background: #fff;
}

.feature__single {
    padding: 36px 30px;
    border-color: var(--wltx-border) !important;
    background: #fff;
    transition: background 0.25s ease, transform 0.25s ease;
}

.feature__single:hover {
    background: var(--wltx-soft);
    transform: translateY(-2px);
}

.feature__single span,
.feature__single:nth-child(n) span {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    border-color: rgba(4, 98, 238, 0.16) !important;
    color: var(--wltx-blue) !important;
    background: #eef5ff;
    font-size: 22px;
}

.feature__single span::after {
    display: none;
}

.feature__single h5 {
    font-size: 19px;
    margin-bottom: 10px;
}

.feature__single p {
    color: var(--wltx-muted);
    line-height: 1.65;
}

/* ---------- About / Why us ---------- */
.about__area {
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.about__single span {
    background: #eef5ff;
    color: var(--wltx-blue) !important;
    border-radius: 12px;
}

.about__single h5 { font-size: 17px; }
.about__single p { color: var(--wltx-muted); line-height: 1.6; }

/* ---------- Pricing ---------- */
.pricing__card {
    border-radius: 20px;
    border-color: var(--wltx-border);
    box-shadow: 0 18px 45px rgba(15, 35, 80, 0.06);
}

.pricing__topbar,
.pricing__card:hover {
    border-color: rgba(4, 98, 238, 0.25);
}

/* ---------- Contact ---------- */
.contact__card {
    background: #f7faff;
    border: 1px solid var(--wltx-border);
    border-radius: 18px;
}

.contact__card span,
.contact__card i {
    color: var(--wltx-blue);
}

.contact__card p {
    color: var(--wltx-muted);
    line-height: 1.6;
}

.contact__form .form-control {
    border: 1px solid var(--wltx-border);
    border-radius: 12px;
    padding: 13px 16px;
    background: #fff;
}

.contact__form .form-control:focus {
    border-color: rgba(4, 98, 238, 0.45);
    box-shadow: 0 0 0 4px rgba(4, 98, 238, 0.08);
}

/* ---------- Footer ---------- */
.footer__area {
    background-color: var(--wltx-navy);
}

.footer__tagline {
    display: block;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: -4px 0 18px;
}

.footer__about p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.footer__contact {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: grid;
    gap: 14px;
}

.footer__contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer__contact li > span {
    color: #60a5fa;
    flex: 0 0 18px;
    width: 18px;
    margin-top: 2px;
}

.footer__contact strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.footer__contact p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.5;
    margin: 2px 0 0;
}

.footer__single h5 { color: #fff; }

.footer__single ul li a {
    color: rgba(255, 255, 255, 0.66);
}

.footer__single ul li a:hover { color: #fff; }

.footer__copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.footer__copyright p { color: rgba(255, 255, 255, 0.55); }

.footer__newsletter .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
}

.footer__newsletter .form-control::placeholder { color: rgba(255, 255, 255, 0.5); }

/* ---------- Typography after semantic heading fixes ---------- */
.key__feature__single h3 {
    font-size: 20px;
    line-height: 1.35;
    margin: 18px 0 10px;
}

.feature__single h3 {
    font-size: 19px;
    line-height: 1.35;
    margin-bottom: 10px;
}

.about__single h3 {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.footer__single h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 22px;
}

.blog__content h3 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.blog__content h3 a {
    color: var(--wltx-navy);
    text-decoration: none;
}

.blog__content h3 a:hover {
    color: var(--wltx-blue);
}

.contact__card h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--wltx-ink);
    margin-bottom: 10px;
}

.pricing__topbar h3:first-of-type {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* ---------- Native controls ---------- */
.menu__open,
.menu__close,
.scroll-top {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.scroll-top {
    color: hsl(var(--base));
}

/* ---------- Image ratio guards ---------- */
.key__feature__single img,
.blog__img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.key__feature__single img { aspect-ratio: 400 / 275; }
.blog__img img { aspect-ratio: 400 / 255; }

/* ---------- Blog details ---------- */
.blog__share-label {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--wltx-navy);
    margin-bottom: 12px;
}

.blog__details__content > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 765;
    object-fit: cover;
}

.recent__blog__title h3 {
    font-size: 18px;
    margin-bottom: 0;
}

.recent__blog__single h4 {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 0;
}

.recent__blog__single h4 a { color: inherit; }

/* ---------- Testimonial grid (no Swiper) ---------- */
.testimonial__slider .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.testimonial__slider .swiper-slide {
    width: auto !important;
    height: auto;
}

.testimonial__slider .swiper-pagination { display: none; }

.testimonial__single { height: 100%; }

@media screen and (max-width: 767px) {
    .testimonial__slider .swiper-wrapper { grid-template-columns: 1fr; }
}

/* ---------- Refined type scale ---------- */
body {
    font-size: 15px;
    line-height: 1.65;
}

h1 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.12; }
h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; }
h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

p { font-size: 15px; line-height: 1.65; }

.section__heading h2 { font-size: clamp(26px, 2.6vw, 36px); }
.section__heading p { font-size: 15px; line-height: 1.7; }
.hero__content h1 { font-size: clamp(32px, 3.6vw, 50px); }
.hero__content p { font-size: 16px; line-height: 1.7; }

.key__feature__single h3 { font-size: 18px; }
.feature__single h3 { font-size: 17px; }
.about__single h3 { font-size: 16px; }
.contact__card h3 { font-size: 15px; }
.blog__content h3 { font-size: 18px; }
.footer__single h3 { font-size: 16px; }
.pricing__topbar h3:first-of-type { font-size: 16px; }
.pricing__topbar h3:last-of-type { font-size: 30px; }
.breadcrumb__title { font-size: 30px; }

.feature__single p,
.about__single p,
.contact__card p,
.blog__content p,
.pricing__content li,
.footer__single ul li a { font-size: 14px; line-height: 1.6; }

.testimonial__quote h3 {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
}

.testimonial__user h4 { font-size: 16px; margin-bottom: 2px; }
.testimonial__user p { font-size: 13px; }

.blog__details__content .wyg h2 { font-size: 24px; line-height: 1.35; }
.blog__details__content .wyg h3 { font-size: 20px; line-height: 1.35; }
.blog__details__content .wyg p,
.blog__details__content .wyg li { font-size: 15px; line-height: 1.75; }

/* ---------- Card motion ---------- */
@keyframes wltxCardIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Only cards/containers that actually define a border-radius get motion. */
.pricing__card,
.contact__card,
.cta__wrap {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
    will-change: transform;
}

.pricing__card:hover,
.contact__card:hover,
.cta__wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(11, 27, 58, 0.12);
    border-color: rgba(4, 98, 238, 0.22);
}

@supports (animation-timeline: view()) {
    .pricing__card,
    .contact__card,
    .cta__wrap {
        animation: wltxCardIn 0.55s ease backwards;
        animation-timeline: view();
        animation-range: entry 0% entry 28%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pricing__card,
    .contact__card,
    .cta__wrap {
        animation: none !important;
        transition: none !important;
    }
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 1199px) {
    .header__area .header__main { gap: 12px; }
}

@media screen and (max-width: 991px) {
    .header__area .header__main {
        padding: 14px 18px;
        border-radius: 0 0 14px 14px;
    }

    .header__area .header__logo a img { height: 36px; max-width: 140px !important; }

    .hero__wrap {
        padding-top: 110px;
        padding-bottom: 70px;
    }
}

@media screen and (max-width: 575px) {
    .hero__content h1 { font-size: 32px; }
    .hero__content p { font-size: 16px; }
    .feature__single { padding: 26px 22px; }
    .footer__tagline { margin-top: 0; }
    .contact__card__wrap { grid-template-columns: 1fr; }
    .hero__btn { display: flex; flex-wrap: wrap; gap: 12px; }
    .footer__contact li > div { min-width: 0; }
    .footer__contact p { overflow-wrap: anywhere; }
}
