/* =========================================
   CSS Custom Properties
   ========================================= */
:root {
  --blue:        #1565C0;
  --blue-dark:   #0D47A1;
  --blue-light:  #E3F0FF;
  --white:       #FFFFFF;
  --bg:          #F5F7FA;
  --text:        #1A1A2E;
  --muted:       #6B7280;
  --border:      #DDE3ED;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 20px rgba(21, 101, 192, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.30);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

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

.nav-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
}

.nav-features-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-features-link:hover { opacity: 1; }

/* =========================================
   Hero
   ========================================= */
.hero {
  background: linear-gradient(160deg, var(--blue) 0%, #1976D2 100%);
  color: var(--white);
  padding: 96px 0 80px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  border: 3px solid rgba(255,255,255,0.3);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  opacity: 0.90;
}

.hero-sub {
  font-size: 1rem;
  max-width: 540px;
  opacity: 0.80;
  line-height: 1.7;
}

.coming-soon-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-cta {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
  font-size: 1.05rem;
  margin-top: 4px;
}
.hero-cta:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.20);
}

/* =========================================
   App Store Button
   ========================================= */
.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 14px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.appstore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.appstore-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.appstore-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.appstore-btn-text span:first-child {
  font-size: 0.7rem;
  opacity: 0.85;
  letter-spacing: 0.3px;
}
.appstore-btn-text span:last-child {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
.appstore-btn-light {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
}
.appstore-btn-light:hover {
  background: rgba(255,255,255,0.25);
}

/* =========================================
   Hero Screenshots Button
   ========================================= */
.hero-screenshots-btn {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 11px 24px;
}
.hero-screenshots-btn:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--white);
  transform: translateY(-1px);
}

.hero-phone-showcase {
  width: 170px;
  margin: 8px auto 0;
}
.hero-phone-frame {
  background: #1A1A2E;
  border-radius: 30px;
  padding: 10px;
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.15),
    0 24px 60px rgba(0,0,0,0.40);
}
.hero-phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
}
@media (max-width: 640px) {
  .hero-phone-showcase { width: 130px; }
}

/* =========================================
   Screenshot Showcase
   ========================================= */
.showcase {
  background: var(--white);
  padding: 80px 0;
}
.showcase-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.showcase-text {
  flex: 1;
}
.showcase-pro-badge {
  display: inline-block;
  background: #FFF8E1;
  color: #E65100;
  border: 1px solid #FFCC80;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.showcase-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}
.showcase-text p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.showcase-cta {
  font-size: 0.95rem;
}
.showcase-phone {
  flex-shrink: 0;
  width: 220px;
}
.showcase-phone-frame {
  background: #1A1A2E;
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 0 0 2px #333,
    0 20px 60px rgba(0,0,0,0.20);
}
.showcase-phone-frame img {
  width: 100%;
  border-radius: 28px;
  display: block;
}
@media (max-width: 700px) {
  .showcase-inner {
    flex-direction: column-reverse;
    gap: 36px;
  }
  .showcase-phone { width: 180px; margin: 0 auto; }
}

/* =========================================
   Features
   ========================================= */
.features {
  background: var(--bg);
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text);
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-top: -36px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(21, 101, 192, 0.14);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* =========================================
   Categories
   ========================================= */
.categories {
  background: var(--white);
  padding: 80px 0;
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid rgba(21, 101, 192, 0.15);
}

.category-emoji {
  font-size: 1.3rem;
}

/* =========================================
   How It Works
   ========================================= */
.how {
  background: var(--bg);
  padding: 80px 0;
}

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

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  box-shadow: var(--shadow);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

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

.step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.step-arrow {
  font-size: 1.8rem;
  color: var(--blue);
  opacity: 0.4;
  align-self: center;
  flex-shrink: 0;
}

/* =========================================
   Notify Form
   ========================================= */
.notify {
  background: linear-gradient(160deg, var(--blue) 0%, #1976D2 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.notify-inner {
  max-width: 560px;
}

.notify h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.notify p {
  opacity: 0.85;
  margin-bottom: 32px;
  font-size: 1rem;
}

.notify-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.notify-input {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  outline: none;
  color: var(--text);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.notify-input:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
}

.notify .btn-primary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.notify .btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
}

.notify-note {
  margin-top: 16px;
  font-size: 0.8rem;
  opacity: 0.65;
  margin-bottom: 0;
}

.download-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

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

.qr-img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: white;
  padding: 8px;
  display: block;
}

.qr-label {
  font-size: 0.8rem;
  opacity: 0.75;
  margin: 0;
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  text-align: center;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-copy, .footer-domain {
  font-size: 0.85rem;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 640px) {
  .hero { padding: 64px 0 56px; }
  .step-arrow { display: none; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step { max-width: 100%; }
  .notify-form { flex-direction: column; align-items: stretch; }
  .notify-input { min-width: unset; }
  .btn { width: 100%; text-align: center; }
  .nav-inner .btn { width: auto; }
}
