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

:root {
  --primary-color: #2563EB;
  --secondary-color: #1E40AF;
  --accent-color: #FF6B35;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
  --border-color: #E5E7EB;
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
  --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #F97316 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  
}

.logo img {
  display: block;
  width: 240px;
  height: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 150px 0 60px;
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Parallax Star Background Layers */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

/* Layer 1: Small stars (faster) */
.hero::before {
  background-image:
    radial-gradient(2px 2px at 20px 30px, white, transparent),
    radial-gradient(2px 2px at 40px 70px, white, transparent),
    radial-gradient(1px 1px at 90px 10px, white, transparent),
    radial-gradient(1px 1px at 160px 120px, white, transparent),
    radial-gradient(2px 2px at 200px 50px, white, transparent),
    radial-gradient(1px 1px at 270px 80px, white, transparent),
    radial-gradient(2px 2px at 320px 100px, white, transparent),
    radial-gradient(1px 1px at 410px 60px, white, transparent),
    radial-gradient(1px 1px at 480px 140px, white, transparent),
    radial-gradient(2px 2px at 520px 20px, white, transparent);
  background-repeat: repeat;
  background-size: 550px 200px;
  background-position: 0 0;
  animation: parallaxStars1 20s linear infinite;
  opacity: 0.5;
}

/* Layer 2: Medium stars (medium speed) */
.hero::after {
  background-image:
    radial-gradient(3px 3px at 50px 50px, #fff, transparent),
    radial-gradient(2px 2px at 120px 100px, #fff, transparent),
    radial-gradient(3px 3px at 180px 30px, #fff, transparent),
    radial-gradient(2px 2px at 250px 120px, #fff, transparent),
    radial-gradient(3px 3px at 320px 60px, #fff, transparent),
    radial-gradient(2px 2px at 400px 90px, #fff, transparent),
    radial-gradient(3px 3px at 470px 40px, #fff, transparent);
  background-repeat: repeat;
  background-size: 500px 150px;
  background-position: 0 0;
  animation: parallaxStars2 30s linear infinite;
  opacity: 0.3;
}

@keyframes parallaxStars1 {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 200px;
  }
}

@keyframes parallaxStars2 {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 150px;
  }
}

/* Layer 3: Larger stars (slowest, with twinkle) */
.stars-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(4px 4px at 100px 50px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(3px 3px at 200px 120px, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(4px 4px at 350px 80px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(3px 3px at 450px 40px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(4px 4px at 280px 140px, rgba(255, 255, 255, 0.9), transparent);
  background-repeat: repeat;
  background-size: 600px 200px;
  background-position: 0 0;
  animation: parallaxStars3 40s linear infinite, twinkle 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes parallaxStars3 {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 200px;
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.hero .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badge {
  flex-shrink: 0;
  animation: float 3s ease-in-out infinite;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem 0.775rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

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

/* Apps Section */
.apps {
  padding: 100px 0;
  background: var(--bg-light);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 4rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.app-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.app-icon {
  margin-bottom: 1.5rem;
  display: inline-block;
}

.app-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.app-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  background: var(--bg-light);
  color: var(--primary-color);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.business-types {
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}

.business-types-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.business-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.business-tag {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
  color: var(--secondary-color);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
}

.business-tag:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(30, 64, 175, 0.15) 100%);
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

.app-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.app-link:hover {
  gap: 8px;
  color: var(--secondary-color);
}

/* About Section */
.about {
  padding: 100px 0;
  background: white;
}

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

.about-text {
  max-width: 500px;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 2rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

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

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
}

.code-window {
  background: #1F2937;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.code-header {
  background: #374151;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #EF4444;
}

.dot.yellow {
  background: #F59E0B;
}

.dot.green {
  background: #10B981;
}

.code-content {
  padding: 2rem;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.8;
}

.code-keyword {
  color: #C792EA;
}

.code-string {
  color: #C3E88D;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.contact-description {
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-method p,
.contact-method a {
  color: var(--text-light);
  text-decoration: none;
}

.contact-method a:hover {
  color: var(--primary-color);
}

.contact-form-container {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form .btn {
  width: 100%;
  background: var(--gradient-primary);
  color: white;
}

.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-section h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  color: #9CA3AF;
  line-height: 1.8;
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9CA3AF;
  font-size: 0.875rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    gap: 1rem;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

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

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

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

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

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text {
    max-width: 100%;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

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