/* ==========================================================================
   Plata By Mono — Design System
   Based on monobank.ua/en/plata-by-mono visual style
   ========================================================================== */

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* --- Design Tokens --- */
:root {
  --black: #000;
  --white: #fff;
  --red: #fa5255;
  --navy: #0a1c46;
  --text-primary: #000;
  --text-secondary: rgba(0, 0, 0, 0.6);
  --text-muted: rgba(0, 0, 0, 0.4);
  --border: rgba(0, 0, 0, 0.1);
  --bg-light: #f7f8fa;
  --bg-blue-gradient: linear-gradient(180deg, rgba(47, 171, 249, 0.32), rgba(107, 195, 249, 0.2));
  --bg-cyan-gradient: linear-gradient(180deg, rgba(194, 236, 255, 0.3), rgba(255, 255, 255, 0.3));
  --bg-purple-gradient: linear-gradient(180deg, #dee2ff, #f6f6fc);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-height: 72px;
  padding: 0 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 90px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav a:hover {
  border-color: var(--border);
  background: rgba(0, 0, 0, 0.03);
}

.lang-switch {
  display: flex;
  gap: 4px;
  margin-left: 16px;
}

.lang-switch a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 90px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.lang-switch a.active {
  color: var(--black);
  border-color: var(--border);
  background: rgba(0, 0, 0, 0.04);
}

/* --- Hero --- */
.hero {
  padding: 80px 56px 60px;
  text-align: center;
  background: var(--bg-blue-gradient);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(47, 171, 249, 0.15);
  filter: blur(104px);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 20px;
  border-radius: 90px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--black);
  letter-spacing: -2px;
}

.hero p {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.5;
}

/* --- Buttons --- */
.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  padding: 16px 28px;
  border-radius: 90px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover { background: #333; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--black);
  padding: 16px 28px;
  border-radius: 90px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-outline:hover {
  border-color: rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.03);
}

/* --- Section shared --- */
.section-title {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--black);
  letter-spacing: -1.5px;
  line-height: 1;
}

.section-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 56px;
  font-weight: 400;
}

/* --- Features --- */
.features {
  padding: 96px 56px;
  background: var(--bg-cyan-gradient);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 40px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 82, 85, 0.12) 0%, transparent 70%);
  z-index: -1;
}

.feature-icon.blue::after {
  background: radial-gradient(circle, rgba(47, 171, 249, 0.15) 0%, transparent 70%);
}

.feature-icon.purple::after {
  background: radial-gradient(circle, rgba(157, 51, 194, 0.12) 0%, transparent 70%);
}

.feature-icon.green::after {
  background: radial-gradient(circle, rgba(76, 175, 80, 0.12) 0%, transparent 70%);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
  line-height: 1.3;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- How It Works --- */
.how-it-works {
  padding: 96px 56px;
  background: var(--white);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 56px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: var(--border);
}

.step {
  text-align: center;
  flex: 1;
  position: relative;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* --- Pricing --- */
.pricing {
  padding: 96px 56px;
  background: var(--bg-purple-gradient);
  text-align: center;
}

.price-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 40px;
  padding: 48px;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.price-badge {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 90px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.price {
  font-size: 64px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  letter-spacing: -2px;
}

.price span {
  font-size: 22px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0;
}

.price-vat {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 32px;
}

.price-features {
  list-style: none;
  text-align: left;
}

.price-features li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 15px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.price-features li::before {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.1);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Early Bird --- */
.early-bird {
  padding: 96px 56px;
  background: var(--black);
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.early-bird::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 82, 85, 0.08) 0%, transparent 60%);
}

.early-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 48px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.early-label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 90px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.early-discount {
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.early-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
  font-weight: 400;
}

.early-subtitle strong {
  color: var(--red);
  font-weight: 700;
}

.counter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.counter-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px 20px;
}

.counter-box .num {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
}

.counter-box .label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.counter-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 32px;
  line-height: 60px;
  font-weight: 300;
}

.counter-box.total .num {
  color: rgba(255, 255, 255, 0.4);
}

/* --- Subscribe Form --- */
.subscribe-form {
  display: flex;
  gap: 12px;
}

.subscribe-form input[type="email"] {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 90px;
  padding: 16px 24px;
  color: var(--white);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}

.subscribe-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.subscribe-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.subscribe-btn {
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 16px 28px;
  border-radius: 90px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.subscribe-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

.subscribe-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.no-spam {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 16px;
  font-weight: 400;
}

/* --- Form Messages --- */
.form-message {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.form-message.success {
  color: #4caf50;
  display: block;
}

.form-message.error {
  color: var(--red);
  display: block;
}

/* --- Footer --- */
.footer {
  padding: 56px;
  text-align: center;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.footer a {
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
}

.footer-credit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  margin-bottom: 12px;
}

.footer-logo {
  display: block;
  margin: 0 auto;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

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

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
  .header {
    padding: 0 24px;
  }

  .nav > a:not(.lang-switch a) {
    display: none;
  }

  .hero {
    padding: 60px 24px 48px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .features,
  .how-it-works,
  .pricing,
  .early-bird {
    padding-left: 24px;
    padding-right: 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .steps {
    flex-direction: column;
    gap: 32px;
  }

  .steps::before {
    display: none;
  }

  .price {
    font-size: 48px;
  }

  .early-card {
    padding: 32px 24px;
  }

  .early-discount {
    font-size: 40px;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .footer {
    padding: 40px 24px;
  }
}
