@font-face {
    font-family: 'YekanBakhMedium';
    src: url('YekanBakhMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary: #0d9488;
    --secondary: #14b8a6;
    --accent: #2dd4bf;
    --dark: #0f172a;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --header-h: 80px;
    --section-pad: 96px;
    --container-pad: 32px;
    --max-width: 1200px;
}

@media (max-width: 992px) {
    :root {
        --section-pad: 72px;
        --container-pad: 24px;
        --header-h: 72px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 56px;
        --container-pad: 20px;
    }
    .phones{
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        gap: 1rem;
    }
    .phone-img{
        position: relative;
        width: 44%;
        max-width: 220px;
        top: auto;
        right: auto;
        opacity: 1;
        transform: none;
    }

}

@media (max-width: 480px) {
    :root {
        --section-pad: 40px;
        --container-pad: 16px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'YekanBakhMedium', Tahoma, Arial, sans-serif;
    direction: rtl;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    width: 100%;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
    transition: background var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-h);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(to left, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    user-select: none;
}

.desktop-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
    padding: 0.5rem;
}

.nav-link:hover {
    color: var(--primary);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn {
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
	  text-decoration: none;

}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 8px;
    transition: var(--transition);
}

.menu-toggle svg {
    width: 100%;
    height: 100%;
}

.line-top, .line-mid, .line-bot {
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.header.menu-open .line-top { transform: translateY(6px) rotate(45deg); }
.header.menu-open .line-mid { opacity: 0; }
.header.menu-open .line-bot { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
    position: absolute;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.header.menu-open .mobile-menu {
    max-height: 500px;
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.btn-mobile-cta {
    margin-top: 1rem;
    width: 100%;
}

.hero {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1.2;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 600px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    border: 1px solid #e2e8f0;
    padding: 0.85rem;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: right;
    font-family: inherit;
    min-height: 64px;
	  text-decoration: none;

}

.badge:hover:not(.badge-disabled) {
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.08);
    transform: translateY(-4px);
}

.badge-icon {
    width: 26px;
    height: 26px;
    color: var(--primary);
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.badge-sub {
    font-size: 0.65rem;
    color: var(--text-light);
    line-height: 1.2;
}

.badge-main {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--dark);
    white-space: nowrap;
}

.badge-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f1f5f9;
}

.hero-mockup {
    flex: 0.8;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone {
    width: 280px;
    height: 570px;
    background: #1e293b;
    border: 10px solid #0f172a;
    border-radius: 44px;
    padding: 10px;
    box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.3);
    position: relative;
}

.phone::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 24px;
    background: #0f172a;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.phone-screen{
    width: 100%;
    height: 100%;
    background-image: url("01.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 34px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}


.mock-header { height: 130px; background: var(--primary); }
.mock-content { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.mock-card { height: 110px; background: #e2e8f0; border-radius: 16px; }
.mock-row { display: flex; gap: 12px; }
.mock-square { flex: 1; height: 90px; background: #f1f5f9; border-radius: 16px; }
.mock-bar { height: 12px; background: #cbd5e1; border-radius: 6px; width: 85%; }
.mock-pulse { animation: pulse 2.5s infinite; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.features {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 3.5rem;
    font-weight: 900;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 32px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 25px 50px -12px rgba(13, 148, 136, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.75rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.03);
}

.feature-card svg { width: 32px; height: 32px; }
.feature-card h3 { margin-bottom: 1rem; font-size: 1.35rem; font-weight: 800; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

.promo { padding: var(--section-pad) 0; }
.promo-banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 48px;
    padding: 4.5rem;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(13, 148, 136, 0.4);
}

.promo-content { flex: 1; z-index: 1; }
.promo-content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1.5rem; line-height: 1.2; font-weight: 900; }
.promo-content p { font-size: 1.15rem; margin-bottom: 2.5rem; opacity: 0.95; max-width: 550px; }

.promo-mockup { flex: 0.6; display: flex; justify-content: flex-end; }
.phone-small { transform: scale(0.85) rotate(12deg); opacity: 0.85; }

.stats { padding: var(--section-pad) 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4.5rem;
}

.stat-box {
    background: var(--white);
    padding: 3rem 1.5rem;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 12px 24px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
}

.stat-num { font-size: 2.75rem; font-weight: 900; color: var(--primary); margin-bottom: 0.5rem; }
.stat-label { color: var(--text-light); font-weight: 700; font-size: 0.95rem; }

.compact-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    opacity: 0.35;
    filter: grayscale(1);
}

.badge-mini {
    padding: 0.6rem 1.75rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 800;
}

.faq { padding: var(--section-pad) 0; background: var(--white); }
.faq-container { max-width: 850px; }
.accordion { display: flex; flex-direction: column; gap: 1.25rem; }
.accordion-item { border: 1.5px solid #f1f5f9; border-radius: 24px; overflow: hidden; background: var(--bg-light); transition: var(--transition); }
.accordion-item.active { border-color: var(--accent); background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.accordion-header { padding: 1.5rem 2rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 1.05rem; }
.chevron { width: 22px; height: 22px; transition: transform 0.4s; color: var(--primary); }
.accordion-item.active .chevron { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: all 0.4s ease; padding: 0 2rem; }
.accordion-item.active .accordion-content { max-height: 250px; padding-bottom: 2rem; }
.accordion-content p { color: var(--text-light); line-height: 1.8; }

.footer { background: var(--dark); color: var(--white); padding: 5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.5fr; gap: 3.5rem; margin-bottom: 4rem; }
.footer-col h4 { margin-bottom: 1.75rem; font-size: 1.25rem; font-weight: 800; color: var(--accent); }
.footer-col p { opacity: 0.75; font-size: 0.95rem; margin-top: 1.25rem; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1.1rem; }
.footer-col ul li a { color: var(--white); text-decoration: none; opacity: 0.7; font-size: 0.95rem; transition: var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--accent); padding-right: 4px; }
.footer-phone { font-size: 2.25rem; font-weight: 900; color: var(--accent); letter-spacing: 1px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2.5rem; font-size: 0.85rem; opacity: 0.5; }

.toast {
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    background: var(--dark);
    color: var(--white);
    padding: 1.1rem 2.5rem;
    border-radius: 60px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
    font-weight: 800;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.1);
}

.toast.show { transform: translateX(-50%) translateY(0); }

@media (max-width: 1200px) {
    .hero-title { font-size: 3.2rem; }
}

@media (max-width: 992px) {
    .header-right { gap: 1.5rem; }
    .hero-container { flex-direction: column; text-align: center; gap: 3rem; }
    .hero-subtitle { margin-inline: auto; }
    .download-grid { justify-content: center; margin-inline: auto; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
    .promo-banner { padding: 3.5rem; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
    .btn-header { display: none; }
    .hero-title { font-size: 2.6rem; }
    .promo-banner { flex-direction: column; text-align: center; padding: 3rem 2rem; gap: 2.5rem; }
    .promo-content p { margin-inline: auto; }
    .promo-mockup { display: none; }
    .phone { transform: scale(0.9); }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.1rem; }
    .section-title { font-size: 1.7rem; margin-bottom: 2.5rem; }
    .download-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .stat-box { padding: 2rem 1rem; }
    .stat-num { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-phone { font-size: 1.8rem; }
    .accordion-header { padding: 1.25rem; font-size: 1rem; }
    .accordion-content { padding: 0 1.25rem; }
    .badge { min-height: 58px; }
}

@media (max-width: 360px) {
    .hero-title { font-size: 1.8rem; }
    .header-right { gap: 1rem; }
    .logo { font-size: 1.25rem; }
}

.phones{
  position: relative;
  width: 360px;
  height: 620px;
}

.phone-img{
  position: absolute;
  width: 260px;
  max-width: 100%;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  background: #ffffff;
  display: block;
}

.phone-front{
  z-index: 2;
  top: 0;
  right: 0;
}

.phone-back{
  z-index: 1;
  top: 60px;
  right: 90px;
  opacity: 0.95;
  transform: scale(0.95);
}

.badge,
.badge:hover,
.badge:visited,
.badge:active{
  text-decoration: none;
  color: inherit;
}
