/* ════════════════════════════════════════════════════════
   FLIQORA — style.css
   Structure:
     0.  CSS Custom Properties (Design Tokens)
     1.  Reset & Base
     2.  Layout Utilities
     3.  Scroll Progress Bar
     4.  Navigation (Hero Nav, Burger, Dropdown)
     5.  Hero Section
     6.  Hero Marquee
     7.  Below-Hero Marquee
     8.  Sections (shared)
     9.  Products
     10. Features
     11. Why Us / Stats
     12. Pricing
     13. Testimonials
     14. CTA Section
     15. Footer
     16. Animations & Reveal
     17. Responsive Overrides
   ════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════
   0. CSS CUSTOM PROPERTIES — Design Tokens
   ════════════════════════════════════════════════════════ */
:root {
    /* ── Colors ── */
    --white: #ffffff;
    --bg: #f8fafc;
    --border: #e8edf2;

    --text-1: #0d1117;
    /* headings */
    --text-2: #3d4a5c;
    /* body */
    --text-3: #a8a8a8;
    /* muted */
    --text-4: #a8b5c4;
    /* very muted */

    --accent: #4ade80;
    --accent-d: #22c55e;
    --indigo: #6366f1;

    --hero-bg: #080b0f;

    /* ── Gradient presets (reused in multiple places) ── */
    --grad-green: linear-gradient(135deg, #6effa7 0%, #4ade80 60%, #22c55e 100%);
    --grad-btn: linear-gradient(135deg, #00160a, #4ade80);
    --grad-hero-h1: linear-gradient(90deg, #303a33, #dfffee);
    --grad-em: linear-gradient(90deg, #00531e, #4ade80);

    /* ── Shape ── */
    --radius: 14px;
    --radius-sm: 9px;
    --radius-xl: 22px;
    --radius-pill: 100px;

    /* ── Shadows ── */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, .07);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, .07);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, .09);

    /* ── Spacing ── */
    --py: clamp(72px, 9vw, 130px);

    /* ── Easing ── */
    --ease: cubic-bezier(.4, 0, .2, 1);
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}


/* ════════════════════════════════════════════════════════
   1. RESET & BASE
   ════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-2);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Visible focus ring for keyboard nav */
:focus-visible {
    outline: 2px solid var(--indigo);
    outline-offset: 3px;
    border-radius: 4px;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* Accessible hidden headings for footer h3/h4 parity */
.footer__cols h3 {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 16px;
}


/* ════════════════════════════════════════════════════════
   2. LAYOUT UTILITIES
   ════════════════════════════════════════════════════════ */
.wrap {
    width: min(1160px, 100% - 48px);
    margin-inline: auto;
}

.hidden {
    display: none !important;
}


/* ════════════════════════════════════════════════════════
   3. SCROLL PROGRESS BAR
   ════════════════════════════════════════════════════════ */
.scroll-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--indigo), var(--accent));
    z-index: 9999;
    border-radius: 0 1px 1px 0;
    /* Prevent scroll bar from blocking interaction */
    pointer-events: none;
}


/* ════════════════════════════════════════════════════════
   4. NAVIGATION
   ════════════════════════════════════════════════════════ */

/* ── Nav container ── */
.hero-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    pointer-events: none;
}

/* ── Logo ── */
.hero-nav__logo {
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -.03em;
    color: rgba(255, 255, 255, 0.92);
    flex-shrink: 0;
    transition: opacity .25s var(--ease);
}

.hero-nav__logo:hover {
    opacity: 0.75;
}

/* ── Glass pill ── */
.hero-nav__pill {
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
    -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-pill);
    padding: 5px 5px 5px 8px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-nav__pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: var(--radius-pill);
    pointer-events: none;
}

/* ── Desktop nav links ── */
.hero-nav__links {
    display: flex;
    align-items: center;
}

.hero-nav__links a {
    display: flex;
    align-items: center;
    height: 34px;
    padding: 0 13px;
    font-size: .8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-pill);
    white-space: nowrap;
    transition: color .2s var(--ease), background .2s var(--ease);
    letter-spacing: .005em;
}

.hero-nav__links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

/* ── CTA button (nav) ── */
.hero-nav__cta {
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 18px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: #0d1117;
    background: var(--grad-green);
    border-radius: var(--radius-pill);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(74, 222, 128, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transition: opacity .2s var(--ease), transform .2s var(--ease-spring), box-shadow .2s var(--ease);
}

.hero-nav__cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-nav__cta:active {
    transform: translateY(0);
}

/* ── Burger button ── */
.hero-nav__burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.85);
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none;
    cursor: pointer;
    position: relative;
}

.burger-line {
    display: block;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: center;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.burger-line:nth-child(1) {
    transform: translate(-50%, calc(-50% - 5px));
}

.burger-line:nth-child(2) {
    transform: translate(-50%, calc(-50% + 5px));
}

.hero-nav__burger.open .burger-line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.hero-nav__burger.open .burger-line:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ── Mobile dropdown ── */
.hero-nav__dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 8px);
    right: 32px;
    min-width: 200px;
    background: rgba(12, 16, 20, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    pointer-events: all;
    z-index: 200;
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top right;
    transition: opacity .25s var(--ease), transform .25s var(--ease-spring);
}

.hero-nav__dropdown.open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hero-nav__dropdown a {
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 16px;
    font-size: .875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    border-radius: 13px;
    transition: background .18s var(--ease), color .18s var(--ease);
}

.hero-nav__dropdown a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.hero-nav__dropdown .dropdown-cta {
    margin-top: 6px;
    background: var(--grad-green);
    color: #0d1117;
    font-weight: 600;
    border-radius: 13px;
}

.hero-nav__dropdown .dropdown-cta:hover {
    background: linear-gradient(135deg, #7bffb0 0%, #5be98d 60%, #2fd66e 100%);
    color: #0d1117;
}


/* ════════════════════════════════════════════════════════
   5. HERO SECTION
   ════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: calc(100vh - 20px);
    background: var(--hero-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 10px;
    border-radius: 20px;
    padding: 0 !important;
}

/* ── Decorative grid/light background ── */
.hero-light {
    position: absolute;
    top: 0;
    right: 5%;
    width: 100%;
    height: auto;
    pointer-events: none;
    z-index: 1;
    transform: translate(50px, -50px);
    opacity: 0.6;
}

.hero-light svg {
    width: 120%;
    height: auto;
}

/* ── Ambient glow blobs ── */
.hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}

.hero__glow--1 {
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(34, 197, 94, .18) 0%, transparent 70%);
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.hero__glow--2 {
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, .12) 0%, transparent 70%);
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
}

/* ── Hero inner content ── */
.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    margin-top: 100px;
}

/* ── Trust bar ── */
.trust-bar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
    object-fit: cover;
}

.avatar:first-child {
    margin-left: 0;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
    text-align: left;
}

.trust-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.trust-star {
    width: 12px;
    height: 12px;
    fill: #f0a500;
    flex-shrink: 0;
}

.trust-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.trust-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.38);
    white-space: nowrap;
}

/* ── Hero headline ── */
.hero__h1 {
    font-size: clamp(1.6rem, 4.5vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.3;
    white-space: normal;
    overflow: visible;
    max-width: 100%;
    margin-bottom: 10px;
    text-align: center;
    background: var(--grad-hero-h1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__em {
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    height: calc(1.3 * clamp(1.6rem, 4.5vw, 3rem));
    line-height: 1;
    background: var(--grad-em);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}


.hero__slide-wrap {
    display: block;
    overflow: hidden;
    margin: 0 auto;
    /* match exactly one line of your h1 line-height */
    height: calc(1.3 * clamp(1.6rem, 4.5vw, 3rem));
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.hero__slide-track {
    display: flex;
    flex-direction: column;
    animation: slideUp 9s cubic-bezier(.76, 0, .24, 1) infinite;
}

@keyframes slideUp {
    0%     { transform: translateY(0); }
    22%    { transform: translateY(0); }
    30%    { transform: translateY(-1.3em); }
    52%    { transform: translateY(-1.3em); }
    60%    { transform: translateY(-2.6em); }
    82%    { transform: translateY(-2.6em); }
    90%    { transform: translateY(-3.9em); }
    90.01% { transform: translateY(0); }
    100%   { transform: translateY(0); }
}

/* ── Hero sub-heading ── */
.hero__sub {
    font-size: clamp(.9rem, 1.5vw, 1.05rem);
    font-weight: 300;
    color: rgba(255, 255, 255, .45);
    max-width: 500px;
    line-height: 1.75;
    margin-bottom: 10px;
}

/* ── Hero CTA buttons ── */
.hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ── Green button (shared by hero + CTA section) ── */
.btn-green {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: inherit;
    font-size: .875rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--grad-btn);
    padding: 10px 10px 10px 22px;
    border-radius: var(--radius-pill);
    letter-spacing: -.01em;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    overflow: hidden;
    cursor: pointer;
    transition: all .3s var(--ease);
}

.btn-green::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transition: left .6s ease;
}

.btn-green:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-green:hover::before {
    left: 120%;
}

.btn-green:hover .btn-icon svg {
    transform: rotate(-45deg);
}

.btn-green:hover .btn-icon {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.btn-green:active {
    transform: translateY(0) scale(0.98);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    transition: all .3s ease;
}

.btn-icon svg {
    transition: transform .3s var(--ease);
}


/* ════════════════════════════════════════════════════════
   6. HERO MARQUEE
   ════════════════════════════════════════════════════════ */
.hero-marquee {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 70px;
}

.hero-marquee__label {
    text-align: center;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.22);
    margin-bottom: 30px;
}

.hero-marquee__wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 10%, black 30%, black 70%, transparent 90%);
}

.hero-marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: heroMarquee 28s linear infinite;
    will-change: transform;
}

.hero-marquee__track:hover {
    animation-play-state: paused;
}

@keyframes heroMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.mq-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 36px;
    font-size: .85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    transition: color .25s;
    position: relative;
}

.mq-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.mq-item:hover {
    color: rgba(255, 255, 255, 0.7);
}

.mq-logo {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity .25s;
}

.mq-item:hover .mq-logo {
    opacity: 1;
}


/* ════════════════════════════════════════════════════════
   7. BELOW-HERO MARQUEE (text only)
   ════════════════════════════════════════════════════════ */
.marquee-section {
    padding: 40px 0 36px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.marquee-label {
    text-align: center;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-4);
    margin-bottom: 20px;
}

.marquee-wrap {
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: marquee 26s linear infinite;
}

.marquee-track span {
    font-size: .95rem;
    font-weight: 500;
    color: var(--text-4);
    letter-spacing: -.01em;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* ════════════════════════════════════════════════════════
   8. SECTIONS — shared styles
   ════════════════════════════════════════════════════════ */
.section {
    padding: var(--py) 0;
    position: relative;
}

.section__head {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 72px;
}

.section__tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--indigo);
    background: rgba(99, 102, 241, .07);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

.section__h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.625rem);
    font-weight: 300;
    letter-spacing: -.04em;
    color: var(--text-1);
    line-height: 1.2;
    margin-bottom: 14px;
}

.section__sub {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-3);
    line-height: 1.7;
}


/* ════════════════════════════════════════════════════════
   9. PRODUCTS
   ════════════════════════════════════════════════════════ */
.products {
    background: var(--white);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ── Product card ── */
.p-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform .4s var(--ease-spring),
        box-shadow .4s var(--ease),
        border-color .25s ease;
    box-shadow: var(--shadow-sm);
}

.p-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .07);
    border-color: rgba(0, 0, 0, .15);
}

.p-card__img-wrap {
    padding: 10px 10px 0;
}

.p-card__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.p-card__body {
    padding: 18px 20px 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.p-card__top {
    display: flex;
    align-items: center;
}

.p-card__tag {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--tag-bg);
    color: var(--tag-color);
}

.p-card h3 {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--text-1);
    line-height: 1.35;
    letter-spacing: -.02em;
}

.p-card p {
    font-size: .8125rem;
    font-weight: 400;
    color: var(--text-3);
    line-height: 1.65;
}

.p-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 2px 0 0;
}

.p-card ul li {
    font-size: .775rem;
    font-weight: 400;
    color: var(--text-3);
    padding-left: 14px;
    position: relative;
}

.p-card ul li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-4, #bbb);
}

.p-card__footer {
    padding: 14px 20px;
    margin-top: auto;
}

.p-card__link {
    font-size: .8125rem;
    font-weight: 500;
    color: var(--text-1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap .2s ease;
}

.p-card__link:hover {
    gap: 10px;
}

.p-card__link svg {
    opacity: .45;
    transition: opacity .2s;
}

.p-card__link:hover svg {
    opacity: 1;
}


/* ════════════════════════════════════════════════════════
   10. FEATURES
   ════════════════════════════════════════════════════════ */
.features {
    background: var(--bg);
}

.features__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.f-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background .25s var(--ease), border-color .25s var(--ease);
}

.f-tab.active {
    background: var(--white);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.f-tab__ico {
    font-size: 1.2rem;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, .07);
    border-radius: 8px;
    flex-shrink: 0;
}

.f-tab__title {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-1);
    margin-bottom: 3px;
}

.f-tab__sub {
    font-size: .8125rem;
    font-weight: 300;
    color: var(--text-3);
    line-height: 1.5;
}

/* ── Feature screen panels ── */
.f-screen {
    display: none;
    animation: screenIn .4s var(--ease-out);
}

.f-screen.active {
    display: block;
}

/* Hidden attribute support */
.f-screen[hidden] {
    display: none !important;
}

@keyframes screenIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fscreen-card {
    background: none;
    padding: 32px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.fsc-img {
    max-width: 100%;
    height: auto;
}


/* ════════════════════════════════════════════════════════
   11. WHY US / STATS
   ════════════════════════════════════════════════════════ */
.why-us {
    background: var(--white);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    align-items: end;
}

.stat {
    border-radius: var(--radius-xl);
    padding: 28px 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
}

/* Staggered heights give a bar-chart feel */
.stat:nth-child(1) {
    padding-top: 90px;
    background: #e8e8e8;
}

.stat:nth-child(2) {
    padding-top: 200px;
    background: #2e2e2e;
}

.stat:nth-child(3) {
    padding-top: 150px;
    background: #1c1c1c;
}

.stat:nth-child(4) {
    padding-top: 44px;
    background: #e8e8e8;
}

.stat:nth-child(5) {
    padding-top: 90px;
    background: #2e2e2e;
}

.stat__label {
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #888;
}

.stat__val {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 300;
    letter-spacing: -.04em;
    line-height: 1;
}

.stat:nth-child(1) .stat__val,
.stat:nth-child(4) .stat__val {
    color: var(--text-1);
}

.stat:nth-child(2) .stat__val,
.stat:nth-child(3) .stat__val,
.stat:nth-child(5) .stat__val {
    color: #fff;
}


/* ════════════════════════════════════════════════════════
   12. PRICING
   ════════════════════════════════════════════════════════ */
.pricing {
    background: var(--bg);
}

/* ── Billing toggle ── */
.pricing__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 56px;
}

.ptog__label {
    font-size: .875rem;
    font-weight: 300;
    color: var(--text-3);
}

.ptog__label.active {
    font-weight: 500;
    color: var(--text-1);
}

.ptog__switch {
    width: 46px;
    height: 26px;
    background: var(--border);
    border-radius: 13px;
    cursor: pointer;
    position: relative;
    transition: background .3s var(--ease);
    /* button reset */
    border: none;
    padding: 0;
}

.ptog__switch.on {
    background: var(--indigo);
}

.ptog__knob {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease-spring);
    pointer-events: none;
}

.ptog__switch.on .ptog__knob {
    transform: translateX(20px);
}

.save-tag {
    font-style: normal;
    font-size: .65rem;
    font-weight: 600;
    background: rgba(16, 185, 129, .1);
    color: #10b981;
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    margin-left: 5px;
}

/* ── Pricing grid ── */
.pricing__grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr 1fr;
    gap: 20px;
    align-items: center;
}

/* ── Pricing card — base ── */
.pr-card {
    background: var(--white);
    border-radius: 47px;
    padding: 32px 28px;
    position: relative;
    transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease);
    border: none !important;
    box-shadow: var(--shadow-sm);
}

.pr-card.featured {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .06), var(--shadow-lg);
    transform: translateY(-6px);
}

.pr-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--indigo);
    color: white;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.pr-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 4px;
}

.pr-desc {
    font-size: .8125rem;
    font-weight: 300;
    color: var(--text-3);
    margin-bottom: 20px;
}

.pr-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 24px;
}

.pr-cur {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-2);
}

.pr-amt {
    font-size: 2.25rem;
    font-weight: 300;
    letter-spacing: -.04em;
    color: var(--text-1);
}

.pr-per {
    font-size: .8rem;
    font-weight: 300;
    color: var(--text-4);
    margin-left: 4px;
}

.pr-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.pr-feats li {
    font-size: .8375rem;
    font-weight: 300;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pr-feats li.ok::before {
    content: '✓';
    color: #10b981;
    font-weight: 600;
    flex-shrink: 0;
}

.pr-feats li.no {
    color: var(--text-4);
}

.pr-feats li.no::before {
    content: '–';
    color: var(--text-4);
    flex-shrink: 0;
}

.pr-btn {
    display: block;
    text-align: center;
    font-family: inherit;
    font-size: .875rem;
    font-weight: 500;
    padding: 12px;
    border-radius: var(--radius-pill);
    transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease);
    letter-spacing: -.01em;
}

.pr-btn.outline {
    border: 1.5px solid var(--border);
    color: var(--text-2);
}

.pr-btn.solid {
    background: var(--indigo);
    color: white;
    box-shadow: 0 4px 18px rgba(99, 102, 241, .3);
}

/* ── Legendary style card variant ── */
.pr-card.legendary {
    padding: 0;
    overflow: hidden;
    border: 1px solid #e0e0e0 !important;
    transform: translateY(-6px);
}

.pr-card__top {
    padding: 20px 20px 18px;
    margin: 8px;
    border-radius: 40px;
}

.pr-card.legendary .pr-name {
    font-size: 13px;
    font-weight: 500;
    color: #2a1a3e;
    margin-bottom: 10px;
}

.pr-card.legendary .pr-price {
    align-items: flex-end;
    margin-bottom: 8px;
}

.pr-card.legendary .pr-amt {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a2e;
}

.pr-card.legendary .pr-cents {
    font-size: 12px;
    color: #3a2a5e;
    margin-bottom: 5px;
}

.pr-card.legendary .pr-desc {
    color: rgba(40, 20, 60, 0.75);
    margin-bottom: 18px;
}

.pr-card.legendary .pr-feats {
    padding: 18px 24px;
    margin-bottom: 0;
}

.pr-btn.dark-pill {
    background: #1a1828;
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 13px;
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.pr-card.legendary .pr-feats li.ok::before {
    content: '';
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='8' stroke='%23555' stroke-width='1.2'/%3E%3Cpath d='M5.5 9l2.5 2.5 4.5-5' stroke='%23555' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    flex-shrink: 0;
    color: transparent;
}


/* ════════════════════════════════════════════════════════
   13. TESTIMONIALS
   ════════════════════════════════════════════════════════ */
.testimonials {
    background: var(--white);
    overflow: hidden;
}

.testi__marquee-outer {
    width: 100%;
    margin-top: 56px;
}

.testi__marquee-mask {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.testi__marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    flex-wrap: nowrap;
    padding: 25px 10px;
}

@keyframes testi-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(var(--testi-shift, -50%));
    }
}

.testi__marquee-track.is-animating {
    animation: testi-scroll var(--testi-dur, 40s) linear infinite;
}

.testi__marquee-mask:hover .testi__marquee-track {
    animation-play-state: paused;
}

/* ── Testimonial card ── */
.t-card {
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-xl);
    padding: 28px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.t-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.t-card p {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--text-2);
    line-height: 1.75;
    font-style: italic;
    flex: 1;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-av {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.t-author strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-1);
}

.t-author span {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--text-3);
}


/* ════════════════════════════════════════════════════════
   14. CTA SECTION
   ════════════════════════════════════════════════════════ */
.cta-section {
    background: var(--bg);
}

.cta-box {
    position: relative;
    overflow: hidden;
    background: var(--hero-bg);
    border-radius: 24px;
    padding: 72px 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-box__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 70% at 50% -20%, rgba(99, 102, 241, .06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box__h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 300;
    letter-spacing: -.04em;
    line-height: 1.15;
    margin: 14px 0 12px;
    background: var(--grad-hero-h1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-box__h2 .highlight {
    background: linear-gradient(135deg, #007029, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-box p {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 36px;
    background: linear-gradient(90deg, #525252, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    font-weight: 400;
    color: var(--white);
}


/* ════════════════════════════════════════════════════════
   15. FOOTER
   ════════════════════════════════════════════════════════ */
.footer {
    background: var(--text-1);
    color: rgba(255, 255, 255, .45);
    padding: 72px 0 32px;
}

.footer__top {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 64px;
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -.03em;
    color: white;
    margin-bottom: 12px;
    text-decoration: none;
}

.footer__brand p {
    font-size: .8375rem;
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.footer__social a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .4);
    transition: color .25s var(--ease), border-color .25s var(--ease);
}

.footer__social a:hover {
    color: white;
    border-color: rgba(255, 255, 255, .3);
}

.footer__cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer__cols ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer__cols ul a {
    font-size: .8375rem;
    font-weight: 300;
    transition: color .25s var(--ease);
}

.footer__cols ul a:hover {
    color: rgba(255, 255, 255, .8);
}

.footer__contact li {
    font-size: .8375rem;
    font-weight: 300;
    display: flex;
    gap: 8px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bottom span {
    font-size: .8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, .25);
}

.footer__bottom div {
    display: flex;
    gap: 24px;
}

.footer__bottom a {
    font-size: .8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, .25);
    transition: color .25s var(--ease);
}

.footer__bottom a:hover {
    color: rgba(255, 255, 255, .6);
}


/* ════════════════════════════════════════════════════════
   16. ANIMATIONS & SCROLL REVEAL
   ════════════════════════════════════════════════════════ */

/* ── Fade-in (hero elements) ── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .7s var(--ease-out) forwards;
    animation-delay: var(--d, 0ms);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

/* ── Scroll reveal ── */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.reveal {
    transform: translateY(28px);
}

.reveal-left {
    transform: translateX(-28px);
}

.reveal-right {
    transform: translateX(28px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* ── Respect reduced-motion preference ── */
@media (prefers-reduced-motion: reduce) {

    .fade-in,
    .reveal,
    .reveal-left,
    .reveal-right {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .hero-marquee__track,
    .marquee-track,
    .testi__marquee-track {
        animation-play-state: paused !important;
    }
}


/* ════════════════════════════════════════════════════════
   17. RESPONSIVE OVERRIDES
   ════════════════════════════════════════════════════════ */

/* ── Nav ── */
@media (max-width: 1024px) {
    .hero-nav {
        padding: 20px 28px;
    }

    .hero-nav__links a {
        padding: 0 10px;
        font-size: .775rem;
    }
}

@media (max-width: 768px) {
    .hero-nav {
        padding: 18px 20px;
    }

    .hero-nav__links {
        display: none;
    }

    .hero-nav__cta {
        display: none;
    }

    .hero-nav__burger {
        display: flex;
    }

    .hero-nav__pill {
        padding: 4px 6px;
        gap: 0;
    }

    .hero-nav__dropdown {
        right: 20px;
        left: 20px;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .hero-nav {
        padding: 14px;
    }

    .hero-nav__dropdown {
        right: 14px;
        left: 14px;
    }
}

/* ── Hero light background responsive ── */
@media (max-width: 768px) {
    .hero-light svg {
        width: 250%;
    }

    .hero-light {
        top: 5%;
        right: 95%;
    }

    .hero__inner {
        margin-top: 0 !important;
    }
}

@media (max-width: 376px) {
    .hero__inner {
        margin-top: 50px !important;
    }

    .hero__h1 {
        font-size: 20px !important;
    }

    .hero__em {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }

    .hero__sub {
        font-size: clamp(.875rem, 1.2vw, .9rem);
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .hero-light svg {
        width: 250%;
    }

    .hero-light {
        top: 0;
        right: 85%;
    }
}

/* ── Products ── */
@media (max-width: 1060px) {
    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .products__grid {
        grid-template-columns: 1fr;
    }

    .p-card__img {
        height: 200px;
    }
}

/* ── Features ── */
@media (max-width: 860px) {
    .features__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ── Stats ── */
@media (max-width: 1024px) {
    .stats-row {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }

    .stat:nth-child(4) {
        grid-column: 1 / 2;
    }

    .stat:nth-child(5) {
        grid-column: 2 / 4;
    }

    .stat:nth-child(2) {
        padding-top: 120px;
    }

    .stat:nth-child(3) {
        padding-top: 90px;
    }

    .stat__val {
        font-size: clamp(1.4rem, 3vw, 2rem);
    }
}

@media (max-width: 640px) {
    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        align-items: stretch;
    }

    .stat:nth-child(4) {
        grid-column: auto;
    }

    .stat:nth-child(5) {
        grid-column: 1 / -1;
    }

    .stat:nth-child(1),
    .stat:nth-child(2),
    .stat:nth-child(3),
    .stat:nth-child(4),
    .stat:nth-child(5) {
        padding-top: 36px;
    }

    .stat__val {
        font-size: clamp(1.5rem, 6vw, 1.9rem);
    }

    .stat__label {
        font-size: .75rem;
    }
}

@media (max-width: 380px) {
    .stats-row {
        grid-template-columns: 1fr;
    }

    .stat:nth-child(5) {
        grid-column: auto;
    }

    .stat:nth-child(1),
    .stat:nth-child(2),
    .stat:nth-child(3),
    .stat:nth-child(4),
    .stat:nth-child(5) {
        padding-top: 28px;
    }
}

/* ── Pricing ── */
@media (max-width: 1060px) {
    .pricing__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pr-card.featured {
        transform: none;
    }
}

/* ── Testimonials ── */
@media (max-width: 860px) {
    .t-card {
        min-width: calc(75% - 12px);
    }
}

@media (max-width: 600px) {
    .t-card {
        min-width: calc(100% - 0px);
    }
}

/* ── Footer ── */
@media (max-width: 1060px) {
    .footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer__cols {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Global small-screen overrides ── */
@media (max-width: 600px) {
    .wrap {
        width: calc(100% - 32px);
    }

    .hero {
        margin: 6px;
        border-radius: 16px;
    }

    .cta-box {
        padding: 44px 24px;
    }

    .mq-item {
        padding: 0 24px;
        font-size: .78rem;
    }
}

@media (max-width: 400px) {
    .hero {
        margin: 4px;
        border-radius: 14px;
    }
}