@charset "utf-8";
/* ===== فونت‌های محلی (فقط Regular و SemiBold) ===== */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    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-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-bg: #080808;
    --color-bg-secondary: #111111;
    --color-bg-glass: rgba(18,18,18,.58);
    --color-text: #F5F3EE;
    --color-text-secondary: #CFC8B8;
    --color-text-muted: #8A857A;
    --color-gold: #C8A95B;
    --color-gold-light: #E4C87A;
    --color-gold-dark: #8B6A2A;
    --color-gold-bright: #F3D98A;
    --color-gold-soft: #B89549;
    --color-border: rgba(200,169,91,.18);
    --color-border-hover: rgba(200,169,91,.38);
    --color-glow: rgba(200,169,91,.22);
    --shadow-soft: 0 8px 32px rgba(0,0,0,.35);
    --shadow-gold: 0 0 18px rgba(200,169,91,.18);
    --gradient-gold: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
    --gradient-gold-soft: linear-gradient(135deg, rgba(200,169,91,.08), rgba(228,200,122,.03));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }
body {
    font-family: 'Vazirmatn', 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    min-height: 100vh;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Neural Background */
.neural-background {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
    background: 
        radial-gradient(circle at 15% 85%, rgba(200,169,91,0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(228,200,122,0.12) 0%, transparent 50%),
        radial-gradient(circle at 45% 60%, rgba(184,149,73,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 40%, rgba(243,217,138,0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #000000 100%);
    animation: backgroundPulse 14s ease-in-out infinite;
}
@keyframes backgroundPulse {
    0%, 100% { filter: brightness(0.95) saturate(1.1) hue-rotate(0deg); }
    33% { filter: brightness(1.05) saturate(1.3) hue-rotate(5deg); }
    66% { filter: brightness(1.0) saturate(1.2) hue-rotate(-5deg); }
}

/* Geometric shapes */
.geometric-shapes { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; }
.shape { position: absolute; border: none; background: none; animation: floatShape 20s linear infinite; opacity: 0; will-change: transform, opacity; }
.shape svg { width: 100%; height: 100%; overflow: visible; }
.shape .shape-logo { fill: none; stroke: var(--color-gold); stroke-width: 1.5px; opacity: 0.4; transition: opacity 0.3s; }
.shape:nth-child(1) .shape-logo { stroke: var(--color-gold); }
.shape:nth-child(2) .shape-logo { stroke: var(--color-gold-soft); }
.shape:nth-child(3) .shape-logo { stroke: var(--color-gold-light); }
.shape:nth-child(4) .shape-logo { stroke: var(--color-gold-bright); }
.shape:nth-child(1) { width: 120px; height: 120px; left: 10%; animation-delay: 0s; }
.shape:nth-child(2) { width: 80px; height: 80px; left: 70%; animation-delay: -5s; }
.shape:nth-child(3) { width: 100px; height: 100px; left: 30%; animation-delay: -10s; }
.shape:nth-child(4) { width: 140px; height: 140px; left: 50%; animation-delay: -15s; }
@keyframes floatShape {
    from { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10%, 90% { opacity: 1; }
    to { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Brand Quote */
.brand-quote { padding: 120px 20px; text-align: center; position: relative; }
.quote-container p { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 400; color: var(--color-gold-bright); max-width: 900px; margin: 0 auto; line-height: 1.5; opacity: 0.85; font-style: italic; }

/* Footer Grid */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; text-align: right; margin-bottom: 40px; }
.footer-brand p { margin: 0; }
.footer-logo-text { font-size: 1.8rem; font-weight: 600; color: var(--color-gold); }
.footer-slogan { color: var(--color-text-muted); margin-top: 8px; }
.footer-col h4 { color: var(--color-gold-bright); margin-bottom: 16px; font-size: 1.1rem; }
.footer-col a { display: block; color: var(--color-text-secondary); text-decoration: none; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--color-gold-light); }
.footer-bottom { border-top: 1px solid var(--color-border); padding-top: 20px; text-align: center; color: var(--color-text-muted); font-size: 0.9rem; }
.footer-company-info { margin-top: 15px; font-size: 0.9rem; color: var(--color-text-muted); }
.footer-company-info p { margin: 4px 0; }

/* Technology stack note */
.tech-stack-note { text-align: center; color: var(--color-text-muted); margin-top: 40px; font-size: 1rem; font-style: italic; }

/* Neural lines */
.neural-lines { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.neural-line { position: absolute; background: linear-gradient(90deg, transparent, var(--color-gold-bright), transparent); height: 1px; animation: neuralPulse 3s ease-in-out infinite; }
.neural-line:nth-child(1) { top: 20%; left: 0; width: 100%; background: linear-gradient(90deg, transparent, var(--color-gold-light), transparent); animation-delay: 0s; }
.neural-line:nth-child(2) { top: 60%; left: 0; width: 100%; background: linear-gradient(90deg, transparent, var(--color-gold), transparent); animation-delay: -1s; }
.neural-line:nth-child(3) { top: 40%; left: 0; width: 100%; background: linear-gradient(90deg, transparent, var(--color-gold-soft), transparent); animation-delay: -2s; }
@keyframes neuralPulse {
    0%, 100% { opacity: 0.2; transform: scaleX(0.5); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* Glassmorphism */
.glass { background: var(--color-bg-glass); backdrop-filter: blur(20px); border: 1px solid var(--color-border); border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.glass-strong { background: rgba(255,255,255,.05); backdrop-filter: blur(25px); border: 1px solid var(--color-border-hover); border-radius: 25px; box-shadow: 0 12px 40px rgba(0,0,0,.4); }

/* Language Switcher */
.language-switcher { display: flex; align-items: center; gap: 6px; margin-left: 20px; margin-right: 20px; }
.lang-link { color: var(--color-text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 400; transition: all 0.3s ease; padding: 4px 8px; border-radius: 6px; }
.lang-link.active-lang { color: var(--color-gold-bright); background: rgba(200, 169, 91, 0.15); box-shadow: 0 0 10px var(--color-glow); }
.lang-link:hover { color: var(--color-gold); }
.lang-separator { color: var(--color-text-muted); font-size: 0.9rem; }
[dir="rtl"] .language-switcher { margin-left: 0; margin-right: 20px; }

/* Header */
header {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 100;
    width: 96%; max-width: 1200px; padding: 18px 35px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    background: rgba(18,18,18,.72); backdrop-filter: blur(25px);
    border: 1px solid var(--color-border); border-radius: 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
}
header.scrolled { background: rgba(18, 18, 18, 0.366); backdrop-filter: blur(30px); border-color: var(--color-border-hover); box-shadow: 0 12px 40px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(200,169,91,.1); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 600; background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; animation: logoGlow 3s ease-in-out infinite; transition: all 0.3s ease; }
.logo-icon .logo-fill { fill: var(--color-gold); transition: fill 0.3s; }
.logo-icon .logo-outline { fill: none; stroke: var(--color-gold-bright); stroke-width: 2px; transition: stroke 0.3s; }
.logo:hover .logo-fill { fill: var(--color-gold-light); }
.logo:hover .logo-outline { stroke: var(--color-gold-light); }
.logo:hover { transform: scale(1.05); }
.logo-icon { width: 40px; height: 40px; filter: drop-shadow(0 0 10px var(--color-gold)); }
@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 10px var(--color-gold)); }
    50% { filter: drop-shadow(0 0 20px var(--color-gold-light)); }
}
.nav-links { display: flex; list-style: none; gap: 12px; }
.nav-links a { color: #ffffff; text-decoration: none; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); position: relative; padding: 12px 20px; border-radius: 15px; font-size: 0.95rem; font-weight: 400; letter-spacing: 0.02em; }
.nav-links a.active { color: var(--color-gold-bright); background: linear-gradient(135deg, rgba(200,169,91,.15), rgba(228,200,122,.1)); box-shadow: 0 0 20px var(--color-glow), inset 0 1px 0 rgba(255,255,255,.15), 0 4px 15px rgba(200,169,91,.2); border: 1px solid var(--color-border-hover); text-shadow: 0 0 10px rgba(200,169,91,.8); transform: translateY(-1px); }
.nav-links a.active::after { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: var(--gradient-gold); background-size: 400% 400%; border-radius: 17px; z-index: -2; animation: borderGlow 3s ease infinite; }
@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mobile Menu */
.mobile-menu-toggle { display: none; flex-direction: column; cursor: pointer; padding: 8px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: all 0.3s ease; }
.mobile-menu-toggle:hover { background: rgba(200,169,91,.1); box-shadow: 0 0 15px var(--color-glow); }
.mobile-nav a.active { background: linear-gradient(135deg, rgba(200,169,91,.2), rgba(228,200,122,.15)); color: var(--color-gold-bright); border: 1px solid var(--color-border-hover); box-shadow: 0 0 25px var(--color-glow), inset 0 1px 0 rgba(255,255,255,.1); transform: translateY(-2px); text-shadow: 0 0 10px rgba(200,169,91,.6); }
.hamburger-line { width: 25px; height: 3px; background: var(--gradient-gold); margin: 3px 0; border-radius: 2px; transition: all 0.3s ease; }
.mobile-menu-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(9px,9px); }
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(7px,-6px); }
.mobile-nav { position: fixed; top: 90px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 400px; background: rgba(0,0,0,.95); backdrop-filter: blur(25px); border: 1px solid var(--color-border); border-radius: 20px; padding: 30px; display: none; flex-direction: column; gap: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.8); }
.mobile-nav.active { display: flex; animation: slideDown 0.3s ease-out; }
@keyframes slideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.mobile-nav a { color: #ffffff; text-decoration: none; padding: 15px 20px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 1.1rem; transition: all 0.3s ease; }
.mobile-nav a:hover { background: rgba(200,169,91,.1); color: var(--color-gold-bright); box-shadow: 0 0 20px var(--color-glow); transform: translateY(-2px); }

/* Hero */
.hero { display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 50%; left: 50%; width: 60%; height: 60%; background: radial-gradient(circle, rgba(200,169,91,.06) 0%, transparent 70%); transform: translate(-50%,-50%); animation: heroGlow 10s ease-in-out infinite; z-index: -1; }
@keyframes heroGlow {
    0%, 100% { transform: translate(-50%,-50%) scale(1) rotate(0deg); opacity: 0.6; }
    50% { transform: translate(-50%,-50%) scale(1.3) rotate(180deg); opacity: 1; }
}
.hero-content { max-width: 1000px; padding: 80px 40px; margin-top: 120px; animation: heroAppear 2.5s ease-out; position: relative; background: none; backdrop-filter: none; border: none; box-shadow: none; border-radius: 0; }
@keyframes heroAppear {
    from { opacity: 0; transform: translateY(60px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-subtitle { font-size: 0.9rem; color: var(--color-gold-bright); margin-bottom: 25px; opacity: 0; animation: slideInFromLeft 1.2s ease 0.3s forwards; text-transform: uppercase; letter-spacing: 0.4em; position: relative; display: inline-block; font-weight: 400; }
.hero-subtitle::before, .hero-subtitle::after { content: ''; position: absolute; top: 50%; width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--color-gold), transparent); animation: linePulse 3s ease infinite; }
.hero-subtitle::before { left: -60px; }
.hero-subtitle::after { right: -60px; }
@keyframes linePulse {
    0%, 100% { opacity: 0.4; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1.2); }
}
@keyframes slideInFromLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 30px; background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-gold) 30%, var(--color-gold-light) 60%, var(--color-gold-dark) 100%); background-size: 300% 300%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: modernGradient 8s ease infinite; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; opacity: 0; animation: slideInFromRight 1.2s ease 0.6s forwards, modernGradient 8s ease 0.6s infinite; }
@keyframes modernGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes slideInFromRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
.hero-description { max-width: 700px; margin: 40px auto 50px; opacity: 0; animation: fadeInScale 1.2s ease 0.9s forwards; text-align: center; }
.hero-description p { font-size: 1.2rem; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 0; font-weight: 400; }
@keyframes fadeInScale { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 40px; margin: 60px auto 50px; max-width: 640px; opacity: 0; animation: slideUpStagger 1.2s ease 1.2s forwards; }
.hero-stat { text-align: center; position: relative; padding: 20px; background: linear-gradient(135deg, rgba(200,169,91,.06), rgba(228,200,122,.04)); border: 1px solid var(--color-border); border-radius: 12px; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); backdrop-filter: blur(10px); }
.hero-stat:hover { transform: translateY(-8px) scale(1.05); border-color: var(--color-border-hover); box-shadow: 0 20px 40px rgba(200,169,91,.1); }
.hero-stat-number { font-size: 1.8rem; font-weight: 600; color: var(--color-gold-bright); display: block; text-shadow: 0 0 15px var(--color-glow); margin-bottom: 8px; }
.hero-stat-label { font-size: 0.8rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 400; }
@keyframes slideUpStagger { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: buttonSlideUp 1.2s ease 1.5s forwards; }
@keyframes buttonSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.cta-button { display: inline-block; padding: 16px 40px; background: var(--gradient-gold); color: #000; text-decoration: none; border-radius: 50px; font-weight: 600; font-size: 0.95rem; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden; text-transform: uppercase; letter-spacing: 0.03em; box-shadow: 0 4px 15px rgba(200,169,91,.2); }
.cta-button.secondary { background: transparent; border: 2px solid var(--color-gold); color: var(--color-gold); box-shadow: 0 4px 15px rgba(200,169,91,.1); }
.cta-button:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 30px var(--color-glow); }
.cta-button.secondary:hover { background: rgba(200,169,91,.08); box-shadow: 0 12px 30px rgba(200,169,91,.2); }

/* Features */
.features { padding: 150px 0; position: relative; overflow: hidden; }
.features::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg, transparent, rgba(200,169,91,.08), transparent); animation: rotate 20s linear infinite; z-index: -1; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.icon-img { width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 0 10px var(--color-glow)); transition: transform 0.3s ease; }
.feature-content:hover .icon-img { transform: scale(1.1); }
.feature-visual { background-size: cover; background-position: center; background-repeat: no-repeat; aspect-ratio: 3/2; } /* نسبت 3:2 برای تصاویر 1000x700 */
.contact-container.single-column { display: flex; justify-content: center; max-width: 800px; margin: 0 auto; }
.contact-container.single-column .contact-info { width: 100%; text-align: center; }
.contact-container.single-column .social-links { justify-content: center; }
.section-title { text-align: center; font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 80px; color: var(--color-gold-bright); position: relative; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 100px; height: 3px; background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light)); border-radius: 2px; }
.features-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.diagonal-grid { display: flex; flex-direction: column; gap: 60px; }
.feature-row { display: flex; align-items: center; gap: 80px; position: relative; }
.feature-row:nth-child(even) { flex-direction: row-reverse; }
.feature-content { flex: 1; padding: 50px; transition: all 0.4s ease; }
.feature-content:hover { box-shadow: 0 30px 60px var(--color-glow); }
.feature-visual { flex: 1; height: auto; position: relative; border-radius: 20px; overflow: hidden; background-size: cover; background-position: center; background-repeat: no-repeat; transition: all 0.4s ease; }
.feature-visual:hover { transform: scale(1.05); box-shadow: 0 20px 40px rgba(200,169,91,.3); }
.feature-visual::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;  z-index: 1; transition: all 0.4s ease; }
.feature-visual:hover::before { background: linear-gradient(45deg, rgba(200, 169, 91, 0.1), rgba(228,200,122,.1)); }
.feature-icon { font-size: 4rem; margin-bottom: 25px; background: linear-gradient(45deg, var(--color-gold-dark), var(--color-gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.feature-content h3 { font-size: 2.2rem; margin-bottom: 20px; color: var(--color-text); }
.feature-content p { font-size: 1.1rem; color: var(--color-text-secondary); line-height: 1.8; }

/* Showcase (hexagons) */
.showcase { padding: 150px 0; position: relative; }
.hexagon-container { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hexagon { width: 220px; height: 290px; position: relative; margin: 20px; transition: all 0.4s ease; }
.hexagon:hover { transform: scale(1.1); }
.hexagon-inner { width: 100%; height: 100%; position: relative; transform: rotate(30deg); border-radius: 25px; padding: 50px 25px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; transition: all 0.4s ease; }
.hexagon:hover .hexagon-inner { transform: rotate(0deg); border-radius: 15px; }
.hexagon:nth-child(odd) .hexagon-inner { background: linear-gradient(135deg, rgba(200,169,91,.12), rgba(228,200,122,.12)); border: 1px solid var(--color-border); }
.hexagon:nth-child(even) .hexagon-inner { background: linear-gradient(135deg, rgba(228,200,122,.12), rgba(184,149,73,.12)); border: 1px solid var(--color-border); }
.hexagon-icon { font-size: 2.8rem; margin-bottom: 20px; transform: rotate(-30deg); filter: drop-shadow(0 0 10px var(--color-gold)); transition: all 0.4s ease; }
.hexagon:hover .hexagon-icon { transform: rotate(0deg); }
.hexagon h4 { font-size: 1.3rem; color: var(--color-text); transform: rotate(-30deg); margin-bottom: 15px; font-weight: 600; text-shadow: 0 0 10px var(--color-glow); transition: all 0.4s ease; }
.hexagon:hover h4 { transform: rotate(0deg); }
.hexagon p { font-size: 0.95rem; color: var(--color-text-secondary); transform: rotate(-30deg); line-height: 1.5; max-width: 140px; word-wrap: break-word; hyphens: auto; transition: all 0.4s ease; }
.hexagon:hover p { transform: rotate(0deg); }
.tech-icon { width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 0 8px var(--color-glow));  transition: transform 0.4s ease; }
.hexagon:hover .tech-icon { transform: scale(1.1); }

/* Timeline */
.timeline { padding: 100px 0; position: relative; }
.timeline-container { max-width: 1100px; margin: 0 auto; position: relative; padding: 0 20px; }
.timeline-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light)); transform: translateX(-50%); border-radius: 2px; box-shadow: 0 0 20px var(--color-glow); }
.timeline-item { display: flex; justify-content: flex-end; padding-right: 60px; position: relative; margin-bottom: 60px; }
.timeline-item:nth-child(even) { justify-content: flex-start; padding-left: 60px; padding-right: 0; }
.timeline-content { max-width: 450px; padding: 50px 40px; position: relative; transform: perspective(1000px) rotateY(-5deg); transition: all 0.4s ease; background: rgba(200,169,91,.08); backdrop-filter: blur(25px); border: 1px solid var(--color-border); border-radius: 25px; box-shadow: 0 12px 40px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05); }
.timeline-item:nth-child(even) .timeline-content { transform: perspective(1000px) rotateY(5deg); }
.timeline-content:hover { transform: perspective(1000px) rotateY(0deg) translateZ(20px); box-shadow: 0 25px 60px var(--color-glow), 0 0 0 1px var(--color-border-hover), inset 0 1px 0 rgba(255,255,255,.08); border-color: var(--color-border-hover); }
.timeline-dot { position: absolute; left: 50%; top: 60px; transform: translateX(-50%); width: 24px; height: 24px; background: var(--gradient-gold); border-radius: 50%; box-shadow: 0 0 25px var(--color-glow), 0 4px 15px rgba(0,0,0,.3); z-index: 1; border: 3px solid rgba(255,255,255,.15); }
.timeline-year { font-size: 1.8rem; color: var(--color-gold-bright); margin-bottom: 20px; font-weight: 600; text-shadow: 0 0 15px var(--color-glow); }
.timeline-content h4 { font-size: 1.5rem; color: #ffffff; margin-bottom: 20px; font-weight: 600; }
.timeline-content p { color: var(--color-text-secondary); line-height: 1.7; font-size: 1rem; }

/* Contact */
.contact { padding: 150px 0; position: relative; }
.contact-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.contact-info { padding: 60px 40px; position: relative; }
.contact-info::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(200,169,91,.1), transparent 70%); animation: pulse 4s ease-in-out infinite; z-index: -1; }
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}
.contact-info h3 { font-size: 2.5rem; color: var(--color-gold-bright); margin-bottom: 30px; }
.contact-info p { font-size: 1.2rem; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 30px; }
.social-links { display: flex; gap: 20px; margin-top: 40px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 15px;  color: var(--color-gold-bright); text-decoration: none; font-size: 1.5rem; transition: all 0.3s ease; position: relative; overflow: hidden; }
.social-links a::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, var(--color-glow), transparent); transition: left 0.5s ease; }
.social-links a:hover::before { left: 100%; }
.social-links a:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 10px 25px var(--color-glow); }
.social-icon { width: 36px; height: 36px; object-fit: contain; }

/* Footer */
footer { text-align: center; padding: 60px 20px 40px; border-top: 1px solid var(--color-border); background: rgba(0,0,0,.5); backdrop-filter: blur(20px); }
.footer-content { max-width: 1200px; margin: 0 auto; }

/* Responsive */
@media (max-width: 1024px) {
    .feature-row { flex-direction: column; gap: 40px; }
    .feature-row:nth-child(even) { flex-direction: column; }
    .feature-content { flex: 0; transform: none; } /* حذف skew */
    .feature-visual { width: 100%; height: 250px; }
    .contact-container.single-column { max-width: 100%; }
    .timeline-line { left: 30px; }
    .timeline-item, .timeline-item:nth-child(even) { justify-content: flex-start; padding-left: 80px; padding-right: 0; }
    .timeline-dot { left: 30px; }
    .timeline-content { max-width: 100%; }
}
@media (max-width: 1000px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
}
@media (max-width: 768px) {
    .hero-content { padding: 40px 20px; }
    .hero h1 { font-size: clamp(1.8rem, 8vw, 3rem); }
    .hero-description p { font-size: 1.1rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 40px auto 35px; }
    .hero-stat { padding: 15px; }
    .hero-stat-number { font-size: 1.5rem; }
    .hero-subtitle::before, .hero-subtitle::after { width: 25px; }
    .hero-subtitle::before { left: -35px; }
    .hero-subtitle::after { right: -35px; }
    .cta-buttons { flex-direction: column; align-items: center; gap: 15px; }
    .cta-button { width: 100%; max-width: 280px; text-align: center; }
    .hexagon { width: 280px; height: 320px; margin: 30px auto; }
    .hexagon-inner { padding: 60px 35px; }
    .hexagon-icon { font-size: 3.5rem; margin-bottom: 25px; }
    .hexagon h4 { font-size: 1.6rem; margin-bottom: 20px; }
    .hexagon p { font-size: 1.1rem; max-width: 200px; line-height: 1.6; }
    .hexagon-container { gap: 20px; }
    .section-title { margin-bottom: 60px; }
    .features, .showcase, .timeline, .contact { padding: 80px 0; }
    .timeline { padding: 60px 0; }
}
/* Scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,.8); border-radius: 6px; }
::-webkit-scrollbar-thumb { background: linear-gradient(45deg, var(--color-gold-dark), var(--color-gold-light)); border-radius: 6px; box-shadow: 0 0 10px var(--color-glow); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(45deg, var(--color-gold), var(--color-gold-bright)); box-shadow: 0 0 15px var(--color-glow); }

/* رنگ طلایی نرم برای آیکون‌ها */
.tech-icon,
.icon-img,
.social-icon {
    filter: brightness(0) saturate(100%) invert(60%) sepia(29%) saturate(1000%) hue-rotate(1deg) brightness(100%) contrast(86%);
    transition: filter 0.3s ease;
   
}

/* درخشش طلایی روشن هنگام هاور */
.feature-content:hover .icon-img,
.hexagon:hover .tech-icon,
.social-links a:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(60%) sepia(29%) saturate(1000%) hue-rotate(1deg) brightness(120%) contrast(86%);
}

/* دکمه دانلود */
.download-btn {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 30px;
    font-size: 1rem;
    text-transform: none;
}
.download-note {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 400;
}

/* مودال */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    max-width: 500px;
    width: 90%;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}
.modal-close:hover {
    color: var(--color-gold-bright);
}
.invite-code-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
.glass-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 0.2em;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.glass-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 20px var(--color-glow);
}
.download-error {
    color: #ff6b6b;
    margin-top: 15px;
    font-size: 0.95rem;
}
.download-success {
    color: #6bff6b;
    margin-top: 15px;
    font-size: 0.95rem;
}