@font-face {
    font-family: Peyda;
    font-style: normal;
    font-weight: 100;
    src: url('../assets/fonts/iyekan/IRANYekanWebRegular.eot');
    src: url('../assets/fonts/iyekan/IRANYekanWebRegular.eot?#iefix') format("embedded-opentype"), url('../assets/fonts/iyekan/IRANYekanX-Regular.woff') format("woff"), url('../assets/fonts/iyekan/IRANYekanX-Regular.woff2') format("woff2"), url('../assets/fonts/iyekan/IRANYekanRegular.ttf') format("truetype");
    /*unicode-range: U+30-39;*/
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('../assets/fonts/isans/IRANSansWeb_Bold.eot');
    src: url('../assets/fonts/isans/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../assets/fonts/isans/IRANSansX-Bold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../assets/fonts/isans/IRANSansX-Bold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../assets/fonts/isans/IRANSansXFaNum-Bold.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('../assets/fonts/isans/IRANSansWeb_Medium.eot');
    src: url('../assets/fonts/isans/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../assets/fonts/isans/IRANSansX-Bold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../assets/fonts/isans/IRANSansX-Bold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../assets/fonts/isans/IRANSansXFaNum-Bold.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('../assets/fonts/isans/IRANSansWeb_Light.eot');
    src: url('../assets/fonts/isans/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../assets/fonts/isans/IRANSansX-Regular.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../assets/fonts/isans/IRANSansX-Regular.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../assets/fonts/isans/IRANSansXFaNum-Regular.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('../assets/fonts/isans/IRANSansWeb_UltraLight.eot');
    src: url('../assets/fonts/isans/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../assets/fonts/isans/IRANSansX-Regular.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../assets/fonts/isans/IRANSansX-Regular.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../assets/fonts/isans/IRANSansXFaNum-Regular.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../assets/fonts/isans/IRANSansWeb.eot');
    src: url('../assets/fonts/isans/IRANSansWeb.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../assets/fonts/isans/IRANSansX-Regular.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../assets/fonts/isans/IRANSansX-Regular.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../assets/fonts/isans/IRANSansXFaNum-Regular.ttf') format('truetype');
}

:root {
    /* Color */
    --bg: #FAFCFB;
    --bg-alt: #F2F8F5;
    --surface: #FFFFFF;
    --border: #E3ECE7;
    --ink: #0E1F1A;
    --ink-soft: #4B5C56;
    --ink-faint: #8A9A94;
    --green-700: #0F8B6C;
    --green-600: #13A07B;
    --green-100: #E7F6F0;
    --blue-600: #2F8FE0;
    --blue-100: #EAF3FC;
    --blue-brand: #0052cc;
    --grad: linear-gradient(120deg, var(--green-600) 0%, var(--blue-600) 100%);
    /* Type */
    --font: IRANSans, Peyda;
    /* Radius */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-pill: 999px;
    /* Shadow */
    --shadow-sm: 0 2px 10px rgba(15, 40, 32, 0.06);
    --shadow-md: 0 12px 32px rgba(15, 40, 32, 0.10);
    --shadow-lg: 0 24px 60px rgba(15, 40, 32, 0.14);
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    direction: rtl;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

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

:focus-visible {
    outline: 2.5px solid var(--blue-600);
    outline-offset: 3px;
    border-radius: 6px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15.5px;
    padding: 14px 26px;
    border-radius: var(--r-pill);
    white-space: nowrap;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

    .btn svg {
        transform: rotate(180deg);
        flex-shrink: 0;
    }

.btn--primary {
    background: var(--grad);
    color: #fff;
    box-shadow: var(--shadow-md);
}

    .btn--primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn--ghost {
    background: var(--surface);
    color: var(--ink);
    border: 1.5px solid var(--border);
}

    .btn--ghost:hover {
        border-color: var(--green-600);
        color: var(--green-700);
    }

.btn--lg {
    padding: 16px 34px;
    font-size: 17px;
}

/* =========================================================
   Header
   ========================================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 252, 251, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

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

.brand__mark svg,
.brand__mark img {
    border-radius: 12px;
    overflow: hidden;
    display: block;
}

.brand__text {
    font-weight: 800;
    font-size: 28px;
    /* letter-spacing: 0.2px; */
    color: var(--blue-brand);
}

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

.nav__link {
    position: relative;
    font-weight: 500;
    font-size: 15px;
    color: var(--ink-soft);
    padding: 6px 0;
    transition: color .2s ease;
}

    .nav__link::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: -2px;
        width: 0;
        height: 2px;
        background: var(--grad);
        border-radius: 2px;
        transition: width .25s ease;
    }

    .nav__link:hover {
        color: var(--ink);
    }

        .nav__link:hover::after, .nav__link.is-active::after {
            width: 100%;
        }

    .nav__link.is-active {
        color: var(--ink);
    }

.header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.auth-link {
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--border);
    transition: border-color .2s ease, background .2s ease;
}

    .auth-link:hover {
        border-color: var(--green-600);
        background: var(--green-100);
    }

.auth-divider {
    color: var(--ink-faint);
    font-weight: 400;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

    .burger span {
        width: 22px;
        height: 2px;
        background: var(--ink);
        border-radius: 2px;
        transition: transform .25s ease, opacity .25s ease;
    }

.mobile-nav {
    display: none;
    flex-direction: column;
    position: sticky;
    top: 76px;
    z-index: 99;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 18px;
}

    .mobile-nav a {
        padding: 12px 4px;
        font-weight: 500;
        color: var(--ink-soft);
        border-bottom: 1px solid var(--border);
    }

        .mobile-nav a:last-child {
            border-bottom: none;
        }

.mobile-nav__auth {
    color: var(--green-700) !important;
    font-weight: 700 !important;
}

.mobile-nav.is-open {
    display: flex;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    padding: 90px 0 110px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 720px;
    background: radial-gradient(circle at 18% 20%, rgba(19,160,123,0.16), transparent 55%), radial-gradient(circle at 75% 0%, rgba(47,143,224,0.14), transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 50px;
}

.hero__copy {
    order: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--green-700);
    background: var(--green-100);
    padding: 7px 16px;
    border-radius: var(--r-pill);
    margin-bottom: 22px;
}

.hero__title {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
}

.hero__title-accent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__desc {
    font-size: 16.5px;
    font-weight: 550;
    color: var(--ink-soft);
    max-width: 540px;
    margin-bottom: 34px;
}

.hero__cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 38px;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-avatars {
    display: flex;
}

    .trust-avatars img {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 2.5px solid var(--bg);
        margin-right: -12px;
        object-fit: cover;
    }

.hero__trust span {
    font-size: 14px;
    color: var(--ink-soft);
}

.hero__trust strong {
    color: var(--ink);
}

/* ---- Hero visual: floating cards ---- */
.hero__visual {
    order: 1;
    position: relative;
    min-height: 480px;
}

.float-card {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    padding: 18px;
}

.float-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.float-card__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
}

.float-card__badge {
    margin-right: auto;
    font-size: 11px;
    font-weight: 700;
    color: #D14B4B;
    background: #FCEAEA;
    padding: 3px 9px;
    border-radius: var(--r-pill);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot--ig {
    background: var(--grad);
}

.float-card--dm {
    top: 10px;
    right: 0;
    width: 300px;
    animation: floatA 7s ease-in-out infinite;
}

.dm-msg {
    display: flex;
    gap: 10px;
}

.dm-msg__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.dm-msg__bubble {
    background: var(--bg-alt);
    border-radius: var(--r-md) var(--r-md) var(--r-md) 4px;
    padding: 10px 13px;
    font-size: 13px;
    color: var(--ink);
}

.dm-msg__time {
    display: block;
    font-size: 11px;
    color: var(--ink-faint);
    margin-top: 4px;
}

.dm-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 10px auto 0;
    width: fit-content;
    color: var(--ink-faint);
}

    .dm-arrow span {
        font-size: 11px;
        font-weight: 600;
    }

.float-card--order {
    top: 230px;
    right: 60px;
    width: 320px;
    animation: floatB 8s ease-in-out infinite;
    z-index: 2;
}

.status-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: var(--r-pill);
    margin-right: auto;
}

.status-pill--new {
    background: #E7F6F0;
    color: var(--green-700);
}

.status-pill--ship {
    background: #EAF3FC;
    color: var(--blue-600);
}

.status-pill--done {
    background: #F1EEFA;
    color: #7C5CD1;
}

.order-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.order-row__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.order-row__info {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

    .order-row__info span {
        color: var(--ink-faint);
        font-size: 12px;
        margin-top: 2px;
    }

.order-row__price {
    margin-right: auto;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

    .order-row__price small {
        font-weight: 400;
        font-size: 11px;
        color: var(--ink-faint);
    }

.order-meta {
    display: flex;
    gap: 14px;
    font-size: 11.5px;
    color: var(--ink-faint);
    border-top: 1px dashed var(--border);
    padding-top: 12px;
}

.float-card--mini {
    bottom: 10px;
    left: -10px;
    width: 230px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    animation: floatC 6s ease-in-out infinite;
}

.mini-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.float-card--mini strong {
    display: block;
    font-size: 13px;
}

.float-card--mini span {
    font-size: 11.5px;
    color: var(--ink-faint);
}

@keyframes floatA {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatB {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

@keyframes floatC {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

/* =========================================================
   Section heads (shared)
   ========================================================= */
.section-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.eyebrow--center {
    display: flex;
    width: fit-content;
    margin: 0 auto 18px;
}

.section-title {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.4px;
    margin-bottom: 14px;
}

.section-title--start {
    text-align: start;
}

.section-desc {
    color: var(--ink-soft);
    font-size: 15.5px;
}

.section-desc--start {
    margin-bottom: 0;
}

/* =========================================================
   Features
   ========================================================= */
.features {
    padding: 100px 0;
}

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
        border-color: transparent;
    }

.feature-card--lg {
    grid-column: span 2;
}

.feature-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--icon-bg);
    color: var(--icon-fg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 17.5px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.75;
}

/* =========================================================
   Pricing
   ========================================================= */

/* Highlighted Card Elevation */
@media (min-width: 992px) {
    .card-highlight {
        transform: translateY(-15px);
    }
}

/* Spaced Accordion Items */
.accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 0.75rem !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #212529;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

/* Gradient Footer */
.footer-gradient {
    background: linear-gradient(to right, #10B981, #4F46E5);
    border-top-left-radius: 3rem;
    border-top-right-radius: 3rem;
}

/* =========================================================
   Training
   ========================================================= */
.training {
    padding: 100px 0;
    background: var(--bg-alt);
}

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

.training-list {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.training-item {
    display: flex;
    gap: 18px;
    padding: 18px 16px;
    border-radius: var(--r-md);
    transition: background .25s ease;
}

    .training-item:hover, .training-item.is-active {
        background: var(--surface);
        box-shadow: var(--shadow-sm);
    }

.training-item__num {
    font-weight: 800;
    font-size: 15px;
    color: var(--green-600);
    flex-shrink: 0;
    padding-top: 2px;
}

.training-item h4 {
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 6px;
}

.training-item p {
    font-size: 13.8px;
    color: var(--ink-soft);
}

.training__panel {
    position: relative;
}

.dash-mock {
    background: var(--surface);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.dash-mock__top {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 16px;
    background: #F5F8F7;
    border-bottom: 1px solid var(--border);
}

.dash-mock__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dash-mock__url {
    margin-right: auto;
    font-size: 11.5px;
    color: var(--ink-faint);
    direction: ltr;
}

.dash-mock__body {
    padding: 22px;
}

.dash-mock__stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.dash-mock__stat-label {
    font-size: 12.5px;
    color: var(--ink-faint);
}

.dash-mock__stat-value {
    font-size: 24px;
    font-weight: 800;
}

    .dash-mock__stat-value small {
        font-size: 13px;
        font-weight: 500;
        color: var(--ink-faint);
    }

.dash-mock__stat-trend {
    font-size: 12px;
    color: var(--green-700);
    font-weight: 600;
}

.dash-mock__chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 90px;
    margin-bottom: 24px;
}

.bar {
    flex: 1;
    height: var(--h);
    background: var(--blue-100);
    border-radius: 6px 6px 0 0;
}

.bar--accent {
    background: var(--grad);
}

.dash-mock__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-mock__row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.8px;
    padding: 10px 12px;
    background: var(--bg-alt);
    border-radius: var(--r-sm);
}

    .dash-mock__row span:nth-child(2) {
        font-weight: 600;
    }

    .dash-mock__row span:last-child {
        margin-right: auto;
        color: var(--ink-soft);
    }

.play-chip {
    position: absolute;
    bottom: -18px;
    left: -18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
}

.play-chip__icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* =========================================================
   Final CTA band
   ========================================================= */
.cta-band {
    padding: 90px 0;
}

.cta-band__inner {
    background: linear-gradient(135deg, #0F8B6C 0%, #2F8FE0 100%);
    border-radius: var(--r-lg);
    padding: 64px 40px;
    text-align: center;
    color: #fff;
}

    .cta-band__inner h2 {
        font-size: clamp(24px, 3vw, 32px);
        font-weight: 800;
        margin-bottom: 14px;
    }

    .cta-band__inner p {
        font-size: 15.5px;
        opacity: 0.92;
        margin-bottom: 30px;
    }

.cta-band .btn--primary {
    background: #fff;
    color: var(--green-700);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

    .cta-band .btn--primary svg {
        stroke: var(--green-700);
    }

    .cta-band .btn--primary:hover {
        transform: translateY(-2px);
    }

/* =========================================================
   Footer
   ========================================================= */
.footer {
    background: #0E1F1A;
    color: #C9D6D1;
    padding-top: 70px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand--footer .brand__text {
    color: #fff;
}

.footer__about-text {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.85;
    color: #9FB3AC;
    max-width: 360px;
}

.footer__title {
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

    .footer__links a {
        font-size: 14px;
        color: #9FB3AC;
        transition: color .2s ease;
    }

        .footer__links a:hover {
            color: #fff;
        }

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer__contact-row {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: #9FB3AC;
    direction: ltr;
    justify-content: flex-end;
    transition: color .2s ease;
}

    .footer__contact-row:hover {
        color: #fff;
    }

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

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9D6D1;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

    .social-btn:hover {
        background: var(--grad);
        border-color: transparent;
        color: #fff;
    }

.footer__bottom {
    padding: 22px 0;
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #6F8580;
}

.footer__col.footer__col--about {
    align-items: flex-start;
    background-color: rgba(0, 0, 0, 0.00);
    border: 0 solid black;
    box-sizing: border-box;
    display: flex;
    flex-basis: auto;
    flex-direction: column;
    flex-shrink: 0;
    list-style: none;
    margin: 0px;
    min-height: 0px;
    min-width: 0px;
    padding: 0px;
    position: relative;
    text-decoration: none;
    z-index: 0;
}

.footer__col .footer__col--lnks {
    align-items: center;
    flex-direction: row;
    align-items: stretch;
    background-color: rgba(0, 0, 0, 0.00);
    border: 0 solid black;
    box-sizing: border-box;
    display: flex;
    flex-basis: auto;
    flex-direction: column;
    flex-shrink: 0;
    list-style: none;
    margin: 0px;
    min-height: 0px;
    min-width: 0px;
    padding: 0px;
    position: relative;
    text-decoration: none;
    z-index: 0;
}

.footer__col--lnks .footer__lnks--enm {
    align-items: center;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-right-width: 1px;
    padding: 5px;
    border-bottom-color: rgba(0, 0, 0, 0.10);
    border-left-color: rgba(0, 0, 0, 0.10);
    border-right-color: rgba(0, 0, 0, 0.10);
    border-top-color: rgba(0, 0, 0, 0.10);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    align-items: stretch;
    background-color: rgba(0, 0, 0, 0.00);
    border: 0 solid black;
    box-sizing: border-box;
    display: flex;
    flex-basis: auto;
    flex-direction: column;
    flex-shrink: 0;
    list-style: none;
    margin: 0px;
    min-height: 0px;
    min-width: 0px;
    padding: 0px;
    position: relative;
    text-decoration: none;
    z-index: 0;
}
.footer__lnks--enm a {
    width: 80px;
    aspect-ratio: auto 80 / 80;
    height: 80px;
    aspect-ratio: auto 80 / 80;
    color: transparent;
    overflow-clip-margin: content-box;
    overflow: clip;
}


#box-widget-icon {
    float: left;
    position: fixed;
    z-index: 999;
    left: 20px;
    bottom: 20px;
    cursor: pointer;
    width: 80px;
    height: 80px;
    text-align: center;
    padding-top: 10px;
}

    #box-widget-icon:hover .widget-icon {
        transform: translateY(-8px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .3); /* Optional: makes it look like it's lifting off the page */
    }



.widget-icon {
    transition: all .2s ease !important;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .2), 0 1px 10px rgba(0, 0, 0, .15);
    margin: 0 auto;
}

    .widget-icon img {
        border-radius: 50%;
        width: 100%;
        height: 100%;
    }

/* =========================================================
   Inner content pages (privacy, rules, etc.)
   ========================================================= */
.page-hero {
    position: relative;
    padding: 64px 0 56px;
    overflow: hidden;
    text-align: center;
}

.page-hero__bg {
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 420px;
    background: radial-gradient(circle at 20% 30%, rgba(19,160,123,0.14), transparent 55%), radial-gradient(circle at 80% 10%, rgba(47,143,224,0.12), transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
}

.page-hero__title {
    font-size: clamp(28px, 3.6vw, 38px);
    font-weight: 800;
    letter-spacing: -0.4px;
    margin-bottom: 14px;
}

.page-hero__desc {
    color: var(--ink-soft);
    font-size: 15.5px;
    max-width: 620px;
    margin: 0 auto;
}

.page-hero__meta {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    font-size: 13px;
    color: var(--ink-faint);
}

.legal {
    padding: 10px 0 100px;
}

.legal__shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
}

/* side toc */
.legal-toc {
    position: sticky;
    top: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px 20px;
}

.legal-toc__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-faint);
    margin-bottom: 14px;
}

.legal-toc nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legal-toc a {
    font-size: 13.8px;
    color: var(--ink-soft);
    padding: 9px 12px;
    border-radius: var(--r-sm);
    transition: background .2s ease, color .2s ease;
}

    .legal-toc a:hover {
        background: var(--green-100);
        color: var(--green-700);
    }

/* legal body */
.legal-body {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 44px 44px 50px;
}

.legal-intro {
    font-size: 15.5px;
    color: var(--ink-soft);
    line-height: 1.95;
    padding-bottom: 32px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--border);
}

.legal-section {
    margin-bottom: 38px;
}

    .legal-section:last-child {
        margin-bottom: 0;
    }

.legal-section__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.legal-section__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--green-100);
    color: var(--green-700);
    font-weight: 800;
    font-size: 14px;
}

.legal-section h2 {
    font-size: 19px;
    font-weight: 700;
}

.legal-section p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.95;
    margin-bottom: 14px;
}

    .legal-section p:last-child {
        margin-bottom: 0;
    }

.legal-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
}

    .legal-list li {
        display: flex;
        gap: 12px;
        font-size: 15px;
        color: var(--ink-soft);
        line-height: 1.85;
        padding: 16px 18px;
        background: var(--bg-alt);
        border-radius: var(--r-md);
    }

        .legal-list li::before {
            content: '';
            width: 7px;
            height: 7px;
            margin-top: 9px;
            border-radius: 50%;
            background: var(--grad);
            flex-shrink: 0;
        }

.legal-section strong {
    color: var(--ink);
    font-weight: 700;
}

.legal-callout {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--r-md);
    background: var(--blue-100);
    border: 1px solid rgba(47,143,224,0.18);
    margin-top: 18px;
}

.legal-callout__icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--blue-600);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.legal-callout p {
    font-size: 14px;
    color: #2E5C84;
    margin: 0;
}

.legal-callout--warn {
    background: #FCEFE6;
    border-color: rgba(217,122,63,0.22);
}

    .legal-callout--warn .legal-callout__icon {
        background: #D97A3F;
    }

    .legal-callout--warn p {
        color: #7A4420;
    }

.legal-updated {
    margin-top: 28px;
    font-size: 13px;
    color: var(--ink-faint);
    text-align: center;
}

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

    .legal-toc {
        position: static;
    }

    .legal-body {
        padding: 32px 22px 38px;
    }
}

@media (max-width: 460px) {
    .legal-section__head {
        align-items: flex-start;
    }

    .legal-list li {
        padding: 14px;
        font-size: 14px;
    }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__copy {
        order: 1;
        text-align: center;
    }

    .hero__desc {
        margin-inline: auto;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__trust {
        justify-content: center;
    }

    .hero__visual {
        order: 2;
        max-width: 480px;
        margin: 40px auto 0;
    }

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

    .feature-card--lg {
        grid-column: span 2;
    }

    .training__inner {
        grid-template-columns: 1fr;
    }

    .training__copy {
        text-align: center;
    }

    .section-title--start {
        text-align: center;
    }

    .section-desc--start {
        margin: 0 auto;
        max-width: 480px;
    }

    .training-item {
        text-align: start;
    }

    .training__panel {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 760px) {
    .nav {
        display: none;
    }

    .auth-link {
        display: none;
    }

    .burger {
        display: flex;
    }

    .mobile-nav {
        display: none;
    }

        .mobile-nav.is-open {
            display: flex;
        }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card--lg {
        grid-column: span 1;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer__bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 460px) {
    .hero {
        padding: 60px 0 70px;
    }

    .float-card--dm {
        width: 260px;
    }

    .float-card--order {
        width: 270px;
        right: 20px;
    }

    .float-card--mini {
        width: 200px;
        left: -6px;
    }

    .cta-band__inner {
        padding: 44px 22px;
    }
}
