* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #222;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Navigation Header */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.nav-links a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.nav-links a.active {
  background: #ff6b35;
  color: white;
}


/* Main Content */
main {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
  min-height: 80vh;
}

.hero-content {
  order: 1;
}

.hero-visual {
  order: 2;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #000;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

.hero-content .subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 1.5rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: 600px;
}

/* Phone Mockup */
.phone-mockup {
  width: 360px;
  height: 720px;
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.05),
    0 0 0 4px rgba(0, 0, 0, 0.3),
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.phone-mockup:hover {
  transform: scale(1.02);
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 0 4px rgba(0, 0, 0, 0.3),
    0 40px 100px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #333;
  border-radius: 2px;
  z-index: 20;
}

.phone-mockup::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #1a1a1a;
  border-radius: 2px;
  z-index: 20;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  display: block;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 42px;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 30px;
  background: #000;
  border-radius: 0 0 20px 20px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Feature Highlights */
.feature-highlights {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 10;
}

.feature-highlight {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  border-left: 3px solid #ff6b35;
}

.feature-highlight h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #000;
  margin: 0 0 0.25rem 0;
}

.feature-highlight p {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* Hero Content with Highlights */
.hero-content-with-highlights {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.selling-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.selling-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.selling-point-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.selling-point-text {
  flex: 1;
}

.selling-point-text strong {
  display: block;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.selling-point-text span {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/* Features Section */
.features-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.features-tags {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.features-tags h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #000;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-tag:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.description-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #000;
}

.description-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* Legal Links */
.legal-links {
  text-align: center;
  margin-top: 2rem;
  padding-bottom: 1rem;
}

.legal-links a {
  color: #ff6b35;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: #e55a2b;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 2rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.5);
}

footer a {
  color: #333;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

footer a:hover {
  color: #ff6b35;
}

footer p {
  margin-top: 1rem;
  color: #666;
  font-size: 0.9rem;
}

/* Button */
.button {
  background: #000;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.button:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.button-secondary {
  background: transparent;
  color: #000;
  border: 2px solid #000;
}

.button-secondary:hover {
  background: #000;
  color: white;
}

/* Responsive */
@media (max-width: 968px) {
  .hero {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    text-align: left;
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

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

  .features-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  nav {
    flex-wrap: wrap;
    padding: 1rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
  }

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

  .hero-visual {
    min-height: auto;
    margin-bottom: 2rem;
  }

  .hero-visual img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero {
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .hero-visual {
    margin-bottom: 1.5rem;
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
    padding: 8px;
    border-radius: 30px;
  }

  .phone-screen {
    border-radius: 24px;
    font-size: 2rem;
  }

  main {
    padding: 2rem 1rem;
  }

}

/* App-specific phone screen colors */
.app-fragrans .phone-screen {
  background: transparent;
}

.app-lark .phone-screen {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.app-flightmeters .phone-screen {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.app-xiaoma .phone-screen {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
