:root {
  --primary: #e84057;
  --primary-rgb: 232, 64, 87;
  --primary-light: #ff6b81;
  --primary-dark: #c93545;

  --bg: #ffffff;
  --bg-rgb: 255, 255, 255;
  --bg-alt: #f7f8fa;
  --text: #111827;
  --text-secondary: #6b7280;
  --border: #e5e7eb;

  --card-bg: rgba(255, 255, 255, 0.6);
  --card-border: rgba(0, 0, 0, 0.06);
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.1);

  --header-bg: rgba(255, 255, 255, 0.82);
  --header-border: rgba(0, 0, 0, 0.06);

  --phone-border: #d1d5db;
  --phone-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

[data-theme="dark"] {
  --bg: #08080f;
  --bg-rgb: 8, 8, 15;
  --bg-alt: #0e0e1a;
  --text: #f1f1f5;
  --text-secondary: #9ca3af;
  --border: #1a1a2e;

  --card-bg: rgba(15, 15, 28, 0.6);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  --card-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.35);

  --header-bg: rgba(8, 8, 15, 0.82);
  --header-border: rgba(255, 255, 255, 0.06);

  --phone-border: #2a2a40;
  --phone-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-light {
  display: block;
}
.theme-dark {
  display: none;
}
[data-theme="dark"] .theme-light {
  display: none;
}
[data-theme="dark"] .theme-dark {
  display: block;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  animation: loaderPulse 1s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.7;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 0;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}

.header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--header-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo img {
  border-radius: 10px;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

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

.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.lang-btn:hover {
  background: rgba(var(--primary-rgb), 0.08);
}

.lang-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.2s ease;
}

.lang-selector.open .lang-btn svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
  overflow: hidden;
}

[data-theme="dark"] .lang-dropdown {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.15s ease;
}

.lang-dropdown button:hover {
  background: rgba(var(--primary-rgb), 0.06);
}

.lang-dropdown button.active {
  color: var(--primary);
  font-weight: 600;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(var(--primary-rgb), 0.08);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun {
  display: block;
}
.theme-toggle .icon-moon {
  display: none;
}
[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}
[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(var(--primary-rgb), 0.08);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--header-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--primary);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.18),
    transparent 70%
  );
  top: -120px;
  right: -80px;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.1),
    transparent 70%
  );
  bottom: -80px;
  left: -60px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-phone {
  flex-shrink: 0;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--text);
  color: var(--bg);
  border-radius: 14px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.store-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.store-label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
  line-height: 1.2;
}

.store-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.phone-mockup {
  border-radius: 32px;
  border: 5px solid var(--phone-border);
  overflow: hidden;
  box-shadow: var(--phone-shadow);
  background: var(--phone-border);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.phone-mockup img {
  width: 100%;
  height: auto;
}

.phone-mockup-lg {
  width: 300px;
}

.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.features {
  background: var(--bg-alt);
  transition: background-color 0.35s ease;
}

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

.feature-card {
  padding: 32px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background-color 0.35s ease;
}

.feature-card.visible {
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.feature-card.visible:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 8px 30px rgba(var(--primary-rgb), 0.06),
    0 2px 8px rgba(var(--primary-rgb), 0.04);
  border-color: rgba(var(--primary-rgb), 0.1);
}

[data-theme="dark"] .feature-card.visible:hover {
  box-shadow:
    0 8px 30px rgba(var(--primary-rgb), 0.1),
    0 2px 8px rgba(var(--primary-rgb), 0.06);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

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

.screenshots-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease;
}

.screenshot-item:hover {
  transform: translateY(-8px);
}

.screenshot-item .phone-mockup {
  width: 220px;
}

.screenshot-item.featured .phone-mockup {
  width: 260px;
}

.screenshot-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.cta {
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  padding: 80px 60px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  text-align: center;
  overflow: hidden;
}

.cta-inner::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -120px;
  right: -80px;
}

.cta-inner::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  bottom: -100px;
  left: -60px;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta .store-btn {
  background: #fff;
  color: var(--primary);
}

.footer {
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
  transition: border-color 0.35s ease;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  transition: border-color 0.35s ease;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-secondary);
}

.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.12),
    transparent 70%
  );
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(60px);
  pointer-events: none;
}

.page-hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
}

.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: 16px;
  position: relative;
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.content-card {
  padding: 40px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.content-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.content-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-card .steps {
  margin-top: 16px;
}

.content-card .step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.content-card .step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-card .step p {
  margin: 0;
  padding-top: 3px;
}

.content-card a.email-link {
  color: var(--primary);
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.content-card a.email-link:hover {
  opacity: 0.8;
}

.warning-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-sm);
  margin-top: 24px;
}

[data-theme="dark"] .warning-box {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.25);
}

.warning-box svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: #dc2626;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}

.warning-box p {
  font-size: 14px;
  font-weight: 500;
  color: #dc2626;
}

[data-theme="dark"] .warning-box p {
  color: #f87171;
}

[data-theme="dark"] .warning-box svg {
  stroke: #f87171;
}

.tbd-placeholder {
  padding: 60px 40px;
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  font-style: italic;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}

.animate-in {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.animate-in.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-in:nth-child(1) {
  transition-delay: 0.1s;
}
.animate-in:nth-child(2) {
  transition-delay: 0.25s;
}
.animate-in:nth-child(3) {
  transition-delay: 0.4s;
}

.hero-phone.animate-in {
  opacity: 0;
  transform: translateX(40px);
}

.hero-phone.animate-in.animated {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }
  .hero-inner {
    gap: 48px;
  }
  .phone-mockup-lg {
    width: 260px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .screenshot-item .phone-mockup {
    width: 180px;
  }
  .screenshot-item.featured .phone-mockup {
    width: 210px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-subtitle {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }
  .store-buttons {
    justify-content: center;
  }
  .hero-phone {
    animation: none;
  }
  .phone-mockup-lg {
    width: 240px;
  }

  .section {
    padding: 80px 0;
  }
  .section-header h2 {
    font-size: 32px;
  }
  .section-header p {
    font-size: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-row {
    gap: 16px;
  }
  .screenshot-item .phone-mockup {
    width: 140px;
  }
  .screenshot-item.featured .phone-mockup {
    width: 170px;
  }

  .cta-inner {
    padding: 60px 32px;
    border-radius: 24px;
  }
  .cta-content h2 {
    font-size: 30px;
  }
  .cta-content p {
    font-size: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-hero h1 {
    font-size: 32px;
  }
  .content-card {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }
  .store-btn {
    padding: 12px 18px;
  }
  .store-name {
    font-size: 14px;
  }
  .screenshots-row {
    flex-direction: column;
    align-items: center;
  }
  .screenshot-item .phone-mockup,
  .screenshot-item.featured .phone-mockup {
    width: 220px;
  }
  .cta-inner {
    padding: 48px 24px;
    border-radius: 20px;
  }
  .cta-content h2 {
    font-size: 26px;
  }
}
