@charset "utf-8";

/* General Reset */
html, body {
  width: 100%;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazir', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  background: #000;
  position: relative;
}

/* Sections */
.section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

#home {
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0f0f 100%);
}

#about {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
  padding-top: 120px;
}

#contact {
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0f0f 100%);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: all 0.3s ease;

  /* حذف کامل خطوط یا سایه سفید */
  border: none;
  box-shadow: none;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  height: 70px;
  border: none;
  box-shadow: none;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: translateY(-2px);
}

.logo img {
  width: 4em;
  height: 4em;
  object-fit: contain;
}

.logo-text {
  color: white;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* Main Menu */
.main-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  align-items: center;
}

.menu-item {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.menu-item:hover {
  color: white;
  transform: translateY(-2px);
}

.menu-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3555e8, #c66c05);
  transition: width 0.3s ease;
}

.menu-item:hover::after,
.menu-item.active::after {
  width: 100%;
}

.menu-item.active {
  color: white;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #011671 0%, #a35d00 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* =======================
   RESPONSIVE DESIGN
======================= */

/* Tablets */
@media (max-width: 992px) {
  .main-menu {
    gap: 25px;
  }

  .logo img {
    width: 3.5em;
    height: 3.5em;
  }

  .logo-text {
    font-size: 20px;
  }

  .header {
    padding: 0 25px;
  }
}

/* Mobile phones */
@media (max-width: 768px) {
  .main-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    padding: 20px 0;
    text-align: center;
    gap: 20px;
  }

  .main-menu.open {
    display: flex;
  }

  .menu-item {
    font-size: 18px;
    padding: 10px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .logo-text {
    font-size: 18px;
  }

  .logo img {
    width: 3em;
    height: 3em;
  }

  .header {
    padding: 0 20px;
  }
}

/* Extra small (very small phones) */
@media (max-width: 480px) {
  .logo-text {
    display: none;
  }

  .menu-item {
    font-size: 16px;
  }

  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
}

/* ======= GLOBAL STYLES ======= */
@font-face {
  font-family: 'Vazir';
  src: url('fonts/Vazir.woff2') format('woff2'),
       url('fonts/Vazir.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: 'Vazir', sans-serif;
  background: #000;
  color: white;
  margin: 0;
  overflow-x: hidden;
}

/* ======= ABOUT SECTION ======= */
html, body {
  width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img, video, iframe, .showcase-display, .showcase-main {
  max-width: 100%;
}

.about-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  color: white;
}

.about-header {
  text-align: center;
  margin-bottom: 80px;
}

.about-header h2 {
  font-size: clamp(26px, 5vw, 48px);
  margin-top: 60px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #efb782 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-header p {
  font-size: clamp(14px, 2vw, 20px);
  color: rgba(244, 209, 183, 0.8);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Layout */
.about-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-display {
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-main {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1 / 1.2;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.showcase-logo {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #314fd6, #b96708);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* متن */
.about-info {
  padding-left: 40px;
}

.about-info h3 {
  font-size: clamp(22px, 3vw, 36px);
  margin-bottom: 25px;
  line-height: 1.4;
}

.about-info p {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Features */
.feature-list {
  list-style: none;
  margin-bottom: 40px;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.feature-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #3051e8, #ea7922);
  border-radius: 50%;
}

/* دکمه */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #3255f1, #b66507);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* آمار */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.stat-number {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  background: linear-gradient(135deg, #3c5ce9, #c26a07);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}
