/* =====================================================
   Taxi Driver’s Notes – Styles
   Auto light/dark mode
===================================================== */

/* Smooth theme transitions */
* {
  box-sizing: border-box;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Light mode (default) */
:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #020617;
  --muted: #475569;
  --accent: #16a34a;
  --border: #e2e8f0;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #020617;
    --card: #020617;
    --text: #e5e7eb;
    --muted: #94a3b8;
    --accent: #22c55e;
    --border: #1e293b;
  }
}

/* Body */
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #020617, #000);
  color: var(--text);
}

/* Container */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

.hero {
  text-align: center;
  padding: 80px 20px;
   min-height: 448px;
  /* Новый фон */
  background-image: url('images/banner.jpg'); /* путь к твоему файлу */
  background-size: cover;      /* картинка растягивается на весь блок */
  background-position: center; /* центрируем изображение */
  background-repeat: no-repeat;

  /* Если хочешь затемнение текста поверх баннера */
  position: relative;
  color: #ffffff; /* текст поверх баннера */
}

/* Полупрозрачный оверлей для читаемости текста */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4); /* чёрное затемнение 40% */
  z-index: 0;
}

/* Контент поверх оверлея */
.hero h1,
.hero p,
.hero .cta {
  position: relative;
  z-index: 1;
}



.button {
  display: inline-block;
  padding: 16px 36px;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #000;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(34,197,94,0.4);
  cursor: default;
}

.testing {
  margin-top: 18px;
  font-size: 15px;
  color: var(--muted);
}

.testing a {
  color: var(--accent);
  text-decoration: none;
}

/* Social */
.social {
  margin-top: 30px;
}

.social p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.social a {
  display: inline-block;
  margin: 0 10px;
  font-size: 24px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, color 0.2s ease;
}

.social a:hover {
  transform: scale(1.2);
  color: var(--accent);
}

.social a svg {
  width: 26px;
  height: 26px;
}

.section.main-feature {
  margin-top: 80px;
}

.section.main-feature h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}

.section.main-feature p {
  text-align: center;
  color: #94a3b8;
  max-width: 700px;
}

/* Карточки для функций */
.section.main-feature .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
}

.section.main-feature .card {
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  text-align: center;
}

.section.main-feature .card h3 {
  margin-top: 0;
  font-size: 22px;
  color: #22c55e;
}

.section.main-feature .card p {
  color: #94a3b8;
  font-size: 16px;
  margin-top: 10px;
}


/* Section */
.section {
  margin-top: 120px;
}

.section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}

.section p {
  text-align: center;
  color: var(--muted);
  max-width: 700px;
  margin: auto;
}

.section.beta-test {
  margin-top: 80px;
  background: #111827;
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.section.beta-test h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
  color: #22c55e;
}

.section.beta-test p {
  text-align: center;
  color: #e5e7eb;
  max-width: 800px;
  margin: 12px auto;
}

.section.beta-test ul,
.section.beta-test ol {
  max-width: 700px;
  margin: 20px auto;
  padding-left: 20px;
  color: #94a3b8;
}

.section.beta-test li {
  margin-bottom: 10px;
  font-size: 16px;
}

.section.beta-test .cta {
  text-align: center;
  margin-top: 20px;
}


/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
  margin-top: 60px;
}

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.card h3 {
  margin-top: 0;
  font-size: 22px;
}

.card p {
  color: var(--muted);
  font-size: 16px;
}

/* Footer */
footer {
  margin-top: 120px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 12px;
}

/* ===============================
   Mobile Sticky Footer
=============================== */
.mobile-footer {
  display: none; /* скрыт по умолчанию на десктоп */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #020617;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  z-index: 1000;
}

.mobile-footer a {
  color: #e5e7eb;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.mobile-footer a:hover {
  color: #22c55e;
}

/* Показываем только на мобильных */
@media (max-width: 768px) {
  .mobile-footer {
    display: flex;
  }
}

.section.screenshot {
  margin-top: 80px;
  text-align: center;
}

.section.screenshot h2 {
  font-size: 32px;
  color: #22c55e;
  margin-bottom: 30px;
}

.screenshot-wrapper {
  display: flex;
  justify-content: center;
}

.screenshot-wrapper img {
  width: 300px;      /* адаптивный размер на desktop */
  max-width: 90vw;   /* чтобы умещался на экране mobile */
  height: auto;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.screenshot-wrapper img:hover {
  transform: scale(1.05);
}

/* Privacy Policy page */
.privacy h2 {
  color: #22c55e;
  margin-top: 30px;
}

.privacy p, .privacy li {
  color: #e5e7eb;
  line-height: 1.6;
  margin-bottom: 10px;
}

.privacy ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.privacy a {
  color: #22c55e;
  text-decoration: none;
}

.privacy a:hover {
  text-decoration: underline;
}

/* Container for better readability */
.container {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

/* Terms of Service page */
.terms h2 {
  color: #22c55e;
  margin-top: 30px;
}

.terms p, .terms li {
  color: #e5e7eb;
  line-height: 1.6;
  margin-bottom: 10px;
}

.terms ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.terms a {
  color: #22c55e;
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}


