:root {
    color-scheme: dark;
    --bg: #07090d;
    --bg-soft: #0d1118;
    --panel: rgba(18, 23, 32, .84);
    --panel-solid: #121720;
    --panel-2: #171d28;
    --gold: #e2b85c;
    --gold-2: #f6d78f;
    --gold-dark: #8d672a;
    --text: #f7f5ef;
    --muted: #9ba3b2;
    --line: rgba(255,255,255,.09);
    --success: #32d583;
    --danger: #ff647c;
    --warning: #ffbb4d;
    --shadow: 0 30px 90px rgba(0,0,0,.42);
    --radius: 24px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 80% 5%, rgba(226,184,92,.16), transparent 32%),
        radial-gradient(circle at 10% 28%, rgba(71,94,255,.10), transparent 26%),
        linear-gradient(180deg, #07090d 0%, #0a0d13 52%, #07090d 100%);
    color: var(--text);
    font-family: Tahoma, Arial, sans-serif;
    direction: rtl;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

.container {
    width: min(calc(100% - 34px), var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: .3s ease;
}

.site-header.scrolled {
    background: rgba(7,9,13,.82);
    backdrop-filter: blur(22px);
    border-color: var(--line);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(246,215,143,.38);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(246,215,143,.22), rgba(226,184,92,.05)),
        #111720;
    box-shadow: inset 0 0 26px rgba(226,184,92,.08);
}

.brand-mark::before {
    content: "K";
    color: var(--gold-2);
    font-size: 1.25rem;
    font-weight: 900;
}

.brand-copy strong,
.brand-copy small {
    display: block;
}

.brand-copy strong {
    font-size: .98rem;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: .64rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 7px;
}

.main-nav a {
    padding: 10px 13px;
    border-radius: 12px;
    color: #c7ccd5;
    font-size: .82rem;
    transition: .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold-2);
    background: rgba(226,184,92,.09);
}

.header-actions {
    display: flex;
    gap: 9px;
}

.button {
    min-height: 46px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    background: rgba(255,255,255,.035);
    font-weight: 700;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
    border-color: rgba(226,184,92,.35);
}

.button.primary {
    color: #17120a;
    border-color: transparent;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    box-shadow: 0 12px 36px rgba(226,184,92,.18);
}

.button.danger {
    color: #fff;
    border-color: rgba(255,100,124,.3);
    background: rgba(255,100,124,.12);
}

.button.block {
    width: 100%;
}

.menu-toggle {
    width: 46px;
    height: 46px;
    display: none;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    background: var(--panel);
}

.page-hero {
    padding: 72px 0 46px;
}

.page-hero.compact {
    padding-bottom: 26px;
}

.eyebrow {
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(226,184,92,.28);
    border-radius: 999px;
    color: var(--gold-2);
    background: rgba(226,184,92,.07);
    font-size: .72rem;
}

.page-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    line-height: 1.25;
    letter-spacing: -2px;
}

.page-hero p {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--muted);
    line-height: 2;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 54px;
}

.hero-visual {
    position: relative;
    min-height: 510px;
    display: grid;
    place-items: center;
}

.hero-orbit {
    position: absolute;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(226,184,92,.16);
    border-radius: 50%;
    animation: spin 18s linear infinite;
}

.hero-orbit::before,
.hero-orbit::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 26px rgba(226,184,92,.8);
}

.hero-orbit::before {
    top: 28px;
    left: 68px;
}

.hero-orbit::after {
    right: 35px;
    bottom: 72px;
}

.mock-phone {
    position: relative;
    z-index: 2;
    width: min(330px, 88%);
    min-height: 540px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid rgba(246,215,143,.28);
    border-radius: 42px;
    background:
        linear-gradient(160deg, rgba(255,255,255,.06), transparent 22%),
        #0e131b;
    box-shadow: var(--shadow);
    transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
    animation: phoneFloat 5s ease-in-out infinite;
}

.mock-notch {
    width: 112px;
    height: 24px;
    margin: 0 auto 22px;
    border-radius: 0 0 16px 16px;
    background: #05070a;
}

.market-panel,
.signal-panel,
.stat-box,
.card,
.form-card,
.dashboard-card,
.price-card,
.info-card {
    border: 1px solid var(--line);
    background:
        linear-gradient(145deg, rgba(255,255,255,.035), transparent 36%),
        var(--panel);
    box-shadow: 0 22px 70px rgba(0,0,0,.18);
}

.market-panel {
    padding: 18px;
    border-radius: 22px;
}

.market-header,
.signal-header,
.card-header,
.account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.market-header span,
.muted {
    color: var(--muted);
}

.chart {
    height: 145px;
    margin: 20px 0 14px;
    position: relative;
    overflow: hidden;
}

.chart svg {
    width: 100%;
    height: 100%;
}

.chart path {
    fill: none;
    stroke: var(--gold);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: draw 3s ease forwards .4s;
}

.signal-panel {
    margin-top: 13px;
    padding: 16px;
    border-radius: 20px;
}

.signal-badge {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--success);
    background: rgba(50,213,131,.1);
    font-size: .7rem;
}

.signal-values {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.signal-values div {
    padding: 11px 8px;
    text-align: center;
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}

.signal-values small,
.signal-values strong {
    display: block;
}

.signal-values small {
    color: var(--muted);
    font-size: .62rem;
}

.signal-values strong {
    margin-top: 6px;
    font-size: .8rem;
}

.floating-card {
    position: absolute;
    z-index: 3;
    max-width: 210px;
    padding: 13px 15px;
    border: 1px solid rgba(226,184,92,.25);
    border-radius: 17px;
    background: rgba(14,19,27,.9);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card strong,
.floating-card span {
    display: block;
}

.floating-card span {
    margin-top: 5px;
    color: var(--muted);
    font-size: .68rem;
}

.floating-one {
    top: 72px;
    right: -4px;
}

.floating-two {
    left: -8px;
    bottom: 72px;
    animation-delay: -2s;
}

.section {
    padding: 82px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.section-heading p {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 2;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.three {
    grid-template-columns: repeat(3, 1fr);
}

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

.card,
.info-card,
.dashboard-card {
    padding: 24px;
    border-radius: var(--radius);
}

.card {
    min-height: 210px;
    transition: transform .25s ease, border-color .25s ease;
}

.card:hover {
    transform: translateY(-7px);
    border-color: rgba(226,184,92,.27);
}

.card-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 16px;
    color: var(--gold-2);
    background: rgba(226,184,92,.1);
    font-size: 1.2rem;
}

.card h3 {
    margin: 0 0 12px;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
    font-size: .86rem;
}

.auth-shell {
    min-height: calc(100vh - 79px);
    padding: 52px 0 80px;
    display: grid;
    align-items: center;
}

.auth-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.auth-copy {
    padding: 30px;
}

.auth-copy h1 {
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 4rem);
}

.auth-copy p {
    color: var(--muted);
    line-height: 2;
}

.auth-benefits {
    margin-top: 30px;
    display: grid;
    gap: 12px;
}

.auth-benefit {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #d7dbe2;
}

.auth-benefit::before {
    content: "✓";
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--success);
    background: rgba(50,213,131,.1);
}

.form-card {
    padding: 30px;
    border-radius: 30px;
}

.form-card h2 {
    margin: 0 0 8px;
}

.form-card > p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.8;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.field {
    display: grid;
    gap: 8px;
    margin-bottom: 15px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    color: #d8dce4;
    font-size: .8rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    outline: none;
    border-radius: 14px;
    color: var(--text);
    background: rgba(255,255,255,.035);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(226,184,92,.55);
    box-shadow: 0 0 0 4px rgba(226,184,92,.08);
}

.checkbox-row {
    margin: 14px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.8;
}

.checkbox-row input {
    margin-top: 5px;
    accent-color: var(--gold);
}

.form-links {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: .78rem;
}

.form-links a {
    color: var(--gold-2);
}

.notice {
    display: none;
    margin: 15px 0;
    padding: 13px 15px;
    border-radius: 14px;
    line-height: 1.8;
    font-size: .8rem;
}

.notice.show {
    display: block;
}

.notice.success {
    color: #baf4d4;
    border: 1px solid rgba(50,213,131,.25);
    background: rgba(50,213,131,.09);
}

.notice.error {
    color: #ffc1cc;
    border: 1px solid rgba(255,100,124,.25);
    background: rgba(255,100,124,.09);
}

.notice.info {
    color: #f7dfab;
    border: 1px solid rgba(226,184,92,.25);
    background: rgba(226,184,92,.09);
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    align-items: start;
}

.dashboard-sidebar {
    position: sticky;
    top: 98px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
}

.dashboard-sidebar a,
.dashboard-sidebar button {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    border: 0;
    border-radius: 12px;
    color: #cbd0d9;
    background: transparent;
    text-align: right;
}

.dashboard-sidebar a:hover,
.dashboard-sidebar a.active,
.dashboard-sidebar button:hover {
    color: var(--gold-2);
    background: rgba(226,184,92,.08);
}

.dashboard-content {
    min-width: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-box {
    padding: 20px;
    border-radius: 20px;
}

.stat-box span,
.stat-box strong {
    display: block;
}

.stat-box span {
    color: var(--muted);
    font-size: .75rem;
}

.stat-box strong {
    margin-top: 11px;
    font-size: 1.35rem;
}

.account-row {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.account-row:last-child {
    border-bottom: 0;
}

.account-row span {
    color: var(--muted);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.price-card {
    position: relative;
    padding: 30px;
    overflow: hidden;
    border-radius: 28px;
}

.price-card.recommended {
    border-color: rgba(226,184,92,.35);
}

.price-card.recommended::before {
    content: "پیشنهاد ویژه";
    position: absolute;
    top: 22px;
    left: -36px;
    width: 150px;
    padding: 8px 0;
    text-align: center;
    color: #17120a;
    background: var(--gold);
    transform: rotate(-40deg);
    font-size: .67rem;
    font-weight: 900;
}

.price-card h2 {
    margin: 0;
}

.price {
    margin: 22px 0;
}

.price strong {
    display: block;
    font-size: 2rem;
    color: var(--gold-2);
}

.price span {
    color: var(--muted);
}

.feature-list {
    margin: 22px 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 10px;
    color: #d5d9e1;
}

.feature-list li::before {
    content: "✓";
    color: var(--success);
}

.invoice-box {
    display: none;
    margin-top: 22px;
    padding: 20px;
    border: 1px solid rgba(226,184,92,.24);
    border-radius: 18px;
    background: rgba(226,184,92,.06);
}

.invoice-box.show {
    display: block;
}

.code-box {
    padding: 12px;
    overflow-wrap: anywhere;
    border-radius: 12px;
    color: var(--gold-2);
    background: rgba(0,0,0,.25);
    direction: ltr;
    text-align: left;
    font-family: monospace;
}

.download-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
}

.terms-reader {
    max-height: 66vh;
    padding: 24px;
    overflow: auto;
    white-space: pre-wrap;
    border: 1px solid var(--line);
    border-radius: 22px;
    color: #d7dbe3;
    background: var(--panel);
    line-height: 2.2;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
}

.faq-item button {
    width: 100%;
    min-height: 64px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0;
    color: var(--text);
    background: transparent;
    text-align: right;
}

.faq-answer {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    color: var(--muted);
    line-height: 2;
    transition: max-height .35s ease, padding .35s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.site-footer {
    padding: 40px 0 22px;
    border-top: 1px solid var(--line);
    background: rgba(0,0,0,.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 35px;
}

.footer-col h4 {
    margin: 0 0 17px;
}

.footer-col a {
    margin-top: 11px;
    display: block;
    color: var(--muted);
    font-size: .8rem;
}

.footer-col a:hover {
    color: var(--gold-2);
}

.footer-description {
    max-width: 360px;
    color: var(--muted);
    line-height: 2;
    font-size: .82rem;
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .72rem;
}

.loader {
    width: 18px;
    height: 18px;
    display: none;
    border: 2px solid rgba(0,0,0,.22);
    border-top-color: #17120a;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

.loading .loader {
    display: inline-block;
}

.loading .button-label {
    opacity: .7;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes draw {
    to { stroke-dashoffset: 0; }
}

@keyframes phoneFloat {
    0%, 100% {
        transform: perspective(900px) rotateY(-8deg) rotateX(3deg) translateY(0);
    }
    50% {
        transform: perspective(900px) rotateY(-4deg) rotateX(1deg) translateY(-12px);
    }
}

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

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

@media (max-width: 980px) {
    .main-nav {
        position: fixed;
        top: 78px;
        right: 17px;
        left: 17px;
        padding: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(11,14,20,.96);
        backdrop-filter: blur(22px);
    }

    .site-header.menu-visible .main-nav {
        display: flex;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .header-actions .button:not(.primary) {
        display: none;
    }

    .hero-grid,
    .auth-grid,
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .auth-copy {
        text-align: center;
    }

    .eyebrow,
    .hero-copy p,
    .auth-copy p {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .dashboard-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

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

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

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 22px), var(--container));
    }

    .header-actions .primary {
        display: none;
    }

    .page-hero {
        padding-top: 48px;
    }

    .page-hero h1 {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .hero-visual {
        min-height: 590px;
    }

    .mock-phone {
        width: 100%;
        transform: none;
    }

    .floating-card {
        display: none;
    }

    .grid.three,
    .grid.two,
    .stat-grid,
    .price-grid,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .form-card {
        padding: 22px 17px;
    }

    .auth-copy {
        padding: 10px;
    }

    .dashboard-sidebar {
        grid-template-columns: 1fr 1fr;
    }

    .download-card {
        grid-template-columns: 1fr;
    }

    .footer-bottom,
    .form-links {
        flex-direction: column;
    }
}


/* ==========================================================
   BEGIN TAHLILCLUB CREATIVE UI V1
   ========================================================== */


/*
 * Visual polish layer only.
 * No functional or business logic dependencies.
 */


:root {
    --creative-glow:
        rgba(226, 184, 92, .18);

    --creative-blue:
        rgba(91, 117, 255, .15);

    --creative-surface:
        rgba(255, 255, 255, .025);
}


/* ----------------------------------------------------------
   HERO DEPTH
   ---------------------------------------------------------- */

.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    width: min(58vw, 760px);
    height: min(58vw, 760px);
    right: -22vw;
    top: -22vw;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(
            circle,
            rgba(226,184,92,.11) 0%,
            rgba(226,184,92,.045) 34%,
            transparent 68%
        );
    filter: blur(1px);
    animation:
        creativeHeroAura
        12s
        ease-in-out
        infinite;
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    left: -310px;
    bottom: -250px;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(
            circle,
            rgba(71,94,255,.10),
            transparent 68%
        );
}

.hero-copy,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    text-wrap: balance;
}

.hero-copy h1::selection {
    background:
        rgba(226,184,92,.30);
}


/* ----------------------------------------------------------
   HERO INTERACTIVE LIGHT
   ---------------------------------------------------------- */

.hero-visual {
    --hero-x: 50%;
    --hero-y: 50%;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 4%;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    opacity: .72;
    background:
        radial-gradient(
            circle at
            var(--hero-x)
            var(--hero-y),
            rgba(246,215,143,.14),
            transparent 37%
        );
    transition:
        background-position
        .18s
        ease-out;
}


/* ----------------------------------------------------------
   PHONE / DASHBOARD
   ---------------------------------------------------------- */

.mock-phone {
    box-shadow:
        0 35px 90px rgba(0,0,0,.42),
        0 0 65px rgba(226,184,92,.07),
        inset 0 1px 0 rgba(255,255,255,.09);
}

.market-panel {
    position: relative;
    overflow: hidden;
}

.market-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            110deg,
            transparent 30%,
            rgba(255,255,255,.025) 47%,
            rgba(246,215,143,.05) 50%,
            rgba(255,255,255,.025) 53%,
            transparent 70%
        );
    background-size: 220% 100%;
    animation:
        creativePanelScan
        8s
        ease-in-out
        infinite;
}


/* ----------------------------------------------------------
   CARDS
   ---------------------------------------------------------- */

.card,
.info-card,
.tech-node,
.market-panel {
    --pointer-x: 50%;
    --pointer-y: 50%;
}

.card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    background:
        radial-gradient(
            320px circle at
            var(--pointer-x)
            var(--pointer-y),
            rgba(246,215,143,.105),
            transparent 60%
        );
    transition:
        opacity
        .28s
        ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    border-color:
        rgba(226,184,92,.26);

    box-shadow:
        0 20px 50px rgba(0,0,0,.22),
        0 0 28px rgba(226,184,92,.035);
}

.card-icon {
    position: relative;
    isolation: isolate;
}

.card-icon::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: inherit;
    z-index: -1;
    opacity: .55;
    background:
        radial-gradient(
            circle,
            rgba(226,184,92,.15),
            transparent 68%
        );
}


/* ----------------------------------------------------------
   SECTION HEADINGS
   ---------------------------------------------------------- */

.enhanced-heading h2 {
    position: relative;
    display: inline-block;
    text-wrap: balance;
}

.enhanced-heading h2::after {
    content: "";
    display: block;
    width: 74px;
    height: 2px;
    margin-top: 16px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            var(--gold),
            rgba(226,184,92,.15),
            transparent
        );
}

.enhanced-heading .eyebrow {
    letter-spacing: .025em;
}


/* ----------------------------------------------------------
   REVEAL STAGGER
   ---------------------------------------------------------- */

.reveal {
    transition-delay:
        var(--reveal-delay, 0ms);
}


/* ==========================================================
   TECHNOLOGY FLOW
   ========================================================== */

.technology-flow-section {
    position: relative;
    overflow: hidden;
}

.technology-flow-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    right: -300px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    background:
        radial-gradient(
            circle,
            rgba(71,94,255,.075),
            transparent 68%
        );
}

.tech-flow {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(120px, 1fr)
        38px
        minmax(120px, 1fr)
        38px
        minmax(120px, 1fr)
        38px
        minmax(120px, 1fr)
        38px
        minmax(120px, 1fr)
        38px
        minmax(120px, 1fr);

    align-items: stretch;

    gap: 7px;

    margin-top: 46px;

    padding: 28px;

    border: 1px solid
        rgba(255,255,255,.075);

    border-radius: 30px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.032),
            rgba(255,255,255,.012)
        );

    box-shadow:
        0 28px 75px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.035);
}

.tech-flow::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(226,184,92,.035),
            transparent
        );

    transform:
        translateX(-100%);

    animation:
        creativeFlowSweep
        8s
        ease-in-out
        infinite;
}

.tech-flow-line {
    position: absolute;
    top: 50%;
    right: 6%;
    left: 6%;
    height: 1px;

    transform:
        scaleX(0);

    transform-origin:
        right center;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(226,184,92,.20),
            rgba(226,184,92,.55),
            rgba(226,184,92,.20),
            transparent
        );

    transition:
        transform
        1.7s
        cubic-bezier(.2,.8,.2,1)
        .1s;
}

.tech-flow.flow-visible
.tech-flow-line {
    transform:
        scaleX(1);
}

.tech-node {
    position: relative;
    z-index: 2;

    min-height: 140px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 20px 12px;

    border: 1px solid
        rgba(255,255,255,.075);

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(8,11,16,.80)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04);

    opacity: 0;

    transform:
        translateY(15px)
        scale(.97);

    transition:
        opacity .55s ease,
        transform .55s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.tech-flow.flow-visible
.tech-node {
    opacity: 1;

    transform:
        none;
}

.tech-flow.flow-visible
.tech-node:nth-of-type(2) {
    transition-delay: .10s;
}

.tech-flow.flow-visible
.tech-node:nth-of-type(4) {
    transition-delay: .20s;
}

.tech-flow.flow-visible
.tech-node:nth-of-type(6) {
    transition-delay: .30s;
}

.tech-flow.flow-visible
.tech-node:nth-of-type(8) {
    transition-delay: .40s;
}

.tech-flow.flow-visible
.tech-node:nth-of-type(10) {
    transition-delay: .50s;
}

.tech-flow.flow-visible
.tech-node:nth-of-type(12) {
    transition-delay: .60s;
}

.tech-node:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(226,184,92,.25);

    box-shadow:
        0 16px 38px rgba(0,0,0,.25),
        0 0 24px rgba(226,184,92,.05);
}

.tech-node-index {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    margin-bottom: 15px;

    border-radius: 12px;

    font-size: 11px;
    font-weight: 800;

    color:
        var(--gold-2);

    border:
        1px solid
        rgba(226,184,92,.19);

    background:
        rgba(226,184,92,.06);

    box-shadow:
        inset 0 0 22px
        rgba(226,184,92,.035);
}

.tech-node strong {
    font-size: 14px;
    letter-spacing: .02em;
}

.tech-node span {
    display: block;
    margin-top: 8px;

    color:
        var(--muted);

    font-size: 12px;
    line-height: 1.8;
}

.tech-flow-arrow {
    position: relative;
    z-index: 2;

    display: grid;
    place-items: center;

    color:
        rgba(226,184,92,.48);

    font-size: 19px;

    opacity: 0;

    transform:
        translateX(7px);

    transition:
        opacity .5s ease,
        transform .5s ease;
}

.tech-flow.flow-visible
.tech-flow-arrow {
    opacity: 1;
    transform: none;
}


/* ----------------------------------------------------------
   INFO CARDS
   ---------------------------------------------------------- */

.info-card {
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -180px;
    top: -180px;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(
            circle,
            rgba(226,184,92,.085),
            transparent 68%
        );
}


/* ----------------------------------------------------------
   BUTTON POLISH
   ---------------------------------------------------------- */

.button {
    position: relative;
    overflow: hidden;
}

.button::after {
    content: "";
    position: absolute;
    inset: 0;

    transform:
        translateX(-115%);

    pointer-events: none;

    background:
        linear-gradient(
            110deg,
            transparent 30%,
            rgba(255,255,255,.09) 48%,
            transparent 68%
        );

    transition:
        transform
        .65s
        ease;
}

.button:hover::after {
    transform:
        translateX(115%);
}


/* ----------------------------------------------------------
   MOTION
   ---------------------------------------------------------- */

@keyframes creativeHeroAura {

    0%,
    100% {
        transform:
            translate3d(0,0,0)
            scale(1);
        opacity: .72;
    }

    50% {
        transform:
            translate3d(-24px,20px,0)
            scale(1.08);
        opacity: 1;
    }
}


@keyframes creativePanelScan {

    0%,
    25% {
        background-position:
            130% 0;
    }

    70%,
    100% {
        background-position:
            -130% 0;
    }
}


@keyframes creativeFlowSweep {

    0%,
    25% {
        transform:
            translateX(-100%);
    }

    65%,
    100% {
        transform:
            translateX(100%);
    }
}


/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 1180px) {

    .tech-flow {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        gap: 14px;
    }

    .tech-flow-line,
    .tech-flow-arrow {
        display: none;
    }

    .tech-node {
        min-height: 130px;
    }
}


@media (max-width: 680px) {

    .page-hero::before {
        width: 520px;
        height: 520px;
        right: -350px;
        top: -250px;
    }

    .tech-flow {
        grid-template-columns:
            1fr;

        padding: 16px;

        border-radius: 23px;
    }

    .tech-node {
        min-height: 112px;
    }

    .enhanced-heading h2::after {
        margin-right: auto;
        margin-left: auto;
    }

}


/* ----------------------------------------------------------
   ACCESSIBILITY
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .page-hero::before,
    .market-panel::after,
    .tech-flow::before {
        animation: none !important;
    }

    .tech-flow-line {
        transform: none !important;
    }

    .tech-node,
    .tech-flow-arrow {
        opacity: 1 !important;
        transform: none !important;
    }

}


/* ==========================================================
   END TAHLILCLUB CREATIVE UI V1
   ========================================================== */
