/* FIZOR landing page - dark + blurple theme */

:root {
  --bg: #12131a;
  --bg-alt: #171923;
  --card: #1d2030;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e6e7ee;
  --muted: #9aa0b4;
  --blurple: #5865f2;
  --blurple-hover: #4752c4;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
}

a {
  color: var(--blurple);
  text-decoration: none;
}

a:hover {
  color: var(--blurple-hover);
}

img {
  max-width: 100%;
}

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

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 20px;
  background: rgba(18, 19, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.navbar .brand img {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: 24px;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  color: var(--muted);
  border-radius: 8px;
  transition: color .15s, background .15s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  transition: background .15s, transform .1s, box-shadow .15s;
}

.btn-primary {
  background: var(--blurple);
  color: #fff;
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.35);
}

.btn-primary:hover {
  background: var(--blurple-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn-sm {
  padding: 7px 16px;
  font-size: .85rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 170px 24px 110px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(88, 101, 242, 0.38), transparent),
    radial-gradient(ellipse 45% 40% at 75% 30%, rgba(88, 101, 242, 0.12), transparent),
    linear-gradient(180deg, #161827 0%, var(--bg) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(88, 101, 242, 0.10), transparent 70%);
  pointer-events: none;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 24px rgba(88, 101, 242, 0.45));
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: .04em;
}

.hero .tagline {
  margin-top: 10px;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-demo {
  margin-top: 18px;
  font-size: .95rem;
}

.hero-stats {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stat-badge {
  min-width: 210px;
  padding: 16px 28px;
  background: rgba(29, 32, 48, 0.75);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.stat-badge .stat-label {
  font-size: .82rem;
  color: var(--muted);
}

.stat-badge .stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

/* ---------- Sections ---------- */
section {
  scroll-margin-top: 76px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 44px;
}

.about-section {
  padding: 84px 0 60px;
  text-align: center;
}

.about-section img {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
}

.about-text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
}

.about-text p + p {
  margin-top: 14px;
}

.features-section {
  padding: 60px 0 90px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.feature-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px;
  color: var(--text);
  transition: transform .15s, border-color .15s, box-shadow .15s;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(88, 101, 242, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.feature-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(88, 101, 242, 0.15);
  color: var(--blurple);
  margin-bottom: 14px;
}

.feature-card .icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: .88rem;
  color: var(--muted);
}

/* ---------- Steps ---------- */
.steps-section {
  padding: 84px 0;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 22px;
}

.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blurple);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.step p {
  font-size: .87rem;
  color: var(--muted);
}

.steps-arrow {
  align-self: center;
  color: var(--muted);
  font-size: 1.4rem;
}

@media (max-width: 720px) {
  .steps-arrow { display: none; }
}

/* ---------- Links / FAQ ---------- */
.links-section {
  padding: 70px 0 90px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.links-list {
  max-width: 620px;
  margin: 0 auto;
  list-style: none;
}

.links-list li {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--card);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.links-list .link-label {
  color: var(--text);
  font-weight: 700;
}

/* ---------- Footer ---------- */
footer {
  padding: 36px 0;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}

footer a {
  color: var(--muted);
  text-decoration: underline;
}

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

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 10px 14px 16px;
    background: rgba(18, 19, 26, 0.97);
    border-bottom: 1px solid var(--border);
  }

  .navbar.open .nav-links { display: flex; }

  .nav-right {
    margin-left: 0;
    padding: 10px 14px 4px;
    border-top: 1px solid var(--border);
  }

  .navbar.open .nav-right {
    position: absolute;
    top: calc(64px + 62px);
    left: 0;
    right: 0;
    background: rgba(18, 19, 26, 0.97);
    justify-content: center;
  }
}
