/* ===========================
   DevFivum — Landing Page CSS
   =========================== */

:root {
  --purple:        #8080ff;
  --purple-light:  #a8a8ff;
  --purple-dark:   #6060cc;
  --purple-glow:   rgba(128, 128, 255, 0.25);
  --bg:            #0f0f13;
  --bg-card:       #18181f;
  --bg-card-hover: #1e1e28;
  --border:        #2a2a38;
  --text:          #e2e2f0;
  --text-muted:    #9090b0;
  --white:         #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ---- Hero ---- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124,58,237,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo {
  width: 112px;
  height: 112px;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 0 24px rgba(128, 128, 255, 0.5));
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero h1 span {
  color: var(--purple-light);
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.25rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px var(--purple-glow);
}

.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--purple-glow);
}

.btn-primary svg {
  flex-shrink: 0;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- About ---- */

.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: 860px;
  margin: 0 auto;
}


.section h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
}

/* ---- Feature cards ---- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: background 0.2s, border-color 0.2s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--purple);
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: none;
}

/* ---- Rules / Guidelines ---- */

.rules-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rules-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.rules-list li strong {
  color: var(--white);
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}

.rule-num {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

/* ---- CTA ---- */

.cta {
  text-align: center;
  padding: 5rem 1.5rem 6rem;
}

.cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ---- Footer ---- */

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

footer a {
  color: var(--purple-light);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ---- Responsive ---- */

@media (max-width: 600px) {
  .hero {
    padding: 4rem 1.25rem 3rem;
  }
}
