* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #fff;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1035, #192844, #2d1a6b, #1e2d61);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

a {
  color: #7eb0ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 0 48px;
}

.hero-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 24px 0 4px;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.hero .tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.app-store-badge {
  display: inline-block;
  transition: opacity 0.2s;
}

.app-store-badge:hover {
  opacity: 0.85;
}

.app-store-badge img {
  height: 54px;
}

/* Features */
.features {
  padding: 48px 0;
}

.features h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s, background 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* Screenshots */
.screenshots {
  padding: 48px 0;
}

.screenshots h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 32px;
}

.screenshots-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  overflow-x: auto;
  padding-bottom: 16px;
}

.screenshots-row img {
  width: 260px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

/* Footer */
.footer {
  text-align: center;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 32px;
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

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

.footer .copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Privacy page */
.policy {
  padding: 80px 0 48px;
}

.policy-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 48px 40px;
}

.policy-card h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.policy-card .updated {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.policy-card h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
}

.policy-card p,
.policy-card li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.policy-card ul {
  padding-left: 24px;
  margin: 8px 0;
}

.policy-card li {
  margin-bottom: 4px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* Footer separator */
.footer-sep {
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* Contact form */
.contact-form {
  margin-top: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(126, 176, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: #1a1035;
  color: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, #4a7cf7, #6c5ce7);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 16px;
  font-size: 0.95rem;
  min-height: 1.5em;
}

.form-status.success {
  color: #4ade80;
}

.form-status.error {
  color: #f87171;
}

/* Language picker */
.lang-picker-wrapper {
  text-align: right;
  padding: 12px 0 0;
}

.lang-picker-wrapper select {
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-family: inherit;
  padding: 6px 28px 6px 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.lang-picker-wrapper select:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.lang-picker-wrapper select:focus {
  outline: none;
  border-color: rgba(126, 176, 255, 0.5);
}

.lang-picker-wrapper select option {
  background: #1a1035;
  color: #fff;
}

/* Responsive */
@media (max-width: 700px) {
  .hero {
    padding: 56px 0 32px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .screenshots-row {
    gap: 16px;
  }

  .screenshots-row img {
    width: 220px;
  }

  .policy-card {
    padding: 32px 20px;
  }
}

@media (max-width: 480px) {
  .screenshots-row {
    flex-direction: column;
    align-items: center;
  }

  .screenshots-row img {
    width: 80%;
    max-width: 300px;
  }
}
