/* ===================================================
   Hosein Yeganeh (MrYeganeh.ir) - Core Production Stylesheet
   Zero external dependencies for maximum speed and 100% uptime in Iran
   =================================================== */

:root {
  --bg-dark: #07090e;
  --bg-surface: #0c101a;
  --bg-card: rgba(15, 21, 34, 0.82);
  --bg-card-hover: rgba(22, 30, 48, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(249, 115, 22, 0.4);
  
  --accent-orange: #f97316;
  --accent-orange-hover: #ea580c;
  --accent-glow: rgba(249, 115, 22, 0.22);
  
  --accent-emerald: #10b981;
  --accent-emerald-bg: rgba(16, 185, 129, 0.12);
  
  --accent-amber: #f59e0b;
  --accent-amber-bg: rgba(245, 158, 11, 0.12);

  --accent-cyan: #06b6d4;
  --accent-cyan-bg: rgba(6, 182, 212, 0.12);
  
  --accent-purple: #8b5cf6;
  --accent-purple-bg: rgba(139, 92, 246, 0.12);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-fa: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-en: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-fa);
  overflow-x: hidden;
  line-height: 1.8;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* فونت‌های انگلیسی و مونو */
.font-en {
  font-family: var(--font-en);
  direction: ltr;
  display: inline-block;
}

.font-mono {
  font-family: var(--font-mono);
  direction: ltr;
  display: inline-block;
}

/* بافت پس‌زمینه و هاله‌های نوری سبک */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}
.glow-1 {
  top: -150px;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #f97316 0%, transparent 70%);
  opacity: 0.16;
}
.glow-2 {
  top: 40%;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  opacity: 0.12;
}
.glow-3 {
  bottom: 10%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  opacity: 0.1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

/* ===================================================
   Header مدرن و چسبان (Sticky Glass Header)
   =================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 1.2rem 0;
}

header.scrolled {
  background: rgba(7, 9, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* برند هدر */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1b2333, #0d121c);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent-orange);
  font-family: var(--font-en);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.brand:hover .brand-logo {
  border-color: var(--accent-orange);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: scale(1.04);
}

.brand-text h1 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-en);
  letter-spacing: 0.3px;
}

/* منوی دسکتاپ */
nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.3rem 0.55rem;
  backdrop-filter: blur(12px);
}

nav.desktop-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  transition: all 0.25s ease;
}

nav.desktop-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* اکشن‌های چپ هدر */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-quick-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border-subtle);
}

.quick-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.quick-icon-btn svg {
  display: block;
}

.quick-icon-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.quick-icon-btn.tg:hover { color: #38bdf8; border-color: #38bdf8; }
.quick-icon-btn.ig:hover { color: #f43f5e; border-color: #f43f5e; }
.quick-icon-btn.mail:hover { color: var(--accent-orange); border-color: var(--accent-orange); }

.btn-contact-nav {
  background: var(--accent-orange);
  color: #fff;
  padding: 0.55rem 1.15rem;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
}

.btn-contact-nav:hover {
  background: var(--accent-orange-hover);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-main);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* منوی موبایل */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 1rem;
  right: 1rem;
  background: #0f1524;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  z-index: 99;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

.mobile-drawer a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* ===================================================
   Hero Section
   =================================================== */
.hero-section {
  padding: 9.5rem 0 5rem;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: var(--accent-orange);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}

.hero-subtitle-en {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dim);
  font-family: var(--font-en);
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 580px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent-orange);
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: var(--accent-orange-hover);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  padding: 0.9rem 1.8rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ===================================================
   Hero Visual: Personal Product Universe
   =================================================== */
.universe-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.ring-1 { width: 100%; height: 100%; border-style: dashed; animation: spinOrbit 90s linear infinite; }
.ring-2 { width: 72%; height: 72%; border-color: rgba(249, 115, 22, 0.12); }
.ring-3 { width: 44%; height: 44%; }

@keyframes spinOrbit {
  100% { transform: rotate(360deg); }
}

.universe-core {
  position: relative;
  z-index: 2;
  width: 130px;
  height: 130px;
  border-radius: 28px;
  background: linear-gradient(135deg, #182133, #0a0e17);
  border: 1px solid rgba(249, 115, 22, 0.35);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
}

.core-icon {
  color: var(--accent-orange);
  margin-bottom: 0.4rem;
}

.core-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-en);
}

.core-tag {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-family: var(--font-en);
}

/* ماژول‌های مداری */
.floating-card {
  position: absolute;
  z-index: 3;
  background: rgba(14, 20, 32, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  cursor: default;
}

.floating-card:hover {
  transform: scale(1.05) translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
}

.f-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}

.fc-sub {
  font-size: 0.68rem;
  font-family: var(--font-en);
  color: var(--text-dim);
}

.card-beh-payesh {
  top: 5%;
  right: 0%;
  border-color: rgba(16, 185, 129, 0.3);
  animation: floatA 6s ease-in-out infinite;
}
.card-beh-payesh .f-icon { background: var(--accent-emerald-bg); color: var(--accent-emerald); }

.card-bazar-pulse {
  bottom: 8%;
  right: 2%;
  border-color: rgba(245, 158, 11, 0.35);
  animation: floatB 7s ease-in-out infinite 0.5s;
}
.card-bazar-pulse .f-icon { background: var(--accent-amber-bg); color: var(--accent-amber); }

.card-lowstore {
  top: 10%;
  left: 0%;
  border-color: rgba(139, 92, 246, 0.3);
  animation: floatB 6.5s ease-in-out infinite 1s;
}
.card-lowstore .f-icon { background: var(--accent-purple-bg); color: var(--accent-purple); }

.card-ai-stack {
  bottom: 6%;
  left: 2%;
  border-color: rgba(249, 115, 22, 0.3);
  animation: floatA 7.5s ease-in-out infinite 1.5s;
}
.card-ai-stack .f-icon { background: rgba(249, 115, 22, 0.15); color: var(--accent-orange); }

@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ===================================================
   بخش‌های عمومی (Sections)
   =================================================== */
section {
  padding: 6rem 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.section-header {
  margin-bottom: 3.2rem;
}

.section-tag {
  font-family: var(--font-mono);
  color: var(--accent-orange);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-top: 0.4rem;
  max-width: 620px;
  line-height: 1.8;
}

/* ===================================================
   بخش درباره من (About)
   =================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-text strong {
  color: #fff;
  font-weight: 700;
}

.code-accent {
  color: var(--accent-orange);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.95em;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  backdrop-filter: blur(12px);
  transition: all 0.25s;
}

.about-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.ac-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ac-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.ac-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-en);
}

/* ===================================================
   بخش محصولات (Android Products)
   =================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(249, 115, 22, 0.1);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.card-app-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
}
.status-tag.published {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.status-tag.pending {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-category {
  font-size: 0.76rem;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.card-title span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  font-family: var(--font-en);
  margin-right: 0.4rem;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tech-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
}

.tech-pill {
  font-size: 0.76rem;
  font-family: var(--font-en);
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

/* دکمه‌های اکشن مایکت */
.btn-myket {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(37, 99, 235, 0.15));
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #cffafe;
  padding: 0.85rem 1.4rem;
  border-radius: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  transition: all 0.25s ease;
  width: 100%;
}

.btn-myket:hover {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  color: #fff;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.35);
  transform: translateY(-2px);
}

.btn-myket.disabled {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(245, 158, 11, 0.25);
  color: #fcd34d;
  cursor: default;
}
.btn-myket.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ===================================================
   بخش وب‌سایت‌ها (Web Projects)
   =================================================== */
.website-featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  backdrop-filter: blur(16px);
  transition: all 0.3s;
}

.website-featured-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.web-badge-box {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.web-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.web-info-label {
  color: var(--text-dim);
  font-family: var(--font-en);
}

.web-info-val {
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-web-visit {
  background: #fff;
  color: #07090e;
  padding: 0.85rem 1.4rem;
  border-radius: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.25s;
}

.btn-web-visit:hover {
  background: var(--accent-orange);
  color: #fff;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.35);
  transform: translateY(-2px);
}

/* ===================================================
   بخش در حال ساخت (Pipeline / Upcoming)
   =================================================== */
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.upcoming-card {
  background: rgba(14, 20, 32, 0.45);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s;
}

.upcoming-card:hover {
  border-color: var(--accent-orange);
  background: rgba(14, 20, 32, 0.7);
  transform: translateY(-3px);
}

.up-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.up-stage {
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-fa);
}

.up-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.up-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* ===================================================
   بخش مهارت‌ها (Redesigned & Optimized)
   =================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  transition: all 0.25s ease;
}

.skill-category-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.cat-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}

.cat-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.cat-sub {
  font-size: 0.74rem;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  display: block;
}

.skill-list-refined {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.skill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.skill-row:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

.skill-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #f1f5f9;
  font-family: var(--font-en);
}

.skill-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ===================================================
   بخش فلسفه و رویکرد (Philosophy Quote)
   =================================================== */
.philosophy-section {
  text-align: center;
  padding: 7rem 0;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.06) 0%, transparent 65%);
}

.quote-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.philosophy-quote {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.7;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  letter-spacing: -0.5px;
}

.philosophy-author {
  margin-top: 1.25rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ===================================================
   بخش تماس و ارتباط (Contact)
   =================================================== */
.contact-card-box {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.contact-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.6rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.contact-item-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--bg-card-hover);
}

.ci-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-mail { background: rgba(249, 115, 22, 0.12); color: var(--accent-orange); }
.ci-tg { background: rgba(56, 189, 248, 0.12); color: #38bdf8; }
.ci-ig { background: rgba(244, 63, 94, 0.12); color: #f43f5e; }
.ci-gh { background: rgba(255, 255, 255, 0.1); color: #fff; }

.ci-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.ci-sub {
  font-size: 0.75rem;
  font-family: var(--font-en);
  color: var(--text-dim);
}

/* ===================================================
   Footer
   =================================================== */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  background: #05070a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-brand span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-en);
  margin-top: 0.2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  direction: ltr;
}

/* ===================================================
   Responsive Breakpoints
   =================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 2rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .website-featured-card {
    grid-template-columns: 1fr;
  }
  nav.desktop-nav,
  .social-quick-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle-en {
    font-size: 1.05rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .about-cards-grid {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .philosophy-quote {
    font-size: 1.35rem;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .universe-visual {
    max-width: 320px;
  }
  .floating-card {
    padding: 0.5rem 0.7rem;
  }
  .fc-title {
    font-size: 0.75rem;
  }
  .fc-sub {
    font-size: 0.62rem;
  }
}
