/* QR Reader - Landing Page Styles */
:root {
  --primary: #007AFF;
  --primary-dark: #0056CC;
  --secondary: #667eea;
  --gradient-start: #667eea;
  --gradient-end: #764ba2;
  --text-dark: #1a1a2e;
  --text-light: #6b7280;
  --text-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e5e7eb;
  --success: #10b981;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-brand span {
  font-weight: 700;
  font-size: 1.25rem;
}

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

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

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

.nav-cta {
  background: var(--primary);
  color: var(--text-white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  overflow: hidden;
}

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

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 500px;
}

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

.btn-store {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--text-dark);
  color: var(--text-white);
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-store img {
  width: 28px;
  height: 28px;
}

.btn-store-text {
  text-align: left;
}

.btn-store-text small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
}

.btn-store-text strong {
  display: block;
  font-size: 1rem;
}

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

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone {
  position: relative;
  width: 320px;
  height: 640px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}

.hero-phone-inner {
  width: 100%;
  height: 100%;
  background: var(--text-dark);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.hero-qr-float {
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  background: var(--bg-white);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite reverse;
}

.hero-qr-float svg {
  width: 80px;
  height: 80px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg-white);
}

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

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--text-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--text-white);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Barcode Types Section */
.barcode-types {
  padding: 100px 0;
  background: var(--bg-light);
}

.barcode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.barcode-item {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: transform 0.2s;
}

.barcode-item:hover {
  transform: scale(1.05);
}

.barcode-item-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.barcode-item-name {
  font-weight: 600;
  color: var(--text-dark);
}

/* Premium Section */
.premium {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--text-dark) 0%, #2d2d44 100%);
  color: var(--text-white);
}

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

.premium-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.premium-content h2 span {
  background: linear-gradient(135deg, #11998e, #38ef7d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-content p {
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: 32px;
}

.premium-features {
  list-style: none;
}

.premium-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.premium-features li svg {
  width: 24px;
  height: 24px;
  color: #38ef7d;
}

.premium-visual {
  display: flex;
  justify-content: center;
}

.premium-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  max-width: 320px;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #11998e, #38ef7d);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.premium-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.premium-card .price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.premium-card .price span {
  font-size: 1rem;
  opacity: 0.7;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: var(--bg-white);
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--text-white);
  padding: 60px 0 24px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.footer-brand span {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-description {
  color: rgba(255,255,255,0.6);
  max-width: 300px;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

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

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
}

/* Legal Pages */
.legal-page {
  padding: 120px 0 60px;
  min-height: 100vh;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.legal-page .last-updated {
  color: var(--text-light);
  margin-bottom: 40px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.legal-content h3 {
  font-size: 1.25rem;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  color: var(--text-light);
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.legal-content a {
  color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    margin-top: 40px;
  }

  .hero-qr-float {
    display: none;
  }

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

  .barcode-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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

  .hero {
    padding: 120px 0 60px;
  }

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

  .hero-phone {
    width: 260px;
    height: 520px;
  }

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

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

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

  .section-header h2 {
    font-size: 1.75rem;
  }

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

  .hero-phone {
    width: 220px;
    height: 440px;
  }
}
