/* Complete CSS styles for Charmr landing page */

/* Base styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
}

/* Hover effects */
.download-btn:hover {
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

.footer-link:hover {
  color: #4ecdc4;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #111111;
  margin: 5% auto 15%;
  padding: 2rem;
  border: 1px solid #333333;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
  box-sizing: border-box;
  max-height: 80vh;
  overflow-y: auto;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 0.5rem;
}

.close:hover {
  color: #ffffff;
}

.modal h2 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.modal p {
  color: #cccccc;
  line-height: 1.6;
}

/* Terms content styling */
.terms-content {
  margin-top: 1rem;
}

.terms-content section {
  margin-bottom: 1.5rem;
}

.terms-content h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.terms-content p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.terms-content ul {
  margin: 0.5rem 0 0.5rem 1.5rem;
  color: #cccccc;
}

.terms-content li {
  margin-bottom: 0.3rem;
  line-height: 1.5;
}

.terms-content address {
  color: #cccccc;
  font-style: normal;
  margin: 0.5rem 0;
}

.terms-content a {
  color: #4ecdc4;
  text-decoration: none;
}

.terms-content a:hover {
  text-decoration: underline;
}

.terms-content em {
  color: #999999;
  font-size: 0.9rem;
}

/* Privacy content styling */
.privacy-content {
  margin-top: 1rem;
}

.privacy-content section {
  margin-bottom: 1.5rem;
}

.privacy-content h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.privacy-content p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.privacy-content ul {
  margin: 0.5rem 0 0.5rem 1.5rem;
  color: #cccccc;
}

.privacy-content li {
  margin-bottom: 0.3rem;
  line-height: 1.5;
}

.privacy-content address {
  color: #cccccc;
  font-style: normal;
  margin: 0.5rem 0;
}

.privacy-content a {
  color: #4ecdc4;
  text-decoration: none;
}

.privacy-content a:hover {
  text-decoration: underline;
}

.privacy-content em {
  color: #999999;
  font-size: 0.9rem;
}

/* Tablet adjustments */
@media (max-width: 768px) {
  .download-btn.android-waitlist {
    width: 200px;
  }
}

/* Mobile modal adjustments */
@media (max-width: 500px) {
  .modal-content {
    width: 85%;
    margin: 10% auto;
    padding: 1.5rem;
    max-width: none;
    max-height: 85vh;
  }

  .modal h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .modal p {
    font-size: 0.9rem;
  }

  .close {
    font-size: 24px;
    right: 0.8rem;
    top: 0.3rem;
  }

  .terms-content h3 {
    font-size: 1rem;
  }

  .terms-content p {
    font-size: 0.9rem;
  }

  .terms-content ul {
    margin-left: 1rem;
  }
}

/* Loading animation */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Focus styles for accessibility */
.download-btn:focus,
.footer-link:focus,
.social-icon:focus,
.waitlist-form input:focus,
.waitlist-form button:focus {
  outline: 2px solid #4ecdc4;
  outline-offset: 2px;
}

/* Additional hover effects */
.download-btn:active {
  transform: translateY(0);
}

.social-icon:active {
  transform: scale(0.95);
}

/* Print styles */
@media print {
  .modal,
  .download-btn,
  .social-icons {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .logo {
    -webkit-text-fill-color: black !important;
    color: black !important;
  }
}
