/* CirEdge Landing — açık tema, payx.gg esinli */

:root {
  --lp-bg: #fafbfc;
  --lp-surface: #ffffff;
  --lp-surface-2: #f4f5f7;
  --lp-border: #e6e8ec;
  --lp-border-strong: #d6d9de;
  --lp-text: #0e1116;
  --lp-text-muted: #5b6470;
  --lp-text-soft: #8a93a0;
  --lp-accent: #5b5bd6;
  --lp-accent-2: #8b5cf6;
  --lp-accent-soft: rgba(91, 91, 214, 0.08);
  --lp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --lp-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  --lp-shadow-lg: 0 24px 48px -16px rgba(91, 91, 214, 0.18);
  --lp-radius: 14px;
  --lp-radius-sm: 8px;
  --lp-radius-lg: 24px;
  --lp-container: 1200px;
  --lp-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.landing {
  font-family: var(--lp-font);
  background: var(--lp-bg);
  color: var(--lp-text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.lp-container {
  max-width: var(--lp-container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ---------- Nav ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 252, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.lp-nav-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--lp-border);
  box-shadow: 0 1px 0 rgba(15,23,42,0.02);
}
.lp-nav-inner {
  max-width: var(--lp-container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.lp-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 17px; letter-spacing: -0.01em;
}
.lp-brand-mark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-2));
  border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.lp-brand-mark svg { width: 16px; height: 16px; stroke-width: 2.5; }
.lp-nav-links {
  display: flex; gap: 28px;
  font-size: 14px; font-weight: 500;
}
.lp-nav-links a { color: var(--lp-text-muted); transition: color .15s ease; }
.lp-nav-links a:hover { color: var(--lp-text); }
.lp-nav-actions { display: flex; align-items: center; gap: 12px; }
.lp-link { color: var(--lp-text-muted); font-size: 14px; font-weight: 500; transition: color .15s ease; }
.lp-link:hover { color: var(--lp-text); }
.lp-lang {
  width: 36px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--lp-border);
  background: #fff;
  transition: border-color .15s ease, transform .15s ease;
}
.lp-lang:hover { border-color: var(--lp-accent); transform: translateY(-1px); }
.flag-icon { width: 22px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }

@media (max-width: 860px) {
  .lp-nav-links { display: none; }
}

/* ---------- Buttons ---------- */
.lp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
  font-family: inherit;
}
.lp-btn [data-lucide] { width: 16px; height: 16px; stroke-width: 2; }
.lp-btn-lg { padding: 13px 22px; font-size: 15px; border-radius: 12px; }
.lp-btn-primary {
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-2));
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(91,91,214,0.5);
}
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(91,91,214,0.55); }
.lp-btn-ghost {
  background: #fff;
  color: var(--lp-text);
  border-color: var(--lp-border);
}
.lp-btn-ghost:hover { border-color: var(--lp-accent); color: var(--lp-accent); transform: translateY(-1px); }
.lp-btn-light {
  background: #fff;
  color: var(--lp-text);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.lp-btn-light:hover { transform: translateY(-2px); }

/* ---------- Eyebrow / typography ---------- */
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--lp-accent);
  padding: 6px 12px;
  background: var(--lp-accent-soft);
  border-radius: 999px;
}
.lp-eyebrow [data-lucide] { width: 13px; height: 13px; }
.lp-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lp-accent);
  box-shadow: 0 0 0 4px var(--lp-accent-soft);
  animation: lp-pulse 2s ease-in-out infinite;
}
@keyframes lp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.lp-h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 20px 0 18px;
}
.lp-h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
}
.lp-h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 10px 0;
}
.lp-light { color: #fff; }
.lp-gradient {
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  padding: 80px 0 110px;
  overflow: hidden;
}
.lp-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 80% 10%, rgba(139,92,246,0.12), transparent 60%),
    radial-gradient(ellipse 700px 500px at 10% 40%, rgba(91,91,214,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.lp-hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 80%);
}
.lp-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--lp-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.lp-hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--lp-text-muted);
  max-width: 540px;
  margin: 0 0 30px;
}
.lp-hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 28px;
}
.lp-hero-meta {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: var(--lp-text-muted); font-weight: 500;
}
.lp-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lp-hero-meta [data-lucide] {
  width: 14px; height: 14px; color: #16a34a; stroke-width: 3;
}

.lp-hero-art {
  position: relative;
  transition: transform .3s cubic-bezier(0.16,1,0.3,1);
}
.lp-hero-art img {
  border-radius: var(--lp-radius-lg);
  box-shadow: var(--lp-shadow-lg);
  width: 100%;
  height: auto;
}
.lp-hero-art-glow {
  position: absolute; inset: 10% 5% 5% 5%;
  background: linear-gradient(135deg, rgba(91,91,214,0.4), rgba(139,92,246,0.4));
  filter: blur(60px);
  z-index: -1;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .lp-hero { padding: 56px 0 70px; }
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-sub { font-size: 17px; }
}

/* ---------- Stats ---------- */
.lp-stats { padding: 50px 0; border-top: 1px solid var(--lp-border); border-bottom: 1px solid var(--lp-border); background: var(--lp-surface); }
.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.lp-stat-num {
  display: block;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.lp-stat-lbl {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--lp-text-muted);
  font-weight: 500;
}
@media (max-width: 720px) {
  .lp-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ---------- Section heads ---------- */
.lp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.lp-section-sub {
  font-size: 17px;
  color: var(--lp-text-muted);
  margin: 6px auto 0;
  max-width: 580px;
}

/* ---------- Features grid ---------- */
.lp-features { padding: 100px 0; }
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lp-feature {
  padding: 28px 24px;
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  transition: transform .25s cubic-bezier(0.16,1,0.3,1), box-shadow .25s ease, border-color .25s ease;
}
.lp-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--lp-shadow-lg);
  border-color: var(--lp-accent);
}
.lp-feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--lp-accent-soft);
  color: var(--lp-accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.lp-feature-icon [data-lucide] { width: 22px; height: 22px; }
.lp-feature h3 {
  font-size: 16px; font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.lp-feature p {
  font-size: 14px;
  color: var(--lp-text-muted);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 1000px) {
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-features { padding: 64px 0; }
}

/* ---------- Showcase rows ---------- */
.lp-showcase { padding: 80px 0; background: var(--lp-surface); border-top: 1px solid var(--lp-border); }
.lp-show-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.lp-show-row + .lp-show-row { border-top: 1px dashed var(--lp-border); }
.lp-show-row.lp-reverse .lp-show-text { order: 2; }
.lp-show-row.lp-reverse .lp-show-art { order: 1; }
.lp-show-text p {
  font-size: 17px;
  color: var(--lp-text-muted);
  line-height: 1.65;
  margin: 14px 0 18px;
}
.lp-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.lp-bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--lp-text);
}
.lp-bullets [data-lucide] {
  width: 18px; height: 18px;
  color: #16a34a;
  stroke-width: 3;
  flex-shrink: 0;
  margin-top: 3px;
}
.lp-show-art img {
  border-radius: var(--lp-radius-lg);
  box-shadow: var(--lp-shadow);
  width: 100%;
  height: auto;
  transition: transform .4s cubic-bezier(0.16,1,0.3,1);
}
.lp-show-art img:hover { transform: scale(1.015); }
@media (max-width: 900px) {
  .lp-show-row { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .lp-show-row.lp-reverse .lp-show-text { order: 1; }
  .lp-show-row.lp-reverse .lp-show-art { order: 2; }
}

/* ---------- How (steps) ---------- */
.lp-how { padding: 100px 0; }
.lp-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.lp-step {
  padding: 28px 24px;
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lp-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow);
  border-color: var(--lp-accent);
}
.lp-step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 32px; font-weight: 800;
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 16px;
}
.lp-step h4 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.lp-step p { font-size: 14px; color: var(--lp-text-muted); margin: 0; line-height: 1.55; }
@media (max-width: 900px) {
  .lp-how-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-how { padding: 64px 0; }
}
@media (max-width: 540px) { .lp-how-grid { grid-template-columns: 1fr; } }

/* ---------- Story banner ---------- */
.lp-story {
  position: relative;
  margin: 40px 0;
  min-height: 380px;
  display: flex; align-items: center;
  overflow: hidden;
}
.lp-story-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.lp-story-overlay {
  position: relative; z-index: 1;
  width: 100%;
  background: linear-gradient(90deg, rgba(15,17,22,0.85) 0%, rgba(15,17,22,0.6) 60%, rgba(15,17,22,0.3) 100%);
  padding: 80px 0;
}
.lp-story-overlay h2 { color: #fff; max-width: 720px; }
.lp-story-sub {
  color: rgba(255,255,255,0.85);
  font-size: 19px;
  max-width: 600px;
  margin: 14px 0 26px;
  line-height: 1.6;
}

/* ---------- CTA ---------- */
.lp-cta { padding: 100px 0; }
.lp-cta-card {
  position: relative;
  background: linear-gradient(135deg, #0e1116 0%, #181c25 100%);
  border-radius: var(--lp-radius-lg);
  padding: 70px 40px;
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.lp-cta-card .lp-h2 { color: #fff; }
.lp-cta-card p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  max-width: 560px;
  margin: 14px auto 28px;
}
.lp-cta-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.lp-cta-card .lp-btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.16);
}
.lp-cta-card .lp-btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); color: #fff; }
.lp-cta-glow {
  position: absolute; inset: -30% 20% 40% 20%;
  background: radial-gradient(ellipse at center, rgba(139,92,246,0.4), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

/* ---------- Footer ---------- */
.lp-footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--lp-border);
  background: var(--lp-surface);
}
.lp-footer-inner { display: flex; flex-direction: column; gap: 16px; }
.lp-footer-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 16px;
}
.lp-footer-tag { color: var(--lp-text-muted); font-size: 14px; max-width: 480px; margin: 0; }
.lp-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 30px 0 24px;
  border-top: 1px solid var(--lp-border);
  padding-top: 30px;
}
.lp-footer-cols h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lp-text-soft); margin: 0 0 12px; font-weight: 700; }
.lp-footer-cols a {
  display: block;
  font-size: 14px; color: var(--lp-text-muted);
  padding: 5px 0;
  transition: color .15s ease;
}
.lp-footer-cols a:hover { color: var(--lp-accent); }
.lp-footer-copy { font-size: 12px; color: var(--lp-text-soft); margin: 0; }
@media (max-width: 700px) {
  .lp-footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Contact page ---------- */
.lp-contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 48px;
  align-items: start;
}
.lp-contact-intro h1 { margin-top: 12px; }
.lp-contact-direct {
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
}
.lp-contact-line {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-text);
  transition: color .15s ease;
}
.lp-contact-line:hover { color: var(--lp-accent); }
.lp-contact-line [data-lucide] { width: 16px; height: 16px; color: var(--lp-accent); }

.lp-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  box-shadow: var(--lp-shadow);
}
.lp-card-success, .lp-card-error {
  padding: 56px 40px;
  text-align: center;
}
.lp-success-icon, .lp-error-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.lp-success-icon {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}
.lp-error-icon {
  background: rgba(248, 113, 113, 0.1);
  color: #ef4444;
}
.lp-success-icon [data-lucide], .lp-error-icon [data-lucide] {
  width: 32px; height: 32px; stroke-width: 2.5;
}

.lp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.lp-field {
  display: block;
  margin-bottom: 14px;
}
.lp-field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-text);
  margin-bottom: 6px;
}
.lp-field input,
.lp-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-sm);
  background: #fff;
  color: var(--lp-text);
  transition: border-color .15s ease, box-shadow .15s ease;
  box-sizing: border-box;
}
.lp-field input:focus,
.lp-field textarea:focus {
  outline: none;
  border-color: var(--lp-accent);
  box-shadow: 0 0 0 3px var(--lp-accent-soft);
}
.lp-field textarea { resize: vertical; min-height: 120px; }

.lp-consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 10px 0 18px;
  font-size: 13px;
  color: var(--lp-text-muted);
  cursor: pointer;
}
.lp-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--lp-accent);
  width: 16px; height: 16px;
  flex-shrink: 0;
}

.lp-alert {
  padding: 12px 16px;
  border-radius: var(--lp-radius-sm);
  font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}
.lp-alert-error {
  background: rgba(248,113,113,0.1);
  color: #ef4444;
  border: 1px solid rgba(248,113,113,0.25);
}
.lp-alert [data-lucide] { width: 18px; height: 18px; flex-shrink: 0; }

.lp-incir-link {
  color: var(--lp-text-muted);
  transition: color .15s ease;
}
.lp-incir-link:hover { color: var(--lp-accent); }
.lp-incir-link strong {
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 760px) {
  .lp-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .lp-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* Reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .lp-eyebrow-dot { animation: none; }
}
