:root {
  --primary: #0078D4;
  --primary-hover: #106EBE;
  --secondary: #00B294;
  --accent: #8B5CF6;
  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --background: #F5F5F5;
  --surface: #FFFFFF;
  --border: #E5E5E5;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

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

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 16px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn-login {
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-login:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  padding-top: 80px;
  min-height: 100vh;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  padding-top: 8px;
  padding-bottom: 12px;
}

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

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

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 16px 32px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.btn-secondary {
  background: white;
  color: var(--primary);
  padding: 16px 32px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

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

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

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

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}

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

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

.phone-frame {
  width: 300px;
  height: 600px;
  background: var(--text-primary);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-animation {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, #0078D4 0%, #00A4EF 100%);
  border-radius: var(--radius-sm);
  color: white;
}

.qr-title {
  font-size: 14px;
  font-weight: 600;
}

.qr-status {
  font-size: 12px;
  color: #00FF9D;
  font-weight: 600;
}

.qr-code {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  background: white;
  border: 2px solid #E5E5E5;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-data {
  width: 180px;
  height: 180px;
  background: 
    linear-gradient(var(--text-primary) 22%, transparent 22%),
    linear-gradient(90deg, var(--text-primary) 22%, transparent 22%);
  background-size: 18px 18px;
  opacity: 0.85;
  border-radius: 4px;
}

.qr-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 4px solid var(--text-primary);
}

.qr-corner.tl {
  top: 12px;
  left: 12px;
  border-right: none;
  border-bottom: none;
  border-radius: 8px 0 0 0;
}

.qr-corner.tr {
  top: 12px;
  right: 12px;
  border-left: none;
  border-bottom: none;
  border-radius: 0 8px 0 0;
}

.qr-corner.bl {
  bottom: 12px;
  left: 12px;
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 8px;
}

.qr-corner.br {
  bottom: 12px;
  right: 12px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 8px 0;
}

.scan-line {
  position: absolute;
  top: 80px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--primary), transparent);
  animation: scan 3s ease-in-out infinite;
  box-shadow: 0 0 12px var(--primary), 0 0 24px rgba(0, 120, 212, 0.3);
  border-radius: 2px;
}

@keyframes scan {
  0% { top: 80px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 300px; opacity: 0; }
}

.qr-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-secondary);
  background: #F5F5F5;
  padding: 8px 12px;
  border-radius: 6px;
}

.info-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.info-item span {
  font-family: 'Consolas', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Features Section */
.features-section {
  padding: 120px 24px;
  background: var(--surface);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: var(--text-primary);
  line-height: 1.3;
  padding-bottom: 12px;
}

.section-subtitle {
  font-size: 20px;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 64px;
}

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

.feature-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .nav-content {
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px;
  }

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

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

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .phone-frame {
    width: 100%;
    max-width: 340px;
    height: auto;
  }

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

@media (max-width: 768px) {
  .navbar {
    padding: 12px 0;
  }
  .nav-content {
    padding: 0 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .logo {
    font-size: 20px;
    gap: 8px;
  }
  .logo svg {
    width: 24px;
    height: 24px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }
  .nav-link {
    font-size: 13px;
  }
  .btn-login {
    padding: 8px 18px;
    font-size: 13px;
  }
  .hero-section {
    padding-top: 120px;
  }
  .hero-content {
    padding: 32px 16px;
  }
  .hero-title {
    font-size: 36px;
  }
  .phone-frame {
    max-width: 100%;
  }
  .phone-screen {
    min-height: 520px;
  }
  .feature-card {
    padding: 24px;
  }
  .features-section {
    padding: 80px 16px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 0;
  }
  .nav-content {
    padding: 0 12px;
    flex-direction: column;
    gap: 10px;
  }
  .logo {
    font-size: 18px;
    width: 100%;
  }
  .logo svg {
    width: 20px;
    height: 20px;
  }
  .nav-links {
    width: 100%;
    gap: 8px;
    justify-content: space-between;
  }
  .nav-link {
    font-size: 11px;
    padding: 4px 8px;
  }
  .btn-login {
    padding: 6px 12px;
    font-size: 11px;
  }
  .hero-section {
    padding-top: 100px;
  }
  .hero-content {
    padding: 24px 12px;
  }
  .hero-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .hero-description {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .hero-buttons {
    gap: 10px;
  }
  .btn-primary, .btn-secondary {
    padding: 12px 20px;
    font-size: 13px;
  }
  .feature-card {
    padding: 16px;
  }
  .feature-title {
    font-size: 18px;
  }
  .features-section {
    padding: 60px 12px;
  }
  .benefits-section {
    padding: 60px 12px;
  }
  .benefits-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 360px) {
  .navbar {
    padding: 8px 0;
  }
  .nav-content {
    padding: 0 10px;
  }
  .logo {
    font-size: 16px;
  }
  .nav-link {
    font-size: 10px;
  }
  .hero-title {
    font-size: 24px;
  }
  .hero-description {
    font-size: 13px;
  }
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.4;
  padding-bottom: 6px;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1;
}

/* Benefits Section */
.benefits-section {
  padding: 120px 24px;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.benefit-check {
  min-width: 40px;
  max-width: 40px;
  width: 40px;
  min-height: 40px;
  max-height: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.benefit-check svg {
  flex-shrink: 0;
}

.benefit-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
  padding-bottom: 6px;
}

.benefit-item p {
  color: var(--text-secondary);
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-bottom: 6px;
}

.benefit-item > div {
  flex: 1;
  min-width: 0;
}

.stats-card {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stats-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-row .stat-label {
  color: var(--text-secondary);
  font-size: 16px;
}

.stat-row .stat-value {
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
}

/* Demo Section */
.demo-section {
  padding: 120px 24px;
  background: var(--surface);
}

.demo-cards {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.demo-card {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px solid var(--border);
  transition: all 0.3s;
  max-width: 600px;
  width: 100%;
}

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

.demo-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.demo-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
  padding-bottom: 6px;
}

.demo-card p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.btn-demo {
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-demo:hover {
  background: var(--primary-hover);
  transform: translateX(4px);
}

.demo-info {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  text-align: center;
}

.demo-info code {
  background: var(--background);
  padding: 4px 12px;
  border-radius: 4px;
  font-family: 'Consolas', monospace;
  color: var(--primary);
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 64px 24px 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

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

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-column h4 {
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}

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

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-content,
  .benefits-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .nav-links {
    gap: 16px;
  }
}

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

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

  .demo-cards {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    display: none;
  }
}
