/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #0a0a0a;
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.nav-logo i {
  margin-right: 0.5rem;
  font-size: 1.8rem;
}

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

.nav-menu a {
  text-decoration: none;
  color: #94a3b8;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #00ffff;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #00ffff;
  margin: 3px 0;
  transition: 0.3s;
  box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f172a 50%, #1e293b 100%);
  color: white;
  overflow: hidden;
  position: relative;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(45deg, #00ffff, #ff00ff, #0099ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 500px;
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

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

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

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

/* Phone Mockup */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 580px;
  height: 280px;
  background: #1a1a1a;
  border-radius: 30px;
  padding: 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.phone-mockup:hover {
  transform: rotate(0deg);
}

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

.led-display {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.led-text {
  font-size: 2.2rem;
  font-weight: bold;
  color: #ff0000;
  text-shadow: 0 0 20px #ff0000;
  animation: scroll 20s linear infinite;
  white-space: nowrap;
  letter-spacing: 3px;
  text-transform: uppercase;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features {
  background: linear-gradient(135deg, #0a0a0a 0%, #0f172a 100%);
}

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

.feature-card {
  background: #00121B;
  padding: 2.5rem;
  border-radius: 16px;
  border: 2px solid transparent;
  background-image: linear-gradient(#00121B, #00121B), 
                    linear-gradient(45deg, #00ffff, #ff00ff, #0099ff);
  background-origin: border-box;
  background-clip: content-box, border-box;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(0, 255, 255, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4),
              0 0 30px rgba(0, 255, 255, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00ffff, #ff00ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.feature-card p {
  color: #94a3b8;
  line-height: 1.6;
}

/* Use Cases */
.use-cases {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

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

.use-case {
  text-align: center;
  padding: 2rem;
}

.use-case-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2.5rem;
}

.use-case h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.use-case p {
  color: #94a3b8;
  line-height: 1.6;
}

/* Screenshots */
.screenshots {
  background: linear-gradient(135deg, #0a0a0a 0%, #0f172a 100%);
}

.screenshots-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.screenshot-card {
  text-align: center;
}

.screenshot-phone {
  width: 200px;
  height: 400px;
  background: #1a1a1a;
  border-radius: 25px;
  padding: 15px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 横屏模式时钟截图 */
.screenshot-phone.landscape-clock {
  width: 450px;
  height: 220px;
  background: #1a1a1a;
  border-radius: 30px;
  padding: 20px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.screenshot-phone.landscape-clock:hover {
  transform: rotate(0deg);
}

.screenshot-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.screenshot-content {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}

.settings-screen {
  background: #f8fafc;
}

.settings-header {
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  color: #1f2937;
}

.settings-item {
  margin-bottom: 15px;
}

.settings-item span {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #374151;
}

.text-input {
  background: white;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  font-size: 0.7rem;
}

.color-options {
  display: flex;
  gap: 5px;
}

.color-option {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
}

.color-option.active {
  border-color: #2563eb;
}

.size-options {
  display: flex;
  gap: 5px;
}

.size-btn {
  padding: 4px 8px;
  border: 1px solid #d1d5db;
  background: white;
  border-radius: 4px;
  font-size: 0.7rem;
  cursor: pointer;
}

.size-btn.active {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

.led-display-screen {
  background: #000428;
  display: flex;
  align-items: center;
  justify-content: center;
}

.led-text-display {
  color: #00ff00;
  font-weight: bold;
  text-align: center;
  font-size: 1rem;
  text-shadow: 0 0 5px #00ff00;
}

.preview-screen {
  background: #f8fafc;
}

.preview-header {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  color: #1f2937;
}

.preview-display {
  flex: 1;
  background: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.preview-text {
  color: #00ff00;
  font-size: 0.9rem;
  font-weight: bold;
}

.preview-btn {
  background: #10b981;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.7rem;
  cursor: pointer;
}

.screenshot-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.screenshot-card p {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Download Section */
.download {
  background: linear-gradient(135deg, #00ffff 0%, #ff00ff 50%, #0099ff 100%);
  color: white;
  text-align: center;
}

.download-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 15px 30px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.download-btn i {
  font-size: 2rem;
}

.download-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.google-play-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.google-play-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.google-play-badge img {
  display: block;
  max-width: 180px;
  height: auto;
}

.download-small {
  font-size: 0.8rem;
  opacity: 0.8;
}

.download-large {
  font-size: 1.2rem;
  font-weight: 600;
}

.app-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fbbf24;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #0f172a 100%);
  color: white;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #f9fafb;
}

.footer-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-section p {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

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

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

.footer-section ul li a:hover {
  color: #10b981;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #10b981;
  transform: translateY(-2px);
}

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

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

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #0a0a0a;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
  }

  .led-text {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }

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

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-features {
    justify-content: center;
    flex-wrap: wrap;
  }

  .phone-mockup {
    width: 450px;
    height: 220px;
  }

  .screenshot-phone.landscape-clock {
    width: 450px;
    height: 220px;
  }

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

  .screenshots-container {
    grid-template-columns: 1fr;
  }

  .download-options {
    flex-direction: column;
    align-items: center;
  }

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

  .app-stats {
    gap: 2rem;
  }

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

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }

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

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

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .phone-mockup {
    width: 370px;
    height: 180px;
  }

  .screenshot-phone {
    width: 160px;
    height: 320px;
  }

  .screenshot-phone.landscape-clock {
    width: 370px;
    height: 180px;
  }

  .download-btn {
    padding: 12px 20px;
  }

  .download-btn i {
    font-size: 1.5rem;
  }
}

/* Animation for scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.use-case,
.screenshot-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
