/* Vazirmatn Font Face */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    direction: rtl;
    overflow-x: hidden;
    position: relative;
}

/* Decorative Purple-Red Shapes */
.decoration-shape {
    position: fixed;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.shape-top {
    top: -300px;
    left: -300px;
}

.shape-bottom {
    bottom: -300px;
    left: -300px;
}

/* Header Styles */
header {
    background: #fff;
    position: relative;
    z-index: 100;
    padding: 20px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right .buy-button {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.header-right .buy-button:hover {
    background: linear-gradient(135deg, #9333ea 0%, #db2777 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}


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

/* Magnifying Glass Animation */
.image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.magnifying-glass-container {
    position: relative;
    width: 400px;
    height: 480px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
}

.magnifying-glass {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.glass-lens {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 50%, #fce7f3 100%);
    border: 14px solid #a855f7;
    position: relative;
    box-shadow: 
        0 0 0 8px rgba(168, 85, 247, 0.3),
        0 0 0 12px rgba(168, 85, 247, 0.15),
        0 25px 60px rgba(168, 85, 247, 0.35),
        inset 0 0 40px rgba(168, 85, 247, 0.15);
    overflow: hidden;
}

/* Website Preview Inside Lens */
.website-preview {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.website-header {
    height: 20px;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 4px;
    border-bottom: 1px solid #cbd5e1;
}

.header-dots {
    display: flex;
    gap: 3px;
}

.header-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.header-url {
    flex: 1;
    height: 10px;
    background: #fff;
    border-radius: 3px;
    margin-left: 8px;
}

.website-content {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.content-nav {
    height: 8px;
    background: linear-gradient(90deg, #a855f7 30%, #e2e8f0 30%);
    border-radius: 2px;
}

.content-hero {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 0;
}

.hero-text {
    height: 6px;
    background: #334155;
    border-radius: 2px;
    width: 90%;
}

.hero-text.short {
    width: 60%;
    background: #94a3b8;
}

.content-cards {
    display: flex;
    gap: 4px;
    margin: 4px 0;
}

.mini-card {
    flex: 1;
    height: 25px;
    background: linear-gradient(135deg, #fdf4ff 0%, #f5d0fe 100%);
    border-radius: 3px;
    border: 1px solid #e879f9;
}

.content-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
    padding: 4px;
    background: #f8fafc;
    border-radius: 3px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, #a855f7 0%, #ec4899 100%);
    border-radius: 2px 2px 0 0;
    animation: barPulse 2s ease-in-out infinite;
}

.bar-1 { height: 60%; animation-delay: 0s; }
.bar-2 { height: 85%; animation-delay: 0.2s; }
.bar-3 { height: 45%; animation-delay: 0.4s; }
.bar-4 { height: 95%; animation-delay: 0.6s; }
.bar-5 { height: 70%; animation-delay: 0.8s; }

@keyframes barPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.glass-reflection {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 10%, #ec4899 50%, transparent 90%);
    animation: scan 2.5s ease-in-out infinite;
    box-shadow: 0 0 15px #ec4899, 0 0 30px rgba(236, 72, 153, 0.5);
    z-index: 20;
}

/* Status Ping - Green pulse when "all good" */
.status-ping {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    z-index: 15;
    animation: pingPulse 2s ease-in-out infinite;
}

.status-ping::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #22c55e;
    border-radius: 50%;
    animation: pingRing 2s ease-out infinite;
}

@keyframes pingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes pingRing {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

.glass-handle {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 110px;
    background: linear-gradient(90deg, #a8a29e 0%, #78716c 30%, #57534e 70%, #44403c 100%);
    border-radius: 0 0 16px 16px;
    box-shadow: 
        4px 8px 20px rgba(0, 0, 0, 0.4),
        inset 3px 0 0 rgba(255, 255, 255, 0.2),
        inset -3px 0 0 rgba(0, 0, 0, 0.15);
}

.glass-handle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 24px;
    background: linear-gradient(180deg, #a855f7 0%, #9333ea 100%);
    border-radius: 0 0 10px 10px;
    box-shadow: inset 0 -2px 3px rgba(0,0,0,0.2);
}

.glass-handle::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

.float-1 {
    top: 20px;
    left: 40px;
    animation: floatElement1 4s ease-in-out infinite;
}

.float-2 {
    top: 80px;
    right: 20px;
    animation: floatElement2 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.float-3 {
    bottom: 100px;
    left: 20px;
    animation: floatElement3 5s ease-in-out infinite;
    animation-delay: 1s;
}

.float-4 {
    bottom: 40px;
    right: 60px;
    animation: floatElement4 4.2s ease-in-out infinite;
    animation-delay: 0.3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-15px) rotate(0deg);
    }
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        top: calc(100% - 3px);
        opacity: 0;
    }
}

@keyframes floatElement1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -15px) rotate(5deg);
    }
    50% {
        transform: translate(5px, -25px) rotate(-3deg);
    }
    75% {
        transform: translate(-5px, -10px) rotate(3deg);
    }
}

@keyframes floatElement2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-15px, 10px) rotate(-5deg);
    }
    50% {
        transform: translate(-10px, -15px) rotate(5deg);
    }
    75% {
        transform: translate(5px, -5px) rotate(-3deg);
    }
}

@keyframes floatElement3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(15px, 5px) rotate(3deg);
    }
    50% {
        transform: translate(20px, -10px) rotate(-5deg);
    }
    75% {
        transform: translate(10px, 10px) rotate(5deg);
    }
}

@keyframes floatElement4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-10px, -15px) rotate(-3deg);
    }
    50% {
        transform: translate(-5px, -25px) rotate(5deg);
    }
    75% {
        transform: translate(5px, -10px) rotate(-5deg);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: #a855f7;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    padding: 60px 40px;
    min-height: calc(100vh - 100px);
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Image Container (Left Side) */
.image-container {
    position: sticky;
    top: 100px;
    padding-top: 40px;
    order: 2;
    overflow: visible;
}

/* Content Area (Right Side) */
.content-area {
    padding: 40px 0;
    order: 1;
}

.main-title {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subtitle {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.description {
    font-size: 18px;
    line-height: 2;
    color: #555;
    margin-bottom: 40px;
    text-align: justify;
}

.zhaket-button {
    display: inline-block;
    background: #34495e;
    color: #fff;
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(52, 73, 94, 0.3);
}

.zhaket-button:hover {
    background: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 73, 94, 0.4);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #f8f9fa;
    margin-top: 80px;
}

.features-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Professional Management Section */
.professional-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 50%, #fce7f3 100%);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.professional-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(168,85,247,0.1)"/></svg>');
    opacity: 0.5;
}

.professional-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.professional-header {
    text-align: center;
    margin-bottom: 80px;
}

.professional-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #7c3aed;
    line-height: 1.2;
}

.professional-subtitle {
    font-size: 22px;
    color: #64748b;
    font-weight: 500;
}

.professional-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.professional-main-card {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-radius: 25px;
    padding: 60px 50px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.professional-main-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.professional-main-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(168, 85, 247, 0.4);
}

.main-card-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    position: relative;
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.professional-main-card h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.professional-main-card p {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.professional-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.professional-feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.professional-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.professional-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.2);
    border-color: #a855f7;
}

.professional-feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    transition: all 0.3s ease;
}

.professional-feature-card:hover .feature-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.professional-feature-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 15px;
}

.professional-feature-card p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
}

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

/* Behavior session video (نمونه تحلیل ویدیویی رفتار کاربر) */
.behavior-video-section {
    padding: 90px 0 70px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 45%, #f1f5f9 100%);
    position: relative;
    z-index: 5;
}

.behavior-video-section .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 40px;
}

.behavior-section-eyebrow {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #7c3aed;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.behavior-section-title.section-title {
    margin-bottom: 28px;
}

.behavior-video-lead {
    font-size: 18px;
    line-height: 2;
    color: #475569;
    text-align: justify;
    max-width: 920px;
    margin: 0 auto 40px;
}

.behavior-video-lead strong {
    color: #334155;
    font-weight: 700;
}

.behavior-video-box {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow:
        0 4px 6px -1px rgba(15, 23, 42, 0.06),
        0 20px 45px -15px rgba(124, 58, 237, 0.18);
    overflow: hidden;
}

.behavior-video-box-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.12) 0%, rgba(244, 114, 182, 0.12) 100%);
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.behavior-video-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #5b21b6;
    background: rgba(255, 255, 255, 0.85);
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(91, 33, 182, 0.2);
}

.behavior-video-badge i {
    font-size: 15px;
    color: #7c3aed;
}

.behavior-video-caption {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    flex: 1;
    text-align: right;
    min-width: 200px;
}

.behavior-video-frame {
    background: #0f172a;
    padding: 0;
}

.behavior-session-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: min(70vh, 520px);
    background: #000;
    object-fit: contain;
}

/* Video Section (Top) */
.video-section-top {
    padding: 80px 0;
    background: #fff;
}

.video-section-top .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.video-section-top .video-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.video-section-top .video-container {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: #000;
}

.video-section-top .video-player {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 50%, #fff 100%);
}

.video-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-section .video-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(168, 85, 247, 0.25);
    border: 3px solid rgba(168, 85, 247, 0.2);
}

.video-container {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.h_iframe-aparat_embed_frame {
    position: relative;
}

.h_iframe-aparat_embed_frame span {
    display: block;
    padding-top: 57%;
}

.h_iframe-aparat_embed_frame .ratio {
    display: block;
    width: 100%;
    height: auto;
}

.h_iframe-aparat_embed_frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

/* Images Section with Tabs */
.images-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.images-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Tabs Container */
.tabs-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 50px;
}

/* Tabs Sidebar - سمت راست */
.tabs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 100px;
}

.tab-button {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    text-align: right;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Vazirmatn', sans-serif;
}

.tab-button:hover {
    border-color: #a855f7;
    background: #fdf4ff;
    transform: translateX(-5px);
}

.tab-button.active {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-color: #a855f7;
    color: #fff;
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
}

.tab-number {
    background: rgba(255, 255, 255, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.tab-button.active .tab-number {
    background: rgba(255, 255, 255, 0.3);
}

.tab-text {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

/* Tabs Content - سمت چپ */
.tabs-content {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-height: 500px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

.tab-panel img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #fff;
}

.faq-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.faq-list {
    margin-top: 50px;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #a855f7;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #a855f7;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

/* Footer */
.main-footer {
    background: #f8f9fa;
    padding: 50px 0 40px;
    margin-top: 0;
    text-align: center;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-slogan {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-buy-button {
    display: inline-block;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.footer-buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
    color: #fff;
}

.footer-links {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #a855f7;
}

.footer-separator {
    color: #ccc;
    font-size: 14px;
}

.footer-container p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Policy Pages Styles */
.policy-content {
    min-height: calc(100vh - 200px);
    padding: 100px 0 60px;
    background: #fff;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.policy-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.policy-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.policy-update {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.policy-body {
    line-height: 1.8;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.policy-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #34495e;
    margin-top: 25px;
    margin-bottom: 15px;
}

.policy-section p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.policy-section ul {
    margin: 15px 0;
    padding-right: 30px;
}

.policy-section ul li {
    font-size: 16px;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.8;
}

.policy-section ul li strong {
    color: #2c3e50;
    font-weight: 600;
}

.policy-note {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.policy-note strong {
    color: #856404;
    display: block;
    margin-bottom: 10px;
}

.policy-note p {
    color: #856404;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-container {
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }

    .main-title {
        font-size: 42px;
    }

    .professional-title {
        font-size: 42px;
    }

    .professional-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .header-nav {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }


    .header-right {
        width: 100%;
        justify-content: center;
    }

    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .main-content {
        padding: 40px 20px;
    }

    .professional-section {
        padding: 80px 0;
    }

    .professional-header {
        margin-bottom: 50px;
    }

    .professional-title {
        font-size: 32px;
    }

    .professional-subtitle {
        font-size: 18px;
    }

    .professional-main-card {
        padding: 40px 30px;
    }

    .main-card-icon {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .professional-main-card h3 {
        font-size: 26px;
    }

    .professional-main-card p {
        font-size: 16px;
    }

    .professional-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .professional-feature-card {
        padding: 30px 25px;
    }

    .stat-icon {
        font-size: 40px;
    }

    .behavior-video-section {
        padding: 60px 0 50px;
    }

    .behavior-video-section .container {
        padding: 0 20px;
    }

    .behavior-video-lead {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .behavior-video-box-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .behavior-session-video {
        max-height: none;
    }

    .video-section-top {
        padding: 60px 20px;
    }

    .video-section-top .container {
        padding: 0 20px;
    }

    .video-section {
        padding: 60px 20px;
    }

    .video-section .container {
        padding: 0 20px;
    }

    .images-section {
        padding: 60px 20px;
    }

    .images-section .container {
        padding: 0 20px;
    }

    .tabs-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tabs-sidebar {
        position: relative;
        top: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }

    .tab-button {
        padding: 12px 15px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .tab-text {
        font-size: 13px;
    }

    .tabs-content {
        padding: 20px;
    }

    .faq-section {
        padding: 60px 20px;
    }

    .faq-section .container {
        padding: 0 20px;
    }

    .faq-question {
        padding: 20px;
        font-size: 16px;
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 14px;
    }

    .main-footer {
        padding: 40px 20px 30px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-slogan {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-buy-button {
        padding: 10px 25px;
        font-size: 14px;
        margin-bottom: 25px;
    }

    .footer-links {
        gap: 10px;
        margin-bottom: 20px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .policy-content {
        padding: 60px 20px 40px;
    }

    .policy-container {
        padding: 0 20px;
    }

    .policy-header h1 {
        font-size: 28px;
    }

    .policy-section h2 {
        font-size: 20px;
    }

    .policy-section h3 {
        font-size: 18px;
    }

    .policy-section p,
    .policy-section ul li {
        font-size: 15px;
    }

    .main-title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 22px;
    }

    .description {
        font-size: 16px;
    }

    .boxes-container {
        gap: 15px;
    }

    .lucky-box {
        width: 100px;
        height: 120px;
    }

    .decoration-shape {
        width: 400px;
        height: 400px;
    }
}
