/* AI Logo Maker — marketing landing */

:root {
  /* Aligned with app theme: Color.kt (MlBg*, MlAccent*) */
  --bg: #08080e;
  --bg-elevated: #12101c;
  --bg-wash: #1a1530;
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #f4f4f5;
  --muted: #a89fbf;
  --accent: #ff8a50;
  --accent-strong: #ff5c00;
  --accent-glow: rgba(255, 92, 0, 0.38);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent-strong);
  color: var(--bg);
  font-weight: 600;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:not(.btn):hover {
  color: var(--text);
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--stroke);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--stroke);
    transform-origin: top;
    transform: scaleY(0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav__links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav__links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--stroke);
  }

  .nav__links a:last-child {
    border-bottom: none;
  }

  .nav__cta-wrap {
    margin-top: 0.75rem;
    width: 100%;
  }

  .nav__cta-wrap .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .nav__links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
  }

  .nav__cta-wrap {
    margin-left: 0.25rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
  color: #140800;
  box-shadow: 0 6px 28px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 8px 36px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  border-color: var(--stroke);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: color-mix(in srgb, var(--accent-strong) 45%, var(--stroke));
  background: rgba(255, 92, 0, 0.08);
}

.btn--play {
  background: transparent;
  border: 1px solid rgba(61, 220, 132, 0.42);
  color: var(--text);
  box-shadow: none;
}

.btn--play:hover {
  border-color: rgba(61, 220, 132, 0.72);
  background: rgba(61, 220, 132, 0.09);
  box-shadow: 0 4px 20px rgba(61, 220, 132, 0.12);
}

button.btn {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin: 0;
}

.btn--lg {
  padding: 0.85rem 1.45rem;
  font-size: 1rem;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 85%;
  background: radial-gradient(
      ellipse 72% 58% at 50% -5%,
      rgba(255, 92, 0, 0.28),
      transparent 58%
    ),
    radial-gradient(
      ellipse 50% 42% at 85% 15%,
      rgba(255, 138, 80, 0.14),
      transparent 52%
    ),
    radial-gradient(
      ellipse 55% 50% at 5% 40%,
      rgba(26, 21, 48, 0.35),
      transparent 55%
    );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 5.5rem 1.5rem 6rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 1rem;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 14px rgba(255, 92, 0, 0.85);
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 4.5vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
}

.hero__lead {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: linear-gradient(
      165deg,
      var(--bg-elevated) 0%,
      var(--bg-wash) 48%,
      var(--bg-elevated) 100%
    );
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 1rem 1rem 1.35rem;
  position: relative;
}

.device-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 92, 0, 0.12),
    transparent 42%,
    rgba(26, 21, 48, 0.25)
  );
  pointer-events: none;
}

.device-frame__screen {
  position: relative;
  border-radius: calc(var(--radius-lg) - 8px);
  min-height: 280px;
  background: repeating-linear-gradient(
      -12deg,
      rgba(255, 255, 255, 0.02) 0 1px,
      transparent 1px 14px
    ),
    #08080e;
  display: grid;
  place-items: center;
  overflow: hidden;
}

@media (min-width: 900px) {
  .device-frame__screen {
    min-height: 340px;
  }
}

.device-frame__logo-preview {
  width: 58%;
  max-width: 220px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 28%;
  object-fit: cover;
  opacity: 0.96;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.section {
  padding: 4.25rem 1.5rem;
}

.section--alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--stroke);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section__head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.65rem;
}

.section__head p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--bg) 92%, var(--bg-elevated));
}

.section--alt .feature-card {
  background: var(--bg);
}

.feature-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  background: rgba(255, 92, 0, 0.14);
  border: 1px solid rgba(255, 138, 80, 0.3);
}

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 700;
}

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

.cta-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: linear-gradient(
    120deg,
    rgba(255, 92, 0, 0.16),
    rgba(26, 21, 48, 0.35),
    rgba(255, 138, 80, 0.1)
  );
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

@media (min-width: 720px) {
  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cta-band .store-buttons {
    flex-shrink: 0;
    justify-content: flex-end;
  }
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--bg-elevated);
}

.contact-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card p {
  margin: 0;
  color: var(--text);
}

.footer {
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--stroke);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer__links a {
  color: var(--muted);
  text-decoration: none;
}

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

.soon-dialog {
  padding: 0;
  border: none;
  background: transparent;
  max-width: calc(100vw - 2rem);
  width: min(26rem, 100%);
}

.soon-dialog::backdrop {
  background: rgba(4, 4, 8, 0.75);
  backdrop-filter: blur(6px);
}

.soon-dialog__panel {
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.soon-dialog__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  line-height: 1.2;
}

.soon-dialog__body {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.soon-dialog__actions {
  margin: 0;
  padding: 0;
  border: none;
}

.soon-dialog__ok {
  width: 100%;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .soon-dialog::backdrop {
    backdrop-filter: none;
  }
}
