:root {
  --bg-primary: #0f0f1a;
  --bg-secondary: #121225;
  --accent-primary: #6c5ce7;
  --accent-secondary: #2ed573;
  --text-primary: #f1f2f6;
  --text-secondary: #a4b0be;
  --border-dark: #1f1f33;
  --max-width: 1100px;
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Roboto", sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  min-height: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(108, 92, 231, 0.28), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(46, 213, 115, 0.18), transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(108, 92, 231, 0.2), transparent 55%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.04), transparent 35%, rgba(108, 92, 231, 0.07) 70%, transparent 100%),
    linear-gradient(255deg, transparent 20%, rgba(46, 213, 115, 0.05) 55%, transparent 100%);
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.35), rgba(0,0,0,0.05), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

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

a:hover {
  text-decoration: underline;
}

header {
  padding: 2.5rem 1.5rem 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.35), rgba(46, 213, 115, 0.12));
  border-bottom: 1px solid rgba(108, 92, 231, 0.25);
  position: relative;
  overflow: hidden;
}

header::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -40%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.55), transparent 70%);
  filter: blur(40px);
  opacity: 0.8;
  pointer-events: none;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto 2rem auto;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.lang-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.lang-nav a {
  color: var(--text-secondary);
  transition: color 0.2s ease, transform 0.2s ease;
}

.lang-nav a.active,
.lang-nav a:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
  position: relative;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0;
}

.hero p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .hero {
    text-align: center;
    align-items: center;
  }

  .cta-group {
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 12px 25px rgba(108, 92, 231, 0.35);
}

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

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

main {
  padding: 2.5rem 1.5rem 4rem 1.5rem;
}

section {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto 3.5rem auto;
  background: rgba(17, 17, 35, 0.7);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: 22px;
  padding: 2.2rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 18px 42px rgba(10, 10, 30, 0.42);
}

section h2 {
  margin-top: 0;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
}

section h2::after {
  content: "";
  display: inline-block;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-secondary), rgba(108, 92, 231, 0.65));
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: rgba(15, 15, 40, 0.65);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease, border 0.2s ease;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.65), rgba(46, 213, 115, 0.4));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 213, 115, 0.08);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #ffffff;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

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

.tech-pill {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem;
  text-align: center;
  background: rgba(108, 92, 231, 0.12);
  font-weight: 600;
  color: var(--text-primary);
}

.tech-pill small {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.step {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 1.35rem;
  background: rgba(18, 18, 40, 0.8);
  border-radius: 14px;
  border: 1px solid rgba(108, 92, 231, 0.25);
}

.step span {
  display: inline-block;
  font-weight: 700;
  color: var(--accent-secondary);
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.download-item {
  flex: 1 1 250px;
  border: 1px dashed rgba(108, 92, 231, 0.3);
  border-radius: 14px;
  padding: 1.4rem;
  background: rgba(108, 92, 231, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.download-item strong {
  font-size: 1.05rem;
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
}

.faq-item:first-of-type {
  border-top: none;
}

.faq-item h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.contact-box {
  display: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact-details p {
  margin: 0.35rem 0;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  background: rgba(15, 15, 26, 0.85);
  border: 1px solid rgba(108, 92, 231, 0.35);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font: inherit;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.25);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.contact-feedback {
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid transparent;
  display: none;
}

.contact-feedback.success {
  display: block;
  border-color: rgba(46, 213, 115, 0.4);
  background: rgba(46, 213, 115, 0.12);
  color: var(--text-primary);
}

.contact-feedback.error {
  display: block;
  border-color: rgba(255, 99, 132, 0.4);
  background: rgba(255, 99, 132, 0.12);
  color: var(--text-primary);
}

.form-group .assist {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border-dark);
  background: var(--bg-secondary);
}

footer .content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

footer .content span {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

section::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(108, 92, 231, 0.25), transparent 45%, rgba(46, 213, 115, 0.25), transparent 80%);
  z-index: -2;
  opacity: 0.4;
}

section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.05);
  z-index: -1;
}

@media (max-width: 768px) {
  .hero {
    text-align: center;
  }
  .cta-group {
    justify-content: center;
  }
  nav {
    flex-direction: column;
    gap: 1rem;
  }
  section {
    padding: 1.6rem;
  }
}
