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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  border-bottom: none;
}

.navbar {
  padding: 2rem 0;
}

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

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.navbar-nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.nav-link:hover {
  color: white;
  transform: translateY(-1px);
}

/* Main Content */
.page-content {
  margin-top: 0;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
  color: white;
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.03)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-text {
  text-align: left;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.7;
}

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

.app-stores {
  margin-top: 2rem;
}

.stores-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.store-badges {
  display: flex;
  gap: 1rem;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.store-icon {
  font-size: 1.2rem;
}

/* Phone Mockup and Slider */
.hero-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  margin-bottom: 2rem;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(135deg, #000000, #1a1a1a);
  border-radius: 40px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #333333;
  border-radius: 2px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}

.app-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.app-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease;
}

.app-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.app-slide .app-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.app-slide .app-logo-img {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  object-fit: contain;
  object-position: center;
  background: #000000;
  padding: 12px;
}

.app-slide h3 {
  color: #000000;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.app-slide p {
  color: #666666;
  font-size: 1rem;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

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

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

.btn-primary:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

/* Logo Styles */
.app-logo.pro-hunter {
  background: linear-gradient(135deg, #000000, #333333);
}

.app-logo.expedition-cruiser {
  background: linear-gradient(135deg, #666666, #999999);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: #1e293b;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #000000, #666666);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #64748b;
  margin-top: 1rem;
  line-height: 1.7;
  font-weight: 400;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, white, black, white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover::before {
  opacity: 1;
}

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

.project-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.project-card h4 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.project-card p {
  color: #64748b;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.project-link {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.project-link:hover {
  color: #666666;
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.about-content h3 {
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.about-content p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Apps Overview */
.apps-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.app-overview-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

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

.app-overview-icon {
  flex-shrink: 0;
}

.app-overview-icon .app-logo {
  width: 60px;
  height: 60px;
  font-size: 1.2rem;
}

.app-logo-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background: #1e293b;
  padding: 8px;
}

.app-logo-img:hover {
  transform: scale(1.05);
}

.app-overview-content h4 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.app-overview-content p {
  color: #64748b;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

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

.app-link:hover {
  color: #666666;
}

/* Footer */
.site-footer {
  background: #000000;
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-brand strong {
  font-size: 1.5rem;
  color: #ffffff;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-links h4, .footer-contact h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 1rem;
  text-align: center;
  color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 1.5rem 0;
  }
  
  .navbar-nav {
    gap: 1.5rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .phone-frame {
    width: 240px;
    height: 480px;
  }
  
  .apps-overview {
    grid-template-columns: 1fr;
  }
  
  .app-overview-card {
    flex-direction: column;
    text-align: center;
  }
  
  .app-overview-icon {
    align-self: center;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card {
    padding: 1.5rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-section {
    padding: 80px 0 100px;
    min-height: 80vh;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .navbar {
    padding: 1rem 0;
  }
  
  .navbar-nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .store-badges {
    flex-direction: column;
  }
  
  .phone-frame {
    width: 200px;
    height: 400px;
    padding: 15px;
  }
}
