body {
  font-family: 'Source Sans Pro';
  text-align: center;
  background-color: #fff;
}

p {
  color: #808080;
}

/* Headings */
.big-heading {
  font-weight: 700;
  font-size: 3.2rem;
}

.section-heading {
  font-size: 3rem;
  line-height: 1.5;
}

.big-text-size {
  font-weight: 700;
  font-size: 3.2rem;
}

.title-text-size {
  font-weight: 700;
  font-size: 1.8rem;
  color: #000;
}

#cta .title-text-size {
  color: #fff;
}

.message-text-size {
  font-weight: 400;
  font-size: 1.3rem;
}

.lead-text {
  font-size: 1.4rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 2rem;
}

.small-text {
  font-size: 1rem;
  font-weight: 400;
}

/* Containers */
.container-fluid {
  padding: 5% 10%;
}

/* Sections */
.colored-section {
  background: rgb(255, 127, 80);
  background: linear-gradient(135deg, rgba(255, 127, 80, 1) 0%, rgba(255, 165, 0, 1) 50%, rgba(255, 69, 0, 1) 100%);
  color: #fff;
}

.white-section {
  background-color: #fff;
}

/* Navigation Bar */
.navbar {
  padding: 0 0 4.5rem;
}

.navbar-brand img {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 5px;
  backdrop-filter: blur(10px);
}

.nav-item {
  padding: 0 18px;
}

/* Title Section */
#title {
  text-align: left;
}

#title .container-fluid {
  padding: 3% 10% 7%;
}

/* Coming Soon Notice */
.coming-soon-notice {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
  backdrop-filter: blur(10px);
}

.coming-soon-notice h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.coming-soon-notice p {
  color: #fff;
  margin-bottom: 1.5rem;
}

.testflight-main-btn {
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 15px 30px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 1.1rem;
}

.testflight-main-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}

/* Title Image */
.title-image {
  width: 60%;
  max-width: 300px;
  margin: 2rem auto;
  display: block;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.app-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Features Section */
.feature-box {
  padding: 2rem 15px;
}

.icon-container {
  margin-bottom: 1rem;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}

/* App Store Download Section */
.app-store-download {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
  backdrop-filter: blur(10px);
}

.app-store-download h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.app-store-download p {
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.download-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.download-link {
  transition: transform 0.3s ease;
  display: inline-block;
}

.download-link:hover {
  transform: translateY(-3px);
}

/* Icon switching for light/dark mode */
.light-mode-icon {
  display: none;
}

.dark-mode-icon {
  display: inline-block;
}

/* Call to Action Section */
.download-container {
  margin-top: 3rem;
}

.app-store-downloads {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.app-store-downloads h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.app-store-downloads p {
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.download-buttons-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.coming-soon-container {
  margin-top: 3rem;
}

.notification-signup {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.notification-signup h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.notification-signup p {
  color: #fff;
  margin-bottom: 1.5rem;
}

.beta-cta-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.beta-cta-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Footer */
#footer p {
  color: #808080;
  margin-bottom: 0.5rem;
}

#footer a {
  color: #ff6b35;
  text-decoration: none;
}

#footer a:hover {
  color: #ff4500;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1028px) {
  #title {
    text-align: center;
  }
  
  .title-image {
    width: 50%;
    margin-top: 3rem;
    padding: 1.5rem;
  }
  
  .navbar-brand img {
    padding: 8px;
  }
}

@media (max-width: 768px) {
  .big-heading {
    font-size: 2.5rem;
  }
  
  .lead-text {
    font-size: 1.2rem;
  }
  
  .feature-box {
    padding: 1.5rem 15px;
  }
  
  .container-fluid {
    padding: 5% 8%;
  }
  
  .title-image {
    width: 70%;
    max-width: 250px;
    padding: 1.2rem;
    margin: 2rem auto 1rem;
  }
  
  .navbar-brand img {
    width: 35px;
    height: 35px;
    padding: 6px;
  }
}

@media (max-width: 480px) {
  .big-heading {
    font-size: 2rem;
  }
  
  .title-text-size {
    font-size: 1.5rem;
  }
  
  .message-text-size {
    font-size: 1.1rem;
  }
  
  .title-image {
    width: 80%;
    max-width: 200px;
    padding: 1rem;
  }
  
  .navbar-brand img {
    width: 30px;
    height: 30px;
    padding: 4px;
  }
  
  .coming-soon-notice {
    padding: 1rem;
  }
  
  .notification-signup {
    padding: 1.5rem;
  }
  
  .container-fluid {
    padding: 5% 6%;
  }
  
  .download-buttons, .download-buttons-cta {
    flex-direction: column;
    gap: 10px;
  }
  
  .download-buttons img, .download-buttons-cta img {
    height: 45px;
  }
}

/* Beta Signup Page Styles */
.beta-info {
  margin-bottom: 3rem;
}

.benefit-item {
  margin-bottom: 2rem;
}

.benefit-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.benefit-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
}

.benefit-text {
  font-size: 1rem;
  color: #666;
}

.beta-signup-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin: 3rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.beta-form {
  max-width: 400px;
  margin: 0 auto;
}

.beta-email-input {
  border-radius: 25px;
  padding: 18px 20px;
  font-size: 1.1rem;
  border: 2px solid #ddd;
  margin-bottom: 0.5rem;
}

.beta-email-input:focus {
  border-color: #ff6b35;
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.beta-email-input.is-invalid {
  border-color: #dc3545;
}

.beta-submit-btn {
  background: linear-gradient(135deg, rgba(255, 127, 80, 1) 0%, rgba(255, 165, 0, 1) 50%, rgba(255, 69, 0, 1) 100%);
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  width: 100%;
  transition: all 0.3s ease;
}

.beta-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

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

.form-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 10px;
  font-weight: 500;
  display: none;
}

.form-message.success {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
  background-color: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.beta-additional-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-text {
  color: #666;
  font-size: 0.9rem;
}

/* TestFlight Button Styles */
.testflight-button-container {
  margin: 2rem 0;
}

.testflight-btn {
  font-size: 1.2rem;
  padding: 18px 40px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}

.testflight-btn:hover {
  text-decoration: none;
  color: white;
}

.testflight-note {
  color: #666;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Privacy Policy Specific Styles */
.secondary-title {
  text-align: center;
}

.secondary-title .container-fluid {
  padding: 3% 10%;
}

.secondary-title .navbar {
  padding: 0;
}

#privacy-content {
  text-align: left;
}

#privacy-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

#privacy-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: #444;
}

#privacy-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

#privacy-content li {
  margin-bottom: 0.5rem;
  color: #666;
}

#privacy-content p {
  color: #666;
}

#privacy-content strong {
  color: #333;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .white-section {
    background-color: #222222;
  }

  .title-text-size {
    color: #fff;
  }
  
  body {
    background-color: #222222;
  }

  p {
    color: #adadad;
  }
  
  #footer p {
    color: #adadad;
  }
  
  /* Enhanced icon visibility in dark mode */
  .title-image {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-brand img {
    background: rgba(255, 255, 255, 0.3);
  }
  
  /* Privacy Policy Dark Mode */
  #privacy-content h2 {
    color: #fff;
  }
  
  #privacy-content h3 {
    color: #eee;
  }
  
  #privacy-content p {
    color: #ccc;
  }
  
  #privacy-content li {
    color: #ccc;
  }
  
  #privacy-content strong {
    color: #fff;
  }
  
  /* Beta Form Dark Mode */
  .beta-email-input {
    background-color: #333;
    border-color: #555;
    color: #fff;
  }
  
  .beta-email-input:focus {
    background-color: #444;
    border-color: #ff6b35;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
  }
  
  .beta-submit-btn {
    background: linear-gradient(135deg, rgba(255, 127, 80, 1) 0%, rgba(255, 165, 0, 1) 50%, rgba(255, 69, 0, 1) 100%);
  }
  
  .form-message.success {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.4);
  }
  
  .form-message.error {
    color: #f44336;
    background-color: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.4);
  }
  
  .beta-info h2, .beta-signup-form h3 {
    color: #fff;
  }
  
  .benefit-title {
    color: #fff;
  }
  
  .benefit-text {
    color: #ddd;
  }
  
  .form-label {
    color: #fff;
  }
  
  .form-text {
    color: #bbb;
  }
  
  /* Fix beta signup form background in dark mode */
  .beta-signup-form {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Improve beta additional info readability */
  .beta-additional-info {
    border-top-color: #444;
  }
  
  .beta-additional-info h4 {
    color: #fff;
  }
  
  .beta-additional-info ul li {
    color: #ddd;
  }
  
  .beta-additional-info .small-text {
    color: #bbb;
  }
  
  .beta-additional-info a {
    color: #ff6b35;
  }
  
  /* TestFlight button dark mode */
  .testflight-note {
    color: #bbb;
  }
  
  /* App Store Download Dark Mode */
  .app-store-download {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .app-store-download h4 {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  }
  
  .app-store-download p {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  }
  
  .app-store-downloads {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .app-store-downloads h4 {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  }
  
  .app-store-downloads p {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  }
  
  /* Switch icons for dark mode */
  .light-mode-icon {
    display: inline-block;
  }
  
  .dark-mode-icon {
    display: none;
  }
}