:root {
  --navy-950: #050b17;
  --navy-900: #071021;
  --navy-850: #0b132b;
  --navy-800: #101c38;
  --navy-700: #17264b;
  --blue-500: #0ea5e9;
  --blue-400: #38bdf8;
  --blue-300: #7dd3fc;
  --silver-100: #f1f5f9;
  --silver-200: #dce4ea;
  --silver-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --white: #ffffff;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --max-width: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 10px 30px rgba(1, 8, 20, 0.16);
  --shadow-md: 0 24px 70px rgba(0, 5, 15, 0.28);
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--silver-100);
  background:
    radial-gradient(circle at 15% 0%, rgba(14, 165, 233, 0.12), transparent 27rem),
    radial-gradient(circle at 100% 32%, rgba(56, 189, 248, 0.08), transparent 32rem),
    var(--navy-950);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: var(--navy-950);
  background: var(--blue-300);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  padding: 0.8rem 1rem;
  color: var(--navy-950);
  background: var(--white);
  border-radius: var(--radius-sm);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 6.5rem 0;
}

.section-sm {
  padding: 4rem 0;
}

.section-muted {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.75rem;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--blue-300);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue-500), transparent);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.8rem;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

p {
  margin: 0 0 1rem;
  color: var(--silver-300);
}

.lead {
  max-width: 720px;
  color: var(--silver-200);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.text-gradient {
  color: transparent;
  background: linear-gradient(115deg, var(--white) 0%, var(--blue-300) 58%, var(--blue-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.52rem 0.82rem;
  color: var(--blue-300);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
}

.badge-dot {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.13);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

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

.btn:focus-visible,
.nav-link:focus-visible,
.social-link:focus-visible,
.accordion-button:focus-visible,
.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: 3px solid rgba(125, 211, 252, 0.55);
  outline-offset: 3px;
}

.btn-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--blue-300), var(--blue-500));
  box-shadow: 0 14px 34px rgba(14, 165, 233, 0.23);
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(14, 165, 233, 0.34);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(125, 211, 252, 0.28);
}

.btn-small {
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  font-size: 0.92rem;
}

.icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 11, 23, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex: 0 0 auto;
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand-copy {
  display: grid;
}

.brand-name {
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  color: var(--slate-400);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.62rem 0.8rem;
  color: var(--silver-300);
  border-radius: 9px;
  font-size: 0.91rem;
  font-weight: 700;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
}

.nav-link.is-active {
  box-shadow: inset 0 -2px 0 var(--blue-500);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-lines::after {
  position: absolute;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 11, 23, 0.98) 5%, rgba(5, 11, 23, 0.88) 44%, rgba(5, 11, 23, 0.25) 78%),
    linear-gradient(0deg, var(--navy-950) 0%, transparent 28%);
  z-index: 1;
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.65fr);
  align-items: center;
  gap: 3rem;
  padding: 6rem 0 7rem;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy .badge {
  margin-bottom: 1.5rem;
}

.hero-copy h1 {
  margin-bottom: 1.4rem;
}

.hero-copy .lead {
  max-width: 660px;
}

.hero-panel {
  align-self: end;
  padding: 1.5rem;
  background: rgba(7, 16, 33, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.hero-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.hero-panel-title strong {
  color: var(--white);
  font-size: 0.95rem;
}

.status-pill {
  padding: 0.3rem 0.58rem;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.23);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.route-list {
  display: grid;
  gap: 0.85rem;
}

.route-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
}

.route-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--blue-300);
  background: rgba(14, 165, 233, 0.1);
  border-radius: 10px;
}

.route-copy {
  display: grid;
}

.route-copy strong {
  color: var(--white);
  font-size: 0.88rem;
}

.route-copy span,
.route-meta {
  color: var(--slate-400);
  font-size: 0.75rem;
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -2.3rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(11, 19, 43, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px);
}

.trust-item {
  padding: 1.25rem 1.35rem;
  text-align: center;
}

.trust-item + .trust-item {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item strong {
  display: block;
  color: var(--white);
  font-size: 1.25rem;
}

.trust-item span {
  color: var(--slate-400);
  font-size: 0.8rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.card::after {
  position: absolute;
  width: 140px;
  height: 140px;
  right: -75px;
  bottom: -90px;
  content: "";
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent 70%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  border-color: rgba(125, 211, 252, 0.2);
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  place-items: center;
  color: var(--blue-300);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(56, 189, 248, 0.06));
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 14px;
}

.card h3 {
  font-size: 1.22rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: 4rem;
}

.split.reverse .split-media {
  order: -1;
}

.split-media {
  position: relative;
  min-height: 440px;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 75% 15%, rgba(14, 165, 233, 0.22), transparent 13rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-visual {
  position: absolute;
  inset: 1.2rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #081227;
  background-size: 30px 30px;
  border-radius: 20px;
}

.map-route {
  position: absolute;
  inset: 15% 13%;
}

.map-route path {
  fill: none;
  stroke: var(--blue-400);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 14 12;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.45));
}

.map-point {
  position: absolute;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  background: var(--blue-400);
  border: 4px solid var(--navy-900);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(56, 189, 248, 0.12);
}

.map-point.start {
  left: 20%;
  bottom: 24%;
}

.map-point.end {
  right: 17%;
  top: 20%;
}

.map-label {
  position: absolute;
  padding: 0.45rem 0.65rem;
  color: var(--white);
  background: rgba(7, 16, 33, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 800;
}

.map-label.start {
  left: 10%;
  bottom: 12%;
}

.map-label.end {
  right: 8%;
  top: 8%;
}

.float-card {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  width: min(280px, calc(100% - 2.2rem));
  padding: 1.1rem;
  background: rgba(5, 11, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.float-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--white);
}

.float-card span {
  color: var(--slate-400);
  font-size: 0.82rem;
}

.check-list,
.plain-list,
.rule-list {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 0.82rem;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--silver-200);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.25rem;
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  place-items: center;
  color: var(--navy-950);
  content: "✓";
  background: var(--blue-300);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.tag {
  padding: 0.43rem 0.68rem;
  color: var(--silver-200);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: process;
}

.process::before {
  position: absolute;
  left: 11%;
  right: 11%;
  top: 27px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
}

.process-step {
  position: relative;
  padding: 0 0.6rem;
  text-align: center;
  counter-increment: process;
}

.process-number {
  position: relative;
  z-index: 2;
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  place-items: center;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--blue-300), var(--blue-500));
  border: 7px solid var(--navy-950);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
  font-weight: 900;
}

.process-step h3 {
  font-size: 1rem;
}

.process-step p {
  font-size: 0.86rem;
}

.cta {
  position: relative;
  padding: 3rem;
  background:
    linear-gradient(120deg, rgba(14, 165, 233, 0.16), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cta::after {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  top: -140px;
  content: "";
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 70%);
  pointer-events: none;
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-copy {
  max-width: 700px;
}

.cta-copy p:last-child {
  margin-bottom: 0;
}

.page-hero {
  position: relative;
  padding: 6.5rem 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 72% 20%, rgba(14, 165, 233, 0.16), transparent 22rem),
    linear-gradient(115deg, rgba(255, 255, 255, 0.025), transparent 55%);
}

.page-hero-content {
  position: relative;
  max-width: 850px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  color: var(--slate-400);
  font-size: 0.83rem;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: var(--blue-300);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 2.5rem;
}

.content-main {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: 104px;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
}

.sidebar-title {
  margin-bottom: 0.65rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 900;
}

.sidebar-nav {
  display: grid;
  gap: 0.2rem;
}

.sidebar-nav a {
  padding: 0.55rem 0.65rem;
  color: var(--slate-400);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.sidebar-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.content-section {
  scroll-margin-top: 110px;
  padding: 0 0 2.7rem;
}

.content-section + .content-section {
  padding-top: 2.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.content-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.content-section h3 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.rule-group {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.rule-card {
  padding: 1.2rem 1.25rem;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
}

.rule-card h3 {
  margin-top: 0;
}

.rule-list {
  display: grid;
  gap: 0.68rem;
  counter-reset: rules;
}

.rule-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--silver-300);
  counter-increment: rules;
}

.rule-list li::before {
  position: absolute;
  left: 0;
  top: 0.1rem;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  color: var(--blue-300);
  content: counter(rules);
  background: rgba(14, 165, 233, 0.1);
  border-radius: 6px;
  font-size: 0.67rem;
  font-weight: 900;
}

.notice {
  padding: 1rem 1.1rem;
  color: var(--silver-200);
  background: rgba(14, 165, 233, 0.075);
  border: 1px solid rgba(56, 189, 248, 0.17);
  border-left: 4px solid var(--blue-400);
  border-radius: 12px;
}

.notice.warning {
  background: rgba(245, 158, 11, 0.075);
  border-color: rgba(245, 158, 11, 0.18);
  border-left-color: var(--warning);
}

.notice strong {
  color: var(--white);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.68fr);
  align-items: start;
  gap: 1.5rem;
}

.form-card,
.output-card {
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.output-card {
  position: sticky;
  top: 104px;
}

.form-section + .form-section {
  margin-top: 1.7rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.form-section-title {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.42rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.label {
  color: var(--silver-200);
  font-size: 0.83rem;
  font-weight: 800;
}

.required {
  color: var(--blue-300);
}

.input,
.textarea,
.select {
  width: 100%;
  color: var(--white);
  background: rgba(5, 11, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input,
.select {
  min-height: 46px;
  padding: 0.7rem 0.78rem;
}

.textarea {
  min-height: 118px;
  padding: 0.75rem 0.78rem;
  resize: vertical;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: rgba(56, 189, 248, 0.58);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.08);
}

.help-text {
  color: var(--slate-500);
  font-size: 0.74rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.checkbox-row input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.23rem;
  accent-color: var(--blue-500);
}

.checkbox-row label {
  color: var(--silver-300);
  font-size: 0.84rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.form-status {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  color: var(--slate-400);
  font-size: 0.82rem;
}

.form-status.success {
  color: #86efac;
}

.output-area {
  width: 100%;
  min-height: 400px;
  padding: 1rem;
  color: var(--silver-200);
  background: #050a14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  resize: vertical;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
}

.accordion {
  display: grid;
  gap: 0.75rem;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.accordion-button::after {
  width: 0.65rem;
  height: 0.65rem;
  content: "";
  border-right: 2px solid var(--blue-300);
  border-bottom: 2px solid var(--blue-300);
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.accordion-item.is-open .accordion-button::after {
  transform: rotate(225deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition);
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.accordion-panel p {
  padding: 0 1.1rem 1rem;
  margin: 0;
}

.legal-content {
  max-width: 850px;
}

.legal-content h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 1.75rem;
  font-size: 1.1rem;
}

.legal-content a {
  color: var(--blue-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.placeholder {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.1);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: 5px;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.85em;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  background: #030811;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(150px, 0.65fr));
  gap: 2rem;
}

.footer-brand {
  max-width: 380px;
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-title {
  margin-bottom: 0.9rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.58rem;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--blue-300);
}

.social-row {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.social-link {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--silver-200);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.social-link:hover {
  color: var(--blue-300);
  background: rgba(14, 165, 233, 0.08);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  color: var(--slate-500);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
}

.footer-bottom a:hover {
  color: var(--blue-300);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    inset: 79px 0 auto;
    display: grid;
    padding: 1rem;
    background: rgba(5, 11, 23, 0.985);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-menu.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 0.9rem;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }

  .hero-panel {
    max-width: 520px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(5, 11, 23, 0.98) 0%, rgba(5, 11, 23, 0.82) 65%, rgba(5, 11, 23, 0.5)),
      linear-gradient(0deg, var(--navy-950), transparent 34%);
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: initial;
  }

  .output-card {
    position: static;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1rem;
  }

  .process::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.25fr repeat(2, 1fr);
  }

  .footer-grid > :last-child {
    grid-column: 2 / 3;
  }
}

@media (max-width: 780px) {
  .section {
    padding: 5rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 4.5rem 0 6rem;
  }

  .hero-panel {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item + .trust-item {
    border-left: 0;
  }

  .trust-item:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .grid-3,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 2.5rem;
  }

  .split-media {
    min-height: 360px;
  }

  .cta {
    padding: 2rem;
  }

  .cta-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 5rem 0 4rem;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > :last-child {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .navbar {
    min-height: 70px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 0.84rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
  }

  .nav-menu {
    inset: 71px 0 auto;
  }

  .hero-grid {
    padding-top: 3.8rem;
  }

  .button-row,
  .form-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .trust-strip {
    margin-top: -1.5rem;
  }

  .trust-item {
    padding: 1rem 0.7rem;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1rem;
    padding: 0;
    text-align: left;
  }

  .process-number {
    grid-row: 1 / 3;
    margin: 0;
  }

  .cta {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Discord OAuth und automatische Bewerbungstickets */
.auth-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(220, 228, 234, 0.16);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(23, 159, 227, 0.13), rgba(11, 19, 43, 0.72));
  box-shadow: var(--shadow-sm);
}

.auth-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.auth-avatar-placeholder {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.18);
  font-weight: 800;
  color: #cbd0ff;
}

.auth-copy strong {
  display: block;
  margin-bottom: 0.25rem;
}

.auth-state {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.auth-state.success { color: #7ee2a8; }
.auth-state.warning { color: #ffd58a; }

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.btn-discord {
  background: #5865f2;
  color: #fff;
  border-color: #5865f2;
}

.btn-discord:hover { background: #4752c4; }

.ticket-result {
  display: grid;
  gap: 1rem;
  min-height: 180px;
  align-content: start;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(220, 228, 234, 0.2);
  background: rgba(255, 255, 255, 0.025);
}

.ticket-result p { margin: 0; }

button:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

@media (max-width: 760px) {
  .auth-card {
    grid-template-columns: auto 1fr;
  }

  .auth-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .auth-actions .btn {
    flex: 1 1 180px;
  }
}
