@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --bg: #050508;
  --bg-elevated: #0c0c12;
  --surface: #12121a;
  --surface-hover: #1a1a26;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --purple: #9333ea;
  --purple-deep: #6d28d9;
  --purple-bright: #c084fc;
  --purple-glow: rgba(147, 51, 234, 0.45);
  --border: rgba(168, 85, 247, 0.22);
  --border-strong: rgba(192, 132, 252, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  background-image: radial-gradient(
      ellipse 120% 80% at 50% -20%,
      rgba(109, 40, 217, 0.35),
      transparent 55%
    ),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(147, 51, 234, 0.12), transparent);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: min(1000px, 92%);
  margin: 0 auto;
}

header {
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--purple-bright);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}

nav a:hover {
  color: var(--text);
  background: rgba(147, 51, 234, 0.12);
}

nav a.active {
  color: var(--purple-bright);
  background: rgba(147, 51, 234, 0.18);
}

.hero {
  padding: 4rem 0 4.5rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 0%,
    var(--purple-glow),
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.6;
}

.hero .container {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
    gap: 2rem;
  }
}

.hero-copy {
  min-width: 0;
}

.hero-art {
  justify-self: center;
  width: 100%;
  max-width: min(280px, 85vw);
}

.hero-camera {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fafafa 0%, var(--purple-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  max-width: 38ch;
  font-size: 1.05rem;
}

.section {
  padding: 3rem 0 4rem;
}

.section h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section h1 + p {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 0.5rem;
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.card {
  background: linear-gradient(145deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 1px rgba(147, 51, 234, 0.15), 0 16px 40px -20px rgba(109, 40, 217, 0.5);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--purple-bright);
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  margin-top: 1.35rem;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid rgba(192, 132, 252, 0.35);
  box-shadow: 0 4px 24px -4px var(--purple-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px -4px var(--purple-glow);
  filter: brightness(1.08);
}

form {
  margin-top: 2rem;
  background: linear-gradient(145deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  max-width: 700px;
}

.field {
  margin-bottom: 1.1rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: #71717a;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.25);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #fff;
  border: 0;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  border: 1px solid rgba(192, 132, 252, 0.35);
  box-shadow: 0 4px 20px -4px var(--purple-glow);
  transition: transform 0.15s ease, filter 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.form-message {
  margin-top: 0.9rem;
  color: #86efac;
  font-weight: 600;
}

footer {
  border-top: 1px solid var(--border);
  background: rgba(8, 8, 12, 0.9);
  padding: 1.25rem 0;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--purple-bright);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.inline-link {
  color: var(--purple-bright);
  font-weight: 600;
}

.inline-link:hover {
  text-decoration: underline;
}

code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(147, 51, 234, 0.15);
  color: var(--purple-bright);
  padding: 0.15em 0.4em;
  border-radius: 6px;
  border: 1px solid var(--border);
}

pre {
  margin-top: 0.65rem;
  padding: 1rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow-x: auto;
}

pre code {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.5;
}

.steps {
  margin-top: 2rem;
  padding-left: 0;
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  border-left: 2px solid var(--border);
  margin-left: 0.85rem;
  padding-bottom: 0.25rem;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: -0.85rem;
  top: 0;
  width: 1.65rem;
  height: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.steps strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.steps > li > p {
  color: var(--muted);
  margin-top: 0.35rem;
}

.faq {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 720px;
}

.faq details {
  background: linear-gradient(145deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease;
}

.faq details:hover {
  border-color: var(--border-strong);
}

.faq details[open] {
  border-color: rgba(192, 132, 252, 0.4);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--purple-bright);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  padding-right: 1.5rem;
}
