/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Main container with gradient background */
.main-container {
  min-height: 100vh;
  background: #000f2e;
  background: linear-gradient(
    180deg,
    rgba(0, 15, 46, 1) 5%,
    rgba(0, 27, 82, 1) 70%,
    rgba(0, 15, 46, 1) 100%
  );
  position: relative;
  overflow: auto;
}

/* Header styles */
.header {
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.header-content {
  margin: 0 auto;
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 2rem;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Content wrapper */
.content-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: end;
  padding: 5rem 0 8rem 0;
  margin-top: -6rem;
}

.content-container {
  width: 100%;
  max-width: 1550px;
  margin: 0 auto;
  padding: 0 1rem;
}

.grid-container {
  display: grid;
  gap: 3rem;
  align-items: center;
}

/* Mobile layout (default) */
.mobile-layout {
  display: block;
  text-align: center;
  padding-top: 2rem;
}

.desktop-layout {
  display: none;
}

/* Typography */
.main-headline {
  font-weight: 300;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  margin-top: 1rem;
  font-size: 5.5rem !important;
}

.mobile-headline {
  font-size: 3rem !important;
  margin-top: -1.5rem;
}

.subheadline {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  line-height: 1.6;
  max-width: 40rem;
  margin: 0 auto 2rem auto;
}

.description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  line-height: 1.6;
  max-width: 40rem;
  margin: 0 auto 2rem auto;
}

/* iPhone mockup styles */
.iphone-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.mobile-iphone {
  transform: scale(0.65);
  animation: elegantFade 1s ease-out;
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

.iphone {
  width: 16rem;
  height: 32.5rem;
  background: black;
  border-radius: 3rem;
  padding: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 2.5rem;
  position: relative;
  overflow: hidden;
}

.screen-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2.4rem;
}

.dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2.4rem;
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  border-radius: 2.4rem;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 20%,
    rgba(15, 23, 42, 0.8) 50%,
    rgba(15, 23, 42, 0.95) 100%
  );
}

.app-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  color: white;
}

.app-header {
  display: flex;
  justify-content: center;
  padding-top: 3rem;
}

.mobile-app-logo {
  height: 0.625rem;
  width: auto;
}

.app-bottom {
  padding-top: 8rem;
}

.welcome-section {
  text-align: center;
  margin-bottom: 1.5rem;
}

.mobile-welcome-title {
  font-size: 0.625rem;
  color: white;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.mobile-welcome-subtitle {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.dots-indicator {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.dot {
  width: 0.25rem;
  height: 0.25rem;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.dot.active {
  background: white;
}

.app-buttons {
  padding: 0 1rem;
  margin-bottom: 1.5rem;
}

.desktop-app-buttons {
  padding: 1rem 1.5em;
  margin-bottom: 1.5rem;
}

.mobile-btn {
  width: 100%;
  padding: 0.25rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.625rem;
  border: none;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.desktop-mobile-btn {
  width: 100%;
  padding: 0.7rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.825rem;
  border: none;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.btn-primary {
  background: white;
  color: #1e3a8a;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.terms {
  text-align: center;
}

.mobile-terms {
  font-size: 0.4375rem;
  color: rgba(255, 255, 255, 0.6);
}

.terms-link {
  text-decoration: underline;
}

.dynamic-island {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: black;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.mobile-island {
  width: 5rem;
  height: 1rem;
}

/* Download badges */
.mobile-badges {
  position: absolute;
  bottom: 13rem;
  left: -2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 20;
}

.badge {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.app-store {
  width: 6rem;
  height: auto;
}

.google-play {
  width: 7rem;
  height: auto;
  transform: translateX(-0.5rem) translateY(-0.5rem);
}

/* Badges section */
.badges-section {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}

.coming-soon-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  transition: all 0.5s ease;
  cursor: pointer;
}

.coming-soon-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(255, 255, 255, 0.1);
}

.coming-soon-btn:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.05), transparent);
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Countdown timer */
.countdown-timer {
  margin-top: 2rem;
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  justify-content: center;
}

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

.timer-value {
  font-size: 2rem;
  font-weight: 300;
  color: white;
  margin-bottom: 0.25rem;
}

.timer-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Desktop countdown section */
.countdown-section {
  display: none;
  position: relative;
  padding: 2rem 0;
}

.countdown-container {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.desktop-timer-grid {
  gap: 1.5rem;
}

.desktop-timer-value {
  font-size: 3rem;
}

/* Newsletter section */
.newsletter-section {
  position: relative;
  margin-top: -4rem !important;
  margin-bottom: 6rem;
  padding: 0.25rem 0 2rem 0;
}

.newsletter-container {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.newsletter-title {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 2rem;
}

.newsletter-form {
  margin-top: 1rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

.form-group {
  display: flex;
  gap: 0.75rem;
}

.email-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  color: white;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.email-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.submit-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1.1rem 2rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.5s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.submit-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(255, 255, 255, 0.1);
}

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

.loading-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Toast notification */
.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 100;
  max-width: 20rem;
}

.toast.show {
  transform: translateX(0);
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.1);
}

.toast.success {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.toast-description {
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);

}

.footer-container {
  max-width: 1550px; /* 6xl = 72rem = 1152px */
  margin: 0 auto;
  padding: 2rem 1.5rem; /* py-8 px-6 */
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* gap-6 */
}

.main-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem; /* gap-6 */
}

.company-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 1.25rem; /* h-5 = 20px */
  opacity: 0.7;
}

.links-copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* gap-4 */
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem; /* text-sm */
  font-weight: 300; /* font-light */
}

.links-container {
  display: flex;
  align-items: center;
  gap: 1rem; /* gap-4 */
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: white;
}

.separator {
  display: none;
  color: rgba(255, 255, 255, 0.4);
}

.company-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem; /* pt-6 */
}

.company-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem; /* gap-4 */
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem; /* text-xs */
  font-weight: 300; /* font-light */
}

.company-data {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* gap-2 */
  text-align: center;
}

.company-separator {
  display: none;
  color: rgba(255, 255, 255, 0.3);
}

.contact-email {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-weight: 300; /* font-light */
  transition: color 0.2s ease;
  font-size: 1rem;
}

.contact-email:hover {
  color: white;
}

.privacy-hero {
  position: relative;
  height: 20rem;
  overflow: hidden;
}

.privacy-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
}

.privacy-main {
  padding: 4rem 1.5rem;
}

.privacy-container {
  max-width: 56rem;
  margin: 0 auto;
}

.privacy-content {
  color: white;
}

.privacy-meta {
  margin-bottom: 2rem;
}

.privacy-meta p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.privacy-meta p:last-child {
  margin-bottom: 1rem;
}

.privacy-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.privacy-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.privacy-section p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.privacy-section ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-section li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.privacy-section strong {
  color: white;
}

/* Animations */
@keyframes elegantFade {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Desktop styles */
@media (min-width: 1024px) {
  .privacy-hero-title {
    font-size: 3.75rem;
  }
  .content-wrapper {
    align-items: center;
    padding: 0 0 6rem 0;
    overflow: hidden;
  }

  .mobile-layout {
    display: none;
  }

  .desktop-layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
    align-items: center;
  }

  .desktop-content {
    padding-top: 10rem;
    text-align: left;
    animation: elegantFade 1s ease-out;
  }

  .desktop-headline {
    font-size: 6rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
  }

  .desktop-text {
    max-width: 48rem;
    margin-bottom: 1.5rem;
  }

  .desktop-subheadline {
    font-size: 2rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
  }

  .desktop-description {
    font-size: 1.125rem;
    margin: 0 0 1.5rem 0;
  }

  .desktop-badges-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    justify-content: flex-start;
  }

  .desktop-badges-section .coming-soon-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    border: none;
    padding: 1.5rem 2.5rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  .desktop-badges-section .coming-soon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
  }

  .desktop-download-badges {
    display: flex;
    gap: 1rem;
  }

  .desktop-app-store {
    width: 10rem;
    height: auto;
  }

  .desktop-google-play {
    width: 12.5rem;
    height: auto;
  }

  .desktop-iphone-container {
    display: flex;
    justify-content: flex-end;
    padding-top: 3rem;
  }

  .desktop-iphone {
    width: 24rem;
    height: 49.625rem;
    transform: scale(1);
    animation: elegantFade 1s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
  }

  .desktop-app-logo {
    height: 1rem;
    width: auto;
  }

  .desktop-welcome-title {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
  }

  .desktop-welcome-subtitle {
    font-size: 0.75rem;
  }

  .desktop-btn {
    padding: 0.375rem;
    font-size: 0.75rem;
  }

  .desktop-terms {
    font-size: 0.5625rem;
  }

  .desktop-island {
    width: 7rem;
    height: 1.5rem;
  }

  .countdown-section {
    display: block;
    margin-top: 0;
    padding: 4rem 0;
  }

  .newsletter-section {
    margin-top: 0;
    padding: 4rem 0 0 0;
  }

  .logo-img {
    height: 1.5rem; /* sm:h-6 = 24px */
  }

  .main-footer {
    flex-direction: row;
  }

  .links-copyright {
    flex-direction: row;
  }

  .separator {
    display: inline;
  }

  .company-details {
    flex-direction: row;
  }

  .company-data {
    flex-direction: row;
    align-items: center;
    gap: 1rem; /* lg:gap-4 */
    text-align: left;
  }

  .company-separator {
    display: inline;
  }

  @media (min-width: 1024px) {
        .privacy-hero {
          height: 24rem;
        }
      }

      .privacy-hero-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .privacy-hero-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
      }

      .privacy-hero-content {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
      }

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

      .privacy-hero-title {
        font-size: 2.5rem;
        font-weight: bold;
        color: white;
        margin-bottom: 1rem;
      }
}

/* Extra large screens */
@media (min-width: 1280px) {
  .content-container {
    padding: 0 3rem;
  }

  .desktop-headline {
    font-size: 7rem;
  }

  .desktop-subheadline {
    font-size: 2.25rem;
  }
}

@media (min-width: 1536px) {
  .desktop-headline {
    font-size: 8rem;
  }
}
