/* Import tech font */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

/* Theme variables */
:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --text-color-light: #666666;
  --text-color-lighter: #999999;
  --card-bg: #FAFAFA;
  --border-color: #eeeeee;
  --button-bg: #333333;
  --button-text: #ffffff;
  --button-hover: #222222;
  --font-tech: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --download-btn-bg: #000000;
  --download-btn-text: #ffffff;
  --download-btn-hover: #333333;
  --primary-color: #007AFF;
  --primary-color-dark: #0056CC;
}

[data-theme="dark"] {
  --bg-color: #121212;
  --text-color: #f5f5f5;
  --text-color-light: #cccccc;
  --text-color-lighter: #999999;
  --card-bg: #1e1e1e;
  --border-color: #333333;
  --button-bg: #ffffff;
  --button-text: #121212;
  --button-hover: #e0e0e0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
header {
  padding: 20px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 30px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font-tech);
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
}

nav a:hover {
  color: var(--text-color-light);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 15px;
  align-items: center;
}

/* Hero section */
.hero {
  padding: 80px 0;
  background: var(--bg-color);
  text-align: center;
}

.app-icon-container {
  margin-bottom: 30px;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-tech);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-color);
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-color-light);
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  margin: 15px 0 5px 0;
}

/* Features container */
.features-container {
  padding: 60px 40px;
  background-color: var(--card-bg);
  border-radius: 30px;
  margin: 20px auto;
  max-width: 1200px;
}

.feature-section {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 80px;
  gap: 60px;
  padding: 0 20px;
}

.feature-section:last-child {
  margin-bottom: 0;
}

.left-aligned {
  flex-direction: row;
}

.right-aligned {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  max-width: 500px;
}

.feature-content h2 {
  font-family: var(--font-tech);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text-color);
}

.highlight {
  color: var(--primary-color);
}

.feature-content p {
  color: var(--text-color-light);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.feature-list li {
  color: var(--text-color-light);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
  padding-left: 0;
}

.feature-list li strong {
  color: var(--text-color);
  font-weight: 600;
}

.feature-image {
  flex: 1;
  max-width: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Pricing section */
.pricing-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--bg-color);
}

.pricing-section h2 {
  font-family: var(--font-tech);
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 50px;
  color: var(--text-color);
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: var(--card-bg);
  border-radius: 20px;
  padding: 40px 30px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}

.price {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  text-align: left;
}

.pricing-features li {
  color: var(--text-color-light);
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.pricing-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Download section */
.download-section {
  padding: 80px 0;
  text-align: center;
  background-color: transparent;
}

.download-section h2 {
  font-family: var(--font-tech);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--text-color);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--download-btn-bg);
  color: var(--download-btn-text);
  border-radius: 25px;
  padding: 16px 32px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: var(--font-tech);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
}

.download-btn:hover {
  background-color: var(--download-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.download-btn.large {
  font-size: 20px;
  padding: 18px 40px;
}

.download-btn.primary {
  background-color: var(--primary-color);
  color: white;
}

.download-btn.primary:hover {
  background-color: var(--primary-color-dark);
}

/* Navigation download button specific styling */
.nav-download-btn {
  background-color: var(--download-btn-bg) !important;
  color: var(--download-btn-text) !important;
  border-radius: 10px !important;
  padding: 0 16px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  height: 42px !important;
  margin: 0 !important;
  transform: none !important;
  box-shadow: none !important;
}

.nav-download-btn:hover {
  background-color: var(--download-btn-hover) !important;
  color: var(--download-btn-text) !important;
  transform: none !important;
  box-shadow: none !important;
}

.version-info {
  color: var(--text-color-lighter);
  font-size: 14px;
  margin-top: 10px;
}

/* Newsletter section */
.newsletter-form-container {
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
  padding: 60px 40px;
  background-color: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

.newsletter-form-container h2 {
  font-family: var(--font-tech);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}

.newsletter-form-container p {
  color: var(--text-color-light);
  margin-bottom: 30px;
  font-size: 16px;
}

.newsletter-form {
  width: 100%;
}

.input-group {
  display: flex;
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex-direction: row;
  gap: 0;
}

.newsletter-form-input {
  flex: 1;
  padding: 15px 20px;
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: 25px 0 0 25px;
  font-size: 16px;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.newsletter-form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.1);
}

.newsletter-form-button {
  width: auto;
  padding: 12px 20px;
  background-color: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 0 25px 25px 0;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.newsletter-form-button:hover {
  background-color: var(--button-hover);
}

.newsletter-loading-button {
  display: none;
  width: auto;
  padding: 12px 20px;
  border-radius: 0 25px 25px 0;
  background-color: var(--button-bg);
  color: var(--button-text);
  border: none;
  font-size: 16px;
  justify-content: center;
  align-items: center;
}

.newsletter-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.newsletter-success-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #4CAF50;
  color: white;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
}

.newsletter-success-message {
  color: var(--text-color);
  font-size: 16px;
  text-align: center;
}

.newsletter-error {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

.newsletter-error-message {
  color: rgb(185, 28, 28);
  font-size: 14px;
  text-align: center;
}

.newsletter-back-button {
  color: var(--text-color-light);
  font-size: 14px;
  margin: 10px auto;
  text-align: center;
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.newsletter-back-button:hover {
  text-decoration: underline;
}

.privacy-note {
  font-size: 14px;
  color: var(--text-color-lighter);
  margin-top: 20px;
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 14px;
  color: var(--text-color-light);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-color);
}

/* Contact Modal Styles */
.contact-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
}

.contact-modal-content {
  background-color: var(--bg-color);
  margin: 15% auto;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--text-color-light);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover {
  color: var(--text-color);
}

.contact-modal h3 {
  margin-bottom: 15px;
  font-size: 22px;
  color: var(--text-color);
}

.contact-modal p {
  margin-bottom: 20px;
  color: var(--text-color);
}

#contact-email {
  font-weight: 600;
  color: var(--primary-color);
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: var(--primary-color-dark);
}

.copy-success {
  display: none;
  color: #4caf50 !important;
  font-size: 14px;
  margin-top: 10px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .feature-section {
    flex-direction: column !important;
    text-align: center;
    gap: 40px;
  }
  
  .feature-content {
    max-width: 100%;
  }
  
  .pricing-cards {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-actions {
    gap: 15px;
  }
  
  .nav-link {
    font-size: 14px;
  }
  
  .logo img {
    height: 30px;
  }
  
  .logo span {
    font-size: 16px !important;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .feature-content h2 {
    font-size: 28px;
  }
  
  .features-container {
    padding: 60px 20px;
    margin: 20px auto;
    border-radius: 20px;
  }
  
  .feature-section {
    padding: 0 15px;
    gap: 30px;
  }
  
  .input-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .newsletter-form-input,
  .newsletter-form-button {
    border-radius: 25px;
    width: 100%;
  }
  
  .newsletter-form-container {
    padding: 40px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}