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

:root {
  --accent: #ff4820;
  --accent-glow: rgba(255, 72, 32, 0.25);
  --bg-primary: #ffffff;
  --bg-card: rgba(0,0,0,0.02);
  --text-primary: #111;
  --text-secondary: #666;
  --border: rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ========== GRID BG ========== */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.25s;
  letter-spacing: 0.3px;
}

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

.nav-btn {
  padding: 10px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.nav-btn:hover {
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-1px);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 60px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,72,32,0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,72,32,0.06) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

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

.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary:hover {
  box-shadow: 0 8px 40px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-primary svg, .btn-secondary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* ========== PHONE MOCKUP ========== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #222, #111);
  border-radius: 40px;
  border: 2px solid rgba(0,0,0,0.15);
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2), 0 0 40px rgba(255,72,32,0.1);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

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

.phone-notch {
  width: 120px;
  height: 28px;
  background: #111;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.phone-screen {
  position: absolute;
  inset: 8px;
  border-radius: 34px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ring {
  position: absolute;
  border: 1px solid rgba(255,72,32,0.1);
  border-radius: 50%;
  pointer-events: none;
}

.ring-1 {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-spin 20s linear infinite;
}

.ring-2 {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-spin 30s linear infinite reverse;
}

@keyframes ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ========== STATS ========== */
.stats {
  padding: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.stat-item {
  background: var(--bg-primary);
  padding: 40px 32px;
  text-align: center;
  transition: background 0.3s;
}

.stat-item:hover { background: rgba(0,0,0,0.02); }

.stat-number {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .accent { color: var(--accent); }

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

/* ========== FEATURES ========== */
.features {
  padding: 120px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.feature-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  border-color: rgba(255,72,32,0.2);
  background: rgba(0,0,0,0.02);
  transform: translateY(-4px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--accent);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== SHOWCASE ========== */
.showcase {
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}

.showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,72,32,0.02) 50%, transparent 100%);
  pointer-events: none;
}

.showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.showcase-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.screen-card {
  height: 240px;
  background: linear-gradient(145deg, rgba(0,0,0,0.02), rgba(0,0,0,0.01));
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
}

.screen-card:nth-child(2),
.screen-card:nth-child(4) {
  transform: translateY(30px);
}

.screen-card:hover {
  border-color: rgba(255,72,32,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.screen-card svg {
  width: 40px;
  height: 40px;
  color: var(--text-secondary);
  opacity: 0.5;
}

.showcase-content .section-header {
  text-align: left;
  margin-bottom: 40px;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.check-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: rgba(255,72,32,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.check-icon svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* ========== DOWNLOAD ========== */
.download {
  padding: 120px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.download-box {
  text-align: center;
  padding: 80px 60px;
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
}

.download-box::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.download-box::after {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,72,32,0.05), transparent 70%);
  pointer-events: none;
}

.download-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.download-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.download-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

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

.qr-img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: #ffffff;
  padding: 8px;
  object-fit: contain;
}

.qr-tip {
  font-size: 13px;
  color: var(--text-secondary);
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.dl-btn-android {
  background: var(--accent);
  color: #fff;
}

.dl-btn-android:hover {
  box-shadow: 0 8px 40px var(--accent-glow);
  transform: translateY(-2px);
}

.dl-btn svg {
  width: 28px;
  height: 28px;
}

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

.dl-btn-label {
  font-size: 11px;
  opacity: 0.7;
  font-weight: 500;
}

.dl-btn-store {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.download-info {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
}

/* ========== FOOTER ========== */
.footer {
  padding: 60px;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

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

.footer-logo-img {
  height: 32px;
  width: auto;
}

.footer-company {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 2;
}

.footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s;
}

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

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

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-icp a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s;
}

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

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .hero-desc { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-inner { grid-template-columns: 1fr; gap: 60px; }
  .showcase-content .section-header { text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 120px 24px 60px; }
  .features { padding: 80px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .showcase { padding: 80px 24px; }
  .download { padding: 80px 24px; }
  .download-box { padding: 60px 24px; }
  .stats { padding: 40px 24px; }
  .footer { padding: 40px 24px; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-contact { text-align: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .download-area { flex-direction: column; gap: 32px; }
  .dl-btn { width: 100%; justify-content: center; }
  .download-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero h1 { letter-spacing: -1px; }
  .stat-number { font-size: 32px; }
  .phone-frame { width: 220px; height: 440px; border-radius: 32px; }
  .phone-screen { border-radius: 26px; }
  .btn-primary, .btn-secondary {
    padding: 14px 24px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }
  .hero-actions { flex-direction: column; width: 100%; }
}
