:root {
    --primary-dark: #0a0e27;
    --primary: #0f1235;
    --secondary: #16213e;
    --accent: #00d4ff;
    --accent-dark: #0099cc;
    --text-primary: #ffffff;
    --text-secondary: #b8c6db;
    --gradient: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.header {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 12px;
}

.logo-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    display: block;
}

.logo-text {
    text-align: right;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.hero-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    
    margin: 1rem 0;
}

.subtitle-white {
    font-size: 5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.subtitle-blue {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 1.5rem auto;
    line-height: 1.8;
}

.company-slogan {
    margin: 1.5rem 0;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50px;
    display: inline-block;
    font-size: 1.1rem;
}

.company-slogan i {
    color: var(--accent);
    margin: 0 0.5rem;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 12px;
    border: none;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    min-width: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Features */
.features {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-dark);
}

/* Team Section */
.team-section {
    margin-top: 3rem;
    padding: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-role {
    display: inline-block;
    background: var(--gradient);
    color: var(--primary-dark);
    padding: 0.2rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin: 0.5rem 0;
    font-weight: 700;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.team-quote {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--accent);
    font-style: italic;
}

.team-quote i {
    margin-left: 0.5rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    margin-top: 4rem;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-slogan {
    color: var(--accent);
    margin: 1rem 0;
    font-style: italic;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Coming Soon */
.coming-soon-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.coming-soon-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.coming-soon-icon i {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.coming-soon-badge {
    display: inline-block;
    background: var(--gradient);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin: 1rem 0;
}

.coming-soon-badge span {
    color: var(--primary-dark);
    font-weight: 700;
}

.coming-soon-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
}

.feature-item i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    height: 10px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress-fill {
    background: var(--gradient);
    height: 100%;
    border-radius: 50px;
}

.progress-text {
    color: var(--accent);
    margin-top: 0.5rem;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
}

/* About Sections */
.about-section {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.about-section h2 {
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1000;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        margin: 3px 0;
        transition: 0.3s;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .subtitle-white {
        font-size: 1.7rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-card {
        min-width: 80px;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .team-image {
        height: 250px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}

/* Survey Page */

.survey-container{
max-width:800px;
margin:3rem auto;
padding:2rem;
background:rgba(255,255,255,0.05);
border-radius:20px;
border:1px solid rgba(0,212,255,0.15);
backdrop-filter:blur(10px);
}

.survey-title{
text-align:center;
margin-bottom:2rem;
}

.survey-title h1{
font-size:2rem;
color:var(--accent);
margin-bottom:0.5rem;
}

.survey-title p{
color:var(--text-secondary);
font-size:0.9rem;
}

.survey-question{
margin-top:2rem;
padding:1rem;
border-radius:12px;
background:rgba(255,255,255,0.03);
}

.survey-question p{
margin-bottom:0.8rem;
font-weight:600;
}

.survey-options label{
display:block;
padding:0.6rem 0.8rem;
border-radius:8px;
cursor:pointer;
transition:all 0.25s;
color:var(--text-secondary);
}

.survey-options label:hover{
background:rgba(0,212,255,0.08);
color:var(--text-primary);
}

.survey-options input{
margin-left:8px;
accent-color:var(--accent);
}

.survey-submit{
margin-top:2rem;
width:100%;
}

.survey-submit button{
width:100%;
padding:0.9rem;
border:none;
border-radius:12px;
background:var(--gradient);
color:var(--primary-dark);
font-weight:700;
cursor:pointer;
transition:all 0.3s;
}

.survey-submit button:hover{
transform:translateY(-2px);
box-shadow:0 10px 25px rgba(0,212,255,0.35);
}
/* Countdown Timer */

.countdown{
display:flex;
justify-content:center;
gap:20px;
margin-top:30px;
flex-wrap:wrap;
}

.time-box{
background:rgba(255,255,255,0.05);
border:1px solid rgba(0,212,255,0.2);
padding:18px 20px;
border-radius:14px;
min-width:90px;
text-align:center;
backdrop-filter:blur(10px);
transition:all 0.3s ease;
}

.time-box:hover{
transform:translateY(-4px);
border-color:var(--accent);
box-shadow:0 8px 20px rgba(0,212,255,0.25);
}

.time-box span{
font-size:28px;
font-weight:800;
color:var(--accent);
display:block;
}

.time-box p{
font-size:13px;
color:var(--text-secondary);
margin-top:5px;
}

.elite-container{
text-align:center;
padding:60px 20px;
max-width:900px;
margin:auto;
}

.elite-title{
font-size:32px;
margin-bottom:10px;
color:var(--accent);
}

.elite-text{
color:var(--text-secondary);
margin-bottom:40px;
}

.countdown{
display:flex;
justify-content:center;
gap:20px;
margin-bottom:50px;
flex-wrap:wrap;
}

.time-box{
background:#1c1c1c;
padding:20px;
border-radius:10px;
width:100px;
}

.time-box span{
font-size:28px;
font-weight:bold;
color:var(--accent);
}

.time-box p{
margin-top:5px;
font-size:14px;
color:var(--text-secondary);
}

.timeline{
margin-top:40px;
border-left:3px solid var(--accent);
padding-left:30px;
text-align:right;
}

.timeline-item{
margin-bottom:30px;
position:relative;
}

.timeline-dot{
position:absolute;
right:-38px;
top:5px;
width:15px;
height:15px;
background:var(--accent);
border-radius:50%;
}

.timeline-content h3{
margin:0;
font-size:18px;
}

.timeline-content p{
margin:5px 0 0;
color:var(--text-secondary);
font-size:14px;
}

.timeline-title{
margin-top:40px;
margin-bottom:20px;
}

.elite-container{
text-align:center;
padding:60px 20px;
max-width:900px;
margin:auto;
}

.elite-title{
font-size:32px;
margin-bottom:10px;
color:var(--accent);
}

.elite-text{
color:var(--text-secondary);
margin-bottom:40px;
}

.countdown{
display:flex;
justify-content:center;
gap:20px;
margin-bottom:40px;
flex-wrap:wrap;
}

.time-box{
background:#1c1c1c;
padding:20px;
border-radius:10px;
width:100px;
}

.time-box span{
font-size:28px;
font-weight:bold;
color:var(--accent);
}

.time-box p{
margin-top:5px;
font-size:14px;
color:var(--text-secondary);
}

.progress-container{
margin-top:20px;
}

.progress-bar{
width:100%;
height:12px;
background:#2a2a2a;
border-radius:10px;
overflow:hidden;
}

.progress-fill{
width:60%;
height:100%;
background:var(--accent);
}

.progress-text{
margin-top:10px;
color:var(--text-secondary);
font-size:14px;
}

.nav-menu li a span{
    font-size:14px;   /* اندازه دلخواه */
}

/* SHOP PAGE */

.shop-container{
    padding:40px 5%;
}

/* HERO */

.shop-hero{
    text-align:center;
    margin-bottom:50px;
}

.shop-hero h1{
    font-size:36px;
    margin-bottom:10px;
}

.shop-hero p{
    color:var(--text-secondary);
    max-width:600px;
    margin:auto;
}


/* CATEGORY GRID */

.shop-categories{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;

    margin-bottom:60px;
}

.shop-category{

    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);

    padding:25px;
    border-radius:15px;

    text-align:center;

    transition:0.3s;
}

.shop-category:hover{

    transform:translateY(-5px);

    border-color:var(--accent);

    box-shadow:0 10px 30px rgba(0,243,255,0.1);
}

.shop-category i{

    font-size:28px;
    color:var(--accent);

    margin-bottom:10px;
}

.shop-category h3{

    margin-bottom:8px;
}

.shop-category p{

    font-size:13px;
    color:var(--text-secondary);
}



/* PRODUCT GRID */

.shop-products{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:25px;
}


/* PRODUCT CARD */

.product-card{

    background:rgba(255,255,255,0.03);

    border:1px solid rgba(255,255,255,0.08);

    border-radius:18px;

    padding:25px;

    transition:0.3s;
}

.product-card:hover{

    transform:translateY(-6px);

    border-color:var(--accent);

    box-shadow:0 15px 40px rgba(0,243,255,0.15);
}


.product-icon{

    font-size:30px;

    color:var(--accent);

    margin-bottom:10px;
}

.product-card h3{

    margin-bottom:8px;
}

.product-card p{

    font-size:14px;

    color:var(--text-secondary);

    margin-bottom:20px;
}


.product-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;
}

.price{

    font-size:14px;

    color:var(--accent);
}


.shop-btn{

    background:var(--gradient);

    border:none;

    padding:8px 16px;

    border-radius:10px;

    color:white;

    font-size:13px;

    cursor:pointer;

    transition:0.3s;
}

.shop-btn:hover{

    transform:scale(1.05);
}

.coming-soon-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.coming-soon-card {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.coming-soon-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
}

.coming-soon-badge {
    margin: 0 auto 20px auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.coming-soon-features {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.feature-item {
    width: 100%;
    max-width: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.progress-text {
    text-align: center;
    width: 100%;
}

.coming-soon-card h1,
.coming-soon-card h2,
.coming-soon-card h3,
.coming-soon-card p,
.coming-soon-card span,
.coming-soon-card div {
    text-align: center;
}

.coming-soon-container{
    min-height:80vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.coming-soon-card{
    max-width:650px;
    width:100%;
    padding:40px;
    border-radius:20px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    backdrop-filter:blur(12px);
}

.coming-soon-icon{
    font-size:48px;
    margin-bottom:20px;
    color:var(--accent);
}

.academy-desc{
    margin:15px 0 25px 0;
    color:#aaa;
}

.coming-soon-features{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:25px;
}

.feature-item{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}

.progress-bar{
    width:100%;
    height:8px;
    background:rgba(255,255,255,0.1);
    border-radius:10px;
    overflow:hidden;
    margin-top:20px;
}

.progress-fill{
    height:100%;
    background:linear-gradient(90deg,#00eaff,#6a5cff);
}

.progress-text{
    margin-top:10px;
    font-size:13px;
    color:#bbb;
}

/* تنظیمات کلی کانتینر برای راست‌چین کردن محتوا */
.dashboard-container {
    direction: rtl;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* هدر و آمار بالا */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.user-stats-badge {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 8px 15px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* گرید آمار - ۳ ستونه مطابق تصویر */
.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.user-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.user-stat-card i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 15px;
    display: block;
}

.user-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
}

/* بخش اصلی آپلود - انتقال به سمت راست مطابق اسکرین‌شات */
.ai-card {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* هل دادن محتوا به سمت راست */
    background: transparent;
    border: none;
}

.upload-area {
    width: 100%;
    max-width: 400px; /* عرض مشابه تصویر */
    background: transparent;
    text-align: right;
    cursor: pointer;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.upload-area h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.upload-area p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* استایل دکمه‌ها مطابق اسکرین‌شات */
.action-buttons {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    justify-content: center;
}

.btn-outline {
    border: 1.5px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:disabled {
    background: #333;
    color: #666;
    box-shadow: none;
}

/* نمایش نتیجه در سمت چپ یا پایین */
.result-card {
    width: 100%;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
}

/* مرکز قرار دادن کل پنل AI */
.ai-card {
    display: flex;
    flex-direction: column;
    align-items: center;      /* وسط افقی */
    justify-content: center;
    text-align: center;
    margin-top: 40px;
}

/* باکس آپلود */
.upload-area {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* آیکون آپلود */
.upload-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--accent);
}

/* دکمه‌ها */
.action-buttons {
    width: 100%;
    max-width: 420px;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.action-buttons .btn {
    width: 100%;
    max-width: 260px;
}

.upload-area .btn,
.action-buttons .btn {
    width: 260px;   /* هر دو دکمه دقیقاً یک اندازه */
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* اصلاح بخش دکمه‌ها برای هم‌اندازه شدن */
.upload-area, .action-buttons {
    display: flex;
    flex-direction: column;
    align-items: center; /* تراز کردن دکمه‌ها در وسط */
    width: 100%;
}

.upload-area .btn-outline, 
#analyzeBtn {
    width: 100%;
    max-width: 300px; /* عرض یکسان برای هر دو دکمه */
    height: 48px;     /* ارتفاع یکسان */
    margin: 8px 0;    /* فاصله منظم بین دکمه‌ها */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* استایل دکمه شروع تحلیل در حالت غیرفعال */
#analyzeBtn:disabled {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    cursor: not-allowed;
    box-shadow: none;
}

/* استایل دکمه شروع تحلیل در حالت فعال (بعد از آپلود عکس) */
#analyzeBtn:not(:disabled) {
    background: var(--accent); /* رنگ آبی درخشان شما */
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    cursor: pointer;
}

/* آیکون‌های داخل دکمه */
.btn i {
    margin-left: 8px; /* فاصله آیکون از متن در زبان فارسی */
}

.modern-options{
    display: flex;
    flex-wrap: nowrap;      /* همه در یک سطر */
    gap: 12px;
}

.option-card{
    flex: 1;                /* همه کارت‌ها عرض مساوی بگیرند */
}

.card-content{
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 14px 10px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.85rem;
    white-space: nowrap;    /* جلوگیری از شکستن متن */
}

.analysis-styled-content {
    line-height: 1.8;
    color: #e0e0e0;
    text-align: right;
    direction: rtl;
    font-size: 0.95rem;
}

.analysis-styled-content h1, 
.analysis-styled-content h2, 
.analysis-styled-content h3 {
    color: #35d6ff; /* رنگ آبی برند تو */
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(53, 214, 255, 0.2);
    padding-bottom: 5px;
}

.analysis-styled-content ul, 
.analysis-styled-content ol {
    padding-right: 1.5rem;
    margin-bottom: 1.5rem;
    list-style-type: square;
}

.analysis-styled-content li {
    margin-bottom: 0.5rem;
}

.analysis-styled-content strong {
    color: #fff;
    background: rgba(53, 214, 255, 0.1);
    padding: 0 4px;
    border-radius: 4px;
}

/* افکت تایپ یا انیمیشن برای ورود متن */
.result-card {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* progress bar */

.progress-bar{
width:100%;
max-width:520px;
height:10px;
margin:30px auto 10px auto;
background:rgba(255,255,255,0.06);
border-radius:20px;
overflow:hidden;
border:1px solid rgba(255,255,255,0.08);
position:relative;
}

/* progress fill */

.progress-fill{
height:100%;
background:linear-gradient(90deg,#38bdf8,#60a5fa,#22d3ee);
border-radius:20px;
position:relative;
box-shadow:0 0 14px rgba(56,189,248,0.7);
animation:progressLoad 1.6s ease;
}

/* moving light */

.progress-fill::after{
content:"";
position:absolute;
top:0;
left:-40%;
width:40%;
height:100%;
background:linear-gradient(
90deg,
transparent,
rgba(255,255,255,0.35),
transparent
);
animation:progressShine 2.4s infinite;
}

/* text */

.progress-text{
text-align:center;
font-size:0.9rem;
color:var(--muted);
margin-top:6px;
letter-spacing:0.4px;
}

/* animations */

@keyframes progressLoad{
0%{width:0}
100%{width:99%}
}

@keyframes progressShine{
0%{left:-40%}
100%{left:140%}
}

.analysis-page{
max-width:1100px;
margin:auto;
padding:40px 20px;
}

.analysis-header{
text-align:center;
margin-bottom:40px;
}

.analysis-header h1{
font-size:32px;
margin-bottom:10px;
}

.analysis-header p{
color:#666;
}

.analysis-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:30px;
}

.analysis-card{
background:white;
border-radius:14px;
padding:25px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.tutorial-video{
width:100%;
border-radius:10px;
}

.upload-box{
border:2px dashed #ccc;
border-radius:12px;
padding:40px;
text-align:center;
cursor:pointer;
transition:0.3s;
}

.upload-box:hover{
border-color:#007bff;
}

.upload-label{
cursor:pointer;
display:flex;
flex-direction:column;
align-items:center;
gap:10px;
}

.upload-icon{
font-size:40px;
}

.analyze-btn{
margin-top:20px;
width:100%;
padding:14px;
background:#007bff;
border:none;
color:white;
font-size:16px;
border-radius:8px;
cursor:pointer;
}

.analyze-btn:hover{
background:#0056b3;
}

.image-preview{
margin-top:20px;
text-align:center;
}

.image-preview img{
max-width:100%;
border-radius:10px;
}

.analysis-result{
margin-top:40px;
}

.result-box{
background:#f7f9fc;
padding:25px;
border-radius:10px;
line-height:1.8;
}
