@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/manrope-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/manrope-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir/vazir-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir/vazir-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --teal: #1BAD87;
    --teal-hi: #22c99a;
    --teal-dark: #0d6b50;
    --teal-dim: rgba(27, 173, 135, .12);
    --teal-glow: rgba(27, 173, 135, .4);
    --bg: #050f0c;
    --bg2: #071410;
    --card: rgba(9, 22, 17, .88);
    --border: rgba(27, 173, 135, .14);
    --border-hi: rgba(27, 173, 135, .3);
    --text: #dff0e8;
    --muted: rgba(223, 240, 232, .5);
    --muted2: rgba(223, 240, 232, .3);
    --white: #fff;
    --fe: 'Manrope', 'Helvetica Neue', sans-serif;
    --fb: 'Manrope', 'Helvetica Neue', sans-serif;
    --ff: 'Vazir', 'Tahoma', 'Arial Unicode MS', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--fb);
    overflow-x: hidden;
    min-height: 100vh;
}

/* noise */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .018;
    pointer-events: none;
    z-index: 900;
    transform: translateZ(0);
}

/* ── BG GLOW ── */
.bg-glow {
    position: fixed;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 50% 35%, rgba(27, 173, 135, .14) 0%, transparent 68%);
}

.bg-glow2 {
    position: fixed;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(27, 173, 135, .07) 0%, transparent 70%);
}

/* ── STARS ── */
.stars {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle linear infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
}

@keyframes twinkle {
    0%, 100% {
        opacity: .08;
        transform: scale(.7)
    }
    50% {
        opacity: .9;
        transform: scale(1.3)
    }
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    border-bottom: 1px solid rgba(27, 173, 135, .07);
    background: rgba(5, 15, 12, .75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    animation: navIn .9s ease both;
}

@keyframes navIn {
    from {
        opacity: 0;
        transform: translateY(-24px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-icon {
    width: 38px;
    height: 38px;
    background: var(--teal);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 18px rgba(27, 173, 135, .5);
}

.nav-icon svg {
    width: 24px;
    height: 24px;
}

.nav-en {
    font-family: var(--fe);
    font-size: 17px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1;
}

.nav-fa {
    font-family: var(--ff);
    font-size: 10.5px;
    color: var(--teal);
    direction: rtl;
    opacity: .8;
    line-height: 1;
}

.badge {
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(27, 173, 135, .07);
    border: 1px solid var(--border-hi);
    border-radius: 100px;
    padding: 6px 18px;
}

.bdot {
    width: 7px;
    height: 7px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--teal);
    animation: bdot 1.7s ease-in-out infinite;
}

@keyframes bdot {
    0%, 100% {
        box-shadow: 0 0 6px var(--teal);
        opacity: 1
    }
    50% {
        box-shadow: 0 0 14px var(--teal);
        opacity: .5
    }
}

.badge-en {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--teal);
}

.badge-sep {
    color: var(--border-hi);
    font-size: 11px;
}

.badge-fa {
    font-family: var(--ff);
    font-size: 10px;
    color: var(--teal);
    opacity: .75;
    direction: rtl;
}

.nav-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-decoration: none;
    gap: 2px;
}

.nav-cta-en {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    transition: color .2s;
}

.nav-cta-fa {
    font-family: var(--ff);
    font-size: 10px;
    color: var(--muted2);
    direction: rtl;
}

.nav-cta:hover .nav-cta-en {
    color: var(--teal);
}

/* ── HERO ── */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 130px 24px 80px;
    text-align: center;
}

/* Logo scene */
.logo-scene {
    position: relative;
    margin-bottom: 32px;
    display: inline-block;
    animation: sceneIn 1.4s cubic-bezier(.22, 1, .36, 1) both .2s;
}

@keyframes sceneIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(.7)
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

/* Orbit rings */
.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ring1 {
    width: 300px;
    height: 300px;
    border: 1px solid rgba(27, 173, 135, .3);
    background: transparent;
    animation: spin1 22s linear infinite;
}

.ring1::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--teal);
    transform: translateX(-50%);
}

.ring2 {
    width: 240px;
    height: 240px;
    border: 1px dashed rgba(27, 173, 135, .18);
    animation: spin1 16s linear infinite reverse;
}

@keyframes spin1 {
    from {
        transform: translate(-50%, -50%) rotate(0deg)
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

/* Floating box */
.logo-box {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    animation: lFloat 7s ease-in-out infinite;
    transform-style: preserve-3d;
    will-change: transform;
}

@keyframes lFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(-4deg)
    }
    33% {
        transform: translateY(-18px) rotateX(6deg) rotateY(6deg)
    }
    66% {
        transform: translateY(-10px) rotateX(-3deg) rotateY(-8deg)
    }
}

.logo-inner {
    width: 100%;
    height: 100%;
    background: var(--teal);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 -6px 0 rgba(0, 0, 0, .3) inset, 0 6px 40px rgba(27, 173, 135, .65), 0 20px 80px rgba(27, 173, 135, .32), 0 50px 130px rgba(27, 173, 135, .15);
}

.logo-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: linear-gradient(140deg, rgba(255, 255, 255, .2) 0%, transparent 55%);
}

.logo-inner svg {
    width: 98px;
    height: 98px;
    position: relative;
    z-index: 1;
}

/* Floating polygons */
.poly {
    position: absolute;
    border: 1px solid rgba(27, 173, 135, .28);
    animation: polySpin linear infinite;
    pointer-events: none;
}

.p1 {
    width: 54px;
    height: 54px;
    top: 18px;
    left: -72px;
    border-radius: 5px;
    animation-duration: 13s;
}

.p2 {
    width: 38px;
    height: 38px;
    top: 50px;
    right: -78px;
    border-radius: 50%;
    animation-duration: 9s;
    animation-direction: reverse;
}

.p3 {
    width: 46px;
    height: 46px;
    bottom: 10px;
    left: -85px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    animation-duration: 17s;
}

.p4 {
    width: 32px;
    height: 32px;
    bottom: 36px;
    right: -62px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    animation-duration: 11s;
    animation-direction: reverse;
}

@keyframes polySpin {
    from {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(360deg)
    }
}

/* coming tag */
.coming-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-hi);
    border-radius: 100px;
    padding: 6px 20px;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    animation: fadeUp .9s ease both .8s;
}

.coming-tag-fa {
    font-family: var(--ff);
    font-size: 10px;
    direction: rtl;
    color: var(--muted2);
    border-left: 1px solid var(--border);
    padding-left: 12px;
}

/* Headline */
.h1 {
    font-family: var(--fe);
    font-size: clamp(46px, 8.5vw, 88px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -2px;
    color: var(--white);
    margin-bottom: 8px;
    animation: fadeUp .9s ease both 1s;
}

.h1 .ac {
    color: var(--teal);
}

/* sub */
.sub {
    max-width: 580px;
    margin: 0 auto 14px;
    animation: fadeUp .9s ease both 1.1s;
}

.sub-fa {
    font-family: var(--ff);
    font-size: 13px;
    direction: rtl;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 6px;
}

.sub-en {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* pills */
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    margin-bottom: 38px;
    animation: fadeUp .9s ease both 1.2s;
}

.pill {
    font-size: 12px;
    color: var(--muted);
    padding: 5px 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: rgba(27, 173, 135, .04);
    white-space: nowrap;
}

.pill-fa {
    font-family: var(--ff);
    font-size: 10px;
    color: var(--muted2);
    direction: rtl;
    margin-right: 5px;
}

/* Notify */
.notify {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeUp .9s ease both 1.3s;
}

.nrow {
    display: flex;
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--border-hi);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(7, 20, 16, .92);
    backdrop-filter: blur(10px);
    transition: border-color .3s, box-shadow .3s;
}

.nrow:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(27, 173, 135, .15);
}

.ninput {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 20px;
    font-size: 14px;
    color: var(--text);
    font-family: var(--fb);
}

.ninput::placeholder {
    color: var(--muted2);
}

.nbtn {
    background: var(--teal);
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--fe);
    cursor: none;
    transition: background .2s;
    white-space: nowrap;
}

.nbtn:hover {
    background: var(--teal-hi);
}

.nhint {
    font-family: var(--ff);
    font-size: 10.5px;
    color: var(--muted2);
    direction: rtl;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ── MARQUEE ── */
.ticker {
    position: relative;
    z-index: 3;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    background: rgba(5, 15, 12, .82);
    contain: layout paint;
}

.ttrack {
    display: flex;
    width: max-content;
    animation: tick 40s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

@keyframes tick {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.ticker:hover .ttrack {
    animation-play-state: paused;
}

.titem {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0 40px;
    font-family: var(--fe);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--white);
    white-space: nowrap;
}

.tfa {
    font-family: var(--ff);
    font-size: 12px;
    direction: rtl;
    color: var(--muted);
    font-weight: 400;
}

.tico {
    color: var(--teal);
    font-size: 13px;
    opacity: .85;
}

.tsep {
    color: var(--teal);
    opacity: .4;
    font-size: 12px;
}

/* ── SERVICES ── */
.svc-bg {
    background: var(--bg2);
    position: relative;
    z-index: 2;
}

.svc {
    padding: 96px 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.svc-hdr {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 52px;
}

.svc-h {
    font-family: var(--fe);
    font-size: clamp(38px, 6vw, 66px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
}

.svc-hfa {
    font-family: var(--ff);
    font-size: 14px;
    direction: rtl;
    color: var(--teal);
    opacity: .75;
    margin-top: 7px;
}

.svc-cnt {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--muted);
    text-transform: uppercase;
    padding-bottom: 6px;
}

/* cards */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color .3s, transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s;
    transform-style: preserve-3d;
    will-change: transform;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(27, 173, 135, .55), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.card:hover {
    border-color: rgba(27, 173, 135, .4);
    box-shadow: 0 18px 56px rgba(27, 173, 135, .18), 0 4px 14px rgba(0, 0, 0, .5);
}

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

.card-wide {
    grid-column: span 2;
}

.cnum {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--muted2);
}

.cico {
    width: 44px;
    height: 44px;
    background: rgba(27, 173, 135, .09);
    border: 1px solid rgba(27, 173, 135, .2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: background .3s, box-shadow .3s;
}

.card:hover .cico {
    background: rgba(27, 173, 135, .18);
    box-shadow: 0 0 20px rgba(27, 173, 135, .3);
}

.cico svg {
    width: 20px;
    height: 20px;
    stroke: var(--teal);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cen {
    font-family: var(--fe);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 9px;
    line-height: 1.2;
}

.cfa {
    font-family: var(--ff);
    font-size: 12px;
    direction: rtl;
    color: var(--teal);
    opacity: .7;
}

/* shine */
.shine {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(27, 173, 135, .07) 0%, transparent 65%);
    opacity: 0;
    transition: opacity .3s;
}

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

/* ── FOOTER ── */
footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border);
    padding: 60px 48px 44px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 52px;
    max-width: 1100px;
    margin: 0 auto;
}

.ft-en {
    font-family: var(--fe);
    font-size: 17px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.ft-fa {
    font-family: var(--ff);
    font-size: 11px;
    color: var(--teal);
    direction: rtl;
}

.ft-desc-en {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.75;
    margin-top: 14px;
}

.ft-desc-fa {
    font-family: var(--ff);
    font-size: 10.5px;
    direction: rtl;
    color: var(--muted2);
    line-height: 1.9;
    margin-top: 5px;
}

.ft-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted2);
    margin-bottom: 20px;
}

.ft-val {
    font-size: 13px;
    color: var(--text);
    display: block;
    margin-bottom: 10px;
}

.ft-val-fa {
    font-family: var(--ff);
    font-size: 11px;
    direction: rtl;
    color: var(--muted);
    display: block;
    margin-bottom: 10px;
}

.st-dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 8px var(--teal);
    animation: bdot 1.7s ease-in-out infinite;
}

.st-en {
    font-size: 13px;
    color: var(--muted);
}

.st-fa {
    font-family: var(--ff);
    font-size: 10.5px;
    color: var(--muted2);
    direction: rtl;
    margin-top: 5px;
    padding-right: 18px;
}

.fbot {
    border-top: 1px solid var(--border);
    padding: 20px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.fbot-en {
    font-size: 11px;
    color: var(--muted2);
}

.fbot-fa {
    font-family: var(--ff);
    font-size: 10px;
    color: var(--muted2);
    direction: rtl;
    opacity: .7;
}

/* scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity .85s cubic-bezier(.22, 1, .36, 1), transform .85s cubic-bezier(.22, 1, .36, 1);
}

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

/* ── POPUP ── */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 15, 12, .85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}

.popup-overlay.on {
    opacity: 1;
    pointer-events: auto;
}

.popup {
    background: var(--bg2);
    border: 1px solid var(--border-hi);
    border-radius: 24px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    transform: scale(.9) translateY(20px);
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 30px 100px rgba(0, 0, 0, .5), 0 0 0 1px rgba(27, 173, 135, .1);
}

.popup-overlay.on .popup {
    transform: scale(1) translateY(0);
}

.popup-icon {
    width: 64px;
    height: 64px;
    background: var(--teal-dim);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--teal);
}

.popup-h {
    font-family: var(--fe);
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.popup-p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.popup-p-fa {
    font-family: var(--ff);
    font-size: 13px;
    direction: rtl;
    margin-bottom: 32px;
}

.popup-btn {
    background: var(--teal);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-family: var(--fe);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.popup-btn:hover {
    background: var(--teal-hi);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    nav {
        padding: 12px 20px;
    }
    .badge {
        display: none;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .card-wide {
        grid-column: span 1;
    }
    footer {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 32px;
    }
}
