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

:root {
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --text: #202124;
  --text-dim: #5f6368;
  --border: #e8eaed;
  --accent: #1A73E8;
  --accent-dark: #0B47A1;
  --blue: #4285f4;
  --red: #ea4335;
  --yellow: #fbbc05;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1.5px;
}
.nav-logo .g { color: var(--blue); }
.nav-logo .u { color: var(--red); }
.nav-logo .b { color: var(--yellow); }
.nav-logo .o { color: var(--blue); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dim);
}

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

.nav-github {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text) !important;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: #e8f0fe;
  color: var(--accent);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-logo {
  font-size: 88px;
  font-weight: 900;
  letter-spacing: -6px;
  line-height: 1;
  margin-bottom: 24px;
}
.hero-logo .g { color: var(--blue); }
.hero-logo .u { color: var(--red); }
.hero-logo .b { color: var(--yellow); }
.hero-logo .o { color: var(--blue); }

.hero-tagline {
  font-size: 20px;
  color: var(--text-dim);
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 0;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(26,115,232,0.3);
}
.btn-primary:hover {
  background: #1667d0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,115,232,0.4);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
  margin-top: 40px;
}

.hero-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-dim);
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 24px;
}
.section-alt {
  background: var(--bg-alt);
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-center { text-align: center; }

.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 56px;
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

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

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: inline-block;
  padding: 12px;
  background: #f1f3f4;
  border-radius: 12px;
}

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

.feature-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Screenshots ---------- */
.screenshots-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 4px 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.screenshots-scroll::-webkit-scrollbar { display: none; }

.phone {
  flex: 0 0 auto;
  width: 220px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  scroll-snap-align: center;
  background: #000;
  padding: 6px;
  transition: transform 0.25s;
}
.phone:hover {
  transform: translateY(-6px);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

/* ---------- Download ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
  text-align: left;
}

.download-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.download-icon {
  font-size: 32px;
  flex-shrink: 0;
}

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

.download-desc {
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 24px 40px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.footer-logo .g { color: var(--blue); }
.footer-logo .u { color: var(--red); }
.footer-logo .b { color: var(--yellow); }
.footer-logo .o { color: var(--blue); }

.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-dim);
}
.footer-links a:hover {
  color: var(--accent);
}

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

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .nav-links { display: none; }

  .hero { padding: 60px 20px 40px; }
  .hero-logo { font-size: 64px; letter-spacing: -4px; }
  .hero-tagline { font-size: 17px; }

  .section { padding: 60px 20px; }
  .section-title { font-size: 28px; letter-spacing: -1px; }
  .section-subtitle { font-size: 15px; margin-bottom: 40px; }

  .feature-card { padding: 24px 20px; }

  .phone { width: 180px; }

  .btn { padding: 12px 24px; font-size: 14px; }
  .btn-large { padding: 14px 28px; font-size: 15px; }
}

/* ---------- Primary Download Card ---------- */
.download-card-primary {
  background: linear-gradient(135deg, #1A73E8 0%, #0B47A1 100%);
  color: #ffffff;
  border-color: transparent;
}
.download-card-primary .download-title {
  color: #ffffff;
}
.download-card-primary .download-desc {
  color: #E8F0FE;
}
.download-card-primary:hover {
  box-shadow: 0 12px 32px rgba(26,115,232,0.4);
  border-color: transparent;
}

/* ---------- For Developers ---------- */
.section-dev {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  padding: 100px 24px;
}
.dev-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.section-dev .section-title { color: #fff; }
.section-dev .section-subtitle { color: #94a3b8; }
.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 48px 0;
}
.dev-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.2s;
}
.dev-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
}
.dev-icon { font-size: 32px; margin-bottom: 14px; }
.dev-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.dev-card p { font-size: 14px; color: #94a3b8; line-height: 1.6; }
.dev-code {
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  margin: 40px auto 32px;
  max-width: 720px;
}
.dev-code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dev-dot { width: 12px; height: 12px; border-radius: 50%; background: #334155; }
.dev-dot:nth-child(1) { background: #ef4444; }
.dev-dot:nth-child(2) { background: #f59e0b; }
.dev-dot:nth-child(3) { background: #10b981; }
.dev-code-title { margin-left: auto; font-size: 12px; color: #64748b; }
.dev-code pre {
  padding: 20px;
  margin: 0;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.7;
}
.dev-code code { color: #a5d6ff; }
.dev-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.section-dev .btn-secondary {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.section-dev .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}
@media (max-width: 640px) {
  .section-dev { padding: 60px 20px; }
  .dev-grid { margin: 32px 0; }
  .dev-cta { flex-direction: column; }
  .dev-cta .btn { width: 100%; }
}

/* ---------- For Developers ---------- */
.section-dev {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  padding: 100px 24px;
}
.dev-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.section-dev .section-title { color: #fff; }
.section-dev .section-subtitle { color: #94a3b8; }
.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 48px 0;
}
.dev-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.2s;
}
.dev-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
}
.dev-icon { font-size: 32px; margin-bottom: 14px; }
.dev-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.dev-card p { font-size: 14px; color: #94a3b8; line-height: 1.6; }
.dev-code {
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  margin: 40px auto 32px;
  max-width: 720px;
}
.dev-code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dev-dot { width: 12px; height: 12px; border-radius: 50%; background: #334155; }
.dev-dot:nth-child(1) { background: #ef4444; }
.dev-dot:nth-child(2) { background: #f59e0b; }
.dev-dot:nth-child(3) { background: #10b981; }
.dev-code-title { margin-left: auto; font-size: 12px; color: #64748b; }
.dev-code pre {
  padding: 20px;
  margin: 0;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.7;
}
.dev-code code { color: #a5d6ff; }
.dev-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.section-dev .btn-secondary {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.section-dev .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}
@media (max-width: 640px) {
  .section-dev { padding: 60px 20px; }
  .dev-grid { margin: 32px 0; }
  .dev-cta { flex-direction: column; }
  .dev-cta .btn { width: 100%; }
}
