/* path - assets\css\styles.css */
@font-face {
  font-family: "Outfit"; font-style: normal; font-display: swap;
  src: url("/outfit-variablefont_wght.ttf") format("truetype");
  font-weight: 100 900;
}

:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card-bg: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --border: #1f2937;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b1220 0, #020617 55%, #000 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.page { max-width: 960px; margin: 0 auto; padding: 24px 16px 40px; }

/* Sticky header with brand that appears after hero scrolls out */
header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 8px 0 12px; background: radial-gradient(circle at top, #0b1220 0, #020617 55%, #000 100%);
}

/* Force header logo to a sane size on all pages */
header .brand-logo { width: 40px; height: 40px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
header .brand-logo img { width: 100%; height: 100%; max-width: 40px; max-height: 40px; object-fit: contain; display: block; }
.brand { display: flex; align-items: center; gap: 10px; transition: opacity 0.16s ease-out, transform 0.16s ease-out; }
.brand--hidden { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-alt); display: flex; align-items: center;
  justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.brand-logo img { max-width: 80%; max-height: 80%; display: block; }
.brand-text-main { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.03em; }
.brand-text-sub { font-size: 0.8rem; color: var(--muted); }
nav { display: flex; gap: 16px; font-size: 0.9rem; }
nav a { color: var(--muted); padding: 4px 0; }
nav a:hover { color: var(--text); }

main { display: flex; flex-direction: column; gap: 32px; }

/* Hero banner image */
.hero-image { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 12px; box-shadow: var(--shadow-soft); border: 1px solid rgba(15,23,42,0.9); }
.hero-image { display: block; width: 100%; height: auto; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15,23,42,0.9); margin-bottom: 12px;
}
.hero-image img { width: 100%; height: auto; object-fit: cover; display: block; }
.hero.hero--adapte .hero-image {
  display: block;
  width: 100%;     /* scale to container width */
  height: auto;    /* keep aspect ratio, no cropping */
  max-width: 640px; /* optional: cap max size */
  margin-inline: auto; /* center horizontally if narrower than container */
}
/* Home page header banner (only the <section> on index.html) */
section.hero-image { overflow: hidden; }
section.hero-image img { width: 100%; height: 100%; display: block; object-fit: cover; } /* crops nicely instead of shrinking to a huge tall image */

/* Hero text block */
.hero { background: linear-gradient(135deg, rgba(15,23,42,0.95), rgba(15,23,42,0.85)); border: 1px solid rgba(55,65,81,0.7);
  border-radius: var(--radius-xl); padding: 22px 20px 22px; box-shadow: var(--shadow-soft);
}
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
  color: var(--muted); background: rgba(15,23,42,0.9); border: 1px solid rgba(55,65,81,0.7);
}
.hero-eyebrow-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 12px rgba(245,158,11,0.9); }
.hero-title { font-size: 1.6rem; font-weight: 600; margin: 0 0 8px; }
.hero-text { font-size: 0.95rem; color: var(--muted); max-width: 36rem; margin: 0 0 18px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; }
.hero-tag { padding: 4px 10px; border-radius: 999px; color: var(--muted); background: rgba(15,23,42,0.95); border: 1px solid rgba(55,65,81,0.7); }

/* Sections */
.section-heading { font-size: 1.1rem; font-weight: 600; margin: 0 0 4px; }
.section-heading-small { font-size: 1rem; }
.section-subtitle { font-size: 0.9rem; color: var(--muted); margin: 0 0 12px; }

/* Apps grid */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.app-card { background: var(--card-bg); border-radius: var(--radius-lg); display: flex; flex-direction: column;
  padding: 14px 14px 12px; gap: 8px; border: 1px solid var(--border); box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}
.app-media { border-radius: 10px; margin-bottom: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #020617; }
.app-media img { max-width: 100%; height: auto; display: block; }
.app-media-logo img { max-height: 120px; padding: 6px; }
.app-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--muted); }

.pill { padding: 2px 8px; border-radius: 999px; background: rgba(15,23,42,0.95); border: 1px solid rgba(55,65,81,0.7); }

.app-title { font-size: 1rem; font-weight: 600; margin: 0; }
.app-tagline { font-size: 0.9rem; color: var(--muted); margin: 0; }
.app-meta { font-size: 0.78rem; color: var(--muted); margin: 0; }
.app-links { margin-top: 6px; font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 10px; }
.app-links a { padding: 2px 0; }

/* About / policy blocks */
.about { background: rgba(15,23,42,0.9); border: 1px solid rgba(55,65,81,0.7); border-radius: var(--radius-lg);
  color: var(--muted); padding: 14px 14px 12px; font-size: 0.9rem;
}

/* Screenshots carousel */
.screenshots-carousel { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }

/* Max width keeps it phone-sized rather than full page width */
.screenshots-viewport { position: relative; width: min(100%, 420px);   /* adjust 420px to resize screenshots */
  margin: 0 auto; border-radius: var(--radius-lg); background: #020617; border: 1px solid var(--border); overflow: hidden;
}
.screenshots-slide { display: none; opacity: 0; padding: 10px 10px 12px; text-align: center; transition: opacity 0.18s ease-out; }
.screenshots-slide.is-active { display: flex; flex-direction: column; align-items: center; opacity: 1; }
.screenshots-slide img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,0.6); margin-bottom: 6px; }
.screenshots-slide figcaption { font-size: 0.8rem; color: var(--muted); max-width: 26rem; }

/* Left/right controls */
.screenshots-control { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.85); background: rgba(15,23,42,0.95); color: var(--muted); display: flex;
  align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; box-shadow: 0 6px 18px rgba(0,0,0,0.5); z-index: 2;
}
.screenshots-control--prev { left: 8px; }
.screenshots-control--next { right: 8px; }
.screenshots-control:hover { color: var(--text); border-color: var(--accent); }

/* Dots */
.screenshots-dots { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.screenshots-dot { width: 7px; height: 7px; border-radius: 999px; border: 1px solid rgba(148,163,184,0.9); background: transparent; padding: 0; cursor: pointer; }
.screenshots-dot.is-active { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px rgba(245,158,11,0.9); }


/* Collapsible sections */
.about details { border: none; padding: 0; background: transparent; }
details[open] summary::after { transform: rotate(180deg); }

summary { cursor: pointer; outline: none; list-style: none; display: flex; align-items: center; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "▾"; font-size: 0.8rem; color: var(--muted); margin-left: 8px; transition: transform 0.15s ease; }

.policy-body { margin-top: 8px; }
.policy-note { font-size: 0.8rem; margin-top: 0.4rem; }

/* Contact */
.contact-note { font-size: 0.85rem; color: var(--muted); }

/* Footer */
footer { margin-top: 20px; padding-top: 10px; border-top: 1px solid rgba(31,41,55,0.8);
  font-size: 0.8rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
}

/* Small screens */
@media (max-width: 640px) {
  header { flex-direction: column; align-items: flex-start; }
  nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .hero { padding: 18px 14px 18px; }
}
