/* fontshare Clash Grotesk */
@import url("https://api.fontshare.com/v2/css?f[]=clash-grotesk@400,700&display=swap");

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

body {
  background: #2d3142;
  color: #c9d1d9;
  font-family:
    "Clash Grotesk",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.2;
  font-size: 17px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 30px;
}

header {
  text-align: center;
  margin-bottom: 0;
}

.header-text {
  text-align: left;
  margin-left: 30px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-200px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.coming-soon-badge {
  display: flex;
  align-items: center;
  background: #23263a;
  border-radius: 20px;
  padding: 18px 32px 18px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  gap: 12px;
  min-width: 320px;
  margin: 0 auto 18px auto;
  flex-shrink: 0;
  max-width: 100%;
  animation: slideInDown 0.8s ease-out;
}

.badge-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-right: 0;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.badge-app-icon:hover {
  transform: scale(1.07);
}

.badge-header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 32px;
}

.badge-header-text h1 {
  font-size: 2.2em;
  margin: 0 0 2px 0;
  color: #f0f6fc;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: left;
}

.badge-header-text p {
  font-size: 1.1em;
  color: #8b949e;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
  text-align: left;
}

.badge-coming-soon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.coming-soon-text {
  color: #fcbf49;
  font-weight: 600;
  margin-right: 6px;
  letter-spacing: 0.01em;
}

.google-play-logo-badge {
  width: 110px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

h1 {
  font-size: 3.5em;
  margin-bottom: 0px;
  color: #f0f6fc;
  font-weight: 700;
  letter-spacing: -0.02em;
}

header p {
  font-size: 1.4em;
  color: #8b949e;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0;
}

.section {
  margin-bottom: 20px;
  animation: fadeIn 0.8s ease-out;
}

h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #f0f6fc;
  font-weight: 600;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #f77f00, #fcbf49);
  border-radius: 2px;
}

.intro-text {
  font-size: 1.2em;
  line-height: 1.8;
  color: #c9d1d9;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px 40px;
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  padding: 0;
  border-left: 3px solid #f77f00;
  padding-left: 20px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateX(5px);
  border-left-color: #d16d00;
}

.feature-card h3 {
  font-size: 1.4em;
  margin-bottom: 8px;
  color: #f0f6fc;
  font-weight: 400;
}

.feature-card p {
  font-size: 0.95em;
  color: #8b949e;
  line-height: 1.5;
}

/* Image Gallery Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: none;
  background: none;
  width: 100%;
  padding: 0;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(247, 127, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 30px 15px 15px;
  font-size: 0.9em;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.google-play-logo {
  width: 200px;
  margin: 0 auto;
  display: block;
}

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

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  background: #1a1a2e;
  color: #c9d1d9;
  padding: 20px;
  border-radius: 0 0 12px 12px;
  text-align: center;
  font-size: 1.1em;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #2d3142;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.lightbox-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.why-recoverly ul {
  list-style: none;
  padding-left: 0;
  max-width: 600px;
  margin: 40px auto 0;
}

.why-recoverly li {
  font-size: 1.2em;
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
  color: #c9d1d9;
}

.why-recoverly li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f77f00;
  font-weight: bold;
  font-size: 1.3em;
}

footer {
  text-align: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 2px solid rgba(247, 127, 0, 0.1);
}

footer a {
  color: #f77f00;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #d16d00;
}

footer p {
  color: #8b949e;
  margin: 10px 0;
}

footer p:last-child {
  font-style: italic;
  margin-top: 20px;
}

.download-btn {
  display: inline-block;
  background: linear-gradient(135deg, #f77f00, #fcbf49);
  color: #1a1a2e;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(247, 127, 0, 0.3);
  margin: 20px auto;
  text-align: center;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 127, 0, 0.4);
  background: linear-gradient(135deg, #fcbf49, #f77f00);
}

.download-section {
  text-align: center;
  margin: 30px 0;
  animation: fadeIn 0.8s ease-out;
}

.download-section p {
  color: #8b949e;
  font-size: 0.95em;
  margin-top: 10px;
}

.pre-release-badge {
  display: inline-block;
  background: rgba(247, 127, 0, 0.15);
  color: #fcbf49;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: 600;
  margin-left: 8px;
  vertical-align: middle;
}

.google-play-download-btn {
  width: 200px;
  height: auto;
  display: inline-block;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  margin: 20px auto;
}

.google-play-download-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .coming-soon-badge {
    flex-direction: column;
    font-size: 0.95em;
    padding: 20px;
    border-radius: 16px;
    gap: 16px;
    text-align: center;
    min-width: auto;
  }
  .badge-app-icon {
    margin: 0 auto;
  }
  .badge-header-text {
    margin-right: 0;
    text-align: center;
  }
  .badge-header-text h1 {
    font-size: 1.8em;
    text-align: center;
  }
  .badge-header-text p {
    font-size: 1em;
    text-align: center;
  }
  .badge-coming-soon {
    margin-left: 0;
    flex-direction: column;
    gap: 8px;
  }
  .coming-soon-text {
    margin-right: 0;
  }
  .google-play-logo-badge {
    width: 90px;
  }
  h1 {
    font-size: 2.5em;
  }

  h2 {
    font-size: 2em;
  }

  .container {
    padding: 40px 20px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}
