/* FikrNova Shop — marketing landing */
:root {
  --lp-bg: #0b1220;
  --lp-surface: #111827;
  --lp-card: #1a2332;
  --lp-border: rgba(148, 163, 184, 0.18);
  --lp-text: #f1f5f9;
  --lp-muted: #94a3b8;
  --lp-primary: #14b8a6;
  --lp-primary-dark: #0f766e;
  --lp-accent: #38bdf8;
  --lp-warn: #fbbf24;
  --lp-radius: 16px;
  --lp-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --lp-max: 1120px;
  --lp-font: "Segoe UI", system-ui, -apple-system, "Noto Sans Arabic", sans-serif;
  --lp-font-ar: "Cairo", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

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

html { scroll-behavior: smooth; }

body.landing {
  margin: 0;
  min-height: 100vh;
  font-family: var(--lp-font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(20, 184, 166, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(56, 189, 248, 0.12), transparent 50%),
    var(--lp-bg);
  color: var(--lp-text);
  line-height: 1.6;
}

html[dir="rtl"] body.landing {
  font-family: var(--lp-font-ar);
}

a { color: var(--lp-primary); text-decoration: none; }
a:hover { color: #5eead4; }

.lp-wrap {
  width: min(100% - 2rem, var(--lp-max));
  margin-inline: auto;
}

/* Header */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.82);
  border-bottom: 1px solid var(--lp-border);
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--lp-text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.lp-brand:hover { color: #fff; }

.lp-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent));
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #042f2e;
  font-size: 0.95rem;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.lp-nav a.lp-link {
  color: var(--lp-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0.55rem;
}

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

.lp-lang {
  display: inline-flex;
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  overflow: hidden;
}

.lp-lang a {
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lp-muted);
  background: transparent;
}

.lp-lang a.active {
  background: rgba(20, 184, 166, 0.2);
  color: #5eead4;
}

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-align: center;
}

.lp-btn:hover { transform: translateY(-1px); }

.lp-btn-primary {
  background: linear-gradient(135deg, var(--lp-primary), #0d9488);
  color: #042f2e !important;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}

.lp-btn-primary:hover { color: #022c26 !important; }

.lp-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--lp-border);
  color: var(--lp-text) !important;
}

.lp-btn-ghost:hover { border-color: rgba(148, 163, 184, 0.4); color: #fff !important; }

.lp-btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

/* Hero */
.lp-hero {
  padding: 3.5rem 0 2.5rem;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: #5eead4;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.lp-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.lp-hero h1 span {
  background: linear-gradient(90deg, #5eead4, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-lead {
  color: var(--lp-muted);
  font-size: 1.05rem;
  max-width: 38rem;
  margin: 0 0 1.5rem;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.lp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.lp-stat {
  min-width: 5.5rem;
}

.lp-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.lp-stat span {
  font-size: 0.8rem;
  color: var(--lp-muted);
}

/* Demo card */
.lp-demo-card {
  background: linear-gradient(160deg, rgba(26, 35, 50, 0.95), rgba(17, 24, 39, 0.98));
  border: 1px solid var(--lp-border);
  border-radius: calc(var(--lp-radius) + 4px);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--lp-shadow);
}

.lp-demo-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.lp-demo-card > p {
  margin: 0 0 1rem;
  color: var(--lp-muted);
  font-size: 0.9rem;
}

.lp-cred {
  background: rgba(15, 23, 42, 0.7);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.lp-cred dl {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.lp-cred dt {
  color: var(--lp-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.lp-cred dd {
  margin: 0 0 0.35rem;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  color: #fef3c7;
  font-weight: 600;
  word-break: break-all;
}

.lp-demo-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.lp-demo-actions .lp-btn { width: 100%; }

.lp-note {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--lp-muted);
}

/* Sections */
.lp-section {
  padding: 2.75rem 0;
}

.lp-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.lp-section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.lp-section-head p {
  margin: 0;
  color: var(--lp-muted);
}

.lp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .lp-features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .lp-features { grid-template-columns: 1fr; }
}

.lp-feature {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 1.25rem 1.2rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.lp-feature:hover {
  border-color: rgba(20, 184, 166, 0.4);
  transform: translateY(-2px);
}

.lp-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(20, 184, 166, 0.12);
  color: #5eead4;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.lp-feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.lp-feature p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.9rem;
}

/* How it works */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

@media (max-width: 720px) {
  .lp-steps { grid-template-columns: 1fr; }
}

.lp-step {
  position: relative;
  background: rgba(26, 35, 50, 0.6);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 1.25rem;
}

.lp-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--lp-primary);
  color: #042f2e;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.lp-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.lp-step p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.9rem;
}

/* CTA band */
.lp-cta-band {
  margin: 1rem 0 3rem;
  padding: 2rem 1.5rem;
  border-radius: calc(var(--lp-radius) + 6px);
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.45), rgba(14, 116, 144, 0.35));
  border: 1px solid rgba(94, 234, 212, 0.25);
  text-align: center;
}

.lp-cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.lp-cta-band p {
  margin: 0 0 1.25rem;
  color: #e2e8f0;
}

.lp-cta-band .lp-cta-row {
  justify-content: center;
  margin-bottom: 0;
}

/* Footer */
.lp-footer {
  border-top: 1px solid var(--lp-border);
  padding: 1.5rem 0 2rem;
  color: var(--lp-muted);
  font-size: 0.85rem;
}

.lp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.lp-footer a { color: var(--lp-muted); font-weight: 600; }
.lp-footer a:hover { color: var(--lp-primary); }

.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Store signup (integrated with landing) */
.lp-signup-page main {
  padding: 2rem 0 3.5rem;
}

.lp-signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .lp-signup-grid {
    grid-template-columns: 1fr;
  }
  .lp-signup-aside {
    order: -1;
  }
}

.lp-signup-head {
  margin-bottom: 1.5rem;
}

.lp-signup-head h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lp-signup-head p {
  margin: 0;
  color: var(--lp-muted);
  max-width: 42rem;
}

.lp-signup-card {
  background: rgba(26, 35, 50, 0.72);
  border: 1px solid var(--lp-border);
  border-radius: calc(var(--lp-radius) + 4px);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: var(--lp-shadow);
}

.lp-signup-aside .lp-signup-card {
  position: sticky;
  top: 5.5rem;
}

.lp-form-section {
  margin: 0 0 1.35rem;
  padding: 0 0 1.1rem;
  border-bottom: 1px solid var(--lp-border);
}

.lp-form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0.75rem;
  padding-bottom: 0;
}

.lp-form-section h2 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lp-muted);
  font-weight: 800;
}

.lp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

@media (max-width: 640px) {
  .lp-form-grid { grid-template-columns: 1fr; }
}

.lp-form-grid .full { grid-column: 1 / -1; }

.lp-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.lp-field .req { color: #f87171; }

.lp-field input,
.lp-field select,
.lp-field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  background: rgba(11, 18, 32, 0.55);
  color: var(--lp-text);
}

.lp-field textarea {
  min-height: 88px;
  resize: vertical;
}

.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
  outline: 2px solid rgba(20, 184, 166, 0.35);
  border-color: var(--lp-primary);
}

.lp-field .hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--lp-muted);
}

.lp-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 0.65rem;
}

.lp-type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 92px;
  padding: 0.75rem 0.5rem;
  border-radius: 14px;
  border: 1px solid var(--lp-border);
  background: rgba(11, 18, 32, 0.45);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.lp-type-card:hover {
  border-color: rgba(20, 184, 166, 0.45);
  transform: translateY(-1px);
}

.lp-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lp-type-card:has(input:checked) {
  border-color: var(--lp-primary);
  background: rgba(20, 184, 166, 0.14);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.35);
}

.lp-type-icon {
  font-size: 1.45rem;
  line-height: 1;
}

.lp-type-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.25;
}

.lp-other-field {
  margin-top: 0.75rem;
}

.lp-other-field[hidden] { display: none; }

.lp-url-preview h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.lp-url-preview p {
  margin: 0 0 1rem;
  color: var(--lp-muted);
  font-size: 0.88rem;
}

.lp-url-box {
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: rgba(11, 18, 32, 0.65);
  border: 1px solid var(--lp-border);
  margin-bottom: 0.75rem;
}

.lp-url-box:last-child { margin-bottom: 0; }

.lp-url-box dt {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lp-muted);
  font-weight: 700;
}

.lp-url-box dd {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: #5eead4;
  word-break: break-all;
}

.lp-url-slug {
  color: #fbbf24;
  font-weight: 700;
}

.lp-preview-perks {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.lp-preview-perks li {
  position: relative;
  padding-inline-start: 1.35rem;
  margin-bottom: 0.45rem;
  color: var(--lp-muted);
  font-size: 0.85rem;
}

.lp-preview-perks li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--lp-primary);
  font-weight: 800;
}

.lp-terms {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1rem 0 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--lp-border);
  background: rgba(11, 18, 32, 0.35);
}

.lp-terms input {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.lp-terms label {
  margin: 0;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.lp-terms a {
  font-weight: 700;
}

.lp-alert {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.lp-alert-success,
.lp-alert-message {
  color: #6ee7b7;
  background: rgba(6, 95, 70, 0.35);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.lp-alert-error,
.lp-alert-danger {
  color: #fca5a5;
  background: rgba(127, 29, 29, 0.35);
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.lp-signup-links {
  text-align: center;
  margin-top: 1rem;
  color: var(--lp-muted);
  font-size: 0.9rem;
}

.lp-signup-links p { margin: 0.35rem 0; }

.lp-nav a.lp-link.active {
  color: var(--lp-primary);
}
