/* =========================================================
   Sadi Web Tools — Landing Page
   Design: Modern, light, premium with purple accents
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #fafafe;
  --bg-tint: #f5f3ff;
  --ink: #0b0b16;
  --ink-soft: #3a3a52;
  --muted: #6b6b85;
  --line: #ececf3;
  --line-soft: #f3f3f8;

  --primary: #7c3aed;
  --primary-2: #6d28d9;
  --primary-soft: #ede9fe;
  --accent: #ec4899;
  --green: #10b981;

  --grad: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(236,72,153,0.10));

  --shadow-sm: 0 1px 2px rgba(20, 14, 60, 0.04), 0 2px 6px rgba(20, 14, 60, 0.04);
  --shadow-md: 0 6px 20px -6px rgba(76, 29, 149, 0.12), 0 12px 32px -10px rgba(20, 14, 60, 0.08);
  --shadow-lg: 0 20px 60px -20px rgba(76, 29, 149, 0.25), 0 30px 80px -30px rgba(20, 14, 60, 0.15);
  --shadow-glow: 0 10px 40px -8px rgba(139, 92, 246, 0.4);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px;
}
.nav-logo img {height: 60px; object-fit: contain; }
.nav-logo strong { font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 16px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: 10px;
  transition: all .2s ease;
}
.nav-links a:hover { background: var(--bg-tint); color: var(--primary); }
.nav-links .nav-cta {
  background: var(--grad);
  color: #fff;
  padding: 9px 18px;
  margin-left: 8px;
  box-shadow: var(--shadow-glow);
}
.nav-links .nav-cta:hover { background: var(--grad); transform: translateY(-1px); color: #fff; }

.hamburger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--line-soft);
  padding: 12px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px; border-radius: 10px; font-weight: 500; }
.mobile-menu a:hover { background: var(--bg-tint); }

/* ========== HERO ========== */
.hero {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 28px 60px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.orb1 { width: 380px; height: 380px; background: radial-gradient(circle, #c4b5fd, transparent 70%); top: -80px; left: -80px; }
.orb2 { width: 460px; height: 460px; background: radial-gradient(circle, #fbcfe8, transparent 70%); bottom: -120px; right: -100px; }
.orb3 { width: 280px; height: 280px; background: radial-gradient(circle, #a5f3fc, transparent 70%); top: 40%; right: 30%; opacity: .35; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}

.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16,185,129,.18);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.6} }

.hero-title {
  font-size: clamp(40px, 6.4vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 24px;
}
.title-line { display: block; }

.hero-desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-desc strong { color: var(--ink); font-weight: 700; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: all .25s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 50px -10px rgba(139,92,246,.55); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.hero-stats {
  display: flex; align-items: center; gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.stat-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.stat-divider { width: 1px; height: 32px; background: var(--line); }

/* Hero visual */
.hero-visual { position: relative; z-index: 1; }
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s ease;
}
.hero-card:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(0deg); }
.hcard-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
}
.hcard-dots { display: flex; gap: 6px; }
.hcard-dots span { width: 11px; height: 11px; border-radius: 50%; background: #e2e2ec; }
.hcard-dots span:nth-child(1) { background: #ff5f57; }
.hcard-dots span:nth-child(2) { background: #ffbd2e; }
.hcard-dots span:nth-child(3) { background: #28c940; }
.hcard-title { font-size: 13px; color: var(--muted); font-weight: 500; }
.hcard-img { width: 100%; height: auto; display: block; }

/* ========== STRIP ========== */
.intro-strip {
  background: var(--ink);
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.strip-track { display: flex; width: max-content; animation: scroll 35s linear infinite; }
.strip-inner {
  display: flex; align-items: center; gap: 36px;
  padding-right: 36px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.strip-inner .sep { opacity: .4; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========== SECTION HEADER ========== */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary-2);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.section-title {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 18px;
}
.section-sub { color: var(--muted); font-size: 17px; }

/* ========== FEATURES ========== */
.features { max-width: 1240px; margin: 0 auto; padding: 110px 28px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .35s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feat-wide { grid-column: span 2; }
.feat-highlight {
  background: linear-gradient(180deg, #faf5ff 0%, #fff 60%);
  border-color: rgba(124,58,237,.25);
}

.feat-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-soft);
}
.feat-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.feat-card:hover .feat-img-wrap img { transform: scale(1.04); }
.feat-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(255,255,255,.4) 100%);
  pointer-events: none;
}

.feat-content { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.feat-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-soft);
  border-radius: 12px;
  font-size: 22px;
  margin-bottom: 16px;
}
.feat-content h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.feat-content p { color: var(--muted); font-size: 15px; line-height: 1.65; flex: 1; }
.feat-content code {
  background: var(--bg-tint);
  color: var(--primary-2);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 13px;
  font-family: var(--font-mono);
}

.feat-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
  list-style: none;
}
.feat-stats li {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex; flex-direction: column;
}
.feat-stats b { font-size: 15px; font-weight: 700; }
.feat-stats span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.feat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.feat-tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  background: var(--bg-tint);
  color: var(--primary-2);
  border-radius: 100px;
}

/* ========== WHY ========== */
.why {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 110px 28px;
}
.why-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-text h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 18px 0;
}
.why-text > p { color: var(--muted); font-size: 17px; margin-bottom: 32px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.why-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all .25s ease;
}
.why-list li:hover { border-color: var(--primary); transform: translateX(4px); }
.why-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-soft);
  border-radius: 12px;
  font-size: 20px;
}
.why-list strong { display: block; font-size: 16px; margin-bottom: 4px; font-weight: 700; }
.why-list span { color: var(--muted); font-size: 14px; }

/* perf */
.perf-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}
.perf-header { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.perf-circle { position: relative; width: 200px; height: 200px; margin: 0 auto 12px; }
.perf-circle svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.perf-bg { fill: none; stroke: var(--line); stroke-width: 8; }
.perf-ring {
  fill: none;
  stroke: url(#g);
  stroke: #10b981;
  stroke-width: 8;
  stroke-linecap: round;
  animation: ring 2s ease forwards;
}
@keyframes ring { from { stroke-dashoffset: 314; } }
.perf-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; font-weight: 800; letter-spacing: -.03em;
  color: var(--green);
}
.perf-label { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.perf-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.perf-metric {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
}
.pm-dot { width: 8px; height: 8px; border-radius: 50%; }
.pm-dot.green { background: var(--green); box-shadow: 0 0 0 3px rgba(16,185,129,.15); }

/* ========== DONATE ========== */
.donate {
  position: relative;
  padding: 120px 28px;
  text-align: center;
  overflow: hidden;
}
.donate-bg { position: absolute; inset: 0; pointer-events: none; }
.donate-orb {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(236,72,153,.25), rgba(139,92,246,.15) 40%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  filter: blur(40px);
}
.donate-inner { position: relative; max-width: 680px; margin: 0 auto; }
.donate-icon {
  font-size: 48px;
  margin-bottom: 18px;
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}
@keyframes heartbeat { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }
.donate h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 800;
  margin-bottom: 18px;
}
.donate > .donate-inner > p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 32px;
}
.btn-donate {
  background: var(--grad);
  color: #fff;
  padding: 18px 36px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 14px;
  display: inline-flex;
  gap: 10px;
  box-shadow: 0 18px 50px -12px rgba(236,72,153,.5);
  transition: all .3s ease;
}
.btn-donate:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 24px 60px -10px rgba(236,72,153,.6); }
.donate-heart { animation: heartbeat 1.5s ease-in-out infinite; }
.donate-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ========== FOOTER ========== */
.footer {
  background: var(--ink);
  color: #c5c5d4;
  padding: 36px 28px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.footer-logo img { width: 32px; height: 32px; object-fit: contain; }
.footer-copy { font-size: 13px; color: #9494aa; }
.footer-donate {
  background: rgba(255,255,255,.08);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all .2s ease;
}
.footer-donate:hover { background: var(--grad); color: #fff; }

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 60px 22px 40px; gap: 48px; }
  .hero-card { transform: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-wide { grid-column: span 2; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .features, .why { padding: 80px 22px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 44px; }
  .hero-stats { gap: 18px; }
  .stat-num { font-size: 22px; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-wide { grid-column: span 1; }
  .feat-stats { grid-template-columns: repeat(2, 1fr); }
  .donate { padding: 80px 22px; }
  .footer-inner { justify-content: center; text-align: center; }
}
/* DOWNLOAD SECTION */
.download {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
}

.download-inner {
  max-width: 900px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.download-badge {
  display: inline-block;
  background: rgba(0, 123, 255, 0.1);
  color: #4dabff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 20px;
}

.download-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
}

.download-desc {
  font-size: 17px;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 30px;
}

.download-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-download {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,114,255,0.4);
}

.download-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.d-info {
  background: rgba(255,255,255,0.04);
  padding: 15px;
  border-radius: 10px;
  font-size: 14px;
}

.d-info strong {
  display: block;
  color: #fff;
}

.d-info span {
  color: #aaa;
}

/* background effect */
.download-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.download-orb {
  width: 400px;
  height: 400px;
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(80px);
}

/* responsive */
@media(max-width:768px){
  .download-title {
    font-size: 30px;
  }
  .download-info {
    grid-template-columns: repeat(2, 1fr);
  }
}