/* ============================================
   MineMaint AI - Landing Page
   Design inspired by 3ds.com
   ============================================ */

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

:root {
    --primary: #ff6b1a;
    --primary-dark: #e55a0d;
    --primary-light: #ff8c42;
    --dark: #0a0e27;
    --dark-2: #141b3d;
    --darker: #050817;
    --gray: #64748b;
    --light: #f1f5f9;
    --white: #ffffff;
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,107,26,0.4);
    --text-dim: #94a3b8;
    --text-muted: #64748b;
}

html {
    scroll-behavior: smooth;
}

body.landing-body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--darker);
    color: var(--white);
    direction: rtl;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   HEADER
   ============================================ */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.landing-header.scrolled {
    background: rgba(5, 8, 23, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

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

.landing-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.landing-logo-icon {
    font-size: 30px;
}

.landing-logo-orange {
    color: var(--primary);
}

.landing-nav {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.landing-nav a {
    color: var(--text-dim);
    text-decoration: none;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
    border-radius: 8px;
}

.landing-nav a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

.landing-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-landing-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(255,107,26,0.3);
}

.btn-landing-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,107,26,0.5);
}

.login-arrow {
    transition: transform 0.3s;
    font-size: 16px;
}

.btn-landing-login:hover .login-arrow {
    transform: translateX(-4px);
}

.landing-mobile-menu {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5,8,23,0.96) 0%,
        rgba(10,14,39,0.88) 40%,
        rgba(10,14,39,0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 0 32px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255,107,26,0.12);
    border: 1px solid rgba(255,107,26,0.35);
    border-radius: 100px;
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255,107,26,0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,107,26,0.7); }
    70% { box-shadow: 0 0 0 12px rgba(255,107,26,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,107,26,0); }
}

.hero-title {
    font-size: clamp(38px, 6vw, 76px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title-orange {
    color: var(--primary);
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(15px, 1.8vw, 19px);
    color: var(--text-dim);
    margin-bottom: 48px;
    line-height: 2;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    font-size: 17px;
    font-weight: 800;
    font-family: inherit;
    transition: all 0.3s;
    box-shadow: 0 8px 32px rgba(255,107,26,0.4);
    border: none;
    cursor: pointer;
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(255,107,26,0.6);
}

.btn-arrow {
    font-size: 20px;
    transition: transform 0.3s;
}

.btn-hero-primary:hover .btn-arrow {
    transform: translateX(-6px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    font-size: 17px;
    font-weight: 700;
    font-family: inherit;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    animation: fadeIn 1s ease 1.2s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.4); opacity: 0.4; }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   STATS
   ============================================ */
.stats-section {
    background: var(--darker);
    padding: 80px 32px;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 15px;
    color: var(--text-dim);
    font-weight: 600;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
}

.features-section,
.industries-section,
.about-section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 72px;
}

.section-badge {
    display: inline-block;
    padding: 7px 18px;
    background: rgba(255,107,26,0.12);
    border: 1px solid rgba(255,107,26,0.35);
    border-radius: 100px;
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-dim);
    line-height: 1.9;
}

.title-orange {
    color: var(--primary);
}

/* ============================================
   FEATURES
   ============================================ */
.features-section {
    background: var(--dark);
}

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

.feature-card {
    position: relative;
    padding: 40px 32px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.feature-card-highlight {
    background: linear-gradient(135deg, rgba(255,107,26,0.06) 0%, rgba(255,107,26,0.02) 100%);
    border-color: rgba(255,107,26,0.25);
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,107,26,0.1);
    border-radius: 16px;
    margin-bottom: 24px;
    transition: all 0.4s;
}

.feature-card:hover .feature-icon-wrap {
    background: rgba(255,107,26,0.2);
    transform: scale(1.05);
}

.feature-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.feature-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--white);
    letter-spacing: -0.5px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.8;
}

.feature-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.feature-badge-soon {
    background: rgba(255,255,255,0.1);
    color: var(--text-dim);
    border: 1px solid rgba(255,255,255,0.15);
}

/* ============================================
   INDUSTRIES
   ============================================ */
.industries-section {
    background: var(--darker);
}

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

.industry-card {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.industry-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.industry-card:hover {
    transform: scale(1.02);
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5,8,23,0.95) 0%,
        rgba(5,8,23,0.6) 50%,
        rgba(5,8,23,0.3) 100%
    );
    transition: all 0.5s;
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(
        to top,
        rgba(255,107,26,0.7) 0%,
        rgba(5,8,23,0.75) 60%,
        rgba(5,8,23,0.4) 100%
    );
}

.industry-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    color: white;
    z-index: 2;
}

.industry-icon {
    font-size: 42px;
    display: block;
    margin-bottom: 12px;
}

.industry-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.industry-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about-section {
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    text-align: right;
}

.about-content .section-title {
    text-align: right;
    margin-bottom: 24px;
}

.about-text {
    font-size: 17px;
    color: var(--text-dim);
    line-height: 2;
    margin-bottom: 28px;
}

.about-list {
    list-style: none;
    margin-bottom: 40px;
}

.about-list li {
    padding: 12px 0;
    padding-right: 36px;
    position: relative;
    font-size: 16px;
    color: var(--white);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.about-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
}

.btn-about {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 800;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(255,107,26,0.35);
}

.btn-about:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(255,107,26,0.5);
}

.btn-about:hover .btn-arrow {
    transform: translateX(-6px);
}

.about-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,107,26,0.15) 0%, transparent 60%);
    border-radius: 24px;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
    position: relative;
    padding: 140px 32px;
    overflow: hidden;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,107,26,0.85) 0%,
        rgba(229,90,13,0.9) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    line-height: 1.9;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-hero-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.cta-section .btn-hero-primary:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.cta-section .btn-hero-secondary {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

.cta-section .btn-hero-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: white;
}

/* ============================================
   FOOTER
   ============================================ */
.landing-footer {
    background: var(--darker);
    padding: 80px 32px 40px;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.9;
    max-width: 360px;
}

.footer-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    color: var(--text-dim);
    font-size: 14px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        height: 400px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .landing-header-content {
        padding: 0 20px;
        gap: 12px;
    }
    
    .landing-nav {
        position: fixed;
        top: 70px;
        right: 16px;
        left: 16px;
        flex-direction: column;
        background: rgba(10,14,39,0.98);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 12px;
        gap: 4px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        visibility: hidden;
    }
    
    .landing-nav.open {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        padding: 12px;
    }
    
    .landing-nav a {
        padding: 14px 20px;
        text-align: right;
        width: 100%;
    }
    
    .landing-mobile-menu {
        display: block;
    }
    
    .btn-landing-login {
        padding: 9px 16px;
        font-size: 13px;
    }
    
    .btn-landing-login span:first-child {
        display: none;
    }
    
    .btn-landing-login::before {
        content: "ورود";
    }
    
    .hero-title {
        letter-spacing: -1px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        justify-content: center;
    }
    
    .section-container {
        padding: 0 20px;
    }
    
    .features-section,
    .industries-section,
    .about-section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-section {
        padding: 60px 20px;
    }
    
    .stats-grid {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .cta-section {
        padding: 100px 20px;
    }
    
    .about-image {
        height: 280px;
    }
    
    .feature-card {
        padding: 32px 24px;
    }
    
    .industry-card {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .landing-logo {
        font-size: 18px;
    }
    
    .landing-logo-icon {
        font-size: 24px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }
    
    .hero-scroll-hint {
        display: none;
    }
}

