:root {
  --teal: #5ecec8;
  --teal-dark: #3ab8b1;
  --teal-light: #a8eeeb;
  --bg: #f4f5f4;
  --bg2: #eceeed;
  --white: #ffffff;
  --dark: #1a1f1e;
  --dark2: #2c3432;
  --gray: #6b7a78;
  --gray-light: #b0bcba;
  --border: rgba(94,206,200,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
  direction: rtl;
}



/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(244,245,244,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-logo svg { height: 36px; width: auto; }
.nav-logo span { font-size: 1.3rem; font-weight: 800; color: var(--dark); letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--gray); font-size: 0.92rem; font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; right: 0;
  width: 0; height: 2px; background: var(--teal); transition: width 0.3s;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--dark); color: var(--white) !important;
  padding: 0.55rem 1.4rem; border-radius: 100px; font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* BUTTONS */
.btn-primary {
  background: var(--dark); color: var(--white);
  padding: 0.9rem 2rem; border-radius: 100px;
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(26,31,30,0.15); display: inline-block;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(94,206,200,0.3); }
.btn-outline {
  color: var(--dark); padding: 0.9rem 2rem; border-radius: 100px;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--dark); transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }
.btn-teal {
  background: var(--teal); color: var(--dark);
  padding: 1rem 2.5rem; border-radius: 100px;
  font-weight: 800; font-size: 0.95rem; text-decoration: none;
  transition: all 0.2s; box-shadow: 0 4px 20px rgba(94,206,200,0.3); display: inline-block;
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(94,206,200,0.4); }

/* SECTION COMMONS */
section { padding: 6rem 5%; }
.section-tag {
  display: inline-block; background: var(--teal-light); color: var(--teal-dark);
  padding: 0.3rem 0.9rem; border-radius: 100px; font-size: 0.8rem;
  font-weight: 700; margin-bottom: 1rem; letter-spacing: 0.02em;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900;
  line-height: 1.25; letter-spacing: -0.03em; color: var(--dark);
}
.section-sub { font-size: 1rem; color: var(--gray); line-height: 1.8; margin-top: 0.8rem; max-width: 480px; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

  33%{transform:translate(30px,-20px) scale(1.05);}
  66%{transform:translate(-20px,20px) scale(0.97);}
}
@keyframes chipFloat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }

/* FOOTER */
footer { background: #111614; padding: 4rem 5% 2rem; color: rgba(255,255,255,0.5); }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand p { font-size: 0.85rem; line-height: 1.8; max-width: 240px; margin-top: 1rem; }
.footer-col h4 { color: var(--white); font-weight: 700; font-size: 0.9rem; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; display: flex; align-items: center; gap: 0.5rem; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.footer-bottom a { color: var(--teal); text-decoration: none; }

/* SCROLL TOP */
.scroll-top {
  position: fixed; bottom: 2rem; left: 2rem;
  width: 44px; height: 44px; background: var(--dark); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  opacity: 0; transform: translateY(10px); transition: all 0.3s;
  border: none; font-size: 1rem; z-index: 99;
}
.scroll-top.show { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--teal-dark); }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* MOBILE MENU */
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0; z-index: 99;
  background: rgba(244,245,244,0.97); backdrop-filter: blur(16px);
  padding: 1.5rem 5%; flex-direction: column; gap: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--dark); text-decoration: none; font-size: 1rem; font-weight: 600; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border: none; color: var(--teal-dark); }

/* BREADCRUMB */
.breadcrumb {
  padding: 6rem 5% 0;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--gray);
}
.breadcrumb a { color: var(--gray); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--teal-dark); }
.breadcrumb span { color: var(--teal-dark); font-weight: 600; }

/* CTA SECTION */
.cta-section {
  background: var(--dark); padding: 6rem 5%; text-align: center; position: relative; overflow: hidden;
}
.cta-blob {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(94,206,200,0.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.cta-section h2 { font-size: clamp(2rem,4vw,3.2rem); font-weight: 900; color: var(--white); letter-spacing: -0.04em; line-height: 1.2; position: relative; z-index:2; }
.cta-section h2 span { color: var(--teal); }
.cta-section p { color: rgba(255,255,255,0.5); margin: 1rem 0 2.5rem; font-size: 1rem; position: relative; z-index:2; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; position: relative; z-index:2; flex-wrap: wrap; }

/* CONTACT ICONS */
.contact-icons { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.contact-icon-link {
  display: flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8); text-decoration: none;
  padding: 0.6rem 1.2rem; border-radius: 100px; font-size: 0.85rem; font-weight: 500;
  transition: all 0.2s;
}
.contact-icon-link:hover { background: var(--teal); color: var(--dark); border-color: var(--teal); }
.contact-icon-link svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}
