/* ── LinkeaYa! Landing Page ──────────────────────────────────────────────
   Mobile-first · Responsive · Matches LinkeaYa! design system
────────────────────────────────────────────────────────────────────────── */
:root {
  --c-primary:       #2563eb;
  --c-primary-dark:  #1d4ed8;
  --c-primary-light: #eff6ff;
  --c-success:       #16a34a;
  --c-gray-50:       #f9fafb;
  --c-gray-100:      #f3f4f6;
  --c-gray-200:      #e5e7eb;
  --c-gray-300:      #d1d5db;
  --c-gray-500:      #6b7280;
  --c-gray-700:      #374151;
  --c-gray-900:      #111827;
  --radius:          8px;
  --radius-lg:       12px;
  --shadow:          0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg:       0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --font:            -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                     'Helvetica Neue', Arial, sans-serif;
  --safe-bottom:     env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--c-gray-900);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* ── Navbar ──────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(30, 41, 59, .95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-logo {
  font-size: 22px; font-weight: 800; color: #fff;
  letter-spacing: -0.02em;
}
.navbar-logo span { color: var(--c-primary); }

.navbar-actions {
  display: flex; gap: 10px; align-items: center;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  border: none; cursor: pointer;
  transition: background .15s, transform .1s, opacity .15s;
  text-decoration: none;
  -webkit-user-select: none; user-select: none;
  touch-action: manipulation;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }

.btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }

.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); }

.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-lg); }

.btn-white {
  background: #fff; color: var(--c-primary);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.btn-white:hover { background: var(--c-gray-50); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1e293b 0%, #1e40af 100%);
  padding: 100px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(37,99,235,.3) 0%, transparent 60%),
              radial-gradient(circle at 70% 80%, rgba(30,64,175,.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 3vw, 20px);
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
}

.hero-actions {
  display: flex; gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-free-note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  font-weight: 400;
}

/* ── Pain section ────────────────────────────────────────────────────── */
.section {
  padding: 80px 24px;
}
.section-alt {
  background: var(--c-gray-50);
}

.section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--c-gray-900);
}

.section-subtitle {
  text-align: center;
  color: var(--c-gray-500);
  font-size: 16px;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}

/* Pain points grid */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pain-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff;
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: box-shadow .2s;
}
.pain-card:hover {
  box-shadow: var(--shadow-lg);
}

.pain-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #fef2f2;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.pain-card h3 {
  font-size: 15px; font-weight: 700;
  margin-bottom: 4px;
  color: var(--c-gray-900);
}
.pain-card p {
  font-size: 14px; color: var(--c-gray-500);
  line-height: 1.5;
}

/* ── Steps ────────────────────────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  counter-reset: step;
}

.step {
  display: flex; gap: 20px; align-items: flex-start;
  counter-increment: step;
}

.step-number {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #1e40af);
  color: #fff;
  font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(30,64,175,.25);
}

.step-content h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 6px;
  color: var(--c-gray-900);
}
.step-content p {
  font-size: 15px; color: var(--c-gray-500);
  line-height: 1.6;
}

/* ── Features highlight ──────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 16px; font-weight: 700;
  margin-bottom: 8px;
  color: var(--c-gray-900);
}
.feature-card p {
  font-size: 14px; color: var(--c-gray-500);
  line-height: 1.5;
}

/* ── Pricing ─────────────────────────────────────────────────────────── */
.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--c-primary);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 32px rgba(37,99,235,.12);
}

.pricing-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--c-primary);
  color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 5px 20px;
  border-radius: 100px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.pricing-amount {
  margin: 24px 0 12px;
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}

.pricing-currency {
  font-size: 24px; font-weight: 700; color: var(--c-gray-700);
}

.pricing-value {
  font-size: 56px; font-weight: 800; color: var(--c-gray-900);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-period {
  font-size: 18px; font-weight: 500; color: var(--c-gray-500);
  margin-left: 4px;
}

.pricing-compare {
  font-size: 15px; color: var(--c-gray-500);
  margin-bottom: 28px;
  line-height: 1.5;
}

.pricing-list {
  list-style: none; text-align: left;
  margin-bottom: 28px;
}

.pricing-list li {
  padding: 10px 0;
  font-size: 15px; color: var(--c-gray-700);
  border-bottom: 1px solid var(--c-gray-100);
  display: flex; align-items: center; gap: 10px;
}

.pricing-list li::before {
  content: '✓';
  color: var(--c-success);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.pricing-list li:last-child { border-bottom: none; }

.pricing-cta {
  width: 100%;
  margin-bottom: 12px;
}

.pricing-note {
  font-size: 13px;
  color: var(--c-gray-500);
}

/* ── CTA final ───────────────────────────────────────────────────────── */
.cta-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, #1e293b 0%, #1e40af 100%);
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}

.cta-actions {
  display: flex; gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 28px 24px;
  font-size: 13px;
}
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: #fff; }

/* ── Responsive ──────────────────────────────────────────────────────── */

/* ── Small phones (≤ 380px) ──────────────────────────────────────────── */
@media (max-width: 380px) {
  .navbar { padding: 10px 12px; }
  .navbar-logo { font-size: 18px; }
  .navbar-actions { gap: 6px; }
  .navbar-actions .btn { padding: 7px 10px; font-size: 12px; }

  .hero { padding: 80px 16px 40px; }
  .hero h1 { font-size: 24px; }
  .hero-subtitle { font-size: 14px; margin-bottom: 24px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; margin-bottom: 16px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; padding: 12px 16px; font-size: 14px; }
  .hero-free-note { font-size: 12px; }

  .section { padding: 48px 14px; }
  .section-title { font-size: 20px; margin-bottom: 8px; }
  .section-subtitle { font-size: 14px; margin-bottom: 32px; }

  .pain-card { padding: 16px; gap: 12px; }
  .pain-icon { width: 38px; height: 38px; font-size: 18px; }
  .pain-card h3 { font-size: 14px; }
  .pain-card p { font-size: 13px; }

  .step { gap: 14px; }
  .step-number { width: 42px; height: 42px; font-size: 18px; }
  .step-content h3 { font-size: 16px; }
  .step-content p { font-size: 14px; }

  .feature-card { padding: 20px 16px; }
  .feature-icon { font-size: 28px; margin-bottom: 10px; }
  .feature-card h3 { font-size: 14px; }
  .feature-card p { font-size: 13px; }

  .cta-section { padding: 48px 14px; }
  .cta-section h2 { font-size: 20px; }
  .cta-section p { font-size: 14px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 280px; }

  .pricing-card { padding: 32px 20px; }
  .pricing-value { font-size: 44px; }
  .pricing-currency { font-size: 20px; }
  .pricing-period { font-size: 16px; }
  .pricing-compare { font-size: 14px; }
  .pricing-list li { font-size: 14px; padding: 8px 0; }
}

/* ── Phones (≤ 480px) ────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .navbar { padding: 12px 16px; }
  .navbar-actions .btn { padding: 8px 12px; font-size: 13px; }

  .hero { padding: 85px 18px 48px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 10px; }
  .hero-actions .btn { width: 100%; max-width: 300px; }

  .section { padding: 56px 16px; }
  .section-subtitle { font-size: 14px; margin-bottom: 36px; }

  .pain-grid { grid-template-columns: 1fr; gap: 12px; }

  .step { gap: 16px; }
  .step-number { width: 46px; height: 46px; font-size: 20px; }

  .features-grid { grid-template-columns: 1fr; gap: 14px; }

  .cta-section { padding: 56px 16px; }
  .cta-actions { flex-direction: column; align-items: center; gap: 10px; }
  .cta-actions .btn { width: 100%; max-width: 300px; }

  .footer { padding: 24px 16px; font-size: 12px; }
}

/* ── Tablets (520px – 767px) ─────────────────────────────────────────── */
@media (min-width: 520px) and (max-width: 767px) {
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Tablet+ (≥ 768px) ──────────────────────────────────────────────── */
@media (min-width: 768px) {
  .navbar { padding: 14px 40px; }

  .section { padding: 100px 40px; }

  .pain-grid { grid-template-columns: 1fr 1fr; }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps { gap: 40px; }
  .step-number { width: 60px; height: 60px; font-size: 24px; }
}
