/* ============================================================
   Homepage V1 — design system from Pages/NewHomePage.html
   All rules scoped under .hp-v1 to avoid clashing with site.css
   ============================================================ */

.hp-v1 {
    --navy: #0b1f3a;
    --navy-2: #122b4d;
    --teal: #14b8a6;
    --teal-2: #0ea5a0;
    --blue: #3b82f6;
    --sky: #e6f7f6;
    --ink: #1e293b;
    --muted: #64748b;
    --line: #e2e8f0;
    --white: #ffffff;
    --radius: 22px;
    --shadow: 0 24px 60px -20px rgba(11, 31, 58, .28);
    --font: "Vazirmatn", "IRANSans", "Segoe UI", Tahoma, sans-serif;

    font-family: var(--font);
    background: #f8fafc;
    color: var(--ink);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.hp-v1 *,
.hp-v1 *::before,
.hp-v1 *::after {
    box-sizing: border-box;
}

.hp-v1 .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.hp-v1 section {
    padding: 88px 0;
}

.hp-v1 h1,
.hp-v1 h2,
.hp-v1 h3,
.hp-v1 h4 {
    line-height: 1.45;
    font-weight: 800;
    margin: 0;
}

.hp-v1 p {
    margin: 0;
}

.hp-v1 .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--teal-2);
    background: var(--sky);
    border: 1px solid #ccf0ee;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.hp-v1 .eyebrow svg {
    width: 16px;
    height: 16px;
}

.hp-v1 .section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--navy);
    margin-bottom: 14px;
}

.hp-v1 .section-sub {
    color: var(--muted);
    max-width: 680px;
    margin-bottom: 46px;
}

/* ===== HERO ===== */
.hp-v1 .hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(20, 184, 166, .28), transparent 60%),
        radial-gradient(800px 500px at 5% 110%, rgba(59, 130, 246, .24), transparent 60%),
        linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #fff;
    padding: 110px 0 130px;
}

.hp-v1 .hero::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px 0;
    height: 90px;
    background: linear-gradient(to bottom, transparent, #f8fafc);
}

.hp-v1 .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hp-v1 .hero .eyebrow {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .22);
    color: #7ee8dd;
}

.hp-v1 .hero h1 {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    margin-bottom: 22px;
    color: #fff;
}

.hp-v1 .hero h1 span {
    color: #5eead4;
}

.hp-v1 .hero p {
    color: #c7d6e8;
    max-width: 580px;
    font-size: 1.05rem;
}

.hp-v1 .hero p b {
    color: #fff;
    font-weight: 800;
    background: linear-gradient(90deg, #2dd4bf, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hp-v1 .hero-stats {
    display: flex;
    gap: 34px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.hp-v1 .hero-stat b {
    display: block;
    font-size: 2rem;
    color: #fff;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.hp-v1 .hero-stat span {
    font-size: .85rem;
    color: #9fb3cc;
}

.hp-v1 .hero-art {
    position: relative;
}

.hp-v1 .hero-art svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35));
}

/* ===== shared SVG keyframes ===== */
@keyframes pulseDot {
    0% { r: 10; opacity: 1 }
    70% { r: 22; opacity: 0 }
    100% { r: 22; opacity: 0 }
}
@keyframes dashFlow { to { stroke-dashoffset: -200 } }
@keyframes floatY {
    0%, 100% { transform: translateY(0) }
    50% { transform: translateY(-10px) }
}
@keyframes spinSlow { to { transform: rotate(360deg) } }
@keyframes growBar {
    from { transform: scaleX(0) }
    to { transform: scaleX(1) }
}
@keyframes dashRing {
    from { stroke-dashoffset: var(--len) }
    to { stroke-dashoffset: 0 }
}

.hp-v1 .pulse-ring { animation: pulseDot 2.6s ease-out infinite; transform-origin: center }
.hp-v1 .dash-line { animation: dashFlow 3.5s linear infinite }
.hp-v1 .float-card { animation: floatY 5s ease-in-out infinite }
.hp-v1 .float-card.delay { animation-delay: 1.6s }
.hp-v1 .spin { animation: spinSlow 26s linear infinite; transform-origin: center; transform-box: fill-box }
.hp-v1 .grow { transform-origin: right center; animation: growBar 1.6s cubic-bezier(.4, 0, .2, 1) both }
.hp-v1 .donut-ring { animation: dashRing 2s cubic-bezier(.4, 0, .2, 1) both }

/* ===== ABOUT ===== */
.hp-v1 .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hp-v1 .about-text p {
    color: #475569;
    margin-bottom: 16px;
}

.hp-v1 .about-badge {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px -18px rgba(11, 31, 58, .25);
}

.hp-v1 .about-badge svg {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.hp-v1 .about-badge b {
    display: block;
    color: var(--navy);
    font-size: .95rem;
}

.hp-v1 .about-badge span {
    font-size: .82rem;
    color: var(--muted);
}

.hp-v1 .about-art svg {
    width: 100%;
    height: auto;
}

/* ===== FEATURE CARDS ===== */
.hp-v1 .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.hp-v1 .card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 28px;
    transition: .35s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
}

.hp-v1 .card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--blue));
    opacity: 0;
    transition: .35s;
}

.hp-v1 .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: #cdeae7;
}

.hp-v1 .card:hover::before {
    opacity: 1;
}

.hp-v1 .card-ico {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #e6f7f6, #eaf1ff);
    margin-bottom: 22px;
}

.hp-v1 .card-ico svg {
    width: 30px;
    height: 30px;
}

.hp-v1 .card h3 {
    font-size: 1.08rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.hp-v1 .card p {
    font-size: .92rem;
    color: var(--muted);
}

/* ===== ARTAHESAB / MODIAN ===== */
.hp-v1 .arta {
    background: linear-gradient(160deg, #f0fbfa 0%, #f5f9ff 60%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.hp-v1 .arta::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, .14), transparent 65%);
    top: -200px;
    right: -160px;
    pointer-events: none;
}

.hp-v1 .arta-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hp-v1 .arta-text .section-title {
    font-size: clamp(1.35rem, 2.6vw, 1.95rem);
    line-height: 1.35;
    text-wrap: balance;
    margin-bottom: 14px;
}

.hp-v1 .arta-text p.lead {
    color: #475569;
    margin-bottom: 18px;
    font-size: .97rem;
    line-height: 1.75;
}

.hp-v1 .arta-features {
    display: grid;
    gap: 9px;
    margin-top: 4px;
}

.hp-v1 .arta-feat {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 11px 14px;
    transition: .3s;
}

.hp-v1 .arta-feat:hover {
    border-color: #bfe9e4;
    box-shadow: 0 14px 34px -22px rgba(11, 31, 58, .35);
    transform: translateY(-2px);
}

.hp-v1 .arta-feat .tick {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #e6f7f6, #eaf1ff);
}

.hp-v1 .arta-feat .tick svg {
    width: 15px;
    height: 15px;
}

.hp-v1 .arta-feat b {
    display: block;
    color: var(--navy);
    font-size: .89rem;
    line-height: 1.45;
    text-wrap: balance;
    margin-bottom: 1px;
}

.hp-v1 .arta-feat span {
    font-size: .79rem;
    color: var(--muted);
    line-height: 1.55;
}

.hp-v1 .arta-art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-v1 .arta-art svg {
    width: 110%;
    max-width: none;
    flex: 0 0 auto;
    height: auto;
    display: block;
}

.hp-v1 .arta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 700;
    color: #0f766e;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.hp-v1 .arta-pill svg {
    width: 14px;
    height: 14px;
}

/* ===== PRICING PLANS ===== */
.hp-v1 .plans-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 54px;
}

.hp-v1 .plans-head h3 {
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    color: var(--navy);
    margin-bottom: 12px;
}

.hp-v1 .plans-head p {
    color: var(--muted);
    font-size: .98rem;
}

.hp-v1 .plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.hp-v1 .plan {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 34px 28px 30px;
    display: flex;
    flex-direction: column;
    transition: .35s cubic-bezier(.4, 0, .2, 1);
    position: relative;
}

.hp-v1 .plan:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: #cdeae7;
}

.hp-v1 .plan-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    font-size: .74rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.hp-v1 .plan-tag svg {
    width: 12px;
    height: 12px;
}

.hp-v1 .plan-tag.small { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa }
.hp-v1 .plan-tag.base { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe }
.hp-v1 .plan-tag.org { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0 }

.hp-v1 .plan h4 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 6px;
    font-weight: 800;
}

.hp-v1 .plan .desc {
    font-size: .86rem;
    color: var(--muted);
    margin-bottom: 22px;
    min-height: 44px;
}

.hp-v1 .plan .price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    padding: 14px 0 6px;
    border-top: 1px dashed var(--line);
    margin-bottom: 20px;
}

.hp-v1 .plan .price b {
    font-size: 1.7rem;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -.5px;
}

.hp-v1 .plan .price span {
    font-size: .82rem;
    color: var(--muted);
}

.hp-v1 .plan ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 26px;
    padding: 0;
    flex: 1;
}

.hp-v1 .plan ul li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .9rem;
    color: #334155;
}

.hp-v1 .plan ul li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

.hp-v1 .plan .btn-plan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: .92rem;
    padding: 12px 18px;
    border-radius: 12px;
    transition: .3s;
    border: 1.5px solid var(--teal-2);
    color: var(--teal-2);
    background: #fff;
}

.hp-v1 .plan .btn-plan:hover {
    background: var(--sky);
    transform: translateY(-2px);
}

.hp-v1 .plan.featured {
    border: 2px solid var(--teal);
    box-shadow: 0 30px 70px -30px rgba(20, 184, 166, .55);
    transform: translateY(-10px);
    background: linear-gradient(180deg, #ffffff 0%, #f7fffe 100%);
}

.hp-v1 .plan.featured:hover {
    transform: translateY(-14px);
}

.hp-v1 .plan.featured .btn-plan {
    background: linear-gradient(135deg, var(--teal), var(--teal-2));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 14px 30px -12px rgba(20, 184, 166, .65);
}

.hp-v1 .plan.featured .btn-plan:hover {
    box-shadow: 0 20px 36px -12px rgba(20, 184, 166, .75);
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--teal), var(--teal-2));
}

.hp-v1 .plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--teal), var(--teal-2));
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 10px 24px -10px rgba(20, 184, 166, .8);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hp-v1 .plan-badge svg {
    width: 13px;
    height: 13px;
}

.hp-v1 .plans-note {
    text-align: center;
    margin-top: 36px;
    font-size: .84rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hp-v1 .plans-note svg {
    width: 16px;
    height: 16px;
    color: var(--teal-2);
}

/* ===== EXPERTISE / TECH ===== */
.hp-v1 .expertise {
    background: #fff;
}

.hp-v1 .exp-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.hp-v1 .tech-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hp-v1 .tech-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid var(--line);
    transition: .3s;
}

.hp-v1 .tech-item:hover {
    background: var(--sky);
    border-color: #cdeae7;
}

.hp-v1 .tech-item svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 2px;
}

.hp-v1 .tech-item b {
    display: block;
    color: var(--navy);
    font-size: .98rem;
}

.hp-v1 .tech-item span {
    font-size: .86rem;
    color: var(--muted);
}

.hp-v1 .exp-art svg {
    width: 100%;
    height: auto;
    position: sticky;
    top: 40px;
}

/* ===== PROJECT BANNER ===== */
.hp-v1 .banner {
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    border-radius: 28px;
    padding: 56px 48px;
    color: #fff;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 44px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hp-v1 .banner::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, .35), transparent 65%);
    top: -180px;
    left: -100px;
}

.hp-v1 .banner-num {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hp-v1 .banner-num b {
    display: block;
    font-size: 4.2rem;
    line-height: 1;
    color: #5eead4;
}

.hp-v1 .banner-num span {
    font-size: .9rem;
    color: #b9cbe0;
}

.hp-v1 .banner-text {
    position: relative;
    z-index: 2;
}

.hp-v1 .banner-text h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #fff;
}

.hp-v1 .banner-text p {
    color: #c7d6e8;
    font-size: .98rem;
}

/* ===== CTA ===== */
.hp-v1 .cta {
    text-align: center;
    padding-bottom: 110px;
}

.hp-v1 .cta-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 56px 40px;
    box-shadow: 0 30px 70px -40px rgba(11, 31, 58, .35);
}

.hp-v1 .cta-box h2 {
    color: var(--navy);
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    margin-bottom: 14px;
}

.hp-v1 .cta-box p {
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 30px;
}

.hp-v1 .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--teal), var(--teal-2));
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: .98rem;
    padding: 14px 30px;
    border-radius: 14px;
    box-shadow: 0 14px 30px -12px rgba(20, 184, 166, .65);
    transition: .3s;
}

.hp-v1 .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 36px -12px rgba(20, 184, 166, .75);
}

.hp-v1 .btn svg {
    width: 18px;
    height: 18px;
}

/* ===== SVG data-flow animations (about) ===== */
@keyframes v1FillField {
    0%, 15% { width: 0 }
    100% { width: 68px }
}
.hp-v1 .form-field .fill-bar { animation: v1FillField 1.4s cubic-bezier(.4, 0, .2, 1) both }
.hp-v1 .form-field.f1 .fill-bar { animation-delay: .2s }
.hp-v1 .form-field.f2 .fill-bar { animation-delay: .7s }
.hp-v1 .form-field.f3 .fill-bar { animation-delay: 1.2s }
.hp-v1 .form-field.f4 .fill-bar { animation-delay: 1.7s }

@keyframes v1PressBtn {
    0%, 60% { transform: scale(1) }
    70% { transform: scale(.94) }
    80%, 100% { transform: scale(1) }
}
.hp-v1 .send-btn { animation: v1PressBtn 3.5s ease-in-out infinite; transform-origin: 100px 297px; transform-box: fill-box }

@keyframes v1SendWave {
    0% { r: 18; opacity: .7 }
    100% { r: 70; opacity: 0 }
}
.hp-v1 .send-wave { animation: v1SendWave 2.4s ease-out infinite; animation-delay: 2.2s }

.hp-v1 .packet { offset-path: path("M120 300 C170 300 180 250 240 250 S320 210 400 210") }
@keyframes v1MovePacket {
    0% { offset-distance: 0%; opacity: 0 }
    10% { opacity: 1 }
    90% { opacity: 1 }
    100% { offset-distance: 100%; opacity: 0 }
}
.hp-v1 .packet.p1 { animation: v1MovePacket 3s linear infinite }
.hp-v1 .packet.p2 { animation: v1MovePacket 3s linear infinite; animation-delay: 1s }
.hp-v1 .packet.p3 { animation: v1MovePacket 3s linear infinite; animation-delay: 2s }

@keyframes v1LedBlink {
    0%, 100% { opacity: 1 }
    50% { opacity: .25 }
}
.hp-v1 .led.l1 { animation: v1LedBlink 1.1s infinite }
.hp-v1 .led.l2 { animation: v1LedBlink 1.4s infinite; animation-delay: .3s }
.hp-v1 .led.l3 { animation: v1LedBlink 1s infinite; animation-delay: .6s }
.hp-v1 .led.l4 { animation: v1LedBlink 1.3s infinite; animation-delay: .9s }

@keyframes v1RowAppear {
    0%, 40% { opacity: 0; transform: translateX(-14px) }
    55% { opacity: 1; transform: translateX(0) }
    70% { fill: #a7f3d0 }
    100% { opacity: 1; transform: translateX(0) }
}
.hp-v1 .new-row { opacity: 0; animation: v1RowAppear 4s ease-out infinite; transform-box: fill-box }
.hp-v1 .new-row.nr2 { animation-delay: 1.2s }

@keyframes v1StatusGrow {
    0% { width: 0 }
    100% { width: 94px }
}
.hp-v1 .status-fill { animation: v1StatusGrow 4s cubic-bezier(.4, 0, .2, 1) infinite }

@keyframes v1PhoneFloat {
    0%, 100% { transform: translateY(0) }
    50% { transform: translateY(-6px) }
}
.hp-v1 .phone-device { animation: v1PhoneFloat 4.5s ease-in-out infinite; transform-box: fill-box }
.hp-v1 .server-rack { animation: v1PhoneFloat 5s ease-in-out infinite; transform-box: fill-box }
.hp-v1 .manager-panel { animation: v1PhoneFloat 5.5s ease-in-out infinite; transform-box: fill-box; animation-delay: .5s }

@keyframes v1GrowUp {
    from { transform: scaleY(0) }
    to { transform: scaleY(1) }
}
.hp-v1 .grow-up { animation-name: v1GrowUp }

/* ===== SVG modian animations (artahesab) ===== */
@keyframes v1InvFly {
    0% { transform: translate(0, 0) scale(.9); opacity: 0 }
    15% { opacity: 1; transform: translate(0, 0) scale(1) }
    60% { transform: translate(74px, 36px) scale(.85); opacity: 1 }
    75% { transform: translate(74px, 36px) scale(.4); opacity: 0 }
    100% { transform: translate(74px, 36px) scale(.4); opacity: 0 }
}
.hp-v1 .inv { animation: v1InvFly 3.6s cubic-bezier(.45, 0, .55, 1) infinite; transform-box: fill-box }
.hp-v1 .inv.i2 { animation-delay: 1.2s }
.hp-v1 .inv.i3 { animation-delay: 2.4s }

@keyframes v1FilePulse {
    0%, 100% { transform: scale(1) }
    50% { transform: scale(1.06) }
}
.hp-v1 .office-file { animation: v1FilePulse 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center }

@keyframes v1UploadPacket {
    0% { offset-distance: 0%; opacity: 0 }
    10% { opacity: 1 }
    90% { opacity: 1 }
    100% { offset-distance: 100%; opacity: 0 }
}
.hp-v1 .modian-packet { offset-path: path("M196 236 C250 236 260 180 312 180") }
.hp-v1 .modian-packet.mp1 { animation: v1UploadPacket 3s linear infinite }
.hp-v1 .modian-packet.mp2 { animation: v1UploadPacket 3s linear infinite; animation-delay: 1.5s }

@keyframes v1GovLed {
    0%, 100% { opacity: 1 }
    50% { opacity: .2 }
}
.hp-v1 .gov-led { animation: v1GovLed 1.2s infinite }
.hp-v1 .gov-led.g2 { animation: v1GovLed 1.2s infinite; animation-delay: .4s }
.hp-v1 .gov-led.g3 { animation: v1GovLed 1.2s infinite; animation-delay: .8s }

@keyframes v1BarRise {
    from { transform: scaleY(0) }
    to { transform: scaleY(1) }
}
.hp-v1 .fin-bar { animation: v1BarRise 3.6s cubic-bezier(.4, 0, .2, 1) infinite; transform-box: fill-box; transform-origin: center bottom }
.hp-v1 .fin-bar.b2 { animation-delay: .2s }
.hp-v1 .fin-bar.b3 { animation-delay: .4s }
.hp-v1 .fin-bar.b4 { animation-delay: .6s }

@keyframes v1DonutDash {
    0% { stroke-dashoffset: 150 }
    60%, 100% { stroke-dashoffset: 52 }
}
.hp-v1 .fin-donut { animation: v1DonutDash 3.6s cubic-bezier(.4, 0, .2, 1) infinite }

@keyframes v1CheckPop {
    0%, 55% { transform: scale(0); opacity: 0 }
    70% { transform: scale(1.15); opacity: 1 }
    80%, 100% { transform: scale(1); opacity: 1 }
}
.hp-v1 .check-pop { animation: v1CheckPop 3.6s ease-out infinite; transform-box: fill-box; transform-origin: center }

/* ===== AMAB / PROVINCES MAP ===== */
.hp-v1 .amp-block {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 24px;
    align-items: center;
    margin-top: 52px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 38px;
    box-shadow: 0 24px 60px -34px rgba(11, 31, 58, .35);
}

.hp-v1 .amp-text h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    color: var(--navy);
    margin-bottom: 12px;
}

.hp-v1 .amp-text p {
    color: #475569;
    margin-bottom: 20px;
}

.hp-v1 .amp-text p b {
    color: var(--navy);
    font-weight: 800;
}

.hp-v1 .amp-prov {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.hp-v1 .amp-prov li {
    font-weight: 800;
    font-size: .9rem;
    color: var(--teal-2);
    background: var(--sky);
    border: 1px solid #ccf0ee;
    border-radius: 999px;
    padding: 6px 16px;
}

.hp-v1 .amp-map svg {
    width: 100%;
    height: auto;
    display: block;
}

.hp-v1 .amp-flow {
    border-inline-start: 1px dashed var(--line);
    padding-inline-start: 24px;
}

.hp-v1 .amp-flow-head {
    margin-bottom: 6px;
    text-align: center;
}

.hp-v1 .amp-flow-head b {
    display: block;
    color: var(--navy);
    font-size: .9rem;
    line-height: 1.4;
}

.hp-v1 .amp-flow-head span {
    display: block;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.5;
}

.hp-v1 .amp-flow svg {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hp-v1 .iran-map .prov {
    fill: #e7edf5;
    stroke: #f8fafc;
    stroke-width: 1;
    transition: fill .25s ease;
}

.hp-v1 .iran-map .prov.on {
    fill: var(--teal);
    stroke: #0b1f3a;
    stroke-width: 1.4;
}

.hp-v1 .iran-map .prov.on:hover {
    fill: var(--teal-2);
}

/* ===== MODIAN PAGE (header-based layout) ===== */
.hp-v1 .modian-head {
    max-width: none;
    margin: 0;
    text-align: start;
}

.hp-v1 .modian-head .section-title {
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    line-height: 1.3;
    margin-bottom: 16px;
    text-wrap: balance;
}

.hp-v1 .modian-head p.lead {
    max-width: 580px;
    margin: 0 0 22px;
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.85;
}

.hp-v1 .modian-head p.lead b {
    color: var(--navy);
    font-weight: 800;
}

.hp-v1 .modian-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

.hp-v1 .modian-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s, background-color .3s, border-color .3s, color .3s;
}

.hp-v1 .modian-btn svg {
    width: 16px;
    height: 16px;
}

.hp-v1 .modian-btn.primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-2));
    color: #fff;
    box-shadow: 0 18px 36px -18px rgba(20, 184, 166, .75);
}

.hp-v1 .modian-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px -18px rgba(20, 184, 166, .9);
}

.hp-v1 .modian-btn.ghost {
    background: #fff;
    border: 1.5px solid #cbd5e1;
    color: var(--navy);
}

.hp-v1 .modian-btn.ghost:hover {
    border-color: var(--teal);
    color: var(--teal-2);
    background: var(--sky);
    transform: translateY(-2px);
}

.hp-v1 .modian-price-hint {
    margin-top: 16px;
    font-size: .86rem;
    color: var(--muted);
}

.hp-v1 .modian-price-hint b {
    color: var(--navy);
    font-weight: 800;
}

.hp-v1 .modian-price-hint a {
    color: var(--teal-2);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(14, 165, 160, .45);
}

.hp-v1 .modian-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 36px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 38px 40px;
    box-shadow: 0 24px 60px -34px rgba(11, 31, 58, .35);
}

.hp-v1 .modian-hero-art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-v1 .modian-hero-art svg {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
}

/* keep in-page targets clear of the fixed header */
.hp-v1 #pricing,
.hp-v1 #features {
    scroll-margin-top: 92px;
}



.hp-v1 .modian-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
    text-align: start;
}

/* two-up before the three-column block gets cramped */
@media (max-width: 1120px) {
    .hp-v1 .amp-block {
        grid-template-columns: 1fr 1fr;
    }

    .hp-v1 .amp-text {
        grid-column: 1 / -1;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
    .hp-v1 .hero-grid,
    .hp-v1 .about-grid,
    .hp-v1 .exp-grid,
    .hp-v1 .amp-block,
    .hp-v1 .arta-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hp-v1 .amp-block {
        padding: 24px 20px;
    }

    .hp-v1 .amp-flow {
        border-inline-start: 0;
        padding-inline-start: 0;
        border-top: 1px dashed var(--line);
        padding-top: 18px;
    }

    .hp-v1 .hero-art {
        max-width: 420px;
        margin: 0 auto;
    }

    .hp-v1 .cards {
        grid-template-columns: 1fr 1fr;
    }

    .hp-v1 .exp-art {
        order: -1;
        max-width: 460px;
        margin: 0 auto;
    }

    .hp-v1 .exp-art svg {
        position: static;
    }

    .hp-v1 .banner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 22px;
        padding: 44px 30px;
    }

    .hp-v1 .arta-art {
        max-width: 480px;
        margin: 0 auto;
    }

    .hp-v1 .arta-art svg {
        width: 100%;
        flex: 0 1 auto;
    }

    .hp-v1 .plans {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }

    .hp-v1 .plan.featured {
        transform: none;
    }

    .hp-v1 .plan.featured:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 640px) {
    .hp-v1 section {
        padding: 64px 0;
    }

    .hp-v1 .hero {
        padding: 80px 0 100px;
    }

    .hp-v1 .cards {
        grid-template-columns: 1fr;
    }

    .hp-v1 .hero-stats {
        gap: 22px;
    }

    .hp-v1 .hero-stat b {
        font-size: 1.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-v1 .pulse-ring,
    .hp-v1 .dash-line,
    .hp-v1 .float-card,
    .hp-v1 .spin,
    .hp-v1 .grow,
    .hp-v1 .donut-ring,
    .hp-v1 .form-field .fill-bar,
    .hp-v1 .send-btn,
    .hp-v1 .send-wave,
    .hp-v1 .packet,
    .hp-v1 .led,
    .hp-v1 .new-row,
    .hp-v1 .status-fill,
    .hp-v1 .phone-device,
    .hp-v1 .server-rack,
    .hp-v1 .manager-panel,
    .hp-v1 .inv,
    .hp-v1 .office-file,
    .hp-v1 .modian-packet,
    .hp-v1 .gov-led,
    .hp-v1 .fin-bar,
    .hp-v1 .fin-donut,
    .hp-v1 .check-pop {
        animation: none !important;
    }
}

/* ===== MODIAN PAGE responsive ===== */
@media (max-width: 1120px) {
    .hp-v1 .modian-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .hp-v1 .modian-features {
        grid-template-columns: 1fr;
    }

    .hp-v1 .modian-hero {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 26px 20px;
    }

    .hp-v1 .modian-hero-art svg {
        max-width: 460px;
    }
}

@media (max-width: 640px) {
    .hp-v1 .modian-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hp-v1 .modian-btn {
        justify-content: center;
    }
}

/* ===== DIDBAN PAGE ===== */
.hp-v1 .didban-hero .modian-hero-art img {
    width: 100%;
    max-width: 580px;
    height: auto;
    display: block;
}

.hp-v1 .didban-cta-band {
    margin-top: 64px;
    padding: 44px 32px;
    text-align: center;
    color: #fff;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
    box-shadow: 0 24px 60px -34px rgba(11, 31, 58, .55);
}

.hp-v1 .didban-cta-band h2 {
    display: block;
    border: 0;
    padding: 0;
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.3rem, 3vw, 1.9rem);
}

.hp-v1 .didban-cta-band p {
    color: rgba(255, 255, 255, .82);
    margin: 0 0 24px;
}

.hp-v1 .didban-cta-band .modian-btn.primary {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 18px 36px -20px rgba(0, 0, 0, .6);
}

.hp-v1 .didban-cta-band .modian-btn.primary:hover {
    background: #f0fdfa;
    transform: translateY(-2px);
}

@media (max-width: 980px) {
    .hp-v1 .didban-hero .modian-hero-art img {
        max-width: 460px;
        margin: 0 auto;
    }

    .hp-v1 .didban-cta-band {
        padding: 34px 22px;
    }
}

/* ===== PEYMAB PAGE ===== */
.hp-v1 .peymab-hero .modian-hero-art svg {
    max-width: 580px;
}

.hp-v1 .amp-block.peymab-coverage {
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    margin-top: 40px;
}

.hp-v1 .amp-block.peymab-coverage .amp-map {
    max-width: 420px;
    margin: 0 auto;
}

@media (max-width: 1120px) {
    .hp-v1 .amp-block.peymab-coverage {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .hp-v1 .peymab-hero .modian-hero-art svg {
        max-width: 440px;
        margin: 0 auto;
    }

    .hp-v1 .amp-block.peymab-coverage {
        padding: 26px 20px;
    }
}

/* ===== ACCOUNT (LOGIN) PAGE ===== */
.hp-v1.account-page {
    background: #f8fafc;
}

.hp-v1 .login-section {
    padding: calc(var(--header-height, 72px) + 30px) 0 52px;
}

.hp-v1 .login-shell {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 30px 70px -40px rgba(11, 31, 58, .5);
    overflow: hidden;
}

/* --- form column --- */
.hp-v1 .login-card {
    padding: 26px 30px;
}

.hp-v1 .login-card-head {
    text-align: center;
    margin-bottom: 18px;
}

.hp-v1 .login-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 10px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.15rem;
    background: linear-gradient(135deg, var(--teal), var(--teal-2));
    box-shadow: 0 18px 34px -18px rgba(20, 184, 166, .8);
}

.hp-v1 .login-card-head h1 {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    color: var(--navy);
    border: 0;
    padding: 0;
    margin: 0 0 3px;
}

.hp-v1 .login-card-head p {
    color: var(--muted);
    font-size: .85rem;
}

.hp-v1 .login-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
    border-radius: 13px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: .88rem;
    font-weight: 600;
}

.hp-v1 .login-alert i {
    color: #ef4444;
}

.hp-v1 .login-field {
    margin-bottom: 12px;
}

.hp-v1 .login-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink);
}

.hp-v1 .login-field label i {
    color: var(--teal-2);
    font-size: .8rem;
}

.hp-v1 .login-input-wrap {
    position: relative;
}

.hp-v1 .login-input-wrap input {
    width: 100%;
    padding: 11px 42px 11px 42px;
    border: 1.5px solid var(--line);
    border-radius: 13px;
    background: #f8fafc;
    color: var(--ink);
    font-family: inherit;
    font-size: .95rem;
    outline: none;
    transition: border-color .25s, background-color .25s, box-shadow .25s;
}

.hp-v1 .login-input-wrap input::placeholder {
    color: #94a3b8;
}

.hp-v1 .login-input-wrap input:focus {
    border-color: var(--teal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, .13);
}

.hp-v1 .login-input-wrap > i {
    position: absolute;
    inset-inline-start: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: .85rem;
    pointer-events: none;
}

.hp-v1 .login-pass-toggle {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: color .2s, background-color .2s;
}

.hp-v1 .login-pass-toggle:hover {
    color: var(--teal-2);
    background: var(--sky);
}

.hp-v1 .login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hp-v1 .login-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .88rem;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
}

.hp-v1 .login-check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.hp-v1 .login-check .login-box {
    width: 19px;
    height: 19px;
    border-radius: 6px;
    border: 1.5px solid #cbd5e1;
    background: #fff;
    display: grid;
    place-items: center;
    transition: background-color .2s, border-color .2s;
}

.hp-v1 .login-check .login-box i {
    font-size: .6rem;
    color: #fff;
    opacity: 0;
    transition: opacity .2s;
}

.hp-v1 .login-check input:checked + .login-box {
    background: linear-gradient(135deg, var(--teal), var(--teal-2));
    border-color: var(--teal-2);
}

.hp-v1 .login-check input:checked + .login-box i {
    opacity: 1;
}

.hp-v1 .login-check input:focus-visible + .login-box {
    box-shadow: 0 0 0 4px rgba(20, 184, 166, .18);
}

.hp-v1 .login-submit {
    width: 100%;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 13px;
}

.hp-v1 .login-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 15px 0;
    color: #94a3b8;
    font-size: .8rem;
}

.hp-v1 .login-divider::before,
.hp-v1 .login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* --- brand column --- */
.hp-v1 .login-aside {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 30px 28px;
    color: #fff;
    background:
        radial-gradient(420px 320px at 100% 0%, rgba(20, 184, 166, .34), transparent 62%),
        radial-gradient(360px 300px at 0% 100%, rgba(59, 130, 246, .3), transparent 62%),
        linear-gradient(135deg, var(--navy), var(--navy-2));
}

.hp-v1 .login-aside::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
    bottom: -80px;
    inset-inline-start: -70px;
    pointer-events: none;
}

.hp-v1 .login-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-size: .78rem;
    font-weight: 700;
    color: #99f6e4;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 5px 14px;
    border-radius: 999px;
}

.hp-v1 .login-pill svg {
    width: 14px;
    height: 14px;
}

.hp-v1 .login-aside h2 {
    font-size: clamp(1.15rem, 2.1vw, 1.4rem);
    color: #fff;
    border: 0;
    padding: 0;
    margin: 0;
    line-height: 1.5;
}

.hp-v1 .login-aside-lead {
    color: rgba(255, 255, 255, .78);
    font-size: .92rem;
    line-height: 1.85;
}

.hp-v1 .login-aside-lead b {
    color: #fff;
    font-weight: 700;
}

.hp-v1 .login-points {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: grid;
    gap: 7px;
}

.hp-v1 .login-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .86rem;
    color: rgba(255, 255, 255, .86);
}

.hp-v1 .login-points .tick {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .12);
}

.hp-v1 .login-points .tick svg {
    width: 13px;
    height: 13px;
}

/* --- dev credentials --- */
.hp-v1 .login-dev {
    max-width: 900px;
    margin: 14px auto 0;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 16px;
    box-shadow: 0 18px 44px -34px rgba(11, 31, 58, .45);
}

.hp-v1 .login-dev-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: #92400e;
    font-size: .85rem;
    font-weight: 700;
}

.hp-v1 .login-dev-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: #fef3c7;
    color: #f59e0b;
    font-size: .75rem;
}

.hp-v1 .login-dev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hp-v1 .login-dev-card {
    padding: 10px 12px;
    text-align: center;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.hp-v1 .login-dev-card .role {
    margin: 0 0 4px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--teal-2);
}

.hp-v1 .login-dev-card .user {
    margin: 0;
    font-family: monospace;
    font-size: .78rem;
    color: var(--navy);
    direction: ltr;
}

.hp-v1 .login-dev-card .pass {
    margin: 2px 0 0;
    font-family: monospace;
    font-size: .72rem;
    color: var(--muted);
    direction: ltr;
}

@media (max-width: 980px) {
    .hp-v1 .login-section {
        padding: calc(var(--header-height, 64px) + 34px) 0 64px;
    }

    .hp-v1 .login-shell {
        grid-template-columns: 1fr;
    }

    
    .hp-v1 .login-aside {
        order: -1;
        padding: 28px 24px;
        gap: 8px;
    }

    .hp-v1 .login-points {
        display: none;
    }

    .hp-v1 .login-card {
        padding: 30px 24px;
    }
}

@media (max-width: 560px) {
    .hp-v1 .login-dev-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ACCOUNT (REGISTER / /Account) PAGES ===== */
.hp-v1 .login-shell.single-column {
    grid-template-columns: 1fr;
    max-width: 600px;
}

.hp-v1 .login-card-head h2 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--navy);
    border: 0;
    padding: 0;
    margin: 0 0 6px;
}

.hp-v1 .login-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hp-v1 .login-input-wrap input.ltr {
    direction: ltr;
    text-align: center;
}

.hp-v1 .login-input-wrap input.code {
    direction: ltr;
    text-align: center;
    letter-spacing: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    padding-inline: 16px;
}

.hp-v1 .login-timer {
    display: block;
    margin: 0 0 18px;
    text-align: center;
    font-size: .86rem;
    color: var(--muted);
}

.hp-v1 .login-timer b {
    color: var(--teal-2);
    font-weight: 800;
    direction: ltr;
    display: inline-block;
}

.hp-v1 .login-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    padding: 0;
    font-family: inherit;
    font-size: .87rem;
    font-weight: 700;
    color: var(--teal-2);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.hp-v1 .login-link-btn:disabled {
    color: #94a3b8;
    text-decoration: none;
    cursor: not-allowed;
}

.hp-v1 .login-resend {
    margin-top: 12px;
    text-align: center;
}

.hp-v1 .login-dev-inline {
    padding: 14px 16px;
    margin-bottom: 18px;
    text-align: center;
    border-radius: 13px;
    border: 2px dashed #fbbf24;
    background: #fffbeb;
}

.hp-v1 .login-dev-inline p {
    margin: 0 0 6px;
    color: #92400e;
    font-size: .8rem;
    font-weight: 700;
}

.hp-v1 .login-dev-inline .login-dev-code {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 6px;
    direction: ltr;
    color: var(--teal-2);
}

.hp-v1 .login-dev-inline .login-dev-code span {
    font-size: .55em;
    letter-spacing: 0;
    color: #94a3b8;
}

.hp-v1 .login-alert.success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.hp-v1 .login-alert.success i {
    color: #10b981;
}

.hp-v1 .login-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 5px;
    margin-bottom: 18px;
    background: #f1f5f9;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.hp-v1 .login-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .25s, color .25s, box-shadow .25s;
}

.hp-v1 .login-tab i {
    color: var(--teal-2);
    font-size: .85rem;
}

.hp-v1 .login-tab.is-active {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 12px 26px -20px rgba(11, 31, 58, .7);
}

@media (max-width: 560px) {
    .hp-v1 .login-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* --- denser login / register / account cards on mobile --- */
@media (max-width: 640px) {
    .hp-v1 .login-section {
        padding: calc(var(--header-height, 64px) + 16px) 0 36px;
    }

    .hp-v1 .login-shell {
        border-radius: 16px;
    }

    .hp-v1 .login-card {
        padding: 18px 16px;
    }

    .hp-v1 .login-card-head {
        margin-bottom: 14px;
    }

    .hp-v1 .login-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 8px;
        border-radius: 13px;
        font-size: 1rem;
    }

    .hp-v1 .login-card-head h1 {
        font-size: 1.12rem;
        margin-bottom: 2px;
    }

    .hp-v1 .login-card-head h2 {
        font-size: 1.02rem;
        margin-bottom: 2px;
    }

    .hp-v1 .login-card-head p {
        font-size: .8rem;
        line-height: 1.6;
    }

    .hp-v1 .login-alert {
        padding: 9px 12px;
        margin-bottom: 12px;
        gap: 8px;
        font-size: .8rem;
    }

    .hp-v1 .login-field {
        margin-bottom: 10px;
    }

    .hp-v1 .login-field label {
        margin-bottom: 4px;
        font-size: .79rem;
    }

    .hp-v1 .login-input-wrap input {
        padding: 9px 38px;
        border-radius: 11px;
        font-size: .9rem;
    }

    .hp-v1 .login-input-wrap input.code {
        padding: 8px 12px;
        font-size: 1.15rem;
    }

    .hp-v1 .login-input-wrap > i {
        inset-inline-start: 12px;
        font-size: .78rem;
    }

    .hp-v1 .login-pass-toggle {
        inset-inline-end: 7px;
        width: 24px;
        height: 24px;
    }

    .hp-v1 .login-row {
        margin-bottom: 14px;
    }

    .hp-v1 .login-check {
        font-size: .82rem;
    }

    .hp-v1 .login-check .login-box {
        width: 17px;
        height: 17px;
    }

    .hp-v1 .login-submit {
        padding: 10px 18px;
        border-radius: 11px;
        font-size: .9rem;
    }

    .hp-v1 .login-divider {
        margin: 12px 0;
    }

    .hp-v1 .login-tabs {
        padding: 4px;
        gap: 4px;
        margin-bottom: 14px;
        border-radius: 12px;
    }

    .hp-v1 .login-tab {
        padding: 8px 10px;
        border-radius: 9px;
        font-size: .86rem;
    }

    .hp-v1 .login-timer {
        margin-bottom: 10px;
        font-size: .8rem;
    }

    .hp-v1 .login-resend {
        margin-top: 8px;
    }

    .hp-v1 .login-dev {
        margin-top: 12px;
        padding: 12px 14px;
    }

    .hp-v1 .login-dev-head {
        margin-bottom: 8px;
        font-size: .78rem;
    }

    .hp-v1 .login-dev-inline {
        padding: 10px 12px;
        margin-bottom: 12px;
    }

    .hp-v1 .login-dev-inline .login-dev-code {
        font-size: 1.35rem;
        letter-spacing: 4px;
    }

    .hp-v1 .login-grid-2 {
        gap: 10px;
    }

    /* brand band on top: keep it as a thin header on phones */
    .hp-v1 .login-aside {
        padding: 14px 16px;
        gap: 6px;
    }

    .hp-v1 .login-pill {
        padding: 4px 11px;
        margin-bottom: 2px;
        font-size: .7rem;
    }

    .hp-v1 .login-aside h2 {
        font-size: 1rem;
        line-height: 1.45;
    }

    .hp-v1 .login-aside-lead {
        display: none;
    }
}

/* ===== FOOTER V1 ===== */
.hp-v1 .ftr {
    position: relative;
    overflow: hidden;
    font-family: var(--font);
    font-size: 1rem;
    color: rgba(255, 255, 255, .72);
    background:
        radial-gradient(680px 420px at 100% 0%, rgba(20, 184, 166, .20), transparent 62%),
        radial-gradient(560px 400px at 0% 100%, rgba(59, 130, 246, .18), transparent 62%),
        linear-gradient(160deg, var(--navy) 0%, #08182e 100%);
}

.hp-v1 .ftr .wrap {
    padding-top: 0;
    padding-bottom: 0;
}

.hp-v1 .ftr-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.hp-v1 .ftr-cta h3 {
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
    color: #fff;
    margin-bottom: 6px;
}

.hp-v1 .ftr-cta p {
    font-size: .88rem;
    color: rgba(255, 255, 255, .66);
}

.hp-v1 .ftr-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding: 42px 0 4px;
}

.hp-v1 .ftr-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 800;
    text-decoration: none;
}

.hp-v1 .ftr-logo-img {
    width: auto;
    height: 34px;
    max-width: 150px;
    object-fit: contain;
    object-position: right center;
    flex-shrink: 0;
}

.hp-v1 .ftr-tagline {
    max-width: 320px;
    font-size: .86rem;
    line-height: 1.95;
    color: rgba(255, 255, 255, .64);
}

.hp-v1 .ftr-social {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.hp-v1 .ftr-social a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .07);
    color: #99f6e4;
    font-size: .85rem;
    transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}

.hp-v1 .ftr-social a:hover {
    color: #fff;
    border-color: rgba(94, 234, 212, .45);
    background: rgba(20, 184, 166, .22);
    transform: translateY(-2px);
}

.hp-v1 .ftr-col h4 {
    margin-bottom: 14px;
    color: #fff;
    font-size: .95rem;
}

.hp-v1 .ftr-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.hp-v1 .ftr-col a,
.hp-v1 .ftr-col span {
    color: rgba(255, 255, 255, .68);
    font-size: .86rem;
    text-decoration: none;
    transition: color .2s;
}

.hp-v1 .ftr-col a:hover {
    color: #5eead4;
}

.hp-v1 .ftr-contact li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.hp-v1 .ftr-contact i {
    margin-top: 5px;
    color: #5eead4;
    font-size: .82rem;
}

.hp-v1 .ftr-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 32px 0;
}

.hp-v1 .ftr-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .8);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .25s, background-color .25s, border-color .25s;
}

.hp-v1 .ftr-badge i {
    color: #5eead4;
}

.hp-v1 .ftr-badge:hover {
    color: #fff;
    border-color: rgba(94, 234, 212, .45);
    background: rgba(20, 184, 166, .16);
}

.hp-v1 .ftr-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.hp-v1 .ftr-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: .8rem;
    color: rgba(255, 255, 255, .58);
}

.hp-v1 .ftr-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hp-v1 .ftr-legal a {
    color: rgba(255, 255, 255, .68);
    text-decoration: none;
    transition: color .2s;
}

.hp-v1 .ftr-legal a:hover {
    color: #5eead4;
}

@media (max-width: 980px) {
    .hp-v1 .ftr-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding-top: 32px;
    }

    .hp-v1 .ftr-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .hp-v1 .ftr-cta {
        padding: 24px 0;
    }

    .hp-v1 .ftr-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .hp-v1 .ftr-badges {
        margin: 24px 0;
    }

    .hp-v1 .ftr-bottom-inner {
        justify-content: center;
        text-align: center;
    }
}
