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

:root {
  --primary: #00d8d5;
  --secondary: #009b9c;
  --accent: #6C5CE7;
  --bg: #FFFFFF;
  --surface: #F4FAFA;
  --card: #FFFFFF;
  --border: #E0EEEC;
  --text: #1A2332;
  --text-secondary: #5A6B7F;
  --text-muted: #8D99A9;
  --radius: 12px;
  --transition: 200ms ease;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  min-height: 40px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: #0046d9;
}
.btn-primary:active { background: #003bb3; }

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0,87,255,.04);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all var(--transition);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
}
.navbar.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand img { height: 36px; width: auto; object-fit: contain; }
.navbar-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.navbar-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
  padding: 8px 4px;
}
.navbar-links a:hover { color: var(--text); }
.navbar-links a.active { color: var(--primary); }
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}
.navbar-toggle svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
  .navbar-toggle { display: block; }
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
  }
  .navbar-links.open { display: flex; }
}

/* ===== SERVICE HERO ===== */
.service-hero {
  padding: 160px 0 80px;
  background: var(--bg);
  text-align: center;
}
.service-hero-content { max-width: 720px; margin: 0 auto; }
.breadcrumb {
  display: inline-block;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 24px;
  transition: color var(--transition);
}
.breadcrumb:hover { color: var(--primary); }
.service-hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}
.service-hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.service-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .service-hero { padding: 120px 0 60px; }
  .service-hero h1 { font-size: 32px; }
}

/* ===== SERVICE FEATURES ===== */
.service-features {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.service-features h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 48px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color var(--transition);
}
.feature-card:hover { border-color: rgba(0,87,255,.2); }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0,87,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ===== SERVICE PROCESS ===== */
.service-process {
  padding: 80px 0;
  background: var(--bg);
}
.service-process h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 48px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}
.process-num {
  font-size: 48px;
  font-weight: 800;
  color: rgba(0,216,213,.15);
  margin-bottom: 16px;
  line-height: 1;
}
.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.process-step p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ===== SERVICE CTA ===== */
.service-cta {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.cta-box {
  background: var(--primary);
  border-radius: 20px;
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 60%);
  top: -200px;
  right: -150px;
  pointer-events: none;
}
.cta-box::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,194,255,.12), transparent 60%);
  bottom: -200px;
  left: -100px;
  pointer-events: none;
}
.cta-box h2 {
  position: relative;
  z-index: 1;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.cta-box p {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.75);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-buttons .btn-primary {
  background: #fff;
  color: var(--primary);
}
.cta-buttons .btn-primary:hover { background: #f0f4ff; }
.cta-buttons .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.cta-buttons .btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
}

@media (max-width: 768px) {
  .cta-box { padding: 48px 24px; }
  .cta-box h2 { font-size: 28px; }
}

/* ===== ACADEMY ===== */
.academy { padding: 100px 0; background: var(--bg); }
.academy-header { text-align: center; margin-bottom: 56px; }
.academy-header h2 { font-size: 44px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.academy-header p { color: var(--text-muted); font-size: 17px; max-width: 600px; margin: 0 auto; }

.academy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.academy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}
.academy-card:hover {
  border-color: rgba(0,87,255,.2);
  background: var(--card);
}
.academy-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(0,87,255,.06);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.academy-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.academy-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.academy-meta {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 768px) {
  .academy-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: var(--bg); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 14px; max-width: 280px; line-height: 1.7; }
.footer-col h5 { font-size: 13px; font-weight: 700; margin-bottom: 16px; color: var(--text); text-transform: uppercase; letter-spacing: .5px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
  padding: 2px 0;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { color: var(--text-muted); font-size: 13px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
