*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-body: #050816;
  --bg-gradient-top: #0b1020;
  --bg-gradient-bottom: #111827;
  --bg-card: #0f172a;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.6);
  --radius-md: 0.75rem;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.9);
  --blur-glass: 14px;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--text-main);
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(circle at bottom, rgba(249, 115, 22, 0.16), transparent 60%),
    var(--bg-body);
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout */

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main {
  padding: 3.2rem 0 4.2rem;
}

/* Cards */

.card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.8), transparent 55%),
              var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 1.7rem 1.9rem;
  backdrop-filter: blur(var(--blur-glass));
}

.card h2,
.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Header / nav */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
  border-bottom: 1px solid rgba(51, 65, 85, 0.9);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: radial-gradient(circle at 20% 0, #fed7aa, #f97316 40%, #111827 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.55);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  padding-bottom: 0.15rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #f97316, #fb923c);
  transition: width 0.16s ease-out;
}

nav a:hover {
  color: var(--text-main);
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.8);
  font-size: 0.82rem;
  color: #ffedd5;
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.22), rgba(15, 23, 42, 0.98));
}

/* Lang toggle */

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  padding: 0.08rem 0.14rem;
  background: rgba(15, 23, 42, 0.96);
}

.lang-toggle button {
  border: none;
  background: transparent;
  font-size: 0.78rem;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-muted);
}

.lang-toggle button.active {
  background: linear-gradient(to right, #f97316, #fb923c);
  color: #020617;
}

/* Mobile nav */

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-toggle {
  display: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: radial-gradient(circle at top, #1f2937, #020617);
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

.nav-toggle span::before {
  top: -0.28rem;
}

.nav-toggle span::after {
  top: 0.28rem;
}

.nav-links-mobile {
  display: none;
}

@media (max-width: 780px) {
  nav ul {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links-mobile {
    display: none;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 0.75rem;
    padding-bottom: 0.9rem;
  }
  .nav-links-mobile a {
    color: var(--text-muted);
    font-size: 0.9rem;
  }
  .nav-links-mobile a:hover {
    color: var(--text-main);
  }
  header.nav-open .nav-links-mobile {
    display: flex;
  }
}

/* Hero */

.hero {
  padding: 3rem 0 2.6rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.8rem;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-copy p {
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.3rem;
  font-size: 0.98rem;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: radial-gradient(circle at left, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.3));
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #e5e7eb;
  margin-bottom: 0.85rem;
}

.tag-dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: radial-gradient(circle at center, #4ade80, #166534);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

.hero-footnote {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Buttons */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.78rem 1.4rem;
  border-radius: 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s ease-out;
}

.btn span.icon {
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #020617;
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(249, 115, 22, 0.8);
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.9);
}

/* Sections */

.section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.section-kicker {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 30rem;
}

/* Forms */

form {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid-full {
  grid-column: 1 / -1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #e5e7eb;
}

input,
textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font: inherit;
  font-size: 0.92rem;
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.9);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.45);
  background: #020617;
}

/* Responsive form */

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Footer */

footer {
  border-top: 1px solid rgba(51, 65, 85, 0.9);
  background: radial-gradient(circle at top, #020617, #020617);
  padding: 1.5rem 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner a {
  color: #e5e7eb;
}
