
:root {
  color-scheme: light;
  --bg: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  --accent: #6366f1;
  --accent-strong: #4f46e5;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px var(--shadow);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  color: var(--text);
}

.nav-brand img {
  width: 28px;
  height: 28px;
}

.nav-brand .subtitle {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 1px 2px var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border: none;
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow);
}

.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.btn-apple {
  background: #000000;
  color: white;
  border: none;
}

.btn-apple:hover {
  background: #1a1a1a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 24px 80px;
  position: relative;
}

.hero-content {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.badge {
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.2);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 600;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-copy {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.hero-highlight {
  color: var(--accent);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat strong {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  grid-column: span 6;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.tv-container {
  position: relative;
  width: 100%;
  max-width: 680px;
}

.tv-frame {
  width: 100%;
  aspect-ratio: 16 / 11;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1),
    inset 0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  border: 3px solid #2a2a2a;
}

.tv-screen {
  width: 100%;
  height: 100%;
  background: #000000;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.tv-logo {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-stand {
  width: 160px;
  height: 50px;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  margin: 0 auto;
  margin-top: -5px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
}

.tv-stand::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 16px;
  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.browser-window {
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
}

.browser-header {
  background: #f5f5f5;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-dot:nth-child(1) {
  background: #ff5f57;
}

.browser-dot:nth-child(2) {
  background: #ffbd2e;
}

.browser-dot:nth-child(3) {
  background: #28ca42;
}

.browser-url-bar {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

.browser-url-bar::before {
  content: "🔒";
  font-size: 0.7rem;
}

.browser-url-text {
  color: #1f2937;
  font-weight: 500;
}

.browser-content {
  flex: 1;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.qr-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap:10px;
}

.qr-display-code {
  width: 140px;
  height: 140px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
  border: 2px solid #e5e7eb;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%      { transform: translateY(-6px) scale(1.01); }
}

.qr-display-code canvas {
  width: 100% !important;
  height: 100% !important;
}

.qr-display-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-display-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  margin-left: 10px;
  margin-right: 10px;
}

.qr-display-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
}

.qr-display-text span {
  font-size: 0.8rem;
  color: white;
}

footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
  background: #ffffff;
}

.footer-contact {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-contact strong {
  font-weight: 600;
  color: var(--text);
}

.footer-contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.footer-copyright {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Mobile tweaks */
@media (max-width: 992px) {
  .hero { 
    grid-template-columns: repeat(12, 1fr); 
    gap: 32px; 
    padding-top: 60px; 
    padding-bottom: 60px;
  }
  .hero-content { grid-column: span 12; }
  .hero-visual  { grid-column: span 12; justify-content: center; }
  .tv-container { margin: 0 auto; }
}

@media (max-width: 600px) {
  header { position: static; }
  .nav { 
    flex-direction: column; 
    gap: 16px; 
    padding: 16px 20px;
  }
  .hero { 
    padding: 40px 20px 50px; 
  }
  .hero-actions { 
    flex-direction: column; 
    align-items: stretch; 
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .hero-stats { 
    flex-direction: column; 
    gap: 20px; 
  }
  
  .qr-display-code {
    width: 120px;
    height: 120px;
  }

  .tv-container {
    max-width: 100%;
  }

  .browser-content {
    padding: 30px 20px;
  }

  h1 {
    font-size: 2.2rem;
  }
}