/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* ===== Focus Visible ===== */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

:root {
  --color-bg: #09090B;
  --color-surface: #18181B;
  --color-surface-hover: #27272A;
  --color-border: #27272A;
  --color-text: #FAFAFA;
  --color-text-muted: #A1A1AA;
  --color-text-subtle: #71717A;
  --color-primary: #6366F1;
  --color-primary-hover: #818CF8;
  --color-accent: #8B5CF6;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 18px;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

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

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 10px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
  background: var(--color-primary);
  color: #FFFFFF;
  border-radius: 8px;
  -webkit-text-fill-color: #FFFFFF;
}

.btn-sm:hover {
  background: var(--color-primary-hover);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 12px;
}

/* ===== Hero ===== */
.hero {
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

.hero-app-icon {
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rotating-text {
  display: inline-block;
  position: relative;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.rotating-text.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.rotating-text.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
}

.hero-desc {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-desc strong {
  color: var(--color-text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 80px;
}

.hero-version {
  font-size: 13px;
  color: var(--color-text-subtle);
}

.hero-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-hover);
}

/* ===== Hero Visual (Monitor Demo) ===== */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}

.monitor {
  width: 280px;
}

.monitor-screen {
  background: #1C1C1E;
  border: 1px solid #3A3A3C;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
}

.monitor-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #2C2C2E;
  border-bottom: 1px solid #3A3A3C;
}

.monitor-dots {
  display: flex;
  gap: 5px;
}

.monitor-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3A3A3C;
}

.monitor-dots span:first-child { background: #FF5F57; }
.monitor-dots span:nth-child(2) { background: #FFBD2E; }
.monitor-dots span:last-child { background: #28CA42; }

.monitor-label {
  font-size: 11px;
  color: #8E8E93;
  margin-left: auto;
}

.monitor-content {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.notification {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  animation: slideIn 0.8s ease both;
}

.notification-origin {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.notification-mirror {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  animation-delay: 0.6s;
}

.notification-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.notification-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.notification-text strong {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text);
}

.notification-text span {
  font-size: 11px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mirror-arrow {
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.monitor-stand {
  width: 60px;
  height: 20px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #3A3A3C, #2C2C2E);
  clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* ===== Hero Video ===== */
.hero-video {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.hero-video video {
  max-width: 100%;
  width: 960px;
  border-radius: var(--radius-lg);
}

/* ===== Problem ===== */
.problem {
  padding: 40px 0 100px;
}

.problem-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
}

.problem-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

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

.problem-item {
  padding: 24px;
}

.problem-emoji {
  font-size: 40px;
  display: block;
  margin-bottom: 16px;
}

.problem-item p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.problem-item strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ===== Features ===== */
.features {
  padding: 100px 0;
}

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

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--color-text-muted);
}

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

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 100px 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 240px;
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 16px;
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.step-divider {
  width: 60px;
  height: 2px;
  background: var(--color-border);
  margin-top: 28px;
  flex-shrink: 0;
}

.download-app-icon {
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== Download CTA ===== */
.download {
  padding: 60px 0 120px;
}

.download-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
}

.download-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.download-desc {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

.download-meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-text-subtle);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
}

.footer-brand p {
  font-size: 13px;
  color: var(--color-text-subtle);
  margin-top: 4px;
}

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

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
}

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

/* ===== Pricing Page ===== */
.pricing-page {
  padding: 140px 24px 80px;
  max-width: 520px;
  margin: 0 auto;
}

.pricing-page .section-header {
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.pricing-amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-period {
  font-size: 16px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.pricing-trial {
  font-size: 14px;
  color: var(--color-text-subtle);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--color-primary);
  font-weight: 700;
  margin-right: 12px;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
}

.pricing-refund {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-text-subtle);
}

/* ===== Legal Pages ===== */
.legal-page {
  padding: 140px 24px 80px;
  max-width: 720px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--color-text-subtle);
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-page a {
  color: var(--color-primary-hover);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-page strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 120px 20px 60px;
  }

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

  .monitor {
    width: 240px;
  }

  .mirror-arrow {
    transform: rotate(90deg);
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-highlights {
    gap: 8px;
  }

  .hero-highlight-item {
    padding: 8px 14px;
    font-size: 13px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

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

  .step-divider {
    width: 2px;
    height: 32px;
    margin-top: 0;
  }

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

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

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .nav-links a:not(.btn) {
    display: none;
  }
}

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

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

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

  .monitor {
    width: 200px;
  }
}
