/* ============================================================
   FLUXO — Landing & Support Page
   Palette : teal #3FC1B0 | orange #F5924A | crème #F5EDD5 | dark #0F1D20
   ============================================================ */

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

:root {
  --teal:    #3FC1B0;
  --teal-dk: #32a899;
  --orange:  #F5924A;
  --cream:   #F5EDD5;
  --dark:    #0F1D20;
  --charcoal:#1A2424;
  --text:    #1A2424;
  --muted:   #5a6e6b;
  --white:   #ffffff;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  background: var(--dark);
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 24px;
  box-shadow: 0 0 40px rgba(63, 193, 176, 0.35);
}

.app-name {
  font-family: 'Space Mono', monospace;
  font-size: clamp(2.2rem, 10vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 10px;
  margin-bottom: 20px;
}

.tagline {
  font-size: clamp(1.1rem, 4vw, 1.3rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1.5;
  margin-bottom: 8px;
}

.tagline-en {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 44px;
  letter-spacing: 0.02em;
}

/* Store buttons */
.store-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--white);
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 14px;
  min-width: 170px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.store-btn:hover {
  background: rgba(63, 193, 176, 0.14);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.store-btn:active {
  transform: translateY(0);
}

.store-btn svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.store-btn span {
  text-align: left;
  line-height: 1.35;
}

.store-btn small {
  display: block;
  font-size: 0.68rem;
  opacity: 0.6;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.store-btn strong {
  font-size: 0.95rem;
  font-weight: 800;
}

/* ============================================================
   SHARED LAYOUT
   ============================================================ */

.inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   FEATURES
   ============================================================ */

.features {
  padding: 88px 0;
  background: var(--cream);
}

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

.feature {
  background: var(--white);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(26, 36, 36, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26, 36, 36, 0.11);
}

.feat-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  line-height: 1;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--charcoal);
}

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

/* ============================================================
   ABOUT
   ============================================================ */

.about {
  padding: 88px 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 18px;
}

.about-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.pill-list li {
  background: rgba(63, 193, 176, 0.12);
  color: var(--teal-dk);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(63, 193, 176, 0.25);
}

/* Decorative grid preview */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-preview {
  display: grid;
  grid-template-columns: repeat(4, 56px);
  grid-template-rows: repeat(4, 56px);
  gap: 6px;
}

.cell {
  border-radius: 10px;
  background: #eef2f2;
}

.cell.powered {
  background: rgba(63, 193, 176, 0.18);
  border: 2px solid rgba(63, 193, 176, 0.55);
}

.cell.source {
  background: rgba(245, 146, 74, 0.2);
  border: 2px solid var(--orange);
}

.cell.receiver {
  background: rgba(63, 193, 176, 0.35);
  border: 2px solid var(--teal);
}

/* ============================================================
   SUPPORT
   ============================================================ */

.support {
  padding: 88px 0;
  background: var(--cream);
  text-align: center;
}

.support h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--charcoal);
  margin-bottom: 18px;
}

.support > .inner > p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 14px;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-bottom: 28px;
}

.contact-btn:hover {
  background: var(--teal-dk);
  transform: translateY(-2px);
}

.contact-btn:active {
  transform: translateY(0);
}

.support-note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto;
}

.support-note a {
  color: var(--teal-dk);
  text-decoration: none;
  font-weight: 700;
}

.support-note a:hover {
  text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--charcoal);
  padding: 36px 24px;
}

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

.copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

footer nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
}

footer nav span {
  color: rgba(255, 255, 255, 0.25);
}

footer nav a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

footer nav a:hover {
  color: var(--teal);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 720px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .grid-preview {
    grid-template-columns: repeat(4, 48px);
    grid-template-rows: repeat(4, 48px);
    gap: 5px;
  }

  .cell {
    border-radius: 8px;
  }

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

@media (max-width: 480px) {
  .store-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .store-btn {
    min-width: unset;
    justify-content: center;
  }

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

  .grid-preview {
    grid-template-columns: repeat(4, 42px);
    grid-template-rows: repeat(4, 42px);
    gap: 4px;
  }
}
