/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8fafc;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  width: 40px;
  height: 40px;
  background: #274774;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-link:hover .logo-box {
  transform: scale(1.05);
}

.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: #274774;
}

.brand-name {
  font-size: 20px;
  font-weight: bold;
  color: #274774;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #274774;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: #4b5563;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background: white;
  border-top: 1px solid #e5e7eb;
}

.mobile-nav-link {
  display: block;
  padding: 16px 20px;
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
  background-color: #f3f4f6;
}

/* Hero Section */
.hero {
  background: #274774;
  color: white;
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 24px;
  line-height: 1.2;
}

.highlight {
  color: #fbbf24;
}

.highlight-accent {
  color: #f472b6;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: white;
  color: #274774;
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.floating-box {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.floating-box i {
  font-size: 4rem;
  color: white;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Features Section */
.features {
  padding: 80px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 16px;
  color: #274774;
}

.section-header p {
  font-size: 1.25rem;
  color: #6b7280;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 32px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-card:nth-child(1) {
  background: #dbeafe;
}

.feature-card:nth-child(2) {
  background: #fce7f3;
}

.feature-card:nth-child(3) {
  background: #d1fae5;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-card:nth-child(1) .feature-icon {
  background: #274774;
  color: white;
}

.feature-card:nth-child(2) .feature-icon {
  background: #8b5cf6;
  color: white;
}

.feature-card:nth-child(3) .feature-icon {
  background: #10b981;
  color: white;
}

.feature-icon i {
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 16px;
  color: #1f2937;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 80px 0;
  background: #f8fafc;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 24px;
  color: #274774;
}

.about-text p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.stat:nth-child(1) .stat-number {
  color: #274774;
}

.stat:nth-child(2) .stat-number {
  color: #8b5cf6;
}

.stat:nth-child(3) .stat-number {
  color: #ec4899;
}

.stat-label {
  color: #6b7280;
  font-size: 0.875rem;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Solutions Section */
.solutions {
  padding: 80px 0;
  background: white;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f3f4f6;
  color: #6b7280;
}

.filter-btn.active,
.filter-btn:hover {
  background: #274774;
  color: white;
}

.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.app-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.app-header {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: #274774;
}

.app-header img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
}

.app-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 16px;
  color: #1f2937;
}

.app-card p {
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.6;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tech-tag {
  background: #274774;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
}

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

.app-link {
  color: #274774;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.app-link:hover {
  color: #1f3a5f;
}

.store-links {
  display: flex;
  gap: 8px;
}

.store-link {
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.3s ease;
}

.store-link:hover {
  background: #274774;
  color: white;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #274774;
  color: white;
}

.contact .section-header h2,
.contact .section-header p {
  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-details {
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-item i {
  font-size: 1.25rem;
  width: 24px;
}

.social-links h4 {
  margin-bottom: 16px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
}

.contact-form .btn-primary {
  width: 100%;
  text-align: center;
}

/* Footer */
.footer {
  background: #111827;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-section p {
  color: #9ca3af;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #374151;
  border-radius: 6px;
  background: #1f2937;
  color: white;
}

.newsletter-form button {
  padding: 8px 12px;
  background: #274774;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #1f3a5f;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text {
    text-align: center;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .filter-buttons {
    justify-content: center;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  /* Additional mobile optimizations */
  .section-header {
    text-align: center;
    padding: 0 20px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .app-card {
    padding: 32px 24px;
  }

  .app-header {
    height: 100px;
  }

  .app-header img {
    width: 70px;
    height: 70px;
  }

  .app-card h1 {
    font-size: 1.8rem;
  }

  .app-links {
    flex-direction: column;
    gap: 16px;
  }

  .store-links {
    justify-content: center;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .app-card {
    padding: 24px 20px;
  }

  .app-card h1 {
    font-size: 1.5rem;
  }

  .app-card p {
    font-size: 0.95rem;
  }

  .tech-tags {
    justify-content: center;
  }

  .contact-info h3,
  .contact-form h3 {
    font-size: 1.3rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}
