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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  color: #4a6cf7;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #3451c7;
}

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

/* ===== Utility ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header / Navigation ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: #333;
}

.site-header .logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.site-nav a {
  color: #555;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: #4a6cf7;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 5rem 1.5rem;
}

.hero-split {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero .app-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero .tagline {
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.7;
}

.hero .store-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero .store-badges a img {
  height: 48px;
  width: auto;
}

/* ===== Features / About Section ===== */
.features {
  padding: 4rem 0;
  background: #f9fafb;
}

.features h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2.5rem;
  color: #222;
}

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

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.feature-card p {
  font-size: 0.95rem;
  color: #666;
}

/* ===== Screenshots Section ===== */
.screenshots {
  padding: 4rem 0;
}

.screenshot-split {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.screenshot-split:last-child {
  margin-bottom: 0;
}

.screenshot-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.screenshot-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 0;
  box-shadow: none;
}

.screenshot-text {
  flex: 1;
}

.screenshot-text h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #222;
}

.screenshot-text p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.store-badges-bottom {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.store-badges-bottom a img {
  height: 48px;
  width: auto;
}

/* ===== Page Content (Privacy / Support) ===== */
.page-content {
  padding: 3rem 0 4rem;
}

.page-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.page-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #333;
}

.page-content p,
.page-content li {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content a {
  word-break: break-word;
}

/* ===== Support Form ===== */
.support-form {
  max-width: 560px;
  margin-top: 2rem;
}

.support-form .form-group {
  margin-bottom: 1.25rem;
}

.support-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: #444;
}

.support-form input,
.support-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.support-form input:focus,
.support-form textarea:focus {
  outline: none;
  border-color: #4a6cf7;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.support-form textarea {
  min-height: 140px;
  resize: vertical;
}

.support-form button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.support-form button:hover {
  opacity: 0.9;
}

/* ===== Footer ===== */
.site-footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 2.5rem 0;
  text-align: center;
}

.site-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.site-footer .footer-links a {
  color: #aaa;
  font-size: 0.9rem;
}

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

.site-footer .copyright {
  font-size: 0.85rem;
  color: #777;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 3.5rem 1.5rem;
  }

  .hero-split {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero .store-badges {
    justify-content: center;
  }

  .hero-image img {
    max-height: none;
    width: 100%;
  }

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

  .hero .tagline {
    font-size: 1rem;
  }

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

  .screenshots-gallery img {
    width: 180px;
  }

  .screenshot-split {
    flex-direction: column;
    text-align: center;
  }

  .screenshot-image img {
    max-width: 260px;
  }

  .site-nav {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .site-header .logo {
    font-size: 1rem;
  }

  .hero .store-badges a img {
    height: 40px;
  }
}
