
@font-face {
  font-family: 'YekanBakh';
  src: url('YekanBakh-VF.woff') format('woff2');
  font-style: normal;
}

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

:root {
  --plum: #4a2d6f;
  --plum-light: #7b5ea7;
  --plum-glow: #9b78c8;
  --bg: #080612;
  --bg2: #0d0a1a;
  --bg3: #110e22;
  --text: #f0ebfa;
  --text-muted: #9a8ab5;
  --accent: #c8a8f0;
  --accent2: #e8d8ff;
  --border: rgba(155, 120, 200, 0.15);
  --border-bright: rgba(155, 120, 200, 0.35);
}

html { scroll-behavior: auto; }
body {
  font-family: 'YekanBakh', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* Custom Cursor */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  mix-blend-mode: exclusion;
}
.cursor-follower {
  position: fixed; top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(200, 168, 240, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), width 0.3s, height 0.3s;
}
.cursor-follower.hover { width: 64px; height: 64px; border-color: var(--accent); }

/* Noise overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 24px 60px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(0px);
  transition: backdrop-filter 0.5s, background 0.5s, padding 0.4s;
}
nav.scrolled {
  backdrop-filter: blur(20px);
  background: rgba(8, 6, 18, 0.85);
  padding: 16px 60px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-logo img {
  height: 64px; width: auto;
  filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(240deg) brightness(1.2);
}
.nav-logo-text {
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--text-muted); line-height: 1.5;
}
.nav-links {
  display: flex; gap: 40px; list-style: none;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; right: 0;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--plum); color: var(--accent2) !important;
  padding: 10px 24px; border-radius: 100px;
  border: 1px solid var(--plum-light);
  transition: background 0.3s, box-shadow 0.3s !important;
}
.nav-cta:hover {
  background: var(--plum-light) !important;
  box-shadow: 0 0 30px rgba(123, 94, 167, 0.5);
}
.nav-cta::after { display: none !important; }

/* ─── HERO ─── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(74, 45, 111, 0.35) 0%, transparent 70%),
              radial-gradient(ellipse 50% 80% at 20% 80%, rgba(123, 94, 167, 0.12) 0%, transparent 60%),
              var(--bg);
}
.hero-grid-lines {
  position: absolute; inset: 0; overflow: hidden; opacity: 0.06;
}
.hero-grid-lines svg { width: 100%; height: 100%; }

/* Floating orbs */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  animation: float-orb 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: rgba(74,45,111,0.3); top: -100px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 350px; height: 350px; background: rgba(123,94,167,0.2); bottom: -50px; left: 10%; animation-delay: 3s; }
.orb-3 { width: 250px; height: 250px; background: rgba(200,168,240,0.1); top: 40%; left: 5%; animation-delay: 5s; }
@keyframes float-orb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative; z-index: 10;
  text-align: center; max-width: 960px; padding: 0 32px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(74, 45, 111, 0.25);
  border: 1px solid var(--border-bright);
  border-radius: 100px; padding: 8px 20px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  letter-spacing: 0.08em; margin-bottom: 32px;
  opacity: 0; transform: translateY(20px);
}
.hero-eyebrow-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.hero-title {
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #d4b8f5 40%, #9b78c8 80%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word { display: inline-block; }

.hero-subtitle {
  font-size: clamp(28px, 4vw, 32px); font-weight: 300;
  color: var(--plum-glow); margin-bottom: 28px; line-height: 1.3;
  overflow: hidden;
}
.hero-subtitle span { display: inline-block; }

.hero-desc {
  font-size: 16px; font-weight: 400; color: var(--text-muted);
  max-width: 600px; margin: 0 auto 48px; line-height: 2;
  opacity: 0;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0;
}
.btn-primary {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
  color: white; padding: 16px 40px; border-radius: 100px;
  font-family: 'YekanBakh', sans-serif; font-size: 16px; font-weight: 700;
  border: none; cursor: none; text-decoration: none; display: inline-block;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 32px rgba(74, 45, 111, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--plum-light), #a070e0);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(74, 45, 111, 0.7); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent; color: var(--text-muted);
  padding: 16px 40px; border-radius: 100px;
  font-family: 'YekanBakh', sans-serif; font-size: 16px; font-weight: 600;
  border: 1px solid var(--border-bright); cursor: none;
  text-decoration: none; display: inline-block;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); background: rgba(155, 120, 200, 0.05); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fade-up 1s 3s forwards;
}
.scroll-indicator span { font-size: 11px; color: var(--text-muted); letter-spacing: 0.1em; }
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }
@keyframes fade-up { to{opacity:1} }

/* ─── MARQUEE ─── */
.marquee-section {
  overflow: hidden; padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to right, rgba(74,45,111,0.08), rgba(123,94,167,0.05), rgba(74,45,111,0.08));
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee-scroll 50s linear infinite;
}
.marquee-item {
  display: flex; align-items: center; gap: 20px;
  padding: 0 50px; white-space: nowrap;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.06em;
}
.marquee-dot { width: 5px; height: 5px; background: var(--plum-light); border-radius: 50%; }
@keyframes marquee-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ─── SECTIONS common ─── */
section { padding: 140px 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 60px; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px;
}
.section-eyebrow::before {
  content: ''; width: 28px; height: 1.5px; background: var(--accent);
}
.section-title {
  font-size: clamp(36px, 5vw, 64px); font-weight: 900;
  line-height: 1.15; color: var(--text); margin-bottom: 20px;
}
.section-subtitle {
  font-size: 17px; font-weight: 400; color: var(--text-muted);
  max-width: 550px; line-height: 1.9; margin-bottom: 64px;
}

/* ─── ABOUT ─── */
#about { background: var(--bg2); position: relative; overflow: hidden; }
#about::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--border-bright), transparent);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center;
}
.about-visual {
  position: relative; aspect-ratio: 1; max-width: 480px;
}
.about-logo-wrap {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.about-logo-wrap img {
  width: 60%; opacity: 0.9;
  filter: drop-shadow(0 0 60px rgba(155, 120, 200, 0.4));
}
.about-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--border);
  animation: ring-rotate 20s linear infinite;
}
.about-ring:nth-child(1) { inset: 0; }
.about-ring:nth-child(2) { inset: 10%; animation-direction: reverse; animation-duration: 30s; }
.about-ring:nth-child(3) { inset: 20%; border-style: dashed; animation-duration: 40s; }
.ring-dot {
  position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}
@keyframes ring-rotate { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px;
}
.stat-card {
  background: rgba(74, 45, 111, 0.1);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover { border-color: var(--border-bright); transform: translateY(-4px); }
.stat-num {
  font-size: 42px; font-weight: 900;
  background: linear-gradient(135deg, var(--accent2), var(--plum-glow));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }

/* ─── SERVICES ─── */
#services { background: var(--bg); }
.services-header { text-align: center; margin-bottom: 80px; }
.services-header .section-subtitle { margin: 0 auto 0; text-align: center; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 24px; padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), border-color 0.3s;
  cursor: none;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--plum-light), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--border-bright); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(74,45,111,0.5), rgba(123,94,167,0.3));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 24px;
  border: 1px solid var(--border-bright);
}
.service-title { font-size: 20px; font-weight: 800; margin-bottom: 14px; color: var(--text); }
.service-desc { font-size: 14px; color: var(--text-muted); line-height: 1.9; }
.service-number {
  position: absolute; bottom: 28px; left: 32px;
  font-size: 72px; font-weight: 900; color: rgba(74,45,111,0.15);
  line-height: 1; font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.service-card:hover .service-number { color: rgba(123,94,167,0.2); }

/* ─── PORTFOLIO ─── */
#portfolio { background: var(--bg2); }
.portfolio-header { margin-bottom: 80px; }
.portfolio-grid {
  display: flex; flex-direction: column; gap: 0;
}
.portfolio-item {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  align-items: center;
  transition: background 0.4s;
  cursor: none;
}
.portfolio-item:last-child { border-bottom: 1px solid var(--border); }
.portfolio-item:hover { background: rgba(74, 45, 111, 0.07); }
.portfolio-item.reverse { direction: ltr; }
.portfolio-item.reverse .portfolio-info { direction: rtl; }
.portfolio-client{
    font-size: 20px; color:#fff; font-weight: 600;
    margin-bottom: 8px; letter-spacing: 0.04em;
}
.portfolio-info {
  padding: 70px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.portfolio-tag {
  font-size: 11px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.portfolio-tag::before { content:''; width: 20px; height: 1px; background: var(--accent); }
.portfolio-num {
  font-size: 11px; color: var(--text-muted); margin-bottom: 28px;
  font-weight: 600; letter-spacing: 0.1em;
}
.portfolio-title {
  font-size: clamp(28px, 3vw, 42px); font-weight: 900;
  line-height: 1.2; margin-bottom: 20px; color: var(--text);
}
.portfolio-desc { font-size: 15px; color: var(--text-muted); line-height: 1.9; margin-bottom: 36px; }
.portfolio-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); font-size: 14px; font-weight: 700;
  text-decoration: none; letter-spacing: 0.04em;
  transition: gap 0.3s;
}
.portfolio-link:hover { gap: 18px; }
.portfolio-link-arrow { font-size: 20px; line-height: 1; transition: transform 0.3s; }
.portfolio-link:hover .portfolio-link-arrow { transform: translateX(-6px); }

.portfolio-image-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.portfolio-image-inner {
  width: 100%; border-radius: 16px; overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.portfolio-item:hover .portfolio-image-inner { transform: scale(1.02); }
.portfolio-image-inner img {
  width: 100%; height: auto; display: block;
  transition: filter 0.5s;
}
.portfolio-image-overlay { display: none; }
/* Placeholder when no image */
.portfolio-img-placeholder {
  width: 100%; aspect-ratio: 16/9;
  padding:20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
  background: linear-gradient(135deg, rgba(74,45,111,0.2), rgba(123,94,167,0.1));
  border-radius: 12px;
}
.portfolio-img-placeholder img{
    border-radius:22px;
}
/* ─── PROCESS ─── */
#process { background: var(--bg); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--border); border-radius: 24px; overflow: hidden;
}
.process-step {
  background: var(--bg3); padding: 48px 36px;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.process-step:hover { background: rgba(74,45,111,0.2); }
.process-step-num {
  font-size: 56px; font-weight: 900; color: rgba(74,45,111,0.3);
  line-height: 1; margin-bottom: 28px;
  transition: color 0.3s;
}
.process-step:hover .process-step-num { color: rgba(155,120,200,0.4); }
.process-step-title { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.process-step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.8; }
.process-step-line {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--plum), var(--plum-light));
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
}
.process-step:hover .process-step-line { transform: scaleX(1); }

/* ─── CTA ─── */
#cta {
  background: var(--bg2); text-align: center;
  position: relative; overflow: hidden;
}
.cta-bg-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(74,45,111,0.25), transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta-title {
  font-size: clamp(40px, 6vw, 80px); font-weight: 900;
  line-height: 1.1; margin-bottom: 24px;
  background: linear-gradient(135deg, #fff, #c8a8f0, #9b78c8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-desc { font-size: 18px; color: var(--text-muted); line-height: 1.8; margin-bottom: 48px; }

/* ─── FOOTER ─── */
footer {
  background: var(--bg); padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-logo { display: flex; align-items: center; gap: 14px; }
.footer-logo img { height: 36px; filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(240deg) brightness(1.4) opacity(0.5); }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }

/* ─── ANIMATIONS init state ─── */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal-left { opacity: 0; transform: translateX(40px); }
.reveal-right { opacity: 0; transform: translateX(-40px); }
.contact-info {
  display: flex;
  flex-direction: column;
  margin-top: 60px;
  color: #cabddf;
  font-size: 14px;
}
.contact-info a {
  text-decoration: none;
  margin-top: 9px;
  color: #cabddf;
  direction:ltr;
}
/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 6px 24px; }
  .nav-links { display: none; }
  .container { padding: 0 24px; }
  section { padding: 100px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { max-width: 320px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-item { grid-template-columns: 1fr; }
  .portfolio-item.reverse { direction: rtl; }
  .portfolio-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 20px;
}
  .process-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-info {
  padding: 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
}
.process-step {
  padding: 28px 10px;
}
.scroll-indicator {
  position: absolute;
  bottom: 0px;
}
.marquee-section{
    display:none !important;
}
}
