@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --accent: #7A5CFF;
  --accent-2: #FF4D6D;
  --accent-glow: rgba(122, 92, 255, 0.18);
  --bg: #07070B;
  --bg-2: #0F0F16;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --ink: #FFFFFF;
  --ink-dim: rgba(235, 235, 245, 0.62);
  --ink-faint: rgba(235, 235, 245, 0.38);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}

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

html, body { background: var(--bg); }

body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--accent-glow), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(255, 77, 109, 0.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

/* ---- NAV ---- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 32px 20px;
}
.nav-brand {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-brand em {
  font-style: italic;
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-faint);
  text-decoration: none;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ---- MAIN ---- */
main {
  flex: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px 80px;
  width: 100%;
}

/* ---- HERO ---- */
.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0 80px;
}
.hero-icon-wrap {
  position: relative;
}
.hero-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -32px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.hero-icon {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 34px;
  box-shadow:
    0 18px 56px rgba(122, 92, 255, 0.32),
    0 4px 14px rgba(0, 0, 0, 0.5);
  transform: rotate(-3deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-icon:hover {
  transform: rotate(0deg) scale(1.04);
}
.hero-text h1 {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero-text h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text p {
  font-size: 18px;
  color: var(--ink-dim);
  max-width: 420px;
  line-height: 1.6;
}
.hero-text .store-note {
  display: inline-block;
  margin-top: 22px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.4px;
  padding: 7px 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
}

/* ---- DIVIDER ---- */
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border) 20%, rgba(255,255,255,0.1) 50%, var(--card-border) 80%, transparent);
  margin: 0 0 64px;
}

/* ---- FEATURES ---- */
.features-header {
  margin-bottom: 40px;
}
.features-header span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
}
.features-header h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  margin-top: 10px;
  letter-spacing: -0.5px;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 32px 28px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 92, 255, 0.3);
  box-shadow: 0 16px 40px rgba(122, 92, 255, 0.12);
}
.feature:nth-child(2) { transform: translateY(14px); }
.feature:nth-child(2):hover { transform: translateY(10px); }
.feature:nth-child(4) { transform: translateY(14px); }
.feature:nth-child(4):hover { transform: translateY(10px); }

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(122,92,255,0.15), rgba(255,77,109,0.12));
  border: 1px solid var(--card-border);
}
.feature h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.feature p {
  font-size: 14.5px;
  color: var(--ink-dim);
  line-height: 1.6;
}

/* ---- LOAD ANIMATIONS ---- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero { animation: fade-up 0.7s ease-out both; }
.section-divider { animation: fade-up 0.7s ease-out 0.15s both; }
.features-header { animation: fade-up 0.7s ease-out 0.25s both; }
.feature:nth-child(1) { animation: fade-up 0.6s ease-out 0.35s both; }
.feature:nth-child(2) { animation: fade-up 0.6s ease-out 0.45s both; }
.feature:nth-child(3) { animation: fade-up 0.6s ease-out 0.55s both; }
.feature:nth-child(4) { animation: fade-up 0.6s ease-out 0.65s both; }

/* ---- CONTENT PAGES ---- */
.content {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 48px 44px;
  margin-top: 20px;
  animation: fade-up 0.6s ease-out both;
  backdrop-filter: blur(12px);
}
.content h1 {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.content h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-top: 34px;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.content p, .content li {
  font-size: 15.5px;
  color: var(--ink-dim);
  line-height: 1.7;
}
.content p + p { margin-top: 12px; }
.content ul {
  padding-left: 22px;
  margin-top: 10px;
}
.content li { margin-bottom: 8px; }
.content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.content a:hover { border-bottom-color: var(--accent); }
.updated {
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 28px;
}

/* ---- FORM ---- */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  background: var(--bg-2);
  font-family: var(--sans);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--sans);
  letter-spacing: 0.3px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(122, 92, 255, 0.35);
}
.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(122, 92, 255, 0.45);
}
.submit-btn:active { transform: translateY(0); }
.form-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---- FOOTER ---- */
footer {
  text-align: center;
  padding: 32px;
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.2px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  nav { padding: 20px 20px 16px; }
  main { padding: 0 20px 60px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    padding: 40px 0 56px;
  }
  .hero-icon-wrap { justify-self: center; }
  .hero-text h1 { font-size: 40px; }
  .hero-text p { max-width: 100%; margin: 0 auto; }
  .hero-text .store-note { margin-top: 16px; }

  .features-header { margin-bottom: 28px; }
  .features-header h2 { font-size: 26px; }
  .features { grid-template-columns: 1fr; gap: 16px; }
  .feature:nth-child(2),
  .feature:nth-child(4) { transform: none; }
  .feature:nth-child(2):hover,
  .feature:nth-child(4):hover { transform: translateY(-4px); }

  .content { padding: 32px 24px; }
  .content h1 { font-size: 28px; }
}
