/* ==========================================================================
   PooyTech Corporate Design System - Light Corporate Theme
   Unified Brand Identity, Deep Navy & Corporate Royal Blue Palette
   ========================================================================== */

:root {
  /* Unified Brand Color Identity (Inspired by Navy Logo) */
  --brand-navy: #192750;
  /* Primary Logo Navy */
  --brand-navy-dark: #0F172A;
  --brand-navy-light: #2C3E75;
  --brand-blue: #2563EB;
  /* Vibrant Action Blue */
  --brand-blue-hover: #1D4ED8;
  --brand-sky: #0284C7;
  --brand-blue-soft: #EFF6FF;
  --brand-blue-border: #BFDBFE;

  /* Clean Light Theme Neutrals */
  --bg-body: #F8FAFC;
  /* Clean Slate White */
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-hover: #E2E8F0;

  --border-light: #E2E8F0;
  --border-subtle: #CBD5E1;
  --border-focus: #3B82F6;

  /* Typography Colors */
  --text-main: #0F172A;
  /* Slate 900 */
  --text-body: #334155;
  /* Slate 700 */
  --text-muted: #64748B;
  /* Slate 500 */
  --text-light: #94A3B8;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 12px 30px rgba(25, 39, 80, 0.12);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease-in-out;
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Typography
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-persian), sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--brand-blue-soft);
  border: 1px solid var(--brand-blue-border);
  color: var(--brand-blue);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1.35;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Buttons (Unified Brand Palette)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(25, 39, 80, 0.25);
}

.btn-primary:hover {
  background: var(--brand-navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 39, 80, 0.35);
  color: #FFFFFF;
}

.btn-blue {
  background: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-blue:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  color: #FFFFFF;
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--brand-navy);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-navy);
  color: var(--brand-navy);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img-el {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--brand-navy);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  color: var(--text-body);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-blue);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--brand-navy);
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 150px 0 80px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-body) 100%);
  position: relative;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.hero-content {
  max-width: 920px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-badge-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--brand-navy);
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px 36px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-top: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-light);
}

.stat-number {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand-navy);
  font-family: var(--font-en), var(--font-persian);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* ==========================================================================
   Product Ecosystem Section (Unified Cards)
   ========================================================================== */
.ecosystem-section {
  padding: 90px 0;
  background-color: var(--bg-body);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-navy);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-blue-border);
  box-shadow: var(--shadow-card-hover);
}

.product-card:hover::before {
  background: var(--brand-blue);
}

.card-badge {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  background: var(--brand-blue-soft);
  color: var(--brand-navy);
  border: 1px solid var(--brand-blue-border);
}

.product-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.product-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--brand-blue-soft);
  color: var(--brand-navy);
  border: 1px solid var(--brand-blue-border);
}

.product-card:hover .product-icon-wrap {
  background: var(--brand-navy);
  color: #FFFFFF;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.product-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.product-desc {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.feature-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.feature-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand-blue);
}

.product-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-link-btn {
  width: 100%;
}

.live-link-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Product Detail Deep-Dive (Clean Modern Showcase)
   ========================================================================== */
.deep-dive-section {
  padding: 90px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.deep-dive-item {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}

.deep-dive-item:last-child {
  margin-bottom: 0;
}

.deep-dive-item.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.deep-dive-item.reverse .deep-dive-info {
  order: 2;
}

.deep-dive-item.reverse .deep-dive-visual {
  order: 1;
}

.deep-dive-info h3 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 16px;
}

.deep-dive-info p {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.spec-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
}

.spec-box-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-box-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.deep-dive-visual {
  position: relative;
}

.mockup-window {
  background: #0F172A;
  border: 1px solid var(--brand-navy-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mockup-header {
  background: #1E293B;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}

.mockup-dots span:nth-child(1) {
  background: #EF4444;
}

.mockup-dots span:nth-child(2) {
  background: #F59E0B;
}

.mockup-dots span:nth-child(3) {
  background: #10B981;
}

.mockup-title {
  font-size: 0.78rem;
  color: #94A3B8;
  font-family: var(--font-mono);
}

.mockup-body {
  padding: 24px;
}

.console-code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #93C5FD;
  line-height: 1.65;
}

.chart-bar-container {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 130px;
  padding: 20px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, #2563EB, #60A5FA);
  border-radius: 6px 6px 0 0;
  position: relative;
}

.chart-bar::after {
  content: attr(data-val);
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #BFDBFE;
  font-family: var(--font-mono);
}

/* ==========================================================================
   Solutions & Industries Section
   ========================================================================== */
.solutions-section {
  padding: 90px 0;
  background-color: var(--bg-body);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.solution-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-navy);
  box-shadow: var(--shadow-card-hover);
}

.solution-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-blue-soft);
  border: 1px solid var(--brand-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-navy);
  margin-bottom: 18px;
}

.solution-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 10px;
}

.solution-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   Why PooyTech Section
   ========================================================================== */
.why-section {
  padding: 90px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  gap: 18px;
}

.why-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-navy);
}

.why-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--brand-navy);
}

.why-content p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ==========================================================================
   Contact & CTA Section
   ========================================================================== */
.contact-section {
  padding: 90px 0;
  background-color: var(--bg-body);
}

.contact-card-wrap {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 50px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  box-shadow: var(--shadow-card);
}

.contact-info h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-body);
  font-size: 0.95rem;
}

.contact-item svg {
  color: var(--brand-navy);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.88rem;
  color: var(--brand-navy);
  font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--brand-navy);
  color: #FFFFFF;
  padding: 60px 0 26px;
}

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

.footer-brand p {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #CBD5E1;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: #60A5FA;
  transform: translateX(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94A3B8;
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .deep-dive-item,
  .deep-dive-item.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card-wrap {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}