/* ===========================================================
   Şipşak İş (sipsakis) — Modern SaaS Landing
   Palette: #0B0F19 base · #6366F1 → #4F46E5 indigo gradient
   =========================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);

  --indigo: #6366f1;
  --indigo-deep: #4f46e5;
  --indigo-soft: #818cf8;
  --emerald: #10b981;

  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --grad: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  --grad-text: linear-gradient(120deg, #4f46e5 0%, #3730a3 100%);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px -24px rgba(79, 70, 229, 0.25);
  --shadow-soft: 0 12px 30px -12px rgba(0, 0, 0, 0.08);

  --maxw: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", var(--font);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* ───────────── Background decoration ───────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 100%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  pointer-events: none;
}

.bg-glow-one {
  width: 560px;
  height: 560px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
}

.bg-glow-two {
  width: 520px;
  height: 520px;
  top: 480px;
  left: -160px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15), transparent 70%);
}

/* ───────────── Navbar (floating blur) ───────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 24px;
}

.navbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 16px 12px 20px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.7);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(99, 102, 241, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(99, 102, 241, 0.95);
}

/* ───────────── Layout helpers ───────────── */
main {
  position: relative;
  z-index: 1;
}

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px 24px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo-soft);
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.section-head p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

/* ───────────── Hero ───────────── */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 24px 60px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: var(--indigo-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
}

.hero-title {
  margin-top: 26px;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 700;
}

.hero-sub {
  margin-top: 22px;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1.12rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.store-buttons-center {
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.5);
  background: var(--surface-2);
}

.store-btn-icon {
  color: var(--text);
  display: grid;
  place-items: center;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-btn-text small {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.store-btn-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 40px;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-item strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.hero-meta-item span {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.hero-meta-divider {
  width: 1px;
  height: 34px;
  background: var(--border-strong);
}

/* ───────────── Floating phone mockup ───────────── */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
}

.phone-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.phone-frame {
  position: relative;
  width: 290px;
  height: 590px;
  padding: 14px;
  border-radius: 46px;
  background: linear-gradient(160deg, #ffffff, #f8fafc);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), 0 0 0 10px rgba(255, 255, 255, 0.6);
}

.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 26px;
  border-radius: 0 0 16px 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-strong);
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
}

/* ───────────── Image placeholders ───────────── */
.img-placeholder {
  position: relative;
  background: linear-gradient(150deg, rgba(99, 102, 241, 0.08), rgba(79, 70, 229, 0.03));
  border: 1px dashed rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 220px;
}

.img-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.img-placeholder-label {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 14px 18px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: var(--font-display);
}

.img-placeholder-label strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

/* ───────────── Floating cards ───────────── */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  animation: float 6s ease-in-out infinite;
}

.floating-card-top {
  top: 64px;
  left: 0;
  animation-delay: 0.6s;
}

.floating-card-bottom {
  bottom: 80px;
  right: 0;
  animation-delay: 1.4s;
}

.floating-card strong {
  display: block;
  font-size: 0.88rem;
  font-family: var(--font-display);
}

.floating-card small {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.fc-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  font-size: 1rem;
}

/* ───────────── Trust strip ───────────── */
.trust-strip {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 44px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.trust-strip span {
  position: relative;
}

/* ───────────── Feature grid ───────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.45);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.14);
  color: var(--indigo-soft);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ───────────── Split showcase ───────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}

.split:last-child {
  margin-bottom: 0;
}

.split-reverse .split-text {
  order: 2;
}

.split-reverse .split-visual {
  order: 1;
}

.split-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 14px 0 18px;
}

.split-text > p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.split-visual {
  min-height: 320px;
}

.check-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(52, 211, 153, 0.16);
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ───────────── How it works tracks ───────────── */
.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.track {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.track-head {
  margin-bottom: 26px;
}

.track-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.track-badge-indigo {
  background: rgba(99, 102, 241, 0.16);
  color: var(--indigo-soft);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.track-badge-emerald {
  background: rgba(52, 211, 153, 0.14);
  color: var(--emerald);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.steps {
  list-style: none;
  position: relative;
  display: grid;
  gap: 26px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--indigo), transparent);
}

.step {
  position: relative;
  display: flex;
  gap: 18px;
}

.step-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.7);
}

.step strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* ───────────── Download CTA panel ───────────── */
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 70px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--surface-2), var(--bg-soft));
  border: 1px solid var(--border-strong);
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 320px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 12px 0 14px;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ───────────── Footer ───────────── */
.footer {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 24px 36px;
  border-top: 1px solid var(--border);
}

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

.footer-brand p {
  margin-top: 16px;
  max-width: 280px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col a,
.footer-muted {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--indigo-soft);
}

.footer-muted {
  color: var(--text-dim);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* ───────────── Responsive ───────────── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 48px;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .store-buttons,
  .hero-meta {
    justify-content: center;
  }
  .hero-visual {
    min-height: 560px;
    margin-top: 20px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .split-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .split-reverse .split-text,
  .split-reverse .split-visual {
    order: initial;
  }
  .track-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .nav-links {
    display: none;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .floating-card-top {
    left: -8px;
  }
  .floating-card-bottom {
    right: -8px;
  }
  .hero-meta {
    flex-wrap: wrap;
    gap: 16px;
  }
}
