/* Landing Platform — home page (based on onepage-landing) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0d0d0d;
  --paper: #f5f0e8;
  --accent: #ff4d1c;
  --accent2: #1c4dff;
  --muted: #7a7570;
  --card-bg: #ffffff;
  --border: rgba(13, 13, 13, 0.12);
}

html { scroll-behavior: smooth; }

body.landing-page {
  font-family: 'Golos Text', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  min-height: 100vh;
}

body.landing-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.landing-logo {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.landing-logo span { color: var(--accent); }

.landing-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.landing-nav ul a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.landing-nav ul a:hover { color: var(--ink); }

.landing-nav .nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s !important;
}

.landing-nav .nav-cta:hover {
  background: var(--accent) !important;
  transform: scale(1.04);
}

.landing-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
}

.landing-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.7s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.landing-hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  max-width: 900px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.landing-hero h1 .accent { color: var(--accent); }
.landing-hero h1 .accent2 { color: var(--accent2); }

.landing-hero .hero-sub {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
  animation: fadeUp 0.8s 0.2s ease both;
}

.landing-hero .hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 77, 28, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(13, 13, 13, 0.04);
}

.hero-preview {
  margin-top: 4rem;
  position: relative;
  width: 100%;
  max-width: 860px;
  animation: fadeUp 0.9s 0.4s ease both;
}

.browser-frame {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(13, 13, 13, 0.12), 0 2px 4px rgba(13, 13, 13, 0.06);
}

.browser-bar {
  background: #f0ebe1;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  background: #e8e2d8;
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.browser-content {
  padding: 2rem;
  min-height: 300px;
  background: linear-gradient(135deg, #fafaf8 0%, #f5f0e8 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.mock-h { height: 28px; background: var(--ink); border-radius: 6px; margin-bottom: 0.6rem; }
.mock-h.wide { width: 100%; }
.mock-h.mid { width: 70%; }
.mock-p { height: 10px; background: #d8d2c8; border-radius: 4px; margin-bottom: 0.4rem; }
.mock-img { height: 140px; background: linear-gradient(135deg, #e8e2d8, #d0c8ba); border-radius: 10px; }
.mock-btn {
  display: inline-block;
  height: 38px;
  width: 120px;
  background: var(--accent);
  border-radius: 100px;
  margin-top: 0.75rem;
}

.landing-section { padding: 7rem 2rem; }

.section-label {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.landing-section h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 620px;
}

#features {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

#features::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 77, 28, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

#features h2 { color: var(--paper); }
#features .section-label { color: #ff8c66; }

.features-header {
  max-width: 1100px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.features-sub {
  color: rgba(245, 240, 232, 0.55);
  font-size: 1rem;
  max-width: 320px;
  line-height: 1.6;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5px;
  border: 1.5px solid rgba(245, 240, 232, 0.12);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: rgba(245, 240, 232, 0.04);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 77, 28, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover { background: rgba(245, 240, 232, 0.08); }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.fi-1 { background: rgba(255, 77, 28, 0.2); }
.fi-2 { background: rgba(28, 77, 255, 0.2); }
.fi-3 { background: rgba(255, 200, 0, 0.15); }
.fi-4 { background: rgba(50, 200, 100, 0.15); }

.feature-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.5);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

#how { max-width: 1100px; margin: 0 auto; }

.steps {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 5%;
  right: 5%;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 8px, transparent 8px, transparent 18px);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.step.visible { opacity: 1; transform: translateY(0); }
.step:nth-child(2) { transition-delay: 0.15s; }
.step:nth-child(3) { transition-delay: 0.3s; }
.step:nth-child(4) { transition-delay: 0.45s; }

.step-num {
  width: 40px;
  height: 40px;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
  transition: background 0.3s, border-color 0.3s;
}

.step:hover .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.step h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.step p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

#platform {
  background: var(--paper);
  overflow: hidden;
}

.platform-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.panel-preview-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
  padding: 1.75rem;
}

.panel-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.panel-stat {
  background: rgba(245, 240, 232, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}

.panel-stat .num {
  font-family: 'Unbounded', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.panel-stat .lbl {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.5);
  margin-top: 0.25rem;
}

.panel-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
  font-size: 0.9rem;
}

.panel-list-item:last-child { border-bottom: none; }

.platform-text h2 { max-width: none; }
.platform-text p {
  margin-top: 1.5rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.chip {
  background: rgba(255, 77, 28, 0.08);
  color: var(--accent);
  border: 1px solid rgba(255, 77, 28, 0.2);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
}

#pricing { text-align: center; }
#pricing h2 { margin: 0 auto; text-align: center; }
#pricing > .section-label { text-align: center; }

.pricing-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.plan {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13, 13, 13, 0.1);
}

.plan.featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.plan.featured::before {
  content: 'Популярний';
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--accent);
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
}

.plan-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.plan.featured .plan-name { color: rgba(245, 240, 232, 0.5); }

.plan-price {
  font-family: 'Unbounded', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.plan-price sub {
  font-size: 0.9rem;
  font-weight: 400;
  vertical-align: baseline;
}

.plan-period {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.plan.featured .plan-period { color: rgba(245, 240, 232, 0.4); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.plan-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.plan.featured .plan-features li { color: rgba(245, 240, 232, 0.8); }

.plan-btn {
  display: block;
  width: 100%;
  padding: 0.85rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-family: 'Golos Text', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
}

.plan-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.plan.featured .plan-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.plan.featured .plan-btn:hover {
  background: #e03d0f;
  border-color: #e03d0f;
}

.cta-section {
  padding: 7rem 2rem;
  background: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(28, 77, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--paper);
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cta-section p {
  color: rgba(245, 240, 232, 0.5);
  font-size: 1rem;
  max-width: 420px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.landing-footer {
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.landing-footer a {
  color: var(--muted);
  text-decoration: none;
}

.landing-footer a:hover { color: var(--ink); }

.landing-footer-links {
  display: flex;
  gap: 1.5rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: rgba(13, 13, 13, 0.25); border-radius: 3px; }

@media (max-width: 768px) {
  .landing-nav ul { display: none; }
  .platform-inner { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .features-header { flex-direction: column; }
  .browser-content { grid-template-columns: 1fr; }
  .landing-hero h1 { font-size: 2.5rem; }
  .landing-section { padding: 5rem 1.25rem; }
}
