/* ==========================================================================
   Arya Gostar Aramesh Hamsafar - Coming Soon Page Style
   Brand Colors: Imperial Emerald Green & Metallic Gold
   Local typography: Vazirmatn & Shabnam (Zero External CDN)
   ========================================================================== */

/* --- Local Font Definitions --- */
@font-face {
  font-family: 'Shabnam';
  src: url('../fonts/Shabnam-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Shabnam';
  src: url('../fonts/Shabnam-Bold.woff2') format('woff2');
  font-weight: 700;
  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-Medium.woff2') format('woff2');
  font-weight: 500;
  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;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* --- Root Variables --- */
:root {
  --color-bg-deep: #02120e;
  --color-emerald-dark: #04241b;
  --color-emerald-base: #063729;
  --color-emerald-light: #0d5c45;
  --color-gold-light: #fef0cd;
  --color-gold-bright: #ffd768;
  --color-gold-primary: #d4af37;
  --color-gold-dark: #9a7620;
  --color-gold-deep: #6e4e0b;
  --color-text-primary: #f5f9f7;
  --color-text-secondary: #c8ded6;
  --color-text-muted: #8caea2;
  --glass-bg: rgba(4, 30, 23, 0.72);
  --glass-border: rgba(212, 175, 55, 0.32);
  --glass-glow: rgba(212, 175, 55, 0.12);
  --font-family-base: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-title: 'Shabnam', 'Vazirmatn', sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- Base Resets & Layout --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  direction: rtl;
  text-align: right;
  font-family: var(--font-family-base);
  background-color: var(--color-bg-deep);
  color: var(--color-text-primary);
  line-height: 1.8;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* --- Luxury Preloader Overlay --- */
.preloader-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--color-bg-deep) radial-gradient(circle at center, #052a20 0%, #02120e 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s ease;
  will-change: opacity, visibility;
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.15rem;
  padding: 1.5rem;
}

.preloader-logo-ring {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-mini-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.5));
  animation: preloaderPulse 2.4s ease-in-out infinite;
}

.preloader-spinner-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.15);
  border-top-color: var(--color-gold-bright);
  border-right-color: var(--color-gold-primary);
  animation: preloaderSpin 1.4s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}

@keyframes preloaderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.85; }
  50% { transform: scale(1.05); opacity: 1; }
}

.preloader-brand-title {
  font-family: var(--font-family-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-gold-bright);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.preloader-progress-track {
  width: 170px;
  height: 3px;
  background: rgba(212, 175, 55, 0.18);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(90deg, #d4af37, #ffd768, #fff4d1);
  border-radius: 6px;
  box-shadow: 0 0 10px #ffd768;
  animation: preloaderTrack 1.6s ease-in-out infinite;
}

@keyframes preloaderTrack {
  0% { left: -40%; width: 30%; }
  50% { left: 35%; width: 50%; }
  100% { left: 100%; width: 30%; }
}

.preloader-subtext {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* --- Background Composite & Canvas --- */
.hero-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('../images/bg-hero.jpg');
  background-image: -webkit-image-set(
    url('../images/bg-hero.webp') 1x,
    url('../images/bg-hero.jpg') 1x
  );
  background-image: image-set(
    url('../images/bg-hero.webp') type('image/webp'),
    url('../images/bg-hero.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.92) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 25%,
    rgba(4, 34, 26, 0.4) 0%,
    rgba(2, 18, 14, 0.78) 55%,
    rgba(1, 10, 8, 0.94) 100%
  );
  pointer-events: none;
}

#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

/* Subtle Golden Ambient Vignette */
.ambient-glow-center {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, rgba(6, 55, 41, 0.08) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: pulseAura 8s ease-in-out infinite alternate;
}

@keyframes pulseAura {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.95; }
}

/* --- Main Layout Wrapper --- */
.page-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  animation: pageReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

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

/* --- Brand Logo Medallion Section (Placed on Top) --- */
.logo-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.logo-glow-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto;
}

.logo-glow-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 104, 0.45) 0%, rgba(212, 175, 55, 0.2) 50%, transparent 75%);
  filter: blur(14px);
  z-index: 0;
  pointer-events: none;
  animation: breatheGold 4s ease-in-out infinite;
}

.logo-ring-rotating {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 215, 104, 0.65);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
  z-index: 1;
  pointer-events: none;
  animation: rotateDashed 24s linear infinite;
  transform-origin: center center;
}

@keyframes rotateDashed {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes breatheGold {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
    opacity: 1;
  }
}

.logo-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.main-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.4));
  transition: transform 0.4s ease;
}

.logo-glow-wrapper:hover .main-logo-img {
  transform: scale(1.03);
}

/* --- Header & Badges --- */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.company-sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(6, 42, 32, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gold-bright);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(212, 175, 55, 0.15);
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

.company-sub-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39e58c;
  box-shadow: 0 0 10px #39e58c;
  animation: liveBlink 2s infinite ease-in-out;
}

@keyframes liveBlink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Main Display Title: "به زودی..." */
.main-title {
  font-family: var(--font-family-title);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #ffe9a8 25%, #d4af37 60%, #b8860b 85%, #ffd768 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.8));
}

/* Sub-headline: "سفری تازه، نگاهی نو به گردشگری" */
.sub-headline {
  font-family: var(--font-family-title);
  font-size: 1.55rem;
  font-weight: 700;
  color: #f7faf8;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.sub-headline::before,
.sub-headline::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold-primary));
}

.sub-headline::before {
  background: linear-gradient(90deg, var(--color-gold-primary), transparent);
}

/* Introductory & Mission Paragraphs */
.intro-text-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.35rem 2rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 820px;
  transition: var(--transition-smooth);
}

.intro-text-card:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(212, 175, 55, 0.12);
}

.intro-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: 0.65rem;
  line-height: 1.8;
}

.intro-desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
  text-align: justify;
  text-align-last: center;
}

.quote-highlight {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-gold-bright);
}

/* --- Coming Soon Gold Badge --- */
.coming-soon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.coming-soon-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  background: linear-gradient(90deg, rgba(8, 38, 29, 0.85), rgba(12, 60, 46, 0.9), rgba(8, 38, 29, 0.85));
  border: 1.5px solid var(--color-gold-primary);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.35), inset 0 0 18px rgba(212, 175, 55, 0.2);
  margin-bottom: 0.75rem;
}

.pill-wing {
  width: 38px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--color-gold-bright));
}

.pill-wing.left {
  background: linear-gradient(90deg, var(--color-gold-bright), transparent);
}

.coming-soon-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: #fff4d1;
  text-shadow: 0 0 12px rgba(255, 215, 104, 0.6);
  text-transform: uppercase;
}

.coming-soon-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

/* --- Four Core Pillars / Features (SVG Badges) --- */
.pillars-section {
  width: 100%;
  max-width: 980px;
  margin-bottom: 2.25rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  position: relative;
  background: linear-gradient(160deg, rgba(6, 38, 29, 0.75), rgba(2, 18, 14, 0.85));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 18px;
  padding: 1.4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: var(--transition-smooth);
  cursor: pointer;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15), transparent 70%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold-bright);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.25);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-circle {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  background: radial-gradient(circle, rgba(12, 60, 46, 0.8) 0%, rgba(4, 25, 19, 0.9) 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35), inset 0 0 10px rgba(212, 175, 55, 0.25);
  transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon-circle {
  border-color: #ffe9a8;
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45), inset 0 0 14px rgba(212, 175, 55, 0.4);
}

.pillar-svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--color-gold-bright);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-svg {
  stroke: #ffffff;
  filter: drop-shadow(0 0 6px rgba(255, 215, 104, 0.8));
}

.pillar-title {
  font-family: var(--font-family-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.pillar-subtitle {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Footer --- */
.page-footer {
  width: 100%;
  max-width: 980px;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, #094736, #04241b);
  border: 1.5px solid var(--color-gold-primary);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.4);
  z-index: 200;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
  .main-title {
    font-size: 2.85rem;
  }
  .sub-headline {
    font-size: 1.35rem;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .logo-glow-wrapper {
    width: 125px;
    height: 125px;
  }
  .logo-ring-rotating {
    width: 139px;
    height: 139px;
  }
}

@media (max-width: 640px) {
  .page-container {
    padding: 1.5rem 1rem 1.25rem;
  }
  .logo-glow-wrapper {
    width: 110px;
    height: 110px;
  }
  .logo-ring-rotating {
    width: 124px;
    height: 124px;
  }
  .company-sub-badge {
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
  }
  .main-title {
    font-size: 2.25rem;
  }
  .sub-headline {
    font-size: 1.15rem;
    flex-wrap: wrap;
  }
  .intro-text-card {
    padding: 1.15rem 1rem;
  }
  .intro-lead {
    font-size: 1rem;
  }
  .intro-desc {
    font-size: 0.9rem;
    line-height: 1.8;
  }
  .quote-highlight {
    font-size: 0.92rem;
  }
  .coming-soon-pill {
    padding: 0.6rem 1.5rem;
    gap: 0.75rem;
  }
  .coming-soon-text {
    font-size: 1.05rem;
    letter-spacing: 0.2em;
  }
  .pill-wing {
    width: 20px;
  }
  .coming-soon-subtitle {
    font-size: 0.92rem;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .pillar-card {
    padding: 1rem 0.6rem;
  }
  .pillar-icon-circle {
    width: 52px;
    height: 52px;
    margin-bottom: 0.6rem;
  }
  .pillar-svg {
    width: 26px;
    height: 26px;
  }
  .pillar-title {
    font-size: 1rem;
  }
  .pillar-subtitle {
    font-size: 0.75rem;
  }
}
