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

:root {
  --primary: #29B6F6;
  --primary-dark: #0288D1;
  --primary-light: #4FC3F7;
  --secondary: #81D4FA;
  --accent: #03A9F4;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5FBFD;
  --bg-card: #FFFFFF;
  --text-primary: #1A2332;
  --text-secondary: #5F6C7B;
  --text-light: #8A94A6;
  --border: #E3F2FD;
  --shadow-sm: 0 2px 8px rgba(41, 182, 246, 0.08);
  --shadow-md: 0 4px 16px rgba(41, 182, 246, 0.12);
  --shadow-lg: 0 8px 32px rgba(41, 182, 246, 0.16);
  --gradient: linear-gradient(135deg, #4FC3F7 0%, #29B6F6 100%);
  --gradient-hover: linear-gradient(135deg, #29B6F6 0%, #0288D1 100%);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

.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-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
}

.btn-large {
  padding: 16px 36px;
  font-size: 18px;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 16px rgba(41, 182, 246, 0.3);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(41, 182, 246, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

.mockup-window {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mockup-header {
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  opacity: 0.6;
}

.mockup-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

.mockup-content {
  padding: 60px 40px;
  background: linear-gradient(180deg, #FAFCFD 0%, #FFFFFF 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connection-visual {
  display: flex;
  align-items: center;
  gap: 40px;
}

.device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.device span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.connection-line {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #E3F2FD 0%, #29B6F6 50%, #E3F2FD 100%);
  position: relative;
  border-radius: 2px;
}

.pulse {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    left: 0;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 12px);
    opacity: 0;
  }
}

.features {
  padding: 100px 0;
  background: var(--bg-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-description {
  font-size: 20px;
  color: var(--text-secondary);
}

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

.feature-card {
  background: var(--bg-card);
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.how-it-works {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
}

.step-number {
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.step-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.credentials-display {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.credential-item {
  background: linear-gradient(135deg, #E3F2FD 0%, #F5FBFD 100%);
  padding: 16px 20px;
  border-radius: 12px;
  border: 2px solid var(--primary-light);
  flex: 1;
  min-width: 200px;
}

.credential-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.credential-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.download {
  padding: 100px 0;
  background: var(--bg-primary);
}

.download-card {
  background: var(--gradient);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  color: white;
}

.download-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.download-description {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-download {
  background: white;
  color: var(--primary);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  gap: 12px;
}

.btn-download:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-disabled {
  background: rgba(255, 255, 255, 0.4);
  color: rgba(41, 182, 246, 0.4);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-disabled:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: none;
  box-shadow: none;
}

.download-info {
  font-size: 14px;
  opacity: 0.85;
}

.faq {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer {
  background: var(--text-primary);
  color: white;
  padding: 60px 0 32px;
}

.footer-content {
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo-text {
  color: white;
  -webkit-text-fill-color: white;
}

.footer-description {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-stats {
    gap: 32px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .section-title {
    font-size: 32px;
  }

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

  .connection-visual {
    flex-direction: column;
    gap: 20px;
  }

  .connection-line {
    width: 3px;
    height: 80px;
    background: linear-gradient(180deg, #E3F2FD 0%, #29B6F6 50%, #E3F2FD 100%);
  }

  .pulse {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  @keyframes pulse {
    0% {
      top: 0;
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      top: calc(100% - 12px);
      opacity: 0;
    }
  }

  .download-card {
    padding: 40px 24px;
  }

  .download-title {
    font-size: 28px;
  }

  .download-buttons {
    flex-direction: column;
  }

  .step {
    flex-direction: column;
    gap: 16px;
  }

  .credentials-display {
    flex-direction: column;
  }

  .credential-item {
    min-width: 100%;
  }
}
