:root {
  --primary-color: #646cff;
  --text-color: #ffffff;
  --modal-bg: rgba(255, 255, 255, 0.95);
  --modal-text: #213547;
  --primary: #fc2a32;
  --primary-dark: #b61e24;
  --secondary: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --background: #f8fafc;
  --card: rgba(25, 34, 45, 0.9);
  --accent: #e0e7ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  margin: 0;
  min-height: 100vh;
  color: var(--text-color);
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
              url('../img/bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.background-shapes {
  position: fixed;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.shape-1 {
  background: #818cf8;
  width: 500px;
  height: 500px;
  top: -250px;
  right: -100px;
  opacity: 0.2;
}

.shape-2 {
  background: #6366f1;
  width: 400px;
  height: 400px;
  bottom: -200px;
  left: -100px;
  opacity: 0.15;
}

.shape-3 {
  background: #4f46e5;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
}

.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.card {
  background: var(--card);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 4rem;
  padding: 3rem;
  max-width: 1000px;
  width: 100%;
  margin: 2rem;
}

.app-preview {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: var(--secondary);
  border-radius: 40px;
  padding: 12px;
  position: relative;
}

.screen {
  background: linear-gradient(135deg, rgba(235, 53, 52, 0.1), rgba(79, 70, 229, 0.1)), url('../img/fon.png');

  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}

.first-letter {
    color: white; 
    -webkit-background-clip: initial;
    -webkit-text-fill-color: white; 
}


.tagline {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.icon {
  font-size: 1.5rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.cta-button {
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
}

.primary {
  background: var(--primary);
  color: white;
}

.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.secondary {
  background: var(--accent);
  color: var(--primary);
}

.secondary:hover {
  background: #d4deff;
  transform: translateY(-2px);
}

.version {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.visible {
  opacity: 1;
}

.modal-card {
  background: var(--card);
  border-radius: 24px;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  margin: 5vh auto;
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.visible .modal-card {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.close-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.close-button:hover {
  background: #f1f5f9;
  color: var(--text);
}

.modal-content {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: calc(85vh - 80px);
}

.release {
  margin-bottom: 2rem;
}

.release:last-child {
  margin-bottom: 0;
}

.release-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.release h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.release-date {
  font-size: 0.875rem;
  color: var(--text-light);
}

.release ul {
  list-style: none;
}

.release li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.release li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

@media (max-width: 900px) {
  .card {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }

  .app-preview {
    order: -1;
  }

  .phone-frame {
    width: 240px;
    height: 480px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }

  .card {
    margin: 1rem;
    padding: 1.5rem;
  }

  .cta-group {
    flex-direction: column;
  }

  .phone-frame {
    width: 200px;
    height: 400px;
  }
}
.content {
  text-align: center;
  max-width: 600px;
}

h1 {
  font-size: 3.2em;
  margin-bottom: 0.5em;
}

.description {
  font-size: 1.2em;
  margin-bottom: 2em;
  opacity: 0.9;
}

.download-btn, .changelog-btn {
  display: inline-block;
  padding: 0.8em 1.6em;
  margin: 0.5em;
  font-size: 1.1em;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
  background: var(--primary-color);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.changelog-btn {
  background: transparent;
  border: 2px solid white;
}

.download-btn:hover {
  background: transparent;
  color: white;
}

.changelog-btn:hover {
  background: white;
  color: black;
}


.changelog-content {
  max-height: calc(80vh - 120px);
  overflow-y: auto;
  padding-right: 1rem;
}

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 2em;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.close:hover {
  color: #000;
}

h2 {
  margin-bottom: 1.5rem;
}

h3 {
  margin: 1.5rem 0 0.5rem;
}

ul {
  list-style-position: inside;
  margin-bottom: 1rem;
}

li {
  margin: 0.5rem 0;
  color: var(--modal-text);
}

@keyframes modalOpen {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5em;
  }
  
  .description {
    font-size: 1em;
  }
  
  .download-btn, .changelog-btn {
    display: block;
    width: 100%;
    margin: 1em 0;
  }
  
  .modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 1.5rem;
  }
}
    .feedback-form {
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-width: 400px;
      padding: 20px;
      background: var(--modal-bg);
      color: var(--modal-text);
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    .feedback-form label {
      font-weight: bold;
    }
    .feedback-form input, .feedback-form select, .feedback-form textarea {
      width: 100%;
      padding: 8px;
      border: 1px solid var(--accent);
      border-radius: 4px;
      background: var(--background);
      color: var(--text);
    }
    .feedback-form button {
      background: var(--primary);
      color: white;
      border: none;
      padding: 10px;
      cursor: pointer;
      border-radius: 4px;
      font-weight: bold;
    }
    .feedback-form button:hover {
      background: var(--primary-dark);
    }