:root {
  color-scheme: light;
  --bg: #0a0d15;
  --fg: #0c1324;
  --text: #0f172a;
  --text-muted: #475569;
  --text-inverse: #f8fafc;
  --primary: #6366f1;
  --primary-accent: #818cf8;
  --primary-dark: #4f46e5;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --border: rgba(15, 23, 42, 0.08);
  --gradient-1: linear-gradient(135deg, #f56565, #ed64a6);
  --gradient-2: linear-gradient(135deg, #0ea5e9, #38bdf8);
  --gradient-3: linear-gradient(135deg, #22d3ee, #3b82f6);
  --gradient-4: linear-gradient(135deg, #1f2937, #0f172a);
  --gradient-5: linear-gradient(135deg, #4ade80, #34d399);
  --gradient-6: linear-gradient(135deg, #fb7185, #f472b6);
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.12);
  font-size: 16px;
}

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--surface-muted);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-name {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

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

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-dark);
}

.language-switcher select {
  border: 1px solid var(--border);
  background-color: var(--surface);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.15), transparent 55%),
    radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.15), transparent 50%);
  padding: 96px 0 120px;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 32px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px 24px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta.primary {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 16px 30px rgba(99, 102, 241, 0.35);
}

.cta.primary:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

.cta.secondary {
  background: var(--surface);
  color: var(--primary-dark);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.cta.secondary:hover,
.cta.tertiary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.cta.tertiary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero-preview {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 260px;
  height: 500px;
  border-radius: 36px;
  padding: 18px;
  background: linear-gradient(150deg, rgba(99, 102, 241, 0.3), rgba(6, 182, 212, 0.25));
  box-shadow: var(--shadow-soft);
  position: relative;
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  background-color: #000;
  overflow: hidden;
  position: relative;
}

.screen::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 6px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.14);
}

.screen-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #312e81, #2563eb 35%, #22d3ee 70%);
}

.section {
  padding: 96px 0;
}

.features {
  background-color: var(--surface);
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background-color: var(--surface-muted);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(99, 102, 241, 0.08);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-card .icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 12px;
}

.wallpapers {
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(241, 245, 249, 0.95));
}

.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.wallpaper-card {
  position: relative;
  height: 220px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: var(--text-inverse);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wallpaper-1 {
  background: var(--gradient-1);
}

.wallpaper-2 {
  background: var(--gradient-2);
}

.wallpaper-3 {
  background: var(--gradient-3);
}

.wallpaper-4 {
  background: var(--gradient-4);
}

.wallpaper-5 {
  background: var(--gradient-5);
}

.wallpaper-6 {
  background: var(--gradient-6);
}

.wallpaper-label {
  background: rgba(15, 23, 42, 0.2);
  padding: 6px 12px;
  border-radius: 10px;
}

.note {
  margin-top: 32px;
  color: var(--text-muted);
}

.app-section {
  background-color: var(--surface);
}

.app-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}

.app-copy ul {
  margin-top: 16px;
  margin-bottom: 24px;
  padding-left: 18px;
  color: var(--text-muted);
}

.app-preview {
  display: flex;
  justify-content: center;
}

.preview-card {
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 28px;
  padding: 32px;
  max-width: 320px;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.1);
}

.preview-card h3 {
  margin-top: 0;
}

.preview-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
}

.faq {
  background-color: var(--surface-muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.faq-item {
  background-color: var(--surface);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.site-footer {
  background-color: #0f172a;
  color: rgba(248, 250, 252, 0.82);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(248, 250, 252, 0.82);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover,
.footer-links a.active {
  color: #fff;
}

.privacy-page .site-header {
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
}

.privacy-page .header-inner a {
  color: rgba(241, 245, 249, 0.88);
}

body.privacy-page {
  background-color: #0f172a;
  color: rgba(241, 245, 249, 0.88);
}

.privacy-content {
  padding: 120px 0 80px;
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.85));
  min-height: 100vh;
}

.privacy-content h1,
.privacy-content h2 {
  color: #fff;
}

.privacy-content p,
.privacy-content li {
  color: rgba(226, 232, 240, 0.92);
}

.privacy-content ul {
  padding-left: 20px;
}

.last-updated {
  color: rgba(148, 163, 184, 0.86);
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    height: auto;
    padding: 12px 0;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 72px 0 96px;
  }

  .cta-group {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
