@import url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.css');

:root {
    --bg-dark: #050b14;
    --neon-green: #4ade80;
    --neon-blue: #3b82f6;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* پس‌زمینه انیمیشنی با گرادینت */
.animated-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(74, 222, 128, 0.15) 0%, transparent 40%);
    animation: moveGradients 10s infinite alternate ease-in-out;
}

@keyframes moveGradients {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Header & Nav */
header {
    position: fixed; /* ثابت ماندن هدر هنگام اسکرول */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* قرارگیری در بالاترین لایه */
    background: rgba(15, 23, 42, 0.7); /* رنگ تیره با شفافیت */
    backdrop-filter: blur(12px); /* افکت شیشه‌ای حرفه‌ای */
    -webkit-backdrop-filter: blur(12px); /* پشتیبانی از سافاری */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* خط ظریف زیر هدر */
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.desktop-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--neon-green);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background: var(--bg-dark);
    padding: 1rem;
    text-align: center;
}
.mobile-nav.active {
    display: block;
}
.mobile-nav ul { list-style: none; }
.mobile-nav a {
    display: block; padding: 10px; color: #fff; text-decoration: none;
}

/* Sections */
.section-padding {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--neon-blue);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.hero-content {
    padding: 3rem;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--neon-green);
}

.btn-primary {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-green));
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 1.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 222, 128, 0.3);
}
.w-100 { width: 100%; }

/* =========================================
   Features Section (Glassmorphism & Grid)
   ========================================= */
.features-section {
    padding: 80px 5%;
    text-align: center;
    direction: rtl;
    position: relative;
    z-index: 10;
}

.section-title {
    color: #4da8da; /* رنگ آبی روشن مشابه عکس شما */
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-shadow: 0 4px 15px rgba(77, 168, 218, 0.3);
}

.features-grid {
    display: grid;
    /* این خط باعث ریسپانسیو شدن خودکار بدون نیاز به مدیا کوئری‌های زیاد می‌شود */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* استایل کارت‌ها (طراحی شیشه‌ای) */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* انیمیشن نرم و فنری */
    position: relative;
    overflow: hidden;
}

/* افکت Hover برای کارت‌ها */
.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(46, 204, 113, 0.4); /* هاله سبز رنگ نئونی */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(46, 204, 113, 0.1);
}

/* استایل کادر آیکون */
.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.feature-icon {
    color: #2ecc71; /* رنگ سبز مینیمال */
    transition: all 0.4s ease;
}

/* انیمیشن آیکون هنگام Hover کارت */
.feature-card:hover .icon-wrapper {
    background: #2ecc71;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
    transform: scale(1.1);
}

.feature-card:hover .feature-icon {
    color: #1a1a2e; /* تغییر رنگ آیکون به تیره هنگام هاور */
    animation: bounceIcon 0.6s ease;
}

/* متن‌های داخل کارت */
.feature-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #a0aabf;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Keyframes برای انیمیشن آیکون */
@keyframes bounceIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    .features-section {
        padding: 50px 5%;
    }
    .feature-card {
        padding: 30px 20px;
    }
}
/* =========================================
   O2Life Premium Timeline - Scholarship Level
   ========================================= */
/* تنظیمات پایه سکشن */
.cigar-timeline-section {
    position: relative;
    width: 100%;
    padding: 100px 0;
    background: transparent;
    display: flex;
    justify-content: center;
    overflow: hidden;
    direction: rtl; /* برای راست‌چین بودن متون */
}

.cigar-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ------------------------------------- */
/* طراحی دقیق و واقع‌گرایانه سیگار       */
/* ------------------------------------- */
.cigar-core {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 26px; /* کمی قطورتر برای نمایش بهتر بافت */
    height: 100%;
    background: #0f172a; /* رنگ پس‌زمینه تیره هماهنگ با سایت */
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    z-index: 5;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* خاکستر (بافت واقعی زغال و خاکستر) */
.cigar-ash {
    width: 100%;
    height: 0%; 
    background-color: #2a2a2a;
    /* ایجاد بافت زبر خاکستر */
    background-image: radial-gradient(#444 15%, transparent 16%), radial-gradient(#111 15%, transparent 16%);
    background-size: 6px 6px;
    background-position: 0 0, 3px 3px;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

/* آتش سیگار (درخشش طبیعی و نئونی ترکیب شده) */
.cigar-ember {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #ff3300, #ffaa00, #ff3300);
    /* ایجاد هاله آتشین جذاب روی پس‌زمینه تاریک */
    box-shadow: 0 0 25px 8px rgba(255, 69, 0, 0.8), 0 0 50px 20px rgba(255, 0, 0, 0.3);
    border-radius: 5px;
    z-index: 10;
}

/* کاغذ سیگار (رنگ کرم-سفید با خطوط افقی ظریف کاغذ) */
.cigar-paper {
    width: 100%;
    flex: 1;
    background-color: #f0f0f0;
    /* ایجاد خطوط افقی (Burn rings) که روی کاغذ سیگار وجود دارد */
    background-image: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 15px,
        rgba(0, 0, 0, 0.05) 16px,
        rgba(0, 0, 0, 0.05) 17px
    );
    box-shadow: inset 0 0 15px rgba(0,0,0,0.4), inset 5px 0 10px rgba(255,255,255,0.8);
}

/* فیلتر سیگار (بافت کلاسیک چوب‌پنبه‌ای فیلتر) */
.cigar-filter {
    width: 100%;
    height: 140px;
    background-color: #c98846;
    /* تکسچر نقطه‌ای فیلتر */
    background-image: radial-gradient(#7a4b22 15%, transparent 16%), radial-gradient(#7a4b22 15%, transparent 16%);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 13px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.7);
}

/* ------------------------------------- */
/* طراحی کارت‌ها (هماهنگ با UI تیره)     */
/* ------------------------------------- */
.cigar-nodes {
    position: relative;
    width: 100%;
    padding: 150px 0 200px 0;
    z-index: 10;
}

.cigar-item {
    display: flex;
    width: 100%;
    margin-bottom: 120px;
    opacity: 0.3;
    transform: scale(0.9) translateY(30px);
    transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cigar-item.right { justify-content: flex-start; }
.cigar-item.left { justify-content: flex-end; }

/* استایل پنل شیشه‌ای (Glassmorphism پریمیوم) */
.glass-panel {
    width: 40%;
    padding: 35px;
    background: rgba(20, 25, 35, 0.4); /* رنگ سورمه‌ای/دودی بسیار شفاف */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    text-align: right;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.time-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    color: #a0aec0;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.glass-panel p {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
    font-weight: 400;
}

/* ------------------------------------- */
/* حالت اکتیو (زمانی که آتش به کارت میرسد)*/
/* ------------------------------------- */
.cigar-item.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.cigar-item.active .glass-panel {
    background: rgba(30, 41, 59, 0.6); /* کمی روشن‌تر برای فوکوس */
    border: 1px solid rgba(0, 230, 118, 0.4); /* بردر سبز ملایم */
    /* ترکیب سایه عمق‌دار و هاله سبز */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 230, 118, 0.08);
}

.cigar-item.active .time-badge {
    background: #00e676; /* رنگ سبز اصلی O2Life */
    color: #022c22; /* رنگ متن تیره برای خوانایی روی سبز */
    border-color: #00e676;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
}

.cigar-item.active .glass-panel p {
    color: #f8fafc; /* سفید شفاف برای متن */
}


/* ------------------------------------- */
/* ریسپانسیو (تبلت و موبایل)             */
/* ------------------------------------- */
@media (max-width: 768px) {
    .cigar-core {
        left: 20px; /* انتقال سیگار به سمت چپ در موبایل */
        transform: none;
    }
    
    .cigar-item.right, .cigar-item.left {
        justify-content: flex-start; /* همه کارت‌ها در یک سمت قرار می‌گیرند */
        padding-right: 60px; /* فاصله از لبه راست */
        padding-left: 20px;
    }
    
    .glass-panel {
        width: 100%;
    }
}
/* ========================================= */
/* بخش درباره ما (About Us)                  */
/* ========================================= */
.about-section {
    width: 100%;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* پنل شیشه‌ای مرکزی */
.glass-panel-about {
    max-width: 900px;
    width: 100%;
    background: rgba(20, 25, 35, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ----------------------------------------- */
/* انیمیشن فیلتر انسان (شاهکار بصری)          */
/* ----------------------------------------- */
.health-filter-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
}

.human-icon {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    fill: currentColor;
}

/* آیکون پایه (ناسالم/خاکستری تیره) */
.human-smoker {
    color: #475569;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

/* آیکون رویی (سالم/آبی نئونی) */
.human-healthy-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #00f2fe; /* آبی اکسیژن/نئونی */
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.8));
    /* انیمیشن ماسک که همگام با لیزر حرکت میکند */
    animation: reveal-health 4s ease-in-out infinite;
}

/* خط لیزر فیلتر */
.filter-laser {
    position: absolute;
    top: -10%;
    bottom: -10%;
    width: 2px;
    background: #ffffff;
    box-shadow: 0 0 15px 5px #00f2fe, 0 0 30px 10px rgba(0, 242, 254, 0.4);
    z-index: 5;
    /* انیمیشن حرکت لیزر */
    animation: scan-laser 4s ease-in-out infinite;
}

/* کی‌فریم‌های انیمیشن اسکن و تغییر رنگ */
@keyframes scan-laser {
    0% { left: -10%; opacity: 0; }
    10% { opacity: 1; }
    50% { left: 110%; }
    90% { opacity: 1; }
    100% { left: -10%; opacity: 0; }
}

@keyframes reveal-health {
    0% { clip-path: inset(0 100% 0 0); }   /* کاملا پنهان */
    50% { clip-path: inset(0 -10% 0 0); }  /* کاملا نمایان (محدوده منفی برای اطمینان) */
    100% { clip-path: inset(0 100% 0 0); } /* بازگشت به پنهان */
}

/* ----------------------------------------- */
/* تایپوگرافی و متون                         */
/* ----------------------------------------- */
.about-text {
    width: 100%;
}

.about-title {
    font-size: 2.5rem;
    color: #f8fafc;
    margin-bottom: 10px;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.about-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 30px;
    font-weight: 500;
}

.about-desc {
    font-size: 1.05rem;
    line-height: 2.2;
    color: #cbd5e1;
    margin-bottom: 20px;
    text-align: justify;
    text-align-last: center; /* برای وسط‌چین ماندن خط آخر در پاراگراف‌های جاستیفای */
}

.about-desc strong {
    color: #e2e8f0;
    font-weight: 700;
}

/* ----------------------------------------- */
/* افکت ورود با اسکرول (Scroll Reveal)       */
/* ----------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------- */
/* ریسپانسیو (موبایل و تبلت)                 */
/* ----------------------------------------- */
@media (max-width: 768px) {
    .glass-panel-about {
        padding: 40px 20px;
    }
    .about-title { font-size: 2rem; }
    .about-subtitle { font-size: 1rem; }
    .about-desc { font-size: 0.95rem; text-align: center; text-align-last: center; }
    .health-filter-animation { width: 100px; height: 100px; }
}


/* ========================================= */
/* بخش ارتباط با ما (Contact Us)             */
/* ========================================= */
.contact-section {
    width: 100%;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* پنل شیشه‌ای فرم */
.glass-panel-contact {
    max-width: 550px; /* اندازه استاندارد و جمع‌وجور فرم */
    width: 100%;
    background: rgba(20, 25, 35, 0.6); /* کمی تیره‌تر برای فرم */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* عنوان ارتباط با ما */
.contact-title {
    font-size: 2.2rem;
    color: #4facfe; /* آبی روشن */
    margin-bottom: 40px;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(79, 172, 254, 0.4);
    text-align: center;
}

/* ساختار فرم */
.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* استایل فیلدهای ورودی */
.form-control {
    width: 100%;
    background: #0f131c; /* رنگ تیره داخل فیلدها */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    color: #f8fafc;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

/* استایل پلیس‌هولدر (متن راهنمای داخل فیلد) */
.form-control::placeholder {
    color: #64748b;
    font-size: 0.95rem;
}

/* افکت هنگام فوکوس (کلیک) روی فیلدها */
.form-control:focus {
    border-color: #4facfe;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.2);
    background: #131824;
}

/* استایل اختصاصی برای باکس پیام (Textarea) */
.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* دکمه ارسال پیام */
.submit-btn {
    width: 100%;
    background: linear-gradient(to right, #4facfe 0%, #4ae39c 100%); /* گرادیانت آبی به سبز نعنایی مطابق عکس */
    border: none;
    border-radius: 30px;
    padding: 16px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(74, 227, 156, 0.2);
    margin-top: 10px;
}

/* افکت هاور دکمه */
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(74, 227, 156, 0.4);
    filter: brightness(1.1);
}

.submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(74, 227, 156, 0.2);
}

/* آیکون داخل دکمه */
.send-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.submit-btn:hover .send-icon {
    transform: translateX(-4px) translateY(-4px); /* حرکت جذاب موشک هنگام هاور */
}

/* ----------------------------------------- */
/* ریسپانسیو برای موبایل                     */
/* ----------------------------------------- */
@media (max-width: 600px) {
    .glass-panel-contact {
        padding: 40px 25px;
    }
    .contact-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .form-control {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    .submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
}


/* Footer */
.glass-footer {
    text-align: center; padding: 2rem; background: rgba(5, 11, 20, 0.8);
    border-top: 1px solid var(--glass-border); margin-top: 3rem;
}
.socials i { font-size: 1.5rem; margin: 0 10px; cursor: pointer; transition: color 0.3s; }
.socials i:hover { color: var(--neon-green); }

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; }
    .hero-content h1 { font-size: 1.8rem; }
}
/* =========================================
   O2Life Hero Section - Premium UI
   ========================================= */

:root {
    /* پالت رنگی خود را اینجا تنظیم کنید */
    --hero-bg: #0f172a;           /* رنگ پس‌زمینه کل بخش */
    --circle-solid: #1e293b;      /* رنگ دایره توپر پشتی */
    --circle-outline: #10b981;    /* رنگ دایره خطی (نئونی/برجسته) */
    --text-light: #ffffff;        /* رنگ متن‌های اصلی */
    --text-muted: #94a3b8;        /* رنگ متن‌های توضیحات */
    --btn-bg: #10b981;            /* رنگ دکمه */
    --btn-text: #000000;          /* رنگ متن دکمه */
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--hero-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IRANSans', Tahoma, sans-serif; /* فونت خود را جایگزین کنید */
}

/* --- Circles (Background) --- */
.hero-circle-solid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-color: var(--circle-solid);
    border-radius: 50%;
    z-index: 1; /* پایین‌ترین لایه */
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.hero-circle-outline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    border: 2px solid var(--circle-outline);
    border-radius: 50%;
    z-index: 2;
    animation: breathe 4s ease-in-out infinite;
}

/* انیمیشن نفس کشیدن دایره خطی */
@keyframes breathe {
    0%   { transform: translate(-50%, -50%) scale(0.95); opacity: 0.5; }
    50%  { transform: translate(-50%, -50%) scale(1.05); opacity: 1; box-shadow: 0 0 30px var(--circle-outline), inset 0 0 20px var(--circle-outline); }
    100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.5; }
}

/* --- Container & Layout --- */
.hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

/* --- Right: Large Text (Behind Image) --- */
.hero-large-text {
    position: relative;
    z-index: 3; /* قرارگیری پشت عکس و جلوی دایره‌ها */
    text-align: right;
    direction: rtl;
    width: 33%;
}

.hero-large-text h1 {
    font-size: 5rem;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1.2;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 5px 5px 15px rgba(0,0,0,0.3);
}

/* --- Center: Character Image --- */
.hero-character {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5; /* بالاترین لایه برای ایجاد افکت 3D */
    height: 85vh; /* ارتفاع کاراکتر */
    display: flex;
    align-items: flex-end;
}

.hero-character img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.5));
}

/* --- Left: Small Text & Button --- */
.hero-small-text {
    position: relative;
    z-index: 10; /* قابل کلیک بودن دکمه */
    width: 25%;
    text-align: right;
    direction: rtl;
}

.hero-small-text h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 15px;
    letter-spacing: 3px;
    font-weight: 700;
}

.hero-small-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

/* =========================================
   Responsive Design
   ========================================= */

/* Laptops & Tablets */
@media (max-width: 1200px) {
    .hero-large-text h1 { font-size: 4rem; }
    .hero-circle-solid { width: 500px; height: 500px; }
    .hero-circle-outline { width: 600px; height: 600px; }
    .hero-small-text { width: 30%; }
}

/* Tablets Portrait */
@media (max-width: 992px) {
    .hero-large-text { width: auto; position: absolute; right: 5%; top: 20%; z-index: 3; }
    .hero-large-text h1 { font-size: 3.5rem; opacity: 0.9; }
    
    .hero-small-text { width: 40%; position: absolute; left: 5%; bottom: 10%; z-index: 10; background: rgba(15, 23, 42, 0.8); padding: 20px; border-radius: 15px; backdrop-filter: blur(10px); }
    
    .hero-character { height: 70vh; }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .hero-section { min-height: 100vh; padding-top: 80px; }
    .hero-circle-solid { width: 300px; height: 300px; }
    .hero-circle-outline { width: 350px; height: 350px; }
    
    .hero-container { flex-direction: column; justify-content: flex-start; align-items: center; }
    
    .hero-large-text { position: relative; right: auto; top: auto; text-align: center; margin-bottom: 20px; z-index: 10; width: 100%; }
    .hero-large-text h1 { font-size: 2.8rem; text-shadow: 2px 2px 10px rgba(0,0,0,0.8); }
    
    .hero-character { position: relative; bottom: auto; left: auto; transform: none; height: 45vh; z-index: 5; margin-bottom: 20px; }
    
    .hero-small-text { position: relative; left: auto; bottom: auto; width: 90%; text-align: center; background: none; padding: 0; backdrop-filter: none; z-index: 10; }
    .hero-small-text p { font-size: 0.9rem; }
}



/* --- ریسپانسیو (برای موبایل و تبلت) --- */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }
    .hero-right, .hero-left {
        text-align: center;
        width: 100%;
        margin-bottom: 30px;
    }
    .hero-left p {
        margin: 0 auto 20px auto;
    }
    .hero-right h1 {
        font-size: 3.5rem;
    }
    .breathing-circle {
        width: 280px;
        height: 280px;
    }
}
/* =========================================
   Responsive Design (تبلت و موبایل)
   ========================================= */

/* Laptops & Tablets (زیر 1200 پیکسل) */
@media (max-width: 1200px) {
    .hero-large-text h1 { font-size: 4rem; }
    .hero-circle-solid { width: 500px; height: 500px; }
    .hero-circle-outline { width: 600px; height: 600px; }
    .hero-small-text { width: 30%; }
}

/* Tablets Portrait (زیر 992 پیکسل) */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        justify-content: center;
        padding-top: 100px; /* فاصله از هدر */
    }
    
    .hero-large-text { width: 100%; text-align: center; margin-bottom: -50px; z-index: 6; position: relative; }
    .hero-large-text h1 { font-size: 3.5rem; text-shadow: 2px 2px 10px rgba(0,0,0,0.8); }
    
    .hero-character { height: 50vh; position: relative; z-index: 5; margin-bottom: 20px; }
    
    .hero-small-text { width: 80%; text-align: center; position: relative; z-index: 10; background: rgba(15, 23, 42, 0.6); padding: 25px; border-radius: 15px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.05); }
}

/* Mobile Devices (زیر 768 پیکسل) */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        height: auto;
        padding: 120px 0 50px 0; /* ایجاد فضای کافی برای بالا و پایین */
    }
    
    .hero-circle-solid { width: 280px; height: 280px; top: 45%; }
    .hero-circle-outline { width: 320px; height: 320px; top: 45%; }
    
    .hero-large-text { margin-bottom: -30px; }
    .hero-large-text h1 { font-size: 2.5rem; line-height: 1.4; }
    
    .hero-character { height: 40vh; }
    
    .hero-small-text { width: 90%; padding: 15px; background: none; backdrop-filter: none; border: none; }
    .hero-small-text h3 { font-size: 1.1rem; }
    .hero-small-text p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
    
    .hero-btn { width: 100%; text-align: center; padding: 15px 0; font-size: 1.1rem; }
}

/* Small Mobiles (زیر 480 پیکسل - رفع مشکل بیرون‌زدگی) */
@media (max-width: 480px) {
    .hero-large-text h1 { font-size: 2rem; }
    .hero-character { height: 35vh; }
    .hero-circle-solid { width: 240px; height: 240px; }
    .hero-circle-outline { width: 280px; height: 280px; }
}

body {
    background: #070b0a;
    color: #eef5f1;
    font-family: 'Vazirmatn', sans-serif;
    text-align: center;
    padding: 60px 20px;
    direction: rtl;
}
