/* 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: #fafafa;
}

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

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 16px 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

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

.logo .logo-text {
  color: #ff6b35;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

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

.nav-link:hover,
.nav-link:focus {
  color: #ff6b35;
  outline: none;
}

.nav-link:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
  border-radius: 4px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.hamburger:hover,
.hamburger:focus {
  background-color: rgba(255, 107, 53, 0.1);
  outline: none;
}

.hamburger:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

.bar {
  width: 24px;
  height: 2px;
  background: #4b5563;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 1px;
}

/* Hero Section */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffcd3c 100%);
}

.wave-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Apps Section */
.apps {
  padding: 100px 0;
  background: white;
}

.apps h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 64px;
  letter-spacing: -0.025em;
}

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

.app-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.app-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.2;
  word-wrap: break-word;
  hyphens: auto;
}

.app-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: #f8fafc;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 64px;
  letter-spacing: -0.025em;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.contact-item {
  text-align: center;
}

.contact-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.contact-item p {
  font-size: 1rem;
}

.contact-item a {
  color: #ff6b35;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-item a:hover,
.contact-item a:focus {
  color: #e55a2b;
  outline: none;
}

.contact-item a:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
  border-radius: 4px;
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.social-links a {
  color: #ff6b35;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: white;
  transition: all 0.2s ease;
}

.social-links a:hover,
.social-links a:focus {
  background: #ff6b35;
  color: white;
  border-color: #ff6b35;
  outline: none;
}

.social-links a:focus-visible {
  outline: 2px solid #e55a2b;
  outline-offset: 2px;
}

/* Footer */
footer {
  background: #1e293b;
  color: #94a3b8;
  text-align: center;
  padding: 32px 0;
}

footer p {
  font-size: 0.9rem;
}

/* Scroll to top button focus styles */
.scroll-to-top:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .contact-info {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 68px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 32px 0;
    gap: 24px;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero {
    padding: 100px 0 80px;
    min-height: 70vh;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .apps {
    padding: 80px 0;
  }

  .apps h2 {
    font-size: 2rem;
    margin-bottom: 48px;
  }

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

  .contact {
    padding: 80px 0;
  }

  .contact h2 {
    font-size: 2rem;
    margin-bottom: 48px;
  }

  .contact-info {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 0 16px;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .apps {
    padding: 60px 0;
  }

  .contact {
    padding: 60px 0;
  }

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

  .app-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
    border-radius: 16px;
    margin-bottom: 20px;
  }

  .app-card h3 {
    font-size: 1.1rem;
    margin-bottom: 14px;
  }

  .app-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}
