﻿/* =========================
   Barcode Tracking Landing
   Light Theme – Standalone
   ========================= */

/* Fonts */
@font-face {
    font-family: 'Pelak';
    src: url('../fonts/pelakfa-regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/pelakfa-medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/pelakfa-bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/pelakfa-black.ttf') format('truetype');
    font-weight: 900;
}

/* Base */
.bt-page {
    margin: 0;
    font-family: 'Pelak', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #f6f8fb;
    color: #1f2937;
    line-height: 1.9;
}

.bt-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* Topbar */
.bt-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}

.bt-topbar-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.bt-brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.bt-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg,#e0f2fe,#dcfce7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
}

.bt-brand-title {
    font-weight: 900;
}

.bt-brand-sub {
    font-size: 12px;
    color: #6b7280;
    margin-top: -4px;
}

/* Buttons */
.bt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    font-weight: 700;
}

.bt-btn-primary {
    background: linear-gradient(135deg,#3b82f6,#22c55e);
    color: #ffffff;
    border: none;
}

.bt-btn-dark {
    background: #f1f5f9;
}

.bt-btn-ghost {
    background: transparent;
}

.bt-btn-lg {
    padding: 12px 18px;
}

.bt-btn-xl {
    padding: 14px 20px;
}

/* Hero */
.bt-hero {
    padding: 60px 0 40px;
    background: radial-gradient(circle at top right,#e0f2fe 0%,transparent 60%), radial-gradient(circle at bottom left,#dcfce7 0%,transparent 55%);
}

.bt-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

.bt-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef2ff;
    color: #3730a3;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.bt-h1 {
    font-size: clamp(28px,3.2vw,44px);
    font-weight: 900;
    margin: 16px 0 12px;
}

.bt-grad {
    background: linear-gradient(135deg,#2563eb,#16a34a);
    -webkit-background-clip: text;
    color: transparent;
}

.bt-lead {
    color: #4b5563;
    margin-bottom: 20px;
}

.bt-hero-media img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

/* Sections */
.bt-section {
    padding: 50px 0;
}

.bt-h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
}

.bt-sec-sub {
    color: #6b7280;
    margin-bottom: 24px;
}

/* Key Cards – pastel */
.bt-kgrid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}

.bt-kcard {
    padding: 20px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

    .bt-kcard:nth-child(1) {
        background: #f0f9ff;
    }

    .bt-kcard:nth-child(2) {
        background: #f0fdf4;
    }

    .bt-kcard:nth-child(3) {
        background: #fff7ed;
    }

    .bt-kcard:nth-child(4) {
        background: #fdf2f8;
    }

.bt-kico {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(0,0,0,.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.bt-kcard h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 900;
}

.bt-kcard p {
    font-size: 13px;
    color: #4b5563;
}

/* Method Cards */
.bt-mgrid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.bt-mcard {
    padding: 24px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

    .bt-mcard:nth-child(1) {
        background: #eef2ff;
    }

    .bt-mcard:nth-child(2) {
        background: #ecfeff;
    }

    .bt-mcard:nth-child(3) {
        background: #f0fdf4;
    }

    .bt-mcard h3 {
        font-size: 16px;
        font-weight: 900;
        margin-bottom: 10px;
    }

.bt-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

    .bt-list li {
        display: flex;
        gap: 8px;
        margin-bottom: 8px;
        font-size: 13px;
    }

/* Steps */
.bt-steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}

.bt-step {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    display: flex;
    gap: 12px;
}

.bt-step-num {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

/* CTA */
.bt-cta {
    background: linear-gradient(135deg,#eff6ff,#ecfdf5);
}

.bt-cta-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: #ffffff;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0,0,0,.08);
}

/* FAQ */
.bt-faq-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    margin-bottom: 12px;
}

    .bt-faq-item summary {
        cursor: pointer;
        font-weight: 800;
    }

/* Footer */
.bt-footer {
    padding: 24px 0 90px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

/* Sticky CTA */
.bt-sticky-cta {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.bt-sbtn {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    color: #111827;
    background: #f1f5f9;
    width:80px;
}

.bt-sbtn-main {
    background: linear-gradient(135deg,#3b82f6,#22c55e);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 980px) {
    .bt-hero-grid,
    .bt-mgrid,
    .bt-kgrid,
    .bt-steps {
        grid-template-columns: 1fr;
    }
}


/* =========================
   Button Size & Font Fix
   ========================= */

/* پایه دکمه‌ها */
.bt-btn,
.bt-sbtn {
    font-size: 14px; /* اندازه استاندارد */
    font-weight: 700; /* خوانا ولی نه بولد افراطی */
    line-height: 1.4;
    padding: 10px 16px; /* دسکتاپ */
    border-radius: 14px;
}

/* دکمه‌های بزرگ (CTA اصلی) */
.bt-btn-lg {
    font-size: 15px;
    padding: 12px 20px;
}

.bt-btn-xl {
    font-size: 15px;
    padding: 14px 22px;
}

/* آیکن داخل دکمه */
.bt-btn i,
.bt-sbtn i {
    font-size: 15px;
}

/* ===== Sticky CTA (پایین صفحه) ===== */
.bt-sticky-cta {
    max-width: 520px;
}

.bt-sbtn {
    font-size: 13px;
    padding: 10px 12px;
}

    .bt-sbtn span {
        font-size: 12px;
        font-weight: 700;
    }

/* =========================
   Mobile Optimization
   ========================= */
@media (max-width: 768px) {

    .bt-btn,
    .bt-sbtn {
        font-size: 13px;
        padding: 10px 14px;
        border-radius: 12px;
    }

    .bt-btn-lg,
    .bt-btn-xl {
        font-size: 14px;
        padding: 12px 16px;
    }

    .bt-btn i,
    .bt-sbtn i {
        font-size: 14px;
    }

    .bt-sticky-cta {
        padding: 10px;
        gap: 8px;
    }

    .bt-sbtn span {
        font-size: 11.5px;
    }
}


/* =========================
   Hero Proof Cards (Light)
   ========================= */

.bt-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.bt-proof-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}

    .bt-proof-item:nth-child(1) {
        background: #f0f9ff; /* آبی خیلی ملایم */
    }

    .bt-proof-item:nth-child(2) {
        background: #f0fdf4; /* سبز خیلی ملایم */
    }

    .bt-proof-item:nth-child(3) {
        background: #fdf2f8; /* صورتی خیلی ملایم */
    }

    .bt-proof-item i {
        font-size: 22px;
        color: #2563eb;
        margin-top: 4px;
        flex-shrink: 0;
    }

.bt-proof-title {
    font-size: 14px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 2px;
}

.bt-proof-sub {
    font-size: 12.5px;
    color: #4b5563;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .bt-proof {
        grid-template-columns: 1fr;
    }
}


/* =========================
   Hero Media Card (Light)
   ========================= */

.bt-hero-media {
    position: relative;
}

.bt-media-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 30px 70px rgba(0,0,0,0.15);
    border: 1px solid #e5e7eb;
}

.bt-media-card img {
    display: block;
    width: 100%;
    height: auto;
}

/* Floating Label */
.bt-media-float {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border: 1px solid #e5e7eb;
}

.bt-media-float-ico {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: #ecfeff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0369a1;
    font-size: 16px;
}

.bt-media-float-title {
    font-size: 13px;
    font-weight: 900;
    color: #111827;
}

.bt-media-float-sub {
    font-size: 12px;
    color: #4b5563;
    margin-top: -2px;
}


/* =========================
   Footer – Light Theme
   ========================= */

.bt-footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 28px 0 90px; /* فاصله برای Sticky CTA */
}

.bt-footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bt-footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bt-footer-title {
    font-size: 15px;
    font-weight: 900;
    color: #111827;
}

.bt-footer-sub {
    font-size: 12.5px;
    color: #6b7280;
}

/* Right side */
.bt-footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

    .bt-footer-right a {
        color: #2563eb;
        text-decoration: none;
        font-weight: 800;
        transition: color 0.2s ease;
    }

        .bt-footer-right a:hover {
            color: #1d4ed8;
            text-decoration: underline;
        }

/* Dot separator */
.bt-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9ca3af;
    display: inline-block;
}

/* =========================
   Footer – Mobile
   ========================= */
@media (max-width: 768px) {

    .bt-footer {
        padding: 24px 0 100px;
        text-align: center;
    }

    .bt-footer-wrap {
        flex-direction: column;
        gap: 12px;
    }

    .bt-footer-right {
        justify-content: center;
    }
}
