/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 700;
  margin: 1.5rem 0 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #0066cc;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: #333;
  border-bottom: 2px solid #0066cc;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: #555;
}

h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #666;
}

p {
  margin: 1rem 0;
  font-size: 1.05rem;
}

strong {
  color: #0066cc;
  font-weight: 600;
}

/* Header & Navigation */
header {
  background: #fff;
  border-bottom: 2px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 20px;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0066cc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo:hover {
  color: #0052a3;
}

/* Navigation */
nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.2s;
}

nav a:hover {
  background: #f0f7ff;
  color: #0066cc;
}

nav a.active {
  background: #0066cc;
  color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #0066cc;
  padding: 0.5rem;
}

/* Main Content */
main {
  flex: 1;
  padding: 2rem 0;
}

section {
  margin: 3rem 0;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border-radius: 12px;
  margin-bottom: 3rem;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  color: #555;
  max-width: 800px;
  margin: 1rem auto;
}

/* Links */
a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #0052a3;
  text-decoration: underline;
}

a:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

/* Buttons & CTAs */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
  justify-content: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: #0066cc;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none !important;
  transition: all 0.2s;
  border: 2px solid #0066cc;
  cursor: pointer;
}

.cta-btn:hover {
  background: #0052a3;
  border-color: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-btn.secondary {
  background: #fff;
  color: #0066cc !important;
  border: 2px solid #0066cc;
}

.cta-btn.secondary:hover {
  background: #f0f7ff;
}

/* App Download Buttons */
.app-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .app-buttons {
    flex-direction: row;
  }
}

.app-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #0066cc; /* Using primary color instead of dark background for better fit */
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff !important;
  padding: 1rem 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.app-btn:hover {
  transform: translateY(-4px);
  background: #0052a3;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.app-btn svg, .app-btn img {
  width: 2rem;
  height: 2rem;
}

.app-btn .text-left {
  text-align: left;
}

.app-btn .text-xs {
  font-size: 0.75rem;
  opacity: 0.8;
  line-height: 1;
}

.app-btn .text-xl {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: -0.25rem;
}

.app-btn .arrow {
  margin-left: 0.5rem;
  opacity: 0.6;
  transition: transform 0.3s;
}

.app-btn:hover .arrow {
  transform: translateX(4px);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: #0066cc;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
  transform: translateY(-4px);
}

.feature-card h3 {
  color: #0066cc;
  margin-top: 0;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Features List */
.features-list {
  list-style: none;
  margin: 1.5rem 0;
}

.features-list li {
  padding: 0.75rem 0 0.75rem 2.5rem;
  position: relative;
  margin: 0.5rem 0;
  font-size: 1.05rem;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0066cc;
  font-weight: bold;
  font-size: 1.5rem;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.pricing-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  text-align: center;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: #0066cc;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.2);
  transform: scale(1.05);
}

.pricing-card:hover {
  border-color: #0066cc;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
}

.pricing-card h3 {
  color: #0066cc;
  margin-top: 0;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0066cc;
  margin: 1rem 0;
}

.price small {
  font-size: 1rem;
  color: #666;
  font-weight: normal;
}

/* Highlight Box */
.highlight-box {
  background: #f0f7ff;
  border-left: 4px solid #0066cc;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.highlight-box strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #0066cc;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 2rem 0;
  border-top: 2px solid #e0e0e0;
  background: #f8f8f8;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  color: #666;
}

.footer-content p {
  margin: 0.5rem 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: #666;
  text-decoration: none;
}

.footer-links a:hover {
  color: #0066cc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding-top: 1rem;
  }

  nav.active {
    display: flex;
  }

  nav a {
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
