/* ====================================================================
   Trader Teknikal — main stylesheet
   Combined & deduplicated CSS for all pages.
   Organised in sections so it's easy to find what to tweak.
   ==================================================================== */

/* ====================================================================
   1. DESIGN TOKENS (CSS variables)
   ==================================================================== */
:root {
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-soft: #eff6ff;
    --sky: #0ea5e9;
    --sky-soft: #f0f9ff;
    --emerald: #10b981;
    --emerald-soft: #ecfdf5;
    --amber: #f59e0b;
    --amber-soft: #fffbeb;
    --indigo-soft: #eef2ff;
    --text: #0f172a;
    --text-muted: #475569;
    --text-soft: #94a3b8;
    --border: #e2e8f0;
    --border-soft: #f1f5f9;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
    --shadow: 0 6px 16px -4px rgba(15,23,42,0.06), 0 2px 4px -2px rgba(15,23,42,0.04);
    --shadow-lg: 0 18px 36px -8px rgba(15,23,42,0.10), 0 4px 8px -2px rgba(15,23,42,0.04);
}

/* ====================================================================
   2. RESET / BASE
   ==================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Body modifier for pages with soft gray background */
body.body--soft {
    background:
        radial-gradient(ellipse at top, rgba(14,165,233,0.08), transparent 55%),
        var(--bg-soft);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ====================================================================
   3. NAVBAR (shared)
   ==================================================================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled,
.nav.nav--solid {
    border-bottom-color: var(--border-soft);
    box-shadow: var(--shadow-sm);
}
.nav.nav--solid { background: rgba(255,255,255,0.92); }
.nav__inner {
    max-width: 1120px; margin: 0 auto;
    padding: .9rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
}
.nav__brand {
    display: flex; align-items: center; gap: .6rem;
    text-decoration: none;
    font-weight: 700; font-size: 1rem; color: var(--text);
    letter-spacing: -0.01em;
}
.nav__brand img { width: 34px; height: 34px; }
.nav__list {
    display: flex; align-items: center; gap: 1.75rem;
    list-style: none;
}
.nav__link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .9rem; font-weight: 500;
    transition: color .15s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--brand); }
.nav__cta {
    background: var(--brand); color: #fff !important;
    padding: .55rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: .85rem; font-weight: 600;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: .4rem;
    transition: background .15s ease, transform .15s ease;
}
.nav__cta:hover { background: var(--brand-dark); transform: translateY(-1px); }
.nav__burger {
    display: none;
    background: none; border: none;
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    align-items: center; justify-content: center;
    color: var(--text);
}
.nav__burger:hover { background: var(--bg-soft); }

/* ====================================================================
   4. BUTTONS (shared)
   ==================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: .92rem; font-weight: 600;
    text-decoration: none;
    transition: all .18s ease;
    white-space: nowrap;
}
.btn--primary {
    background: var(--brand); color: #fff;
    box-shadow: 0 4px 12px -2px rgba(37,99,235,0.35);
}
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 8px 20px -4px rgba(37,99,235,0.4); color: #fff; }
.btn--emerald {
    background: var(--emerald); color: #fff;
    box-shadow: 0 4px 12px -2px rgba(16,185,129,0.35);
}
.btn--emerald:hover { background: #059669; transform: translateY(-1px); color: #fff; }
.btn--outline {
    background: #fff; color: var(--text);
    border-color: var(--border);
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.btn--ghost {
    background: var(--bg-soft); color: var(--text-muted);
}
.btn--ghost:hover { background: var(--brand-soft); color: var(--brand); }
.btn--full { width: 100%; }
.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn[aria-disabled="true"] {
    opacity: .55; cursor: not-allowed; pointer-events: none;
}

/* ====================================================================
   5. LAYOUT PRIMITIVES
   ==================================================================== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5.5rem 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; margin-bottom: 3rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: .75rem;
}
.section__sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Eyebrow (small uppercase pill above section title) */
.eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--brand-soft); color: var(--brand);
    padding: .35rem .85rem; border-radius: 999px;
    font-size: .75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 1rem;
}
.eyebrow--emerald { background: var(--emerald-soft); color: var(--emerald); }
.eyebrow--amber { background: var(--amber-soft); color: var(--amber); }
.eyebrow--sky { background: var(--sky-soft); color: var(--sky); }

/* ====================================================================
   6. HERO (home)
   ==================================================================== */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top right, rgba(14,165,233,0.10), transparent 55%),
        radial-gradient(ellipse at bottom left, rgba(16,185,129,0.08), transparent 55%),
        linear-gradient(180deg, var(--sky-soft), var(--bg) 75%);
}
.hero__inner {
    display: grid; grid-template-columns: 1.05fr 1fr;
    gap: 4rem; align-items: center;
}
.hero__copy { animation: rise .6s ease both; }
.hero__badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fff; border: 1px solid var(--border);
    padding: .4rem 1rem; border-radius: 999px;
    font-size: .82rem; font-weight: 600;
    color: var(--brand);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}
.hero__badge .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.18);
    animation: pulse 2.4s ease-in-out infinite;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 1.25rem;
}
.hero h1 .accent {
    background: linear-gradient(135deg, var(--brand), var(--sky));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__lead {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}
.hero__ctas {
    display: flex; gap: .75rem; flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.hero__stats {
    display: flex; gap: 2rem; flex-wrap: wrap;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-soft);
}
.hero__stat strong {
    display: block;
    font-size: 1.5rem; font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}
.hero__stat span {
    font-size: .78rem;
    color: var(--text-soft);
    font-weight: 500;
}

.hero__visual {
    position: relative;
    display: flex; justify-content: center;
    animation: rise .6s ease .1s both;
}
.hero-card {
    position: relative;
    width: 100%; max-width: 360px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.hero-card__logo {
    width: 168px; height: 168px;
    margin: 0 auto .75rem;
    display: grid; place-items: center;
}
.hero-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.hero-card h3 {
    font-size: 1.15rem; font-weight: 700;
    color: var(--text); margin-bottom: .15rem;
}
.hero-card__handle {
    font-size: .88rem; color: var(--brand); font-weight: 600;
    margin-bottom: .9rem;
}
.hero-card__bio {
    font-size: .9rem; color: var(--text-muted);
    line-height: 1.6; font-style: italic;
    margin-bottom: 1.5rem;
}
/* Single credit line — replaces the old stats row to avoid duplicating
   the metrics shown in the hero stats above the card.
   Number ('1,500+') is large headline; caption sits underneath. */
.hero-card__credit {
    display: flex; align-items: center; gap: .8rem;
    justify-content: center;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-soft);
    text-align: left;
}
.hero-card__credit i {
    color: var(--brand);
    font-size: 1.5rem;
    flex-shrink: 0;
}
.hero-card__credit-body {
    display: flex; flex-direction: column;
    min-width: 0;
}
.hero-card__credit-num {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.hero-card__credit-caption {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.4;
    font-weight: 500;
    margin-top: .2rem;
}
.float-badge {
    position: absolute;
    display: flex; align-items: center; gap: .55rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .65rem .85rem;
    box-shadow: var(--shadow-lg);
    animation: float 3.5s ease-in-out infinite;
}
.float-badge--1 { top: -10px; right: -16px; animation-delay: 0s; }
.float-badge--2 { bottom: 28px; left: -22px; animation-delay: 1.6s; }
.float-badge__icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: grid; place-items: center;
    font-size: .85rem;
}
.float-badge__icon--emerald { background: var(--emerald-soft); color: var(--emerald); }
.float-badge__icon--sky { background: var(--sky-soft); color: var(--sky); }
.float-badge__label {
    display: block;
    font-size: .65rem; color: var(--text-soft); font-weight: 500;
    text-transform: uppercase; letter-spacing: .04em;
}
.float-badge__value {
    display: block;
    font-size: .92rem; font-weight: 700; color: var(--text);
}
.float-badge--message { max-width: 240px; }
.float-badge__msg {
    font-size: .76rem;
    line-height: 1.4;
    color: var(--text-muted);
    font-weight: 500;
}
.float-badge__msg strong {
    color: var(--emerald);
    font-weight: 700;
}

/* Niche strip under hero */
.niche-strip {
    margin-top: 3rem;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.niche-pill {
    display: flex; align-items: center; gap: .8rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    transition: all .2s ease;
}
.niche-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.niche-pill__icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: grid; place-items: center;
    font-size: 1rem; flex-shrink: 0;
}
.niche-pill__icon--emerald { background: var(--emerald-soft); color: var(--emerald); }
.niche-pill__icon--sky { background: var(--sky-soft); color: var(--sky); }
.niche-pill__icon--amber { background: var(--amber-soft); color: var(--amber); }
.niche-pill strong { display: block; font-size: .92rem; color: var(--text); font-weight: 700; }
.niche-pill span { font-size: .78rem; color: var(--text-soft); }

/* ====================================================================
   7. PRODUCTS (home)
   ==================================================================== */
.products-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.product {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: all .25s ease;
}
.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}
.product__cover {
    position: relative;
    height: 160px;
    display: grid; place-items: center;
    font-size: 2.4rem;
}
.product__cover--sky { background: linear-gradient(135deg, var(--sky-soft), #e0f2fe); color: var(--sky); }
.product__cover--emerald { background: linear-gradient(135deg, var(--emerald-soft), #d1fae5); color: var(--emerald); }
.product__cover--amber { background: linear-gradient(135deg, var(--amber-soft), #fef3c7); color: var(--amber); }
.product__cover--indigo { background: linear-gradient(135deg, var(--indigo-soft), #e0e7ff); color: var(--brand); }
.product__pop {
    position: absolute; top: 12px; right: 12px;
    background: #fff; color: var(--amber);
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    box-shadow: var(--shadow-sm);
    display: inline-flex; align-items: center; gap: .35rem;
}
.product__body {
    padding: 1.5rem;
    display: flex; flex-direction: column; flex: 1;
}
.product__tag {
    display: inline-block;
    background: var(--brand-soft); color: var(--brand);
    font-size: .7rem; font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 999px;
    text-transform: uppercase; letter-spacing: .04em;
    margin-bottom: .75rem;
    align-self: flex-start;
}
.product__title { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.product__desc {
    font-size: .92rem; color: var(--text-muted);
    line-height: 1.6; margin-bottom: 1.25rem;
}
.product__features {
    list-style: none; margin-bottom: 1.5rem;
    display: grid; gap: .45rem;
}
.product__features li {
    display: flex; align-items: flex-start; gap: .55rem;
    font-size: .87rem; color: var(--text-muted);
}
.product__features i {
    color: var(--emerald);
    font-size: .78rem;
    margin-top: .25rem;
    flex-shrink: 0;
}
.product__cta { margin-top: auto; }

/* ====================================================================
   8. TESTIMONIALS (home)
   ==================================================================== */
.testi-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.testi {
    position: relative;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    transition: all .2s ease;
}
.testi:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border); }
.testi__quote {
    position: absolute; top: 1.1rem; right: 1.1rem;
    font-size: 1.3rem; color: var(--brand-soft);
}
.testi__stars {
    color: var(--amber);
    font-size: .8rem;
    margin-bottom: .9rem;
    display: flex; gap: 2px;
}
.testi__text {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: .92rem;
    margin-bottom: 1.25rem;
}
.testi__author { display: flex; align-items: center; gap: .7rem; }
.testi__avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--sky));
    display: grid; place-items: center;
    color: #fff; font-weight: 700; font-size: .85rem;
}
.testi__name { font-size: .9rem; font-weight: 600; color: var(--text); }
.testi__role { font-size: .76rem; color: var(--text-soft); }

/* ====================================================================
   9. BLOG TEASER (home) + BLOG LIST (blog index)
   ==================================================================== */
.blog-teaser-grid,
.posts {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.post {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all .2s ease;
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border); }
.post__cover {
    height: 140px;
    display: grid; place-items: center;
    font-size: 2rem;
}
.post__cover--lg { height: 160px; font-size: 2.2rem; }
.post__cover--sky { background: linear-gradient(135deg, var(--sky-soft), #e0f2fe); color: var(--sky); }
.post__cover--emerald { background: linear-gradient(135deg, var(--emerald-soft), #d1fae5); color: var(--emerald); }
.post__cover--indigo { background: linear-gradient(135deg, var(--indigo-soft), #e0e7ff); color: var(--brand); }
.post__cover--amber { background: linear-gradient(135deg, var(--amber-soft), #fef3c7); color: var(--amber); }
.post__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post__cat {
    font-size: .7rem; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase; color: var(--brand);
}
.post__title { font-size: 1.02rem; font-weight: 700; color: var(--text); line-height: 1.4; }
.post__excerpt { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }
.post__meta {
    display: flex; gap: .85rem;
    font-size: .78rem; color: var(--text-soft);
    margin-top: auto; padding-top: .65rem;
}
.post__meta i { margin-right: .25rem; }
.blog-teaser-cta { text-align: center; margin-top: 2.5rem; }

/* Blog list page-specific */
.page-head {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}
.page-head h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800; letter-spacing: -0.02em;
    color: var(--text); line-height: 1.15;
    margin-bottom: .75rem;
}
.page-head p {
    font-size: 1.05rem; color: var(--text-muted);
    line-height: 1.65;
    max-width: 580px; margin: 0 auto;
}
.filters {
    display: flex; flex-wrap: wrap; gap: .55rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.filter {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: .5rem 1.05rem;
    border-radius: 999px;
    font-size: .85rem; font-weight: 500;
    cursor: pointer;
    transition: all .15s ease;
    text-decoration: none;
}
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.empty {
    text-align: center;
    padding: 4rem 1.5rem;
    background: var(--bg-soft);
    border: 1px dashed var(--border);
    border-radius: 20px;
    margin-bottom: 3rem;
}
.empty__icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--sky-soft), var(--brand-soft));
    color: var(--brand);
    border-radius: 18px;
    display: grid; place-items: center;
    font-size: 1.6rem;
}
.empty h2 { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.empty p { color: var(--text-muted); font-size: .95rem; line-height: 1.65; max-width: 440px; margin: 0 auto 1.5rem; }

/* ====================================================================
   10. CTA BANNER (home)
   ==================================================================== */
.cta {
    position: relative;
    background:
        radial-gradient(ellipse at top left, rgba(14,165,233,0.18), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(16,185,129,0.15), transparent 60%),
        linear-gradient(135deg, #1e3a8a, var(--brand));
    color: #fff;
    text-align: center;
    padding: 4.5rem 1.5rem;
    border-radius: var(--radius-xl);
    margin: 0 1.5rem;
    overflow: hidden;
}
.cta__inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.cta h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800; letter-spacing: -0.02em;
    margin-bottom: .75rem;
}
.cta p {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 2rem;
    line-height: 1.65;
}
.cta__buttons { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.cta .btn--primary {
    background: #fff; color: var(--brand);
    box-shadow: 0 6px 20px -4px rgba(0,0,0,0.25);
}
.cta .btn--primary:hover { background: var(--bg-soft); color: var(--brand); }
.cta .btn--outline {
    background: transparent; color: #fff;
    border-color: rgba(255,255,255,0.35);
}
.cta .btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }
.cta__socials { display: flex; gap: .5rem; justify-content: center; }
.cta__socials a {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    display: grid; place-items: center;
    color: #fff;
    text-decoration: none;
    transition: all .2s ease;
}
.cta__socials a:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

/* ====================================================================
   11. FOOTER (shared)
   ==================================================================== */
.footer {
    padding: 2.5rem 0 2rem;
    border-top: 1px solid var(--border-soft);
    margin-top: 5rem;
}
.footer--soft { background: var(--bg-soft); margin-top: 0; padding: 2rem 1.5rem 1.5rem; }
.footer__inner {
    max-width: 1120px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}
.footer__brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.footer__brand img { width: 28px; height: 28px; }
.footer__brand span { font-weight: 700; font-size: .95rem; color: var(--text); }
.footer__copy { font-size: .82rem; color: var(--text-soft); }
.footer__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer__links a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: .82rem;
    transition: color .15s ease;
}
.footer__links a:hover { color: var(--brand); }

/* Container variant for non-section content */
.section .container { padding-left: 1.5rem; padding-right: 1.5rem; }

/* ====================================================================
   12. GABUNG-GRUP page (group cards + steps)
   ==================================================================== */
.main {
    flex: 1;
    padding: 7rem 1.5rem 5rem;
    display: flex; align-items: flex-start; justify-content: center;
}
.wrap { max-width: 880px; width: 100%; animation: rise .5s ease both; }
.groups {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.group {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: all .25s ease;
}
.group:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.group__cover {
    padding: 2rem 1.75rem 1.75rem;
    position: relative;
}
.group__cover--blue { background: linear-gradient(135deg, var(--sky-soft), var(--brand-soft)); }
.group__cover--green { background: linear-gradient(135deg, var(--emerald-soft), #d1fae5); }
.group__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: #fff;
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}
.group__icon--blue { color: var(--brand); }
.group__icon--green { color: var(--emerald); }
.group__tag {
    display: inline-block;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    margin-bottom: .65rem;
    background: #fff;
}
.group__tag--blue { color: var(--brand); }
.group__tag--green { color: var(--emerald); }
.group h2 {
    font-size: 1.3rem; font-weight: 800;
    color: var(--text); margin-bottom: .35rem;
    letter-spacing: -0.01em;
}
.group__sub { font-size: .92rem; color: var(--text-muted); line-height: 1.6; }
.group__body {
    padding: 1.5rem 1.75rem 1.75rem;
    display: flex; flex-direction: column; flex: 1;
}
.group__features {
    list-style: none;
    margin-bottom: 1.5rem;
    display: grid; gap: .55rem;
}
.group__features li {
    display: flex; align-items: flex-start; gap: .55rem;
    font-size: .9rem; color: var(--text-muted);
}
.group__features li i {
    color: var(--emerald); font-size: .78rem;
    margin-top: .35rem; flex-shrink: 0;
}
.group__cta-stack {
    margin-top: auto;
    display: grid; gap: .65rem;
}
.group__hint { font-size: .78rem; color: var(--text-soft); text-align: center; }
.notice {
    display: flex; align-items: flex-start; gap: .55rem;
    background: var(--amber-soft);
    border: 1px solid #fde68a;
    border-radius: var(--radius-sm);
    padding: .7rem .9rem;
    font-size: .82rem; color: #92400e; font-weight: 500;
    line-height: 1.5;
}
.notice i { margin-top: .15rem; color: var(--amber); }
.steps { margin-top: 1rem; display: grid; gap: .55rem; }
.step {
    display: flex; gap: .8rem;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    padding: .75rem .9rem;
}
.step__num {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    font-weight: 700; font-size: .82rem;
    display: grid; place-items: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.step__text { font-size: .87rem; color: var(--text-muted); line-height: 1.55; }
/* Choice header — divider with centered label */
.choice-head {
    display: flex; align-items: center; gap: .75rem;
    margin: 1.25rem 0 1rem;
}
.choice-head__line {
    flex: 1;
    height: 1px;
    background: var(--border);
}
.choice-head__text {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-soft);
    font-weight: 700;
}

/* Join option box (A / B) */
.join-option {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    margin-bottom: .85rem;
}
.join-option__head {
    display: flex; align-items: center; gap: .65rem;
    margin-bottom: .85rem;
}
.join-option__letter {
    width: 28px; height: 28px;
    background: var(--brand);
    color: #fff;
    font-weight: 800; font-size: .85rem;
    border-radius: 50%;
    display: grid; place-items: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px -1px rgba(37,99,235,0.4);
}
.join-option__head strong {
    font-size: .95rem;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.005em;
}
.join-option__steps {
    margin: 0; padding-left: 1.25rem;
    display: grid; gap: .65rem;
}
.join-option__steps li {
    font-size: .87rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.join-option__steps li::marker {
    color: var(--brand);
    font-weight: 700;
}

/* Copy code block + button */
.copy-row {
    display: flex; align-items: stretch;
    gap: .4rem;
    margin-top: .55rem;
}
.copy-code {
    flex: 1;
    min-width: 0;
    padding: .5rem .7rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Menlo', 'Consolas', monospace;
    font-size: .75rem;
    color: var(--brand-dark);
    word-break: break-all;
    line-height: 1.4;
    display: flex; align-items: center;
}
.copy-btn {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    width: 36px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all .15s ease;
}
.copy-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}
.copy-btn.is-copied {
    background: var(--emerald-soft);
    border-color: #a7f3d0;
    color: var(--emerald);
}

/* Final step (Telegram confirmation) */
.final-step {
    background: linear-gradient(135deg, var(--sky-soft), var(--brand-soft));
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex; gap: .85rem;
    align-items: flex-start;
    margin-top: 1.25rem;
}
.final-step__icon {
    width: 40px; height: 40px;
    background: var(--brand);
    color: #fff;
    font-size: 1.1rem;
    border-radius: 50%;
    display: grid; place-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px -2px rgba(37,99,235,0.4);
}
.final-step__body { flex: 1; min-width: 0; }
.final-step strong {
    display: block;
    font-size: .92rem;
    color: var(--text);
    font-weight: 800;
    margin-bottom: .35rem;
    letter-spacing: -0.005em;
}
.final-step p {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: .9rem;
}

.back { text-align: center; margin-top: 2.5rem; }
.back a {
    display: inline-flex; align-items: center; gap: .45rem;
    color: var(--text-soft);
    text-decoration: none;
    font-size: .88rem; font-weight: 500;
    transition: color .15s ease;
}
.back a:hover { color: var(--brand); }

/* ====================================================================
   13. ARTICLE (blog post page)
   ==================================================================== */
.article {
    flex: 1;
    padding: 6.5rem 1.5rem 4rem;
    max-width: 740px;
    width: 100%;
    margin: 0 auto;
}
.crumb {
    display: inline-flex; align-items: center; gap: .45rem;
    color: var(--text-soft);
    text-decoration: none;
    font-size: .85rem; font-weight: 500;
    margin-bottom: 1.5rem;
    transition: color .15s ease;
}
.crumb:hover { color: var(--brand); }
.crumb i { font-size: .75rem; }

.article__head { margin-bottom: 2.25rem; }
.article__cat {
    display: inline-block;
    background: var(--brand-soft); color: var(--brand);
    font-size: .72rem; font-weight: 700;
    padding: .3rem .75rem;
    border-radius: 999px;
    text-transform: uppercase; letter-spacing: .05em;
    margin-bottom: 1rem;
}
.article__title {
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 800; line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 1rem;
}
.article__lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.article__meta {
    display: flex; flex-wrap: wrap; gap: .85rem 1.25rem;
    font-size: .85rem; color: var(--text-soft);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-soft);
}
.article__meta i { margin-right: .35rem; color: var(--text-soft); }
.article__meta strong { color: var(--text-muted); font-weight: 600; }

/* Article body — readable typography */
.article__body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #1e293b;
}
.article__body > * + * { margin-top: 1.25em; }
.article__body h2 {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--text);
    line-height: 1.3;
    margin-top: 2.5em;
    margin-bottom: .5em;
}
.article__body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin-top: 2em;
    margin-bottom: .35em;
}
.article__body p { margin: 0; }
.article__body strong { color: var(--text); font-weight: 700; }
.article__body em { font-style: italic; }
.article__body a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
}
.article__body a:hover { color: var(--brand-dark); }
.article__body ul, .article__body ol { padding-left: 1.4em; }
.article__body li { margin-bottom: .55em; }
.article__body li::marker { color: var(--brand); }
.article__body blockquote {
    margin: 1.75em 0;
    padding: 1rem 1.25rem;
    background: var(--brand-soft);
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text);
    font-style: italic;
    font-size: 1.02rem;
}
.article__body blockquote p { margin: 0; }
.article__body code {
    background: var(--bg-soft);
    padding: .15em .45em;
    border-radius: 4px;
    font-family: 'Menlo', 'Consolas', monospace;
    font-size: .9em;
    color: var(--brand-dark);
}
.article__body img {
    border-radius: var(--radius);
    margin: 1.75em 0;
    box-shadow: var(--shadow);
}
.article__body figure { margin: 1.75em 0; }
.article__body figcaption {
    text-align: center;
    font-size: .85rem;
    color: var(--text-soft);
    margin-top: .55em;
}
.article__body hr {
    border: none;
    border-top: 1px solid var(--border-soft);
    margin: 2.5em 0;
}

/* Callouts (tip / warning) */
.callout {
    background: var(--emerald-soft);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    display: flex; gap: .75rem;
    margin: 1.75em 0;
}
.callout i { color: var(--emerald); margin-top: .25rem; flex-shrink: 0; }
.callout strong { color: #065f46; }
.callout--warn { background: var(--amber-soft); border-color: #fde68a; }
.callout--warn i { color: var(--amber); }
.callout--warn strong { color: #92400e; }

.article__end {
    margin-top: 3rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, var(--sky-soft), var(--brand-soft));
    border-radius: var(--radius-lg);
    text-align: center;
}
.article__end h3 {
    font-size: 1.2rem; font-weight: 800;
    color: var(--text); margin-bottom: .5rem;
    letter-spacing: -0.01em;
}
.article__end p {
    color: var(--text-muted); margin-bottom: 1.25rem;
    font-size: .95rem; line-height: 1.6;
}
.article__end .btn-row {
    display: flex; gap: .65rem; justify-content: center; flex-wrap: wrap;
}

/* ====================================================================
   14. ANIMATIONS
   ==================================================================== */
@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .55; transform: scale(1.25); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ====================================================================
   15. RESPONSIVE
   ==================================================================== */
@media (max-width: 1000px) {
    .hero__inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero__lead { margin-left: auto; margin-right: auto; }
    .hero__ctas { justify-content: center; }
    .hero__stats { justify-content: center; }
    .products-grid, .testi-grid, .blog-teaser-grid, .posts {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 720px) {
    .nav__list { display: none; }
    .nav__burger { display: inline-flex; }
    .nav__list.is-open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(14px);
        padding: 1.25rem 1.5rem;
        gap: 1.1rem;
        border-bottom: 1px solid var(--border-soft);
        box-shadow: var(--shadow);
        align-items: stretch;
    }
    .nav__list.is-open .nav__cta { text-align: center; justify-content: center; }
    .section { padding: 4rem 0; }
    .hero { padding: 6.5rem 0 3.5rem; }
    .niche-strip { grid-template-columns: 1fr; }
    .products-grid, .testi-grid, .blog-teaser-grid, .posts { grid-template-columns: 1fr; }
    /* On mobile: hide the secondary 'Active Traders' badge to avoid crowding,
       but keep the helpful message badge (.float-badge--message) visible
       and tucked into the top-right of the hero card. */
    .float-badge--2 { display: none; }
    .float-badge--1 { top: -8px; right: 0; }
    .float-badge--message { max-width: 220px; }
    .footer__inner { flex-direction: column; text-align: center; }
    .cta { margin: 0; border-radius: 0; padding: 3.5rem 1.25rem; }
    .main { padding: 6rem 1.1rem 4rem; }
    .groups { grid-template-columns: 1fr; }
    .article { padding: 5.5rem 1.25rem 3rem; }
    .article__lead { font-size: 1.05rem; }
    .article__body { font-size: 1rem; }
    .article__body h2 { font-size: 1.35rem; }
    .article__body h3 { font-size: 1.1rem; }
}
@media (max-width: 420px) {
    .container { padding: 0 1.1rem; }
    .hero__stats { gap: 1.5rem; }
    .hero__stat strong { font-size: 1.3rem; }
}
